/* Minification failed. Returning unminified contents.
(698,11516-11528): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: targetLength
(698,17787-17790): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: rec
(698,17825-17831): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: avgAcc
(698,17713-17719): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: avgAcc
(698,17709-17712): run-time error JS1300: Strict-mode does not allow assignment to undefined variables: rec
 */
/*! jQuery v3.5.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.5.1",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=v.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,a=[];if(p(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&a.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&a.push(i);return g(a)},guid:1,support:y}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){n["[object "+t+"]"]=t.toLowerCase()});var d=function(n){var e,d,b,o,i,h,f,g,w,u,l,T,C,a,E,v,s,c,y,S="sizzle"+1*new Date,p=n.document,k=0,r=0,m=ue(),x=ue(),A=ue(),N=ue(),D=function(e,t){return e===t&&(l=!0),0},j={}.hasOwnProperty,t=[],q=t.pop,L=t.push,H=t.push,O=t.slice,P=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",I="(?:\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",W="\\["+M+"*("+I+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+I+"))|)"+M+"*\\]",F=":("+I+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+W+")*)|.*)\\)|)",B=new RegExp(M+"+","g"),$=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),_=new RegExp("^"+M+"*,"+M+"*"),z=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0<se(t,C,null,[e]).length},se.contains=function(e,t){return(e.ownerDocument||e)!=C&&T(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=C&&T(e);var n=b.attrHandle[t.toLowerCase()],r=n&&j.call(b.attrHandle,t.toLowerCase())?n(e,t,!E):void 0;return void 0!==r?r:d.attributes||!E?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,n=[],r=0,i=0;if(l=!d.detectDuplicates,u=!d.sortStable&&e.slice(0),e.sort(D),l){while(t=e[i++])t===e[i]&&(r=n.push(i));while(r--)e.splice(n[r],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else while(t=e[r++])n+=o(t);return n},(b=se.selectors={cacheLength:50,createPseudo:le,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t.replace(B," ")+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(h,e,t,g,v){var y="nth"!==h.slice(0,3),m="last"!==h.slice(-4),x="of-type"===e;return 1===g&&0===v?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,u,l=y!==m?"nextSibling":"previousSibling",c=e.parentNode,f=x&&e.nodeName.toLowerCase(),p=!n&&!x,d=!1;if(c){if(y){while(l){a=e;while(a=a[l])if(x?a.nodeName.toLowerCase()===f:1===a.nodeType)return!1;u=l="only"===h&&!u&&"nextSibling"}return!0}if(u=[m?c.firstChild:c.lastChild],m&&p){d=(s=(r=(i=(o=(a=c)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1])&&r[2],a=s&&c.childNodes[s];while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if(1===a.nodeType&&++d&&a===e){i[h]=[k,s,d];break}}else if(p&&(d=s=(r=(i=(o=(a=e)[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]||[])[0]===k&&r[1]),!1===d)while(a=++s&&a&&a[l]||(d=s=0)||u.pop())if((x?a.nodeName.toLowerCase()===f:1===a.nodeType)&&++d&&(p&&((i=(o=a[S]||(a[S]={}))[a.uniqueID]||(o[a.uniqueID]={}))[h]=[k,d]),a===e))break;return(d-=v)===g||d%g==0&&0<=d/g}}},PSEUDO:function(e,o){var t,a=b.pseudos[e]||b.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return a[S]?a(o):1<a.length?(t=[e,e,"",o],b.setFilters.hasOwnProperty(e.toLowerCase())?le(function(e,t){var n,r=a(e,o),i=r.length;while(i--)e[n=P(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:le(function(e){var r=[],i=[],s=f(e.replace($,"$1"));return s[S]?le(function(e,t,n,r){var i,o=s(e,null,r,[]),a=e.length;while(a--)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),r[0]=null,!i.pop()}}),has:le(function(t){return function(e){return 0<se(t,e).length}}),contains:le(function(t){return t=t.replace(te,ne),function(e){return-1<(e.textContent||o(e)).indexOf(t)}}),lang:le(function(n){return V.test(n||"")||se.error("unsupported lang: "+n),n=n.replace(te,ne).toLowerCase(),function(e){var t;do{if(t=E?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===a},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!b.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ve(function(){return[0]}),last:ve(function(e,t){return[t-1]}),eq:ve(function(e,t,n){return[n<0?n+t:n]}),even:ve(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ve(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ve(function(e,t,n){for(var r=n<0?n+t:t<n?t:n;0<=--r;)e.push(r);return e}),gt:ve(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=he(e);function me(){}function xe(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function be(s,e,t){var u=e.dir,l=e.next,c=l||u,f=t&&"parentNode"===c,p=r++;return e.first?function(e,t,n){while(e=e[u])if(1===e.nodeType||f)return s(e,t,n);return!1}:function(e,t,n){var r,i,o,a=[k,p];if(n){while(e=e[u])if((1===e.nodeType||f)&&s(e,t,n))return!0}else while(e=e[u])if(1===e.nodeType||f)if(i=(o=e[S]||(e[S]={}))[e.uniqueID]||(o[e.uniqueID]={}),l&&l===e.nodeName.toLowerCase())e=e[u]||e;else{if((r=i[c])&&r[0]===k&&r[1]===p)return a[2]=r[2];if((i[c]=a)[2]=s(e,t,n))return!0}return!1}}function we(i){return 1<i.length?function(e,t,n){var r=i.length;while(r--)if(!i[r](e,t,n))return!1;return!0}:i[0]}function Te(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Ce(d,h,g,v,y,e){return v&&!v[S]&&(v=Ce(v)),y&&!y[S]&&(y=Ce(y,e)),le(function(e,t,n,r){var i,o,a,s=[],u=[],l=t.length,c=e||function(e,t,n){for(var r=0,i=t.length;r<i;r++)se(e,t[r],n);return n}(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:Te(c,s,d,n,r),p=g?y||(e?d:l||v)?[]:t:f;if(g&&g(f,p,n,r),v){i=Te(p,u),v(i,[],n,r),o=i.length;while(o--)(a=i[o])&&(p[u[o]]=!(f[u[o]]=a))}if(e){if(y||d){if(y){i=[],o=p.length;while(o--)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}o=p.length;while(o--)(a=p[o])&&-1<(i=y?P(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=Te(p===t?p.splice(l,p.length):p),y?y(null,t,p,r):H.apply(t,p)})}function Ee(e){for(var i,t,n,r=e.length,o=b.relative[e[0].type],a=o||b.relative[" "],s=o?1:0,u=be(function(e){return e===i},a,!0),l=be(function(e){return-1<P(i,e)},a,!0),c=[function(e,t,n){var r=!o&&(n||t!==w)||((i=t).nodeType?u(e,t,n):l(e,t,n));return i=null,r}];s<r;s++)if(t=b.relative[e[s].type])c=[be(we(c),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(n=++s;n<r;n++)if(b.relative[e[n].type])break;return Ce(1<s&&we(c),1<s&&xe(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace($,"$1"),t,s<n&&Ee(e.slice(s,n)),n<r&&Ee(e=e.slice(n)),n<r&&xe(e))}c.push(t)}return we(c)}return me.prototype=b.filters=b.pseudos,b.setFilters=new me,h=se.tokenize=function(e,t){var n,r,i,o,a,s,u,l=x[e+" "];if(l)return t?0:l.slice(0);a=e,s=[],u=b.preFilter;while(a){for(o in n&&!(r=_.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=z.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace($," ")}),a=a.slice(n.length)),b.filter)!(r=G[o].exec(a))||u[o]&&!(r=u[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?se.error(e):x(e,s).slice(0)},f=se.compile=function(e,t){var n,v,y,m,x,r,i=[],o=[],a=A[e+" "];if(!a){t||(t=h(e)),n=t.length;while(n--)(a=Ee(t[n]))[S]?i.push(a):o.push(a);(a=A(e,(v=o,m=0<(y=i).length,x=0<v.length,r=function(e,t,n,r,i){var o,a,s,u=0,l="0",c=e&&[],f=[],p=w,d=e||x&&b.find.TAG("*",i),h=k+=null==p?1:Math.random()||.1,g=d.length;for(i&&(w=t==C||t||i);l!==g&&null!=(o=d[l]);l++){if(x&&o){a=0,t||o.ownerDocument==C||(T(o),n=!E);while(s=v[a++])if(s(o,t||C,n)){r.push(o);break}i&&(k=h)}m&&((o=!s&&o)&&u--,e&&c.push(o))}if(u+=l,m&&l!==u){a=0;while(s=y[a++])s(c,f,t,n);if(e){if(0<u)while(l--)c[l]||f[l]||(f[l]=q.call(r));f=Te(f)}H.apply(r,f),i&&!e&&0<f.length&&1<u+y.length&&se.uniqueSort(r)}return i&&(k=h,w=p),c},m?le(r):r))).selector=e}return a},g=se.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&h(e=l.selector||e);if(n=n||[],1===c.length){if(2<(o=c[0]=c[0].slice(0)).length&&"ID"===(a=o[0]).type&&9===t.nodeType&&E&&b.relative[o[1].type]){if(!(t=(b.find.ID(a.matches[0].replace(te,ne),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}i=G.needsContext.test(e)?0:o.length;while(i--){if(a=o[i],b.relative[s=a.type])break;if((u=b.find[s])&&(r=u(a.matches[0].replace(te,ne),ee.test(o[0].type)&&ye(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&xe(o)))return H.apply(n,r),n;break}}}return(l||f(e,c))(r,t,!E,n,!t||ee.test(e)&&ye(t.parentNode)||t),n},d.sortStable=S.split("").sort(D).join("")===S,d.detectDuplicates=!!l,T(),d.sortDetached=ce(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),ce(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||fe("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||fe("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute("disabled")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);S.find=d,S.expr=d.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=d.uniqueSort,S.text=d.getText,S.isXMLDoc=d.isXML,S.contains=d.contains,S.escapeSelector=d.escape;var h=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&S(e).is(n))break;r.push(e)}return r},T=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},k=S.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function D(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1<i.call(n,e)!==r}):S.filter(n,e,r)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<r;t++)if(S.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,i[t],n);return 1<r?S.uniqueSort(n):n},filter:function(e){return this.pushStack(D(this,e||[],!1))},not:function(e){return this.pushStack(D(this,e||[],!0))},is:function(e){return!!D(this,"string"==typeof e&&k.test(e)?S(e):e||[],!1).length}});var j,q=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&S(e);if(!k.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?S.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?i.call(S(e),this[0]):i.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,n){return h(e,"parentNode",n)},next:function(e){return O(e,"nextSibling")},prev:function(e){return O(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,n){return h(e,"nextSibling",n)},prevUntil:function(e,t,n){return h(e,"previousSibling",n)},siblings:function(e){return T((e.parentNode||{}).firstChild,e)},children:function(e){return T(e.firstChild)},contents:function(e){return null!=e.contentDocument&&r(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(r,i){S.fn[r]=function(e,t){var n=S.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=S.filter(t,n)),1<this.length&&(H[r]||S.uniqueSort(n),L.test(r)&&n.reverse()),this.pushStack(n)}});var P=/[^\x20\t\r\n\f]+/g;function R(e){return e}function M(e){throw e}function I(e,t,n,r){var i;try{e&&m(i=e.promise)?i.call(e).done(t).fail(n):e&&m(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(r){var e,n;r="string"==typeof r?(e=r,n={},S.each(e.match(P)||[],function(e,t){n[t]=!0}),n):S.extend({},r);var i,t,o,a,s=[],u=[],l=-1,c=function(){for(a=a||r.once,o=i=!0;u.length;l=-1){t=u.shift();while(++l<s.length)!1===s[l].apply(t[0],t[1])&&r.stopOnFalse&&(l=s.length,t=!1)}r.memory||(t=!1),i=!1,a&&(s=t?[]:"")},f={add:function(){return s&&(t&&!i&&(l=s.length-1,u.push(t)),function n(e){S.each(e,function(e,t){m(t)?r.unique&&f.has(t)||s.push(t):t&&t.length&&"string"!==w(t)&&n(t)})}(arguments),t&&!i&&c()),this},remove:function(){return S.each(arguments,function(e,t){var n;while(-1<(n=S.inArray(t,s,n)))s.splice(n,1),n<=l&&l--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return a=u=[],s=t="",this},disabled:function(){return!s},lock:function(){return a=u=[],t||i||(s=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],u.push(t),i||c()),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!o}};return f},S.extend({Deferred:function(e){var o=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],i="pending",a={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},"catch":function(e){return a.then(null,e)},pipe:function(){var i=arguments;return S.Deferred(function(r){S.each(o,function(e,t){var n=m(i[t[4]])&&i[t[4]];s[t[1]](function(){var e=n&&n.apply(this,arguments);e&&m(e.promise)?e.promise().progress(r.notify).done(r.resolve).fail(r.reject):r[t[0]+"With"](this,n?[e]:arguments)})}),i=null}).promise()},then:function(t,n,r){var u=0;function l(i,o,a,s){return function(){var n=this,r=arguments,e=function(){var e,t;if(!(i<u)){if((e=a.apply(n,r))===o.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,m(t)?s?t.call(e,l(u,o,R,s),l(u,o,M,s)):(u++,t.call(e,l(u,o,R,s),l(u,o,M,s),l(u,o,R,o.notifyWith))):(a!==R&&(n=void 0,r=[e]),(s||o.resolveWith)(n,r))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),u<=i+1&&(a!==M&&(n=void 0,r=[e]),o.rejectWith(n,r))}};i?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){o[0][3].add(l(0,e,m(r)?r:R,e.notifyWith)),o[1][3].add(l(0,e,m(t)?t:R)),o[2][3].add(l(0,e,m(n)?n:M))}).promise()},promise:function(e){return null!=e?S.extend(e,a):a}},s={};return S.each(o,function(e,t){var n=t[2],r=t[5];a[t[1]]=n.add,r&&n.add(function(){i=r},o[3-e][2].disable,o[3-e][3].disable,o[0][2].lock,o[0][3].lock),n.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=n.fireWith}),a.promise(s),e&&e.call(s,s),s},when:function(e){var n=arguments.length,t=n,r=Array(t),i=s.call(arguments),o=S.Deferred(),a=function(t){return function(e){r[t]=this,i[t]=1<arguments.length?s.call(arguments):e,--n||o.resolveWith(r,i)}};if(n<=1&&(I(e,o.done(a(t)).resolve,o.reject,!n),"pending"===o.state()||m(i[t]&&i[t].then)))return o.then();while(t--)I(i[t],a(t),o.reject);return o.promise()}});var W=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&W.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var F=S.Deferred();function B(){E.removeEventListener("DOMContentLoaded",B),C.removeEventListener("load",B),S.ready()}S.fn.ready=function(e){return F.then(e)["catch"](function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0)!==e&&0<--S.readyWait||F.resolveWith(E,[S])}}),S.ready.then=F.then,"complete"===E.readyState||"loading"!==E.readyState&&!E.documentElement.doScroll?C.setTimeout(S.ready):(E.addEventListener("DOMContentLoaded",B),C.addEventListener("load",B));var $=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===w(n))for(s in i=!0,n)$(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,m(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(S(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},_=/^-ms-/,z=/-([a-z])/g;function U(e,t){return t.toUpperCase()}function X(e){return e.replace(_,"ms-").replace(z,U)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=S.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[X(t)]=n;else for(r in t)i[X(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][X(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(X):(t=X(t))in r?[t]:t.match(P)||[]).length;while(n--)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Y=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,K=/[A-Z]/g;function Z(e,t,n){var r,i;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(K,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:J.test(i)?JSON.parse(i):i)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return Q.hasData(e)||Y.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return Y.access(e,t,n)},_removeData:function(e,t){Y.remove(e,t)}}),S.fn.extend({data:function(n,e){var t,r,i,o=this[0],a=o&&o.attributes;if(void 0===n){if(this.length&&(i=Q.get(o),1===o.nodeType&&!Y.get(o,"hasDataAttrs"))){t=a.length;while(t--)a[t]&&0===(r=a[t].name).indexOf("data-")&&(r=X(r.slice(5)),Z(o,r,i[r]));Y.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof n?this.each(function(){Q.set(this,n)}):$(this,function(e){var t;if(o&&void 0===e)return void 0!==(t=Q.get(o,n))?t:void 0!==(t=Z(o,n))?t:void 0;this.each(function(){Q.set(this,n,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){Q.remove(this,e)})}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Y.get(e,t),n&&(!r||Array.isArray(n)?r=Y.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,i=n.shift(),o=S._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,function(){S.dequeue(e,t)},o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Y.get(e,n)||Y.access(e,n,{empty:S.Callbacks("once memory").add(function(){Y.remove(e,[t+"queue",n])})})}}),S.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===n?this:this.each(function(){var e=S.queue(this,t,n);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=S.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=Y.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],re=E.documentElement,ie=function(e){return S.contains(e.ownerDocument,e)},oe={composed:!0};re.getRootNode&&(ie=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ie(e)&&"none"===S.css(e,"display")};function se(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},u=s(),l=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==l&&+u)&&te.exec(S.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)S.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,S.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var ue={};function le(e,t){for(var n,r,i,o,a,s,u,l=[],c=0,f=e.length;c<f;c++)(r=e[c]).style&&(n=r.style.display,t?("none"===n&&(l[c]=Y.get(r,"display")||null,l[c]||(r.style.display="")),""===r.style.display&&ae(r)&&(l[c]=(u=a=o=void 0,a=(i=r).ownerDocument,s=i.nodeName,(u=ue[s])||(o=a.body.appendChild(a.createElement(s)),u=S.css(o,"display"),o.parentNode.removeChild(o),"none"===u&&(u="block"),ue[s]=u)))):"none"!==n&&(l[c]="none",Y.set(r,"display",n)));for(c=0;c<f;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}S.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var ce,fe,pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",y.option=!!ce.lastChild;var ge={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n<r;n++)Y.set(e[n],"globalEval",!t||Y.get(t[n],"globalEval"))}ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td,y.option||(ge.optgroup=ge.option=[1,"<select multiple='multiple'>","</select>"]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===w(o))S.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+S.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;S.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&-1<S.inArray(o,r))i&&i.push(o);else if(l=ie(o),a=ve(f.appendChild(o),"script"),l&&ye(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}var be=/^key/,we=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Te=/^([^.]*)(?:\.(.+)|)/;function Ce(){return!0}function Ee(){return!1}function Se(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function ke(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)ke(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Ee;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return S().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=S.guid++)),e.each(function(){S.event.add(this,t,i,r,n)})}function Ae(e,i,o){o?(Y.set(e,i,!1),S.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Y.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(S.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Y.set(this,i,r),t=o(this,i),this[i](),r!==(n=Y.get(this,i))||t?Y.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Y.set(this,i,{value:S.event.trigger(S.extend(r[0],S.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Y.get(e,i)&&S.event.add(e,i,Ce)}S.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.get(t);if(V(t)){n.handler&&(n=(o=n).handler,i=o.selector),i&&S.find.matchesSelector(re,i),n.guid||(n.guid=S.guid++),(u=v.events)||(u=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;while(l--)d=g=(s=Te.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=S.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=S.event.special[d]||{},c=S.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&S.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),S.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Y.hasData(e)&&Y.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(P)||[""]).length;while(l--)if(d=g=(s=Te.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=S.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||S.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)S.event.remove(e,d+t[l],n,r,!0);S.isEmptyObject(u)&&Y.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=S.event.fix(e),l=(Y.get(this,"events")||Object.create(null))[u.type]||[],c=S.event.special[u.type]||{};for(s[0]=u,t=1;t<arguments.length;t++)s[t]=arguments[t];if(u.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,u)){a=S.event.handlers.call(this,u,l),t=0;while((i=a[t++])&&!u.isPropagationStopped()){u.currentTarget=i.elem,n=0;while((o=i.handlers[n++])&&!u.isImmediatePropagationStopped())u.rnamespace&&!1!==o.namespace&&!u.rnamespace.test(o.namespace)||(u.handleObj=o,u.data=o.data,void 0!==(r=((S.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(u.result=r)&&(u.preventDefault(),u.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,u),u.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&1<=e.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?-1<S(i,this).index(l):S.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:m(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click",Ce),!1},trigger:function(e){var t=this||e;return pe.test(t.type)&&t.click&&A(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return pe.test(t.type)&&t.click&&A(t,"input")&&Y.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ce:Ee,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ee,isPropagationStopped:Ee,isImmediatePropagationStopped:Ee,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ce,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ce,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ce,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&be.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&we.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},function(e,t){S.event.special[e]={setup:function(){return Ae(this,e,Se),!1},trigger:function(){return Ae(this,e),!0},delegateType:t}}),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,i){S.event.special[e]={delegateType:i,bindType:i,handle:function(e){var t,n=e.relatedTarget,r=e.handleObj;return n&&(n===this||S.contains(this,n))||(e.type=r.origType,t=r.handler.apply(this,arguments),e.type=i),t}}}),S.fn.extend({on:function(e,t,n,r){return ke(this,e,t,n,r)},one:function(e,t,n,r){return ke(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Ee),this.each(function(){S.event.remove(this,e,n,t)})}});var Ne=/<script|<style|<link/i,De=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function qe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Le(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function He(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n<r;n++)S.event.add(t,i,s[i][n]);Q.hasData(e)&&(o=Q.access(e),a=S.extend({},o),Q.set(t,a))}}function Pe(n,r,i,o){r=g(r);var e,t,a,s,u,l,c=0,f=n.length,p=f-1,d=r[0],h=m(d);if(h||1<f&&"string"==typeof d&&!y.checkClone&&De.test(d))return n.each(function(e){var t=n.eq(e);h&&(r[0]=d.call(this,e,t.html())),Pe(t,r,i,o)});if(f&&(t=(e=xe(r,n[0].ownerDocument,!1,n,o)).firstChild,1===e.childNodes.length&&(e=t),t||o)){for(s=(a=S.map(ve(e,"script"),Le)).length;c<f;c++)u=e,c!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,ve(u,"script"))),i.call(n[c],u,c);if(s)for(l=a[a.length-1].ownerDocument,S.map(a,He),c=0;c<s;c++)u=a[c],he.test(u.type||"")&&!Y.access(u,"globalEval")&&S.contains(l,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},l):b(u.textContent.replace(je,""),u,l))}return n}function Re(e,t,n){for(var r,i=t?S.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||S.cleanData(ve(r)),r.parentNode&&(n&&ie(r)&&ye(ve(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=ie(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r<i;r++)s=o[r],u=a[r],void 0,"input"===(l=u.nodeName.toLowerCase())&&pe.test(s.type)?u.checked=s.checked:"input"!==l&&"textarea"!==l||(u.defaultValue=s.defaultValue);if(t)if(n)for(o=o||ve(e),a=a||ve(c),r=0,i=o.length;r<i;r++)Oe(o[r],a[r]);else Oe(e,c);return 0<(a=ve(c,"script")).length&&ye(a,!f&&ve(e,"script")),c},cleanData:function(e){for(var t,n,r,i=S.event.special,o=0;void 0!==(n=e[o]);o++)if(V(n)){if(t=n[Y.expando]){if(t.events)for(r in t.events)i[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Y.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Re(this,e,!0)},remove:function(e){return Re(this,e)},text:function(e){return $(this,function(e){return void 0===e?S.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Pe(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||qe(this,e).appendChild(e)})},prepend:function(){return Pe(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=qe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Pe(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(ve(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ne.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(ve(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var n=[];return Pe(this,arguments,function(e){var t=this.parentNode;S.inArray(this,n)<0&&(S.cleanData(ve(this)),t&&t.replaceChild(e,this))},n)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){S.fn[e]=function(e){for(var t,n=[],r=S(e),i=r.length-1,o=0;o<=i;o++)t=o===i?this:this.clone(!0),S(r[o])[a](t),u.apply(n,t.get());return this.pushStack(n)}});var Me=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=C),t.getComputedStyle(e)},We=function(e,t,n){var r,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in r=n.call(e),t)e.style[i]=o[i];return r},Fe=new RegExp(ne.join("|"),"i");function Be(e,t,n){var r,i,o,a,s=e.style;return(n=n||Ie(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||ie(e)||(a=S.style(e,t)),!y.pixelBoxStyles()&&Me.test(a)&&Fe.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",re.appendChild(u).appendChild(l);var e=C.getComputedStyle(l);n="1%"!==e.top,s=12===t(e.marginLeft),l.style.right="60%",o=36===t(e.right),r=36===t(e.width),l.style.position="absolute",i=12===t(l.offsetWidth/3),re.removeChild(u),l=null}}function t(e){return Math.round(parseFloat(e))}var n,r,i,o,a,s,u=E.createElement("div"),l=E.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle="content-box"===l.style.backgroundClip,S.extend(y,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),o},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),s},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,r;return null==a&&(e=E.createElement("table"),t=E.createElement("tr"),n=E.createElement("div"),e.style.cssText="position:absolute;left:-11111px",t.style.height="1px",n.style.height="9px",re.appendChild(e).appendChild(t).appendChild(n),r=C.getComputedStyle(t),a=3<parseInt(r.height),re.removeChild(e)),a}}))}();var _e=["Webkit","Moz","ms"],ze=E.createElement("div").style,Ue={};function Xe(e){var t=S.cssProps[e]||Ue[e];return t||(e in ze?e:Ue[e]=function(e){var t=e[0].toUpperCase()+e.slice(1),n=_e.length;while(n--)if((e=_e[n]+t)in ze)return e}(e)||e)}var Ve=/^(none|table(?!-c[ea]).+)/,Ge=/^--/,Ye={position:"absolute",visibility:"hidden",display:"block"},Qe={letterSpacing:"0",fontWeight:"400"};function Je(e,t,n){var r=te.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ke(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=S.css(e,n+ne[a],!0,i)),r?("content"===n&&(u-=S.css(e,"padding"+ne[a],!0,i)),"margin"!==n&&(u-=S.css(e,"border"+ne[a]+"Width",!0,i))):(u+=S.css(e,"padding"+ne[a],!0,i),"padding"!==n?u+=S.css(e,"border"+ne[a]+"Width",!0,i):s+=S.css(e,"border"+ne[a]+"Width",!0,i));return!r&&0<=o&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function Ze(e,t,n){var r=Ie(e),i=(!y.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),o=i,a=Be(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Me.test(a)){if(!n)return a;a="auto"}return(!y.boxSizingReliable()&&i||!y.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===S.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+Ke(e,t,n||(i?"border":"content"),o,r,a)+"px"}function et(e,t,n,r,i){return new et.prototype.init(e,t,n,r,i)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Be(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=X(t),u=Ge.test(t),l=e.style;if(u||(t=Xe(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"===(o=typeof n)&&(i=te.exec(n))&&i[1]&&(n=se(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||(S.cssNumber[s]?"":"px")),y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=X(t);return Ge.test(t)||(t=Xe(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Be(e,t,r)),"normal"===i&&t in Qe&&(i=Qe[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),S.each(["height","width"],function(e,u){S.cssHooks[u]={get:function(e,t,n){if(t)return!Ve.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Ze(e,u,n):We(e,Ye,function(){return Ze(e,u,n)})},set:function(e,t,n){var r,i=Ie(e),o=!y.scrollboxSize()&&"absolute"===i.position,a=(o||n)&&"border-box"===S.css(e,"boxSizing",!1,i),s=n?Ke(e,u,n,a,i):0;return a&&o&&(s-=Math.ceil(e["offset"+u[0].toUpperCase()+u.slice(1)]-parseFloat(i[u])-Ke(e,u,"border",!1,i)-.5)),s&&(r=te.exec(t))&&"px"!==(r[3]||"px")&&(e.style[u]=t,t=S.css(e,u)),Je(0,t,s)}}}),S.cssHooks.marginLeft=$e(y.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Be(e,"marginLeft"))||e.getBoundingClientRect().left-We(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),S.each({margin:"",padding:"",border:"Width"},function(i,o){S.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+ne[t]+o]=r[t]||r[t-2]||r[0];return n}},"margin"!==i&&(S.cssHooks[i+o].set=Je)}),S.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ie(e),i=t.length;a<i;a++)o[t[a]]=S.css(e,t[a],!1,r);return o}return void 0!==n?S.style(e,t,n):S.css(e,t)},e,t,1<arguments.length)}}),((S.Tween=et).prototype={constructor:et,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(S.cssNumber[n]?"":"px")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}}).init.prototype=et.prototype,(et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,rt,it,ot=/^(?:toggle|show|hide)$/,at=/queueHooks$/;function st(){nt&&(!1===E.hidden&&C.requestAnimationFrame?C.requestAnimationFrame(st):C.setTimeout(st,S.fx.interval),S.fx.tick())}function ut(){return C.setTimeout(function(){tt=void 0}),tt=Date.now()}function lt(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ne[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function ct(e,t,n){for(var r,i=(ft.tweeners[t]||[]).concat(ft.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ft(o,e,t){var n,a,r=0,i=ft.prefilters.length,s=S.Deferred().always(function(){delete u.elem}),u=function(){if(a)return!1;for(var e=tt||ut(),t=Math.max(0,l.startTime+l.duration-e),n=1-(t/l.duration||0),r=0,i=l.tweens.length;r<i;r++)l.tweens[r].run(n);return s.notifyWith(o,[l,n,t]),n<1&&i?t:(i||s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l]),!1)},l=s.promise({elem:o,props:S.extend({},e),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},t),originalProperties:e,originalOptions:t,startTime:tt||ut(),duration:t.duration,tweens:[],createTween:function(e,t){var n=S.Tween(o,l.opts,e,t,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(n),n},stop:function(e){var t=0,n=e?l.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)l.tweens[t].run(1);return e?(s.notifyWith(o,[l,1,0]),s.resolveWith(o,[l,e])):s.rejectWith(o,[l,e]),this}}),c=l.props;for(!function(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=X(n)],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}(c,l.opts.specialEasing);r<i;r++)if(n=ft.prefilters[r].call(l,o,c,l.opts))return m(n.stop)&&(S._queueHooks(l.elem,l.opts.queue).stop=n.stop.bind(n)),n;return S.map(c,ct,l),m(l.opts.start)&&l.opts.start.call(o,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),S.fx.timer(S.extend(u,{elem:o,anim:l,queue:l.opts.queue})),l}S.Animation=S.extend(ft,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return se(n.elem,e,te.exec(t),n),n}]},tweener:function(e,t){m(e)?(t=e,e=["*"]):e=e.match(P);for(var n,r=0,i=e.length;r<i;r++)n=e[r],ft.tweeners[n]=ft.tweeners[n]||[],ft.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),v=Y.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()})})),t)if(i=t[r],ot.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!v||void 0===v[r])continue;g=!0}d[r]=v&&v[r]||S.style(e,r)}if((u=!S.isEmptyObject(t))||!S.isEmptyObject(d))for(r in f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=v&&v.display)&&(l=Y.get(e,"display")),"none"===(c=S.css(e,"display"))&&(l?c=l:(le([e],!0),l=e.style.display||l,c=S.css(e,"display"),le([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===S.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1,d)u||(v?"hidden"in v&&(g=v.hidden):v=Y.access(e,"fxshow",{display:l}),o&&(v.hidden=!g),g&&le([e],!0),p.done(function(){for(r in g||le([e]),Y.remove(e,"fxshow"),d)S.style(e,r,d[r])})),u=ct(g?v[r]:0,r,p),r in v||(v[r]=u.start,g&&(u.end=u.start,u.start=0))}],prefilter:function(e,t){t?ft.prefilters.unshift(e):ft.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||m(e)&&e,duration:e,easing:n&&t||t&&!m(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){m(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=S.isEmptyObject(t),o=S.speed(e,n,r),a=function(){var e=ft(this,S.extend({},t),o);(i||Y.get(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=void 0),e&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=S.timers,r=Y.get(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&at.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||S.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Y.get(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=S.timers,o=n?n.length:0;for(t.finish=!0,S.queue(this,a,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),S.each(["toggle","show","hide"],function(e,r){var i=S.fn[r];S.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(lt(r,!0),e,t,n)}}),S.each({slideDown:lt("show"),slideUp:lt("hide"),slideToggle:lt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){S.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(tt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),tt=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){nt||(nt=!0,st())},S.fx.stop=function(){nt=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(r,e){return r=S.fx&&S.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=C.setTimeout(e,r);t.stop=function(){C.clearTimeout(n)}})},rt=E.createElement("input"),it=E.createElement("select").appendChild(E.createElement("option")),rt.type="checkbox",y.checkOn=""!==rt.value,y.optSelected=it.selected,(rt=E.createElement("input")).value="t",rt.type="radio",y.radioValue="t"===rt.value;var pt,dt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return $(this,S.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){S.removeAttr(this,e)})}}),S.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(i=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?pt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!y.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(P);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),pt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),function(e,t){var a=dt[t]||S.find.attr;dt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=dt[o],dt[o]=r,r=null!=a(e,t,n)?o:null,dt[o]=i),r}});var ht=/^(?:input|select|textarea|button)$/i,gt=/^(?:a|area)$/i;function vt(e){return(e.match(P)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function mt(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}S.fn.extend({prop:function(e,t){return $(this,S.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[S.propFix[e]||e]})}}),S.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,i=S.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):ht.test(e.nodeName)||gt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),y.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){S.propFix[this.toLowerCase()]=this}),S.fn.extend({addClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).addClass(t.call(this,e,yt(this)))});if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(t){var e,n,r,i,o,a,s,u=0;if(m(t))return this.each(function(e){S(this).removeClass(t.call(this,e,yt(this)))});if(!arguments.length)return this.attr("class","");if((e=mt(t)).length)while(n=this[u++])if(i=yt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=e[a++])while(-1<r.indexOf(" "+o+" "))r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(i,t){var o=typeof i,a="string"===o||Array.isArray(i);return"boolean"==typeof t&&a?t?this.addClass(i):this.removeClass(i):m(i)?this.each(function(e){S(this).toggleClass(i.call(this,e,yt(this),t),t)}):this.each(function(){var e,t,n,r;if(a){t=0,n=S(this),r=mt(i);while(e=r[t++])n.hasClass(e)?n.removeClass(e):n.addClass(e)}else void 0!==i&&"boolean"!==o||((e=yt(this))&&Y.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===i?"":Y.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&-1<(" "+vt(yt(n))+" ").indexOf(t))return!0;return!1}});var xt=/\r/g;S.fn.extend({val:function(n){var r,e,i,t=this[0];return arguments.length?(i=m(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,S(this).val()):n)?t="":"number"==typeof t?t+="":Array.isArray(t)&&(t=S.map(t,function(e){return null==e?"":e+""})),(r=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&void 0!==r.set(this,t,"value")||(this.value=t))})):t?(r=S.valHooks[t.type]||S.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&void 0!==(e=r.get(t,"value"))?e:"string"==typeof(e=t.value)?e.replace(xt,""):null==e?"":e:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:vt(S.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=S.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=-1<S.inArray(S.valHooks.option.get(r),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each(["radio","checkbox"],function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<S.inArray(S(e).val(),t)}},y.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),y.focusin="onfocusin"in C;var bt=/^(?:focusinfocus|focusoutblur)$/,wt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,r){var i,o,a,s,u,l,c,f,p=[n||E],d=v.call(e,"type")?e.type:e,h=v.call(e,"namespace")?e.namespace.split("."):[];if(o=f=a=n=n||E,3!==n.nodeType&&8!==n.nodeType&&!bt.test(d+S.event.triggered)&&(-1<d.indexOf(".")&&(d=(h=d.split(".")).shift(),h.sort()),u=d.indexOf(":")<0&&"on"+d,(e=e[S.expando]?e:new S.Event(d,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),c=S.event.special[d]||{},r||!c.trigger||!1!==c.trigger.apply(n,t))){if(!r&&!c.noBubble&&!x(n)){for(s=c.delegateType||d,bt.test(s+d)||(o=o.parentNode);o;o=o.parentNode)p.push(o),a=o;a===(n.ownerDocument||E)&&p.push(a.defaultView||a.parentWindow||C)}i=0;while((o=p[i++])&&!e.isPropagationStopped())f=o,e.type=1<i?s:c.bindType||d,(l=(Y.get(o,"events")||Object.create(null))[e.type]&&Y.get(o,"handle"))&&l.apply(o,t),(l=u&&o[u])&&l.apply&&V(o)&&(e.result=l.apply(o,t),!1===e.result&&e.preventDefault());return e.type=d,r||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(p.pop(),t)||!V(n)||u&&m(n[d])&&!x(n)&&((a=n[u])&&(n[u]=null),S.event.triggered=d,e.isPropagationStopped()&&f.addEventListener(d,wt),n[d](),e.isPropagationStopped()&&f.removeEventListener(d,wt),S.event.triggered=void 0,a&&(n[u]=a)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each(function(){S.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),y.focusin||S.each({focus:"focusin",blur:"focusout"},function(n,r){var i=function(e){S.event.simulate(r,e.target,S.event.fix(e))};S.event.special[r]={setup:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r);t||e.addEventListener(n,i,!0),Y.access(e,r,(t||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=Y.access(e,r)-1;t?Y.access(e,r,t):(e.removeEventListener(n,i,!0),Y.remove(e,r))}}});var Tt=C.location,Ct={guid:Date.now()},Et=/\?/;S.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new C.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||S.error("Invalid XML: "+e),t};var St=/\[\]$/,kt=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Dt(n,e,r,i){var t;if(Array.isArray(e))S.each(e,function(e,t){r||St.test(n)?i(n,t):Dt(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,r,i)});else if(r||"object"!==w(e))i(n,e);else for(t in e)Dt(n+"["+t+"]",e[t],r,i)}S.param=function(e,t){var n,r=[],i=function(e,t){var n=m(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,function(){i(this.name,this.value)});else for(n in e)Dt(n,e[n],t,i);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Nt.test(this.nodeName)&&!At.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}});var jt=/%20/g,qt=/#.*$/,Lt=/([?&])_=[^&]*/,Ht=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Pt=/^\/\//,Rt={},Mt={},It="*/".concat("*"),Wt=E.createElement("a");function Ft(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(P)||[];if(m(t))while(n=i[r++])"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function Bt(t,i,o,a){var s={},u=t===Mt;function l(e){var r;return s[e]=!0,S.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||s[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),l(n),!1)}),r}return l(i.dataTypes[0])||!s["*"]&&l("*")}function $t(e,t){var n,r,i=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Wt.href=Tt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,S.ajaxSettings),t):$t(S.ajaxSettings,e)},ajaxPrefilter:Ft(Rt),ajaxTransport:Ft(Mt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var c,f,p,n,d,r,h,g,i,o,v=S.ajaxSetup({},t),y=v.context||v,m=v.context&&(y.nodeType||y.jquery)?S(y):S.event,x=S.Deferred(),b=S.Callbacks("once memory"),w=v.statusCode||{},a={},s={},u="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(h){if(!n){n={};while(t=Ht.exec(p))n[t[1].toLowerCase()+" "]=(n[t[1].toLowerCase()+" "]||[]).concat(t[2])}t=n[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return h?p:null},setRequestHeader:function(e,t){return null==h&&(e=s[e.toLowerCase()]=s[e.toLowerCase()]||e,a[e]=t),this},overrideMimeType:function(e){return null==h&&(v.mimeType=e),this},statusCode:function(e){var t;if(e)if(h)T.always(e[T.status]);else for(t in e)w[t]=[w[t],e[t]];return this},abort:function(e){var t=e||u;return c&&c.abort(t),l(0,t),this}};if(x.promise(T),v.url=((e||v.url||Tt.href)+"").replace(Pt,Tt.protocol+"//"),v.type=t.method||t.type||v.method||v.type,v.dataTypes=(v.dataType||"*").toLowerCase().match(P)||[""],null==v.crossDomain){r=E.createElement("a");try{r.href=v.url,r.href=r.href,v.crossDomain=Wt.protocol+"//"+Wt.host!=r.protocol+"//"+r.host}catch(e){v.crossDomain=!0}}if(v.data&&v.processData&&"string"!=typeof v.data&&(v.data=S.param(v.data,v.traditional)),Bt(Rt,v,t,T),h)return T;for(i in(g=S.event&&v.global)&&0==S.active++&&S.event.trigger("ajaxStart"),v.type=v.type.toUpperCase(),v.hasContent=!Ot.test(v.type),f=v.url.replace(qt,""),v.hasContent?v.data&&v.processData&&0===(v.contentType||"").indexOf("application/x-www-form-urlencoded")&&(v.data=v.data.replace(jt,"+")):(o=v.url.slice(f.length),v.data&&(v.processData||"string"==typeof v.data)&&(f+=(Et.test(f)?"&":"?")+v.data,delete v.data),!1===v.cache&&(f=f.replace(Lt,"$1"),o=(Et.test(f)?"&":"?")+"_="+Ct.guid+++o),v.url=f+o),v.ifModified&&(S.lastModified[f]&&T.setRequestHeader("If-Modified-Since",S.lastModified[f]),S.etag[f]&&T.setRequestHeader("If-None-Match",S.etag[f])),(v.data&&v.hasContent&&!1!==v.contentType||t.contentType)&&T.setRequestHeader("Content-Type",v.contentType),T.setRequestHeader("Accept",v.dataTypes[0]&&v.accepts[v.dataTypes[0]]?v.accepts[v.dataTypes[0]]+("*"!==v.dataTypes[0]?", "+It+"; q=0.01":""):v.accepts["*"]),v.headers)T.setRequestHeader(i,v.headers[i]);if(v.beforeSend&&(!1===v.beforeSend.call(y,T,v)||h))return T.abort();if(u="abort",b.add(v.complete),T.done(v.success),T.fail(v.error),c=Bt(Mt,v,t,T)){if(T.readyState=1,g&&m.trigger("ajaxSend",[T,v]),h)return T;v.async&&0<v.timeout&&(d=C.setTimeout(function(){T.abort("timeout")},v.timeout));try{h=!1,c.send(a,l)}catch(e){if(h)throw e;l(-1,e)}}else l(-1,"No Transport");function l(e,t,n,r){var i,o,a,s,u,l=t;h||(h=!0,d&&C.clearTimeout(d),c=void 0,p=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=function(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(v,T,n)),!i&&-1<S.inArray("script",v.dataTypes)&&(v.converters["text script"]=function(){}),s=function(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(v,s,T,i),i?(v.ifModified&&((u=T.getResponseHeader("Last-Modified"))&&(S.lastModified[f]=u),(u=T.getResponseHeader("etag"))&&(S.etag[f]=u)),204===e||"HEAD"===v.type?l="nocontent":304===e?l="notmodified":(l=s.state,o=s.data,i=!(a=s.error))):(a=l,!e&&l||(l="error",e<0&&(e=0))),T.status=e,T.statusText=(t||l)+"",i?x.resolveWith(y,[o,l,T]):x.rejectWith(y,[T,l,a]),T.statusCode(w),w=void 0,g&&m.trigger(i?"ajaxSuccess":"ajaxError",[T,v,i?o:a]),b.fireWith(y,[T,l]),g&&(m.trigger("ajaxComplete",[T,v]),--S.active||S.event.trigger("ajaxStop")))}return T},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],function(e,i){S[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),S.ajax(S.extend({url:e,type:i,dataType:r,data:t,success:n},S.isPlainObject(e)&&e))}}),S.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(n){return m(n)?this.each(function(e){S(this).wrapInner(n.call(this,e))}):this.each(function(){var e=S(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=m(t);return this.each(function(e){S(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){S(this).replaceWith(this.childNodes)}),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new C.XMLHttpRequest}catch(e){}};var _t={0:200,1223:204},zt=S.ajaxSettings.xhr();y.cors=!!zt&&"withCredentials"in zt,y.ajax=zt=!!zt,S.ajaxTransport(function(i){var o,a;if(y.cors||zt&&!i.crossDomain)return{send:function(e,t){var n,r=i.xhr();if(r.open(i.type,i.url,i.async,i.username,i.password),i.xhrFields)for(n in i.xhrFields)r[n]=i.xhrFields[n];for(n in i.mimeType&&r.overrideMimeType&&r.overrideMimeType(i.mimeType),i.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)r.setRequestHeader(n,e[n]);o=function(e){return function(){o&&(o=a=r.onload=r.onerror=r.onabort=r.ontimeout=r.onreadystatechange=null,"abort"===e?r.abort():"error"===e?"number"!=typeof r.status?t(0,"error"):t(r.status,r.statusText):t(_t[r.status]||r.status,r.statusText,"text"!==(r.responseType||"text")||"string"!=typeof r.responseText?{binary:r.response}:{text:r.responseText},r.getAllResponseHeaders()))}},r.onload=o(),a=r.onerror=r.ontimeout=o("error"),void 0!==r.onabort?r.onabort=a:r.onreadystatechange=function(){4===r.readyState&&C.setTimeout(function(){o&&a()})},o=o("abort");try{r.send(i.hasContent&&i.data||null)}catch(e){if(o)throw e}},abort:function(){o&&o()}}}),S.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),S.ajaxTransport("script",function(n){var r,i;if(n.crossDomain||n.scriptAttrs)return{send:function(e,t){r=S("<script>").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Ut,Xt=[],Vt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xt.pop()||S.expando+"_"+Ct.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Vt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Vt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Vt,"$1"+r):!1!==e.jsonp&&(e.url+=(Et.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Xt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Ut=E.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Ut.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1<s&&(r=vt(e.slice(s)),e=e.slice(0,s)),m(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),0<a.length&&S.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):("number"==typeof f.top&&(f.top+="px"),"number"==typeof f.left&&(f.left+="px"),c.css(f))}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=$e(y.pixelPosition,function(e,t){if(t)return t=Be(e,n),Me.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}});var Gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),m(e))return r=s.call(arguments,2),(i=function(){return e.apply(t||this,r.concat(s.call(arguments)))}).guid=e.guid=e.guid||S.guid++,i},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=A,S.isFunction=m,S.isWindow=x,S.camelCase=X,S.type=w,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return S});var Yt=C.jQuery,Qt=C.$;return S.noConflict=function(e){return C.$===S&&(C.$=Qt),e&&C.jQuery===S&&(C.jQuery=Yt),S},"undefined"==typeof e&&(C.jQuery=C.$=S),S});
;
/*! jQuery Migrate v3.0.1 | (c) jQuery Foundation and other contributors | jquery.org/license */

void 0 === jQuery.migrateMute && (jQuery.migrateMute = !0), function(e) {
    "function" == typeof define && define.amd ? define([ "jquery" ], window, e) : "object" == typeof module && module.exports ? module.exports = e(require("jquery"), window) : e(jQuery, window);
}(function(e, t) {
    "use strict";
    function r(r) {
        var n = t.console;
        o[r] || (o[r] = !0, e.migrateWarnings.push(r), n && n.warn && !e.migrateMute && (n.warn("JQMIGRATE: " + r), 
        e.migrateTrace && n.trace && n.trace()));
    }
    function n(e, t, n, a) {
        Object.defineProperty(e, t, {
            configurable: !0,
            enumerable: !0,
            get: function() {
                return r(a), n;
            },
            set: function(e) {
                r(a), n = e;
            }
        });
    }
    function a(e, t, n, a) {
        e[t] = function() {
            return r(a), n.apply(this, arguments);
        };
    }
    e.migrateVersion = "3.0.1", function() {
        var r = /^[12]\./;
        t.console && t.console.log && (e && !r.test(e.fn.jquery) || t.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"), 
        e.migrateWarnings && t.console.log("JQMIGRATE: Migrate plugin loaded multiple times"), 
        t.console.log("JQMIGRATE: Migrate is installed" + (e.migrateMute ? "" : " with logging active") + ", version " + e.migrateVersion));
    }();
    var o = {};
    e.migrateWarnings = [], void 0 === e.migrateTrace && (e.migrateTrace = !0), e.migrateReset = function() {
        o = {}, e.migrateWarnings.length = 0;
    }, "BackCompat" === t.document.compatMode && r("jQuery is not compatible with Quirks Mode");
    var i = e.fn.init, s = e.isNumeric, u = e.find, c = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/, l = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
    e.fn.init = function(e) {
        var t = Array.prototype.slice.call(arguments);
        return "string" == typeof e && "#" === e && (r("jQuery( '#' ) is not a valid selector"), 
        t[0] = []), i.apply(this, t);
    }, e.fn.init.prototype = e.fn, e.find = function(e) {
        var n = Array.prototype.slice.call(arguments);
        if ("string" == typeof e && c.test(e)) try {
            t.document.querySelector(e);
        } catch (a) {
            e = e.replace(l, function(e, t, r, n) {
                return "[" + t + r + '"' + n + '"]';
            });
            try {
                t.document.querySelector(e), r("Attribute selector with '#' must be quoted: " + n[0]), 
                n[0] = e;
            } catch (e) {
                r("Attribute selector with '#' was not fixed: " + n[0]);
            }
        }
        return u.apply(this, n);
    };
    var d;
    for (d in u) Object.prototype.hasOwnProperty.call(u, d) && (e.find[d] = u[d]);
    e.fn.size = function() {
        return r("jQuery.fn.size() is deprecated and removed; use the .length property"), 
        this.length;
    }, e.parseJSON = function() {
        return r("jQuery.parseJSON is deprecated; use JSON.parse"), JSON.parse.apply(null, arguments);
    }, e.isNumeric = function(t) {
        var n = s(t), a = function(t) {
            var r = t && t.toString();
            return !e.isArray(t) && r - parseFloat(r) + 1 >= 0;
        }(t);
        return n !== a && r("jQuery.isNumeric() should not be called on constructed objects"), 
        a;
    }, a(e, "holdReady", e.holdReady, "jQuery.holdReady is deprecated"), a(e, "unique", e.uniqueSort, "jQuery.unique is deprecated; use jQuery.uniqueSort"), 
    n(e.expr, "filters", e.expr.pseudos, "jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"), 
    n(e.expr, ":", e.expr.pseudos, "jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos");
    var p = e.ajax;
    e.ajax = function() {
        var e = p.apply(this, arguments);
        return e.promise && (a(e, "success", e.done, "jQXHR.success is deprecated and removed"), 
        a(e, "error", e.fail, "jQXHR.error is deprecated and removed"), a(e, "complete", e.always, "jQXHR.complete is deprecated and removed")), 
        e;
    };
    var f = e.fn.removeAttr, y = e.fn.toggleClass, m = /\S+/g;
    e.fn.removeAttr = function(t) {
        var n = this;
        return e.each(t.match(m), function(t, a) {
            e.expr.match.bool.test(a) && (r("jQuery.fn.removeAttr no longer sets boolean properties: " + a), 
            n.prop(a, !1));
        }), f.apply(this, arguments);
    }, e.fn.toggleClass = function(t) {
        return void 0 !== t && "boolean" != typeof t ? y.apply(this, arguments) : (r("jQuery.fn.toggleClass( boolean ) is deprecated"), 
        this.each(function() {
            var r = this.getAttribute && this.getAttribute("class") || "";
            r && e.data(this, "__className__", r), this.setAttribute && this.setAttribute("class", r || !1 === t ? "" : e.data(this, "__className__") || "");
        }));
    };
    var h = !1;
    e.swap && e.each([ "height", "width", "reliableMarginRight" ], function(t, r) {
        var n = e.cssHooks[r] && e.cssHooks[r].get;
        n && (e.cssHooks[r].get = function() {
            var e;
            return h = !0, e = n.apply(this, arguments), h = !1, e;
        });
    }), e.swap = function(e, t, n, a) {
        var o, i, s = {};
        h || r("jQuery.swap() is undocumented and deprecated");
        for (i in t) s[i] = e.style[i], e.style[i] = t[i];
        o = n.apply(e, a || []);
        for (i in t) e.style[i] = s[i];
        return o;
    };
    var g = e.data;
    e.data = function(t, n, a) {
        var o;
        if (n && "object" == typeof n && 2 === arguments.length) {
            o = e.hasData(t) && g.call(this, t);
            var i = {};
            for (var s in n) s !== e.camelCase(s) ? (r("jQuery.data() always sets/gets camelCased names: " + s), 
            o[s] = n[s]) : i[s] = n[s];
            return g.call(this, t, i), n;
        }
        return n && "string" == typeof n && n !== e.camelCase(n) && (o = e.hasData(t) && g.call(this, t)) && n in o ? (r("jQuery.data() always sets/gets camelCased names: " + n), 
        arguments.length > 2 && (o[n] = a), o[n]) : g.apply(this, arguments);
    };
    var v = e.Tween.prototype.run, j = function(e) {
        return e;
    };
    e.Tween.prototype.run = function() {
        e.easing[this.easing].length > 1 && (r("'jQuery.easing." + this.easing.toString() + "' should use only one argument"), 
        e.easing[this.easing] = j), v.apply(this, arguments);
    }, e.fx.interval = e.fx.interval || 13, t.requestAnimationFrame && n(e.fx, "interval", e.fx.interval, "jQuery.fx.interval is deprecated");
    var Q = e.fn.load, b = e.event.add, w = e.event.fix;
    e.event.props = [], e.event.fixHooks = {}, n(e.event.props, "concat", e.event.props.concat, "jQuery.event.props.concat() is deprecated and removed"), 
    e.event.fix = function(t) {
        var n, a = t.type, o = this.fixHooks[a], i = e.event.props;
        if (i.length) for (r("jQuery.event.props are deprecated and removed: " + i.join()); i.length; ) e.event.addProp(i.pop());
        if (o && !o._migrated_ && (o._migrated_ = !0, r("jQuery.event.fixHooks are deprecated and removed: " + a), 
        (i = o.props) && i.length)) for (;i.length; ) e.event.addProp(i.pop());
        return n = w.call(this, t), o && o.filter ? o.filter(n, t) : n;
    }, e.event.add = function(e, n) {
        return e === t && "load" === n && "complete" === t.document.readyState && r("jQuery(window).on('load'...) called after load event occurred"), 
        b.apply(this, arguments);
    }, e.each([ "load", "unload", "error" ], function(t, n) {
        e.fn[n] = function() {
            var e = Array.prototype.slice.call(arguments, 0);
            return "load" === n && "string" == typeof e[0] ? Q.apply(this, e) : (r("jQuery.fn." + n + "() is deprecated"), 
            e.splice(0, 0, n), arguments.length ? this.on.apply(this, e) : (this.triggerHandler.apply(this, e), 
            this));
        };
    }), e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "), function(t, n) {
        e.fn[n] = function(e, t) {
            return r("jQuery.fn." + n + "() event shorthand is deprecated"), arguments.length > 0 ? this.on(n, null, e, t) : this.trigger(n);
        };
    }), e(function() {
        e(t.document).triggerHandler("ready");
    }), e.event.special.ready = {
        setup: function() {
            this === t.document && r("'ready' event is deprecated");
        }
    }, e.fn.extend({
        bind: function(e, t, n) {
            return r("jQuery.fn.bind() is deprecated"), this.on(e, null, t, n);
        },
        unbind: function(e, t) {
            return r("jQuery.fn.unbind() is deprecated"), this.off(e, null, t);
        },
        delegate: function(e, t, n, a) {
            return r("jQuery.fn.delegate() is deprecated"), this.on(t, e, n, a);
        },
        undelegate: function(e, t, n) {
            return r("jQuery.fn.undelegate() is deprecated"), 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n);
        },
        hover: function(e, t) {
            return r("jQuery.fn.hover() is deprecated"), this.on("mouseenter", e).on("mouseleave", t || e);
        }
    });
    var x = e.fn.offset;
    e.fn.offset = function() {
        var n, a = this[0], o = {
            top: 0,
            left: 0
        };
        return a && a.nodeType ? (n = (a.ownerDocument || t.document).documentElement, e.contains(n, a) ? x.apply(this, arguments) : (r("jQuery.fn.offset() requires an element connected to a document"), 
        o)) : (r("jQuery.fn.offset() requires a valid DOM element"), o);
    };
    var k = e.param;
    e.param = function(t, n) {
        var a = e.ajaxSettings && e.ajaxSettings.traditional;
        return void 0 === n && a && (r("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"), 
        n = a), k.call(this, t, n);
    };
    var A = e.fn.andSelf || e.fn.addBack;
    e.fn.andSelf = function() {
        return r("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"), 
        A.apply(this, arguments);
    };
    var S = e.Deferred, q = [ [ "resolve", "done", e.Callbacks("once memory"), e.Callbacks("once memory"), "resolved" ], [ "reject", "fail", e.Callbacks("once memory"), e.Callbacks("once memory"), "rejected" ], [ "notify", "progress", e.Callbacks("memory"), e.Callbacks("memory") ] ];
    return e.Deferred = function(t) {
        var n = S(), a = n.promise();
        return n.pipe = a.pipe = function() {
            var t = arguments;
            return r("deferred.pipe() is deprecated"), e.Deferred(function(r) {
                e.each(q, function(o, i) {
                    var s = e.isFunction(t[o]) && t[o];
                    n[i[1]](function() {
                        var t = s && s.apply(this, arguments);
                        t && e.isFunction(t.promise) ? t.promise().done(r.resolve).fail(r.reject).progress(r.notify) : r[i[0] + "With"](this === a ? r.promise() : this, s ? [ t ] : arguments);
                    });
                }), t = null;
            }).promise();
        }, t && t.call(n, n), n;
    }, e.Deferred.exceptionHook = S.exceptionHook, e;
});;
/*! jQuery Validation Plugin - v1.19.1 - 6/15/2019
 * https://jqueryvalidation.org/
 * Copyright (c) 2019 Jörn Zaefferer; Licensed MIT */
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){a.extend(a.fn,{validate:function(b){if(!this.length)return void(b&&b.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."));var c=a.data(this[0],"validator");return c?c:(this.attr("novalidate","novalidate"),c=new a.validator(b,this[0]),a.data(this[0],"validator",c),c.settings.onsubmit&&(this.on("click.validate",":submit",function(b){c.submitButton=b.currentTarget,a(this).hasClass("cancel")&&(c.cancelSubmit=!0),void 0!==a(this).attr("formnovalidate")&&(c.cancelSubmit=!0)}),this.on("submit.validate",function(b){function d(){var d,e;return c.submitButton&&(c.settings.submitHandler||c.formSubmitted)&&(d=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(a(c.submitButton).val()).appendTo(c.currentForm)),!(c.settings.submitHandler&&!c.settings.debug)||(e=c.settings.submitHandler.call(c,c.currentForm,b),d&&d.remove(),void 0!==e&&e)}return c.settings.debug&&b.preventDefault(),c.cancelSubmit?(c.cancelSubmit=!1,d()):c.form()?c.pendingRequest?(c.formSubmitted=!0,!1):d():(c.focusInvalid(),!1)})),c)},valid:function(){var b,c,d;return a(this[0]).is("form")?b=this.validate().form():(d=[],b=!0,c=a(this[0].form).validate(),this.each(function(){b=c.element(this)&&b,b||(d=d.concat(c.errorList))}),c.errorList=d),b},rules:function(b,c){var d,e,f,g,h,i,j=this[0],k="undefined"!=typeof this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=j&&(!j.form&&k&&(j.form=this.closest("form")[0],j.name=this.attr("name")),null!=j.form)){if(b)switch(d=a.data(j.form,"validator").settings,e=d.rules,f=a.validator.staticRules(j),b){case"add":a.extend(f,a.validator.normalizeRule(c)),delete f.messages,e[j.name]=f,c.messages&&(d.messages[j.name]=a.extend(d.messages[j.name],c.messages));break;case"remove":return c?(i={},a.each(c.split(/\s/),function(a,b){i[b]=f[b],delete f[b]}),i):(delete e[j.name],f)}return g=a.validator.normalizeRules(a.extend({},a.validator.classRules(j),a.validator.attributeRules(j),a.validator.dataRules(j),a.validator.staticRules(j)),j),g.required&&(h=g.required,delete g.required,g=a.extend({required:h},g)),g.remote&&(h=g.remote,delete g.remote,g=a.extend(g,{remote:h})),g}}}),a.extend(a.expr.pseudos||a.expr[":"],{blank:function(b){return!a.trim(""+a(b).val())},filled:function(b){var c=a(b).val();return null!==c&&!!a.trim(""+c)},unchecked:function(b){return!a(b).prop("checked")}}),a.validator=function(b,c){this.settings=a.extend(!0,{},a.validator.defaults,b),this.currentForm=c,this.init()},a.validator.format=function(b,c){return 1===arguments.length?function(){var c=a.makeArray(arguments);return c.unshift(b),a.validator.format.apply(this,c)}:void 0===c?b:(arguments.length>2&&c.constructor!==Array&&(c=a.makeArray(arguments).slice(1)),c.constructor!==Array&&(c=[c]),a.each(c,function(a,c){b=b.replace(new RegExp("\\{"+a+"\\}","g"),function(){return c})}),b)},a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(a){this.lastActive=a,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,a,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(a)))},onfocusout:function(a){this.checkable(a)||!(a.name in this.submitted)&&this.optional(a)||this.element(a)},onkeyup:function(b,c){var d=[16,17,18,20,35,36,37,38,39,40,45,144,225];9===c.which&&""===this.elementValue(b)||a.inArray(c.keyCode,d)!==-1||(b.name in this.submitted||b.name in this.invalid)&&this.element(b)},onclick:function(a){a.name in this.submitted?this.element(a):a.parentNode.name in this.submitted&&this.element(a.parentNode)},highlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).addClass(c).removeClass(d):a(b).addClass(c).removeClass(d)},unhighlight:function(b,c,d){"radio"===b.type?this.findByName(b.name).removeClass(c).addClass(d):a(b).removeClass(c).addClass(d)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}."),step:a.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function b(b){var c="undefined"!=typeof a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");if(!this.form&&c&&(this.form=a(this).closest("form")[0],this.name=a(this).attr("name")),d===this.form){var e=a.data(this.form,"validator"),f="on"+b.type.replace(/^validate/,""),g=e.settings;g[f]&&!a(this).is(g.ignore)&&g[f].call(e,this,b)}}this.labelContainer=a(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm),this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var c,d=this.currentForm,e=this.groups={};a.each(this.settings.groups,function(b,c){"string"==typeof c&&(c=c.split(/\s/)),a.each(c,function(a,c){e[c]=b})}),c=this.settings.rules,a.each(c,function(b,d){c[b]=a.validator.normalizeRule(d)}),a(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",b).on("click.validate","select, option, [type='radio'], [type='checkbox']",b),this.settings.invalidHandler&&a(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),a.extend(this.submitted,this.errorMap),this.invalid=a.extend({},this.errorMap),this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var a=0,b=this.currentElements=this.elements();b[a];a++)this.check(b[a]);return this.valid()},element:function(b){var c,d,e=this.clean(b),f=this.validationTargetFor(e),g=this,h=!0;return void 0===f?delete this.invalid[e.name]:(this.prepareElement(f),this.currentElements=a(f),d=this.groups[f.name],d&&a.each(this.groups,function(a,b){b===d&&a!==f.name&&(e=g.validationTargetFor(g.clean(g.findByName(a))),e&&e.name in g.invalid&&(g.currentElements.push(e),h=g.check(e)&&h))}),c=this.check(f)!==!1,h=h&&c,c?this.invalid[f.name]=!1:this.invalid[f.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),a(b).attr("aria-invalid",!c)),h},showErrors:function(b){if(b){var c=this;a.extend(this.errorMap,b),this.errorList=a.map(this.errorMap,function(a,b){return{message:a,element:c.findByName(b)[0]}}),this.successList=a.grep(this.successList,function(a){return!(a.name in b)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var b=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(b)},resetElements:function(a){var b;if(this.settings.unhighlight)for(b=0;a[b];b++)this.settings.unhighlight.call(this,a[b],this.settings.errorClass,""),this.findByName(a[b].name).removeClass(this.settings.validClass);else a.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(a){var b,c=0;for(b in a)void 0!==a[b]&&null!==a[b]&&a[b]!==!1&&c++;return c},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(a){a.not(this.containers).text(""),this.addWrapper(a).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(b){}},findLastActive:function(){var b=this.lastActive;return b&&1===a.grep(this.errorList,function(a){return a.element.name===b.name}).length&&b},elements:function(){var b=this,c={};return a(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var d=this.name||a(this).attr("name"),e="undefined"!=typeof a(this).attr("contenteditable")&&"false"!==a(this).attr("contenteditable");return!d&&b.settings.debug&&window.console&&console.error("%o has no name assigned",this),e&&(this.form=a(this).closest("form")[0],this.name=d),this.form===b.currentForm&&(!(d in c||!b.objectLength(a(this).rules()))&&(c[d]=!0,!0))})},clean:function(b){return a(b)[0]},errors:function(){var b=this.settings.errorClass.split(" ").join(".");return a(this.settings.errorElement+"."+b,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=a([]),this.toHide=a([])},reset:function(){this.resetInternals(),this.currentElements=a([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(a){this.reset(),this.toHide=this.errorsFor(a)},elementValue:function(b){var c,d,e=a(b),f=b.type,g="undefined"!=typeof e.attr("contenteditable")&&"false"!==e.attr("contenteditable");return"radio"===f||"checkbox"===f?this.findByName(b.name).filter(":checked").val():"number"===f&&"undefined"!=typeof b.validity?b.validity.badInput?"NaN":e.val():(c=g?e.text():e.val(),"file"===f?"C:\\fakepath\\"===c.substr(0,12)?c.substr(12):(d=c.lastIndexOf("/"),d>=0?c.substr(d+1):(d=c.lastIndexOf("\\"),d>=0?c.substr(d+1):c)):"string"==typeof c?c.replace(/\r/g,""):c)},check:function(b){b=this.validationTargetFor(this.clean(b));var c,d,e,f,g=a(b).rules(),h=a.map(g,function(a,b){return b}).length,i=!1,j=this.elementValue(b);"function"==typeof g.normalizer?f=g.normalizer:"function"==typeof this.settings.normalizer&&(f=this.settings.normalizer),f&&(j=f.call(b,j),delete g.normalizer);for(d in g){e={method:d,parameters:g[d]};try{if(c=a.validator.methods[d].call(this,j,b,e.parameters),"dependency-mismatch"===c&&1===h){i=!0;continue}if(i=!1,"pending"===c)return void(this.toHide=this.toHide.not(this.errorsFor(b)));if(!c)return this.formatAndAdd(b,e),!1}catch(k){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+b.id+", check the '"+e.method+"' method.",k),k instanceof TypeError&&(k.message+=".  Exception occurred when checking element "+b.id+", check the '"+e.method+"' method."),k}}if(!i)return this.objectLength(g)&&this.successList.push(b),!0},customDataMessage:function(b,c){return a(b).data("msg"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase())||a(b).data("msg")},customMessage:function(a,b){var c=this.settings.messages[a];return c&&(c.constructor===String?c:c[b])},findDefined:function(){for(var a=0;a<arguments.length;a++)if(void 0!==arguments[a])return arguments[a]},defaultMessage:function(b,c){"string"==typeof c&&(c={method:c});var d=this.findDefined(this.customMessage(b.name,c.method),this.customDataMessage(b,c.method),!this.settings.ignoreTitle&&b.title||void 0,a.validator.messages[c.method],"<strong>Warning: No message defined for "+b.name+"</strong>"),e=/\$?\{(\d+)\}/g;return"function"==typeof d?d=d.call(this,c.parameters,b):e.test(d)&&(d=a.validator.format(d.replace(e,"{$1}"),c.parameters)),d},formatAndAdd:function(a,b){var c=this.defaultMessage(a,b);this.errorList.push({message:c,element:a,method:b.method}),this.errorMap[a.name]=c,this.submitted[a.name]=c},addWrapper:function(a){return this.settings.wrapper&&(a=a.add(a.parent(this.settings.wrapper))),a},defaultShowErrors:function(){var a,b,c;for(a=0;this.errorList[a];a++)c=this.errorList[a],this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass),this.showLabel(c.element,c.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(a=0;this.successList[a];a++)this.showLabel(this.successList[a]);if(this.settings.unhighlight)for(a=0,b=this.validElements();b[a];a++)this.settings.unhighlight.call(this,b[a],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(b,c){var d,e,f,g,h=this.errorsFor(b),i=this.idOrName(b),j=a(b).attr("aria-describedby");h.length?(h.removeClass(this.settings.validClass).addClass(this.settings.errorClass),h.html(c)):(h=a("<"+this.settings.errorElement+">").attr("id",i+"-error").addClass(this.settings.errorClass).html(c||""),d=h,this.settings.wrapper&&(d=h.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(d):this.settings.errorPlacement?this.settings.errorPlacement.call(this,d,a(b)):d.insertAfter(b),h.is("label")?h.attr("for",i):0===h.parents("label[for='"+this.escapeCssMeta(i)+"']").length&&(f=h.attr("id"),j?j.match(new RegExp("\\b"+this.escapeCssMeta(f)+"\\b"))||(j+=" "+f):j=f,a(b).attr("aria-describedby",j),e=this.groups[b.name],e&&(g=this,a.each(g.groups,function(b,c){c===e&&a("[name='"+g.escapeCssMeta(b)+"']",g.currentForm).attr("aria-describedby",h.attr("id"))})))),!c&&this.settings.success&&(h.text(""),"string"==typeof this.settings.success?h.addClass(this.settings.success):this.settings.success(h,b)),this.toShow=this.toShow.add(h)},errorsFor:function(b){var c=this.escapeCssMeta(this.idOrName(b)),d=a(b).attr("aria-describedby"),e="label[for='"+c+"'], label[for='"+c+"'] *";return d&&(e=e+", #"+this.escapeCssMeta(d).replace(/\s+/g,", #")),this.errors().filter(e)},escapeCssMeta:function(a){return a.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(a){return this.groups[a.name]||(this.checkable(a)?a.name:a.id||a.name)},validationTargetFor:function(b){return this.checkable(b)&&(b=this.findByName(b.name)),a(b).not(this.settings.ignore)[0]},checkable:function(a){return/radio|checkbox/i.test(a.type)},findByName:function(b){return a(this.currentForm).find("[name='"+this.escapeCssMeta(b)+"']")},getLength:function(b,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c))return this.findByName(c.name).filter(":checked").length}return b.length},depend:function(a,b){return!this.dependTypes[typeof a]||this.dependTypes[typeof a](a,b)},dependTypes:{"boolean":function(a){return a},string:function(b,c){return!!a(b,c.form).length},"function":function(a,b){return a(b)}},optional:function(b){var c=this.elementValue(b);return!a.validator.methods.required.call(this,c,b)&&"dependency-mismatch"},startRequest:function(b){this.pending[b.name]||(this.pendingRequest++,a(b).addClass(this.settings.pendingClass),this.pending[b.name]=!0)},stopRequest:function(b,c){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[b.name],a(b).removeClass(this.settings.pendingClass),c&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(a(this.currentForm).submit(),this.submitButton&&a("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!c&&0===this.pendingRequest&&this.formSubmitted&&(a(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(b,c){return c="string"==typeof c&&c||"remote",a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:!0,message:this.defaultMessage(b,{method:c})})},destroy:function(){this.resetForm(),a(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(b,c){b.constructor===String?this.classRuleSettings[b]=c:a.extend(this.classRuleSettings,b)},classRules:function(b){var c={},d=a(b).attr("class");return d&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])}),c},normalizeAttributeRule:function(a,b,c,d){/min|max|step/.test(c)&&(null===b||/number|range|text/.test(b))&&(d=Number(d),isNaN(d)&&(d=void 0)),d||0===d?a[c]=d:b===c&&"range"!==b&&(a[c]=!0)},attributeRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)"required"===c?(d=b.getAttribute(c),""===d&&(d=!0),d=!!d):d=f.attr(c),this.normalizeAttributeRule(e,g,c,d);return e.maxlength&&/-1|2147483647|524288/.test(e.maxlength)&&delete e.maxlength,e},dataRules:function(b){var c,d,e={},f=a(b),g=b.getAttribute("type");for(c in a.validator.methods)d=f.data("rule"+c.charAt(0).toUpperCase()+c.substring(1).toLowerCase()),""===d&&(d=!0),this.normalizeAttributeRule(e,g,c,d);return e},staticRules:function(b){var c={},d=a.data(b.form,"validator");return d.settings.rules&&(c=a.validator.normalizeRule(d.settings.rules[b.name])||{}),c},normalizeRules:function(b,c){return a.each(b,function(d,e){if(e===!1)return void delete b[d];if(e.param||e.depends){var f=!0;switch(typeof e.depends){case"string":f=!!a(e.depends,c.form).length;break;case"function":f=e.depends.call(c,c)}f?b[d]=void 0===e.param||e.param:(a.data(c.form,"validator").resetElements(a(c)),delete b[d])}}),a.each(b,function(d,e){b[d]=a.isFunction(e)&&"normalizer"!==d?e(c):e}),a.each(["minlength","maxlength"],function(){b[this]&&(b[this]=Number(b[this]))}),a.each(["rangelength","range"],function(){var c;b[this]&&(a.isArray(b[this])?b[this]=[Number(b[this][0]),Number(b[this][1])]:"string"==typeof b[this]&&(c=b[this].replace(/[\[\]]/g,"").split(/[\s,]+/),b[this]=[Number(c[0]),Number(c[1])]))}),a.validator.autoCreateRanges&&(null!=b.min&&null!=b.max&&(b.range=[b.min,b.max],delete b.min,delete b.max),null!=b.minlength&&null!=b.maxlength&&(b.rangelength=[b.minlength,b.maxlength],delete b.minlength,delete b.maxlength)),b},normalizeRule:function(b){if("string"==typeof b){var c={};a.each(b.split(/\s/),function(){c[this]=!0}),b=c}return b},addMethod:function(b,c,d){a.validator.methods[b]=c,a.validator.messages[b]=void 0!==d?d:a.validator.messages[b],c.length<3&&a.validator.addClassRules(b,a.validator.normalizeRule(b))},methods:{required:function(b,c,d){if(!this.depend(d,c))return"dependency-mismatch";if("select"===c.nodeName.toLowerCase()){var e=a(c).val();return e&&e.length>0}return this.checkable(c)?this.getLength(b,c)>0:void 0!==b&&null!==b&&b.length>0},email:function(a,b){return this.optional(b)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(a)},url:function(a,b){return this.optional(b)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(a)},date:function(){var a=!1;return function(b,c){return a||(a=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(c)||!/Invalid|NaN/.test(new Date(b).toString())}}(),dateISO:function(a,b){return this.optional(b)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(a)},number:function(a,b){return this.optional(b)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(a)},digits:function(a,b){return this.optional(b)||/^\d+$/.test(a)},minlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d},maxlength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e<=d},rangelength:function(b,c,d){var e=a.isArray(b)?b.length:this.getLength(b,c);return this.optional(c)||e>=d[0]&&e<=d[1]},min:function(a,b,c){return this.optional(b)||a>=c},max:function(a,b,c){return this.optional(b)||a<=c},range:function(a,b,c){return this.optional(b)||a>=c[0]&&a<=c[1]},step:function(b,c,d){var e,f=a(c).attr("type"),g="Step attribute on input type "+f+" is not supported.",h=["text","number","range"],i=new RegExp("\\b"+f+"\\b"),j=f&&!i.test(h.join()),k=function(a){var b=(""+a).match(/(?:\.(\d+))?$/);return b&&b[1]?b[1].length:0},l=function(a){return Math.round(a*Math.pow(10,e))},m=!0;if(j)throw new Error(g);return e=k(d),(k(b)>e||l(b)%l(d)!==0)&&(m=!1),this.optional(c)||m},equalTo:function(b,c,d){var e=a(d);return this.settings.onfocusout&&e.not(".validate-equalTo-blur").length&&e.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){a(c).valid()}),b===e.val()},remote:function(b,c,d,e){if(this.optional(c))return"dependency-mismatch";e="string"==typeof e&&e||"remote";var f,g,h,i=this.previousValue(c,e);return this.settings.messages[c.name]||(this.settings.messages[c.name]={}),i.originalMessage=i.originalMessage||this.settings.messages[c.name][e],this.settings.messages[c.name][e]=i.message,d="string"==typeof d&&{url:d}||d,h=a.param(a.extend({data:b},d.data)),i.old===h?i.valid:(i.old=h,f=this,this.startRequest(c),g={},g[c.name]=b,a.ajax(a.extend(!0,{mode:"abort",port:"validate"+c.name,dataType:"json",data:g,context:f.currentForm,success:function(a){var d,g,h,j=a===!0||"true"===a;f.settings.messages[c.name][e]=i.originalMessage,j?(h=f.formSubmitted,f.resetInternals(),f.toHide=f.errorsFor(c),f.formSubmitted=h,f.successList.push(c),f.invalid[c.name]=!1,f.showErrors()):(d={},g=a||f.defaultMessage(c,{method:e,parameters:b}),d[c.name]=i.message=g,f.invalid[c.name]=!0,f.showErrors(d)),i.valid=j,f.stopRequest(c,j)}},d)),"pending")}}});var b,c={};return a.ajaxPrefilter?a.ajaxPrefilter(function(a,b,d){var e=a.port;"abort"===a.mode&&(c[e]&&c[e].abort(),c[e]=d)}):(b=a.ajax,a.ajax=function(d){var e=("mode"in d?d:a.ajaxSettings).mode,f=("port"in d?d:a.ajaxSettings).port;return"abort"===e?(c[f]&&c[f].abort(),c[f]=b.apply(this,arguments),c[f]):b.apply(this,arguments)}),a});;
// Unobtrusive Ajax support library for jQuery
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// @version <placeholder>
// 
// Microsoft grants you the right to use these script files for the sole
// purpose of either: (i) interacting through your browser with the Microsoft
// website or online service, subject to the applicable licensing or use
// terms; or (ii) using the files as included with a Microsoft product subject
// to that product's license terms. Microsoft reserves all other rights to the
// files not expressly granted by Microsoft, whether by implication, estoppel
// or otherwise. Insofar as a script file is dual licensed under GPL,
// Microsoft neither took the code under GPL nor distributes it thereunder but
// under the terms set out in this paragraph. All notices and licenses
// below are for informational purposes only.

/*jslint white: true, browser: true, onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: false */
/*global window: false, jQuery: false */

(function ($) {
    var data_click = "unobtrusiveAjaxClick",
        data_target = "unobtrusiveAjaxClickTarget",
        data_validation = "unobtrusiveValidation";

    function getFunction(code, argNames) {
        var fn = window, parts = (code || "").split(".");
        while (fn && parts.length) {
            fn = fn[parts.shift()];
        }
        if (typeof (fn) === "function") {
            return fn;
        }
        argNames.push(code);
        return Function.constructor.apply(null, argNames);
    }

    function isMethodProxySafe(method) {
        return method === "GET" || method === "POST";
    }

    function asyncOnBeforeSend(xhr, method) {
        if (!isMethodProxySafe(method)) {
            xhr.setRequestHeader("X-HTTP-Method-Override", method);
        }
    }

    function asyncOnSuccess(element, data, contentType) {
        var mode;

        if (contentType.indexOf("application/x-javascript") !== -1) {  // jQuery already executes JavaScript for us
            return;
        }

        mode = (element.getAttribute("data-ajax-mode") || "").toUpperCase();
        $(element.getAttribute("data-ajax-update")).each(function (i, update) {
            var top;

            switch (mode) {
                case "BEFORE":
                    $(update).prepend(data);
                    break;
                case "AFTER":
                    $(update).append(data);
                    break;
                case "REPLACE-WITH":
                    $(update).replaceWith(data);
                    break;
                default:
                    $(update).html(data);
                    break;
            }
        });
    }

    function asyncRequest(element, options) {
        var confirm, loading, method, duration;

        confirm = element.getAttribute("data-ajax-confirm");
        if (confirm && !window.confirm(confirm)) {
            return;
        }

        loading = $(element.getAttribute("data-ajax-loading"));
        duration = parseInt(element.getAttribute("data-ajax-loading-duration"), 10) || 0;

        $.extend(options, {
            type: element.getAttribute("data-ajax-method") || undefined,
            url: element.getAttribute("data-ajax-url") || undefined,
            cache: (element.getAttribute("data-ajax-cache") || "").toLowerCase() === "true",
            beforeSend: function (xhr) {
                var result;
                asyncOnBeforeSend(xhr, method);
                result = getFunction(element.getAttribute("data-ajax-begin"), ["xhr"]).apply(element, arguments);
                if (result !== false) {
                    loading.show(duration);
                }
                return result;
            },
            complete: function () {
                loading.hide(duration);
                getFunction(element.getAttribute("data-ajax-complete"), ["xhr", "status"]).apply(element, arguments);
            },
            success: function (data, status, xhr) {
                asyncOnSuccess(element, data, xhr.getResponseHeader("Content-Type") || "text/html");
                getFunction(element.getAttribute("data-ajax-success"), ["data", "status", "xhr"]).apply(element, arguments);
            },
            error: function () {
                getFunction(element.getAttribute("data-ajax-failure"), ["xhr", "status", "error"]).apply(element, arguments);
            }
        });

        options.data.push({ name: "X-Requested-With", value: "XMLHttpRequest" });

        method = options.type.toUpperCase();
        if (!isMethodProxySafe(method)) {
            options.type = "POST";
            options.data.push({ name: "X-HTTP-Method-Override", value: method });
        }

        // change here:
        // Check for a Form POST with enctype=multipart/form-data
        // add the input file that were not previously included in the serializeArray()
        // set processData and contentType to false
        var $element = $(element);
        if ($element.is("form") && $element.attr("enctype") == "multipart/form-data") {
            var formdata = new FormData();
            $.each(options.data, function (i, v) {
                formdata.append(v.name, v.value);
            });
            $("input[type=file]", $element).each(function () {
                var file = this;
                $.each(file.files, function (n, v) {
                    formdata.append(file.name, v);
                });
            });
            $.extend(options, {
                processData: false,
                contentType: false,
                data: formdata
            });
        }
        // end change

        $.ajax(options);
    }

    function validate(form) {
        var validationInfo = $(form).data(data_validation);
        return !validationInfo || !validationInfo.validate || validationInfo.validate();
    }

    $(document).on("click", "a[data-ajax=true]", function (evt) {
        evt.preventDefault();
        asyncRequest(this, {
            url: this.href,
            type: "GET",
            data: []
        });
    });

    $(document).on("click", "form[data-ajax=true] input[type=image]", function (evt) {
        var name = evt.target.name,
            target = $(evt.target),
            form = $(target.parents("form")[0]),
            offset = target.offset();

        form.data(data_click, [
            { name: name + ".x", value: Math.round(evt.pageX - offset.left) },
            { name: name + ".y", value: Math.round(evt.pageY - offset.top) }
        ]);

        setTimeout(function () {
            form.removeData(data_click);
        }, 0);
    });

    $(document).on("click", "form[data-ajax=true] :submit", function (evt) {
        var name = evt.currentTarget.name,
            target = $(evt.target),
            form = $(target.parents("form")[0]);

        form.data(data_click, name ? [{ name: name, value: evt.currentTarget.value }] : []);
        form.data(data_target, target);

        setTimeout(function () {
            form.removeData(data_click);
            form.removeData(data_target);
        }, 0);
    });

    $(document).on("submit", "form[data-ajax=true]", function (evt) {
        var clickInfo = $(this).data(data_click) || [],
            clickTarget = $(this).data(data_target),
            isCancel = clickTarget && (clickTarget.hasClass("cancel") || clickTarget.attr('formnovalidate') !== undefined);
        evt.preventDefault();
        if (!isCancel && !validate(this)) {
            return;
        }
        asyncRequest(this, {
            url: this.action,
            type: this.method || "GET",
            data: clickInfo.concat($(this).serializeArray())
        });
    });
}(jQuery));
;
// Unobtrusive validation support library for jQuery and jQuery Validate
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// @version v3.2.11
!function(a){"function"==typeof define&&define.amd?define("jquery.validate.unobtrusive",["jquery-validation"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery-validation")):jQuery.validator.unobtrusive=a(jQuery)}(function(a){function e(a,e,n){a.rules[e]=n,a.message&&(a.messages[e]=a.message)}function n(a){return a.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function t(a){return a.replace(/([!"#$%&'()*+,.\/:;<=>?@\[\\\]^`{|}~])/g,"\\$1")}function r(a){return a.substr(0,a.lastIndexOf(".")+1)}function i(a,e){return 0===a.indexOf("*.")&&(a=a.replace("*.",e)),a}function o(e,n){var r=a(this).find("[data-valmsg-for='"+t(n[0].name)+"']"),i=r.attr("data-valmsg-replace"),o=i?a.parseJSON(i)!==!1:null;r.removeClass("field-validation-valid").addClass("field-validation-error"),e.data("unobtrusiveContainer",r),o?(r.empty(),e.removeClass("input-validation-error").appendTo(r)):e.hide()}function d(e,n){var t=a(this).find("[data-valmsg-summary=true]"),r=t.find("ul");r&&r.length&&n.errorList.length&&(r.empty(),t.addClass("validation-summary-errors").removeClass("validation-summary-valid"),a.each(n.errorList,function(){a("<li />").html(this.message).appendTo(r)}))}function s(e){var n=e.data("unobtrusiveContainer");if(n){var t=n.attr("data-valmsg-replace"),r=t?a.parseJSON(t):null;n.addClass("field-validation-valid").removeClass("field-validation-error"),e.removeData("unobtrusiveContainer"),r&&n.empty()}}function l(e){var n=a(this),t="__jquery_unobtrusive_validation_form_reset";if(!n.data(t)){n.data(t,!0);try{n.data("validator").resetForm()}finally{n.removeData(t)}n.find(".validation-summary-errors").addClass("validation-summary-valid").removeClass("validation-summary-errors"),n.find(".field-validation-error").addClass("field-validation-valid").removeClass("field-validation-error").removeData("unobtrusiveContainer").find(">*").removeData("unobtrusiveContainer")}}function u(e){var n=a(e),t=n.data(v),r=a.proxy(l,e),i=f.unobtrusive.options||{},u=function(n,t){var r=i[n];r&&a.isFunction(r)&&r.apply(e,t)};return t||(t={options:{errorClass:i.errorClass||"input-validation-error",errorElement:i.errorElement||"span",errorPlacement:function(){o.apply(e,arguments),u("errorPlacement",arguments)},invalidHandler:function(){d.apply(e,arguments),u("invalidHandler",arguments)},messages:{},rules:{},success:function(){s.apply(e,arguments),u("success",arguments)}},attachValidation:function(){n.off("reset."+v,r).on("reset."+v,r).validate(this.options)},validate:function(){return n.validate(),n.valid()}},n.data(v,t)),t}var m,f=a.validator,v="unobtrusiveValidation";return f.unobtrusive={adapters:[],parseElement:function(e,n){var t,r,i,o=a(e),d=o.parents("form")[0];d&&(t=u(d),t.options.rules[e.name]=r={},t.options.messages[e.name]=i={},a.each(this.adapters,function(){var n="data-val-"+this.name,t=o.attr(n),s={};void 0!==t&&(n+="-",a.each(this.params,function(){s[this]=o.attr(n+this)}),this.adapt({element:e,form:d,message:t,params:s,rules:r,messages:i}))}),a.extend(r,{__dummy__:!0}),n||t.attachValidation())},parse:function(e){var n=a(e),t=n.parents().addBack().filter("form").add(n.find("form")).has("[data-val=true]");n.find("[data-val=true]").each(function(){f.unobtrusive.parseElement(this,!0)}),t.each(function(){var a=u(this);a&&a.attachValidation()})}},m=f.unobtrusive.adapters,m.add=function(a,e,n){return n||(n=e,e=[]),this.push({name:a,params:e,adapt:n}),this},m.addBool=function(a,n){return this.add(a,function(t){e(t,n||a,!0)})},m.addMinMax=function(a,n,t,r,i,o){return this.add(a,[i||"min",o||"max"],function(a){var i=a.params.min,o=a.params.max;i&&o?e(a,r,[i,o]):i?e(a,n,i):o&&e(a,t,o)})},m.addSingleVal=function(a,n,t){return this.add(a,[n||"val"],function(r){e(r,t||a,r.params[n])})},f.addMethod("__dummy__",function(a,e,n){return!0}),f.addMethod("regex",function(a,e,n){var t;return!!this.optional(e)||(t=new RegExp(n).exec(a),t&&0===t.index&&t[0].length===a.length)}),f.addMethod("nonalphamin",function(a,e,n){var t;return n&&(t=a.match(/\W/g),t=t&&t.length>=n),t}),f.methods.extension?(m.addSingleVal("accept","mimtype"),m.addSingleVal("extension","extension")):m.addSingleVal("extension","extension","accept"),m.addSingleVal("regex","pattern"),m.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url"),m.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range"),m.addMinMax("minlength","minlength").addMinMax("maxlength","minlength","maxlength"),m.add("equalto",["other"],function(n){var o=r(n.element.name),d=n.params.other,s=i(d,o),l=a(n.form).find(":input").filter("[name='"+t(s)+"']")[0];e(n,"equalTo",l)}),m.add("required",function(a){"INPUT"===a.element.tagName.toUpperCase()&&"CHECKBOX"===a.element.type.toUpperCase()||e(a,"required",!0)}),m.add("remote",["url","type","additionalfields"],function(o){var d={url:o.params.url,type:o.params.type||"GET",data:{}},s=r(o.element.name);a.each(n(o.params.additionalfields||o.element.name),function(e,n){var r=i(n,s);d.data[r]=function(){var e=a(o.form).find(":input").filter("[name='"+t(r)+"']");return e.is(":checkbox")?e.filter(":checked").val()||e.filter(":hidden").val()||"":e.is(":radio")?e.filter(":checked").val()||"":e.val()}}),e(o,"remote",d)}),m.add("password",["min","nonalphamin","regex"],function(a){a.params.min&&e(a,"minlength",a.params.min),a.params.nonalphamin&&e(a,"nonalphamin",a.params.nonalphamin),a.params.regex&&e(a,"regex",a.params.regex)}),m.add("fileextensions",["extensions"],function(a){e(a,"extension",a.params.extensions)}),a(function(){f.unobtrusive.parse(document)}),f.unobtrusive});;
// jQuery Mask Plugin v1.14.15
// github.com/igorescobar/jQuery-Mask-Plugin
var $jscomp={scope:{},findInternal:function(a,l,d){a instanceof String&&(a=String(a));for(var p=a.length,h=0;h<p;h++){var b=a[h];if(l.call(d,b,h,a))return{i:h,v:b}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,l,d){if(d.get||d.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[l]=d.value)};
$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global&&null!=global?global:a};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(a,l,d,p){if(l){d=$jscomp.global;a=a.split(".");for(p=0;p<a.length-1;p++){var h=a[p];h in d||(d[h]={});d=d[h]}a=a[a.length-1];p=d[a];l=l(p);l!=p&&null!=l&&$jscomp.defineProperty(d,a,{configurable:!0,writable:!0,value:l})}};
$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(a,d){return $jscomp.findInternal(this,a,d).v}},"es6-impl","es3");
(function(a,l,d){"function"===typeof define&&define.amd?define(["jquery"],a):"object"===typeof exports?module.exports=a(require("jquery")):a(l||d)})(function(a){var l=function(b,e,f){var c={invalid:[],getCaret:function(){try{var a,r=0,g=b.get(0),e=document.selection,f=g.selectionStart;if(e&&-1===navigator.appVersion.indexOf("MSIE 10"))a=e.createRange(),a.moveStart("character",-c.val().length),r=a.text.length;else if(f||"0"===f)r=f;return r}catch(C){}},setCaret:function(a){try{if(b.is(":focus")){var c,
g=b.get(0);g.setSelectionRange?g.setSelectionRange(a,a):(c=g.createTextRange(),c.collapse(!0),c.moveEnd("character",a),c.moveStart("character",a),c.select())}}catch(B){}},events:function(){b.on("keydown.mask",function(a){b.data("mask-keycode",a.keyCode||a.which);b.data("mask-previus-value",b.val());b.data("mask-previus-caret-pos",c.getCaret());c.maskDigitPosMapOld=c.maskDigitPosMap}).on(a.jMaskGlobals.useInput?"input.mask":"keyup.mask",c.behaviour).on("paste.mask drop.mask",function(){setTimeout(function(){b.keydown().keyup()},
100)}).on("change.mask",function(){b.data("changed",!0)}).on("blur.mask",function(){d===c.val()||b.data("changed")||b.trigger("change");b.data("changed",!1)}).on("blur.mask",function(){d=c.val()}).on("focus.mask",function(b){!0===f.selectOnFocus&&a(b.target).select()}).on("focusout.mask",function(){f.clearIfNotMatch&&!h.test(c.val())&&c.val("")})},getRegexMask:function(){for(var a=[],b,c,f,n,d=0;d<e.length;d++)(b=m.translation[e.charAt(d)])?(c=b.pattern.toString().replace(/.{1}$|^.{1}/g,""),f=b.optional,
(b=b.recursive)?(a.push(e.charAt(d)),n={digit:e.charAt(d),pattern:c}):a.push(f||b?c+"?":c)):a.push(e.charAt(d).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"));a=a.join("");n&&(a=a.replace(new RegExp("("+n.digit+"(.*"+n.digit+")?)"),"($1)?").replace(new RegExp(n.digit,"g"),n.pattern));return new RegExp(a)},destroyEvents:function(){b.off("input keydown keyup paste drop blur focusout ".split(" ").join(".mask "))},val:function(a){var c=b.is("input")?"val":"text";if(0<arguments.length){if(b[c]()!==a)b[c](a);
c=b}else c=b[c]();return c},calculateCaretPosition:function(){var a=b.data("mask-previus-value")||"",e=c.getMasked(),g=c.getCaret();if(a!==e){var f=b.data("mask-previus-caret-pos")||0,e=e.length,d=a.length,m=a=0,h=0,l=0,k;for(k=g;k<e&&c.maskDigitPosMap[k];k++)m++;for(k=g-1;0<=k&&c.maskDigitPosMap[k];k--)a++;for(k=g-1;0<=k;k--)c.maskDigitPosMap[k]&&h++;for(k=f-1;0<=k;k--)c.maskDigitPosMapOld[k]&&l++;g>d?g=10*e:f>=g&&f!==d?c.maskDigitPosMapOld[g]||(f=g,g=g-(l-h)-a,c.maskDigitPosMap[g]&&(g=f)):g>f&&
(g=g+(h-l)+m)}return g},behaviour:function(f){f=f||window.event;c.invalid=[];var e=b.data("mask-keycode");if(-1===a.inArray(e,m.byPassKeys)){var e=c.getMasked(),g=c.getCaret();setTimeout(function(){c.setCaret(c.calculateCaretPosition())},a.jMaskGlobals.keyStrokeCompensation);c.val(e);c.setCaret(g);return c.callbacks(f)}},getMasked:function(a,b){var g=[],d=void 0===b?c.val():b+"",n=0,h=e.length,q=0,l=d.length,k=1,r="push",p=-1,t=0,y=[],v,z;f.reverse?(r="unshift",k=-1,v=0,n=h-1,q=l-1,z=function(){return-1<
n&&-1<q}):(v=h-1,z=function(){return n<h&&q<l});for(var A;z();){var x=e.charAt(n),w=d.charAt(q),u=m.translation[x];if(u)w.match(u.pattern)?(g[r](w),u.recursive&&(-1===p?p=n:n===v&&n!==p&&(n=p-k),v===p&&(n-=k)),n+=k):w===A?(t--,A=void 0):u.optional?(n+=k,q-=k):u.fallback?(g[r](u.fallback),n+=k,q-=k):c.invalid.push({p:q,v:w,e:u.pattern}),q+=k;else{if(!a)g[r](x);w===x?(y.push(q),q+=k):(A=x,y.push(q+t),t++);n+=k}}d=e.charAt(v);h!==l+1||m.translation[d]||g.push(d);g=g.join("");c.mapMaskdigitPositions(g,
y,l);return g},mapMaskdigitPositions:function(a,b,e){a=f.reverse?a.length-e:0;c.maskDigitPosMap={};for(e=0;e<b.length;e++)c.maskDigitPosMap[b[e]+a]=1},callbacks:function(a){var h=c.val(),g=h!==d,m=[h,a,b,f],q=function(a,b,c){"function"===typeof f[a]&&b&&f[a].apply(this,c)};q("onChange",!0===g,m);q("onKeyPress",!0===g,m);q("onComplete",h.length===e.length,m);q("onInvalid",0<c.invalid.length,[h,a,b,c.invalid,f])}};b=a(b);var m=this,d=c.val(),h;e="function"===typeof e?e(c.val(),void 0,b,f):e;m.mask=
e;m.options=f;m.remove=function(){var a=c.getCaret();m.options.placeholder&&b.removeAttr("placeholder");b.data("mask-maxlength")&&b.removeAttr("maxlength");c.destroyEvents();c.val(m.getCleanVal());c.setCaret(a);return b};m.getCleanVal=function(){return c.getMasked(!0)};m.getMaskedVal=function(a){return c.getMasked(!1,a)};m.init=function(d){d=d||!1;f=f||{};m.clearIfNotMatch=a.jMaskGlobals.clearIfNotMatch;m.byPassKeys=a.jMaskGlobals.byPassKeys;m.translation=a.extend({},a.jMaskGlobals.translation,f.translation);
m=a.extend(!0,{},m,f);h=c.getRegexMask();if(d)c.events(),c.val(c.getMasked());else{f.placeholder&&b.attr("placeholder",f.placeholder);b.data("mask")&&b.attr("autocomplete","off");d=0;for(var l=!0;d<e.length;d++){var g=m.translation[e.charAt(d)];if(g&&g.recursive){l=!1;break}}l&&b.attr("maxlength",e.length).data("mask-maxlength",!0);c.destroyEvents();c.events();d=c.getCaret();c.val(c.getMasked());c.setCaret(d)}};m.init(!b.is("input"))};a.maskWatchers={};var d=function(){var b=a(this),e={},f=b.attr("data-mask");
b.attr("data-mask-reverse")&&(e.reverse=!0);b.attr("data-mask-clearifnotmatch")&&(e.clearIfNotMatch=!0);"true"===b.attr("data-mask-selectonfocus")&&(e.selectOnFocus=!0);if(p(b,f,e))return b.data("mask",new l(this,f,e))},p=function(b,e,f){f=f||{};var c=a(b).data("mask"),d=JSON.stringify;b=a(b).val()||a(b).text();try{return"function"===typeof e&&(e=e(b)),"object"!==typeof c||d(c.options)!==d(f)||c.mask!==e}catch(t){}},h=function(a){var b=document.createElement("div"),d;a="on"+a;d=a in b;d||(b.setAttribute(a,
"return;"),d="function"===typeof b[a]);return d};a.fn.mask=function(b,d){d=d||{};var e=this.selector,c=a.jMaskGlobals,h=c.watchInterval,c=d.watchInputs||c.watchInputs,t=function(){if(p(this,b,d))return a(this).data("mask",new l(this,b,d))};a(this).each(t);e&&""!==e&&c&&(clearInterval(a.maskWatchers[e]),a.maskWatchers[e]=setInterval(function(){a(document).find(e).each(t)},h));return this};a.fn.masked=function(a){return this.data("mask").getMaskedVal(a)};a.fn.unmask=function(){clearInterval(a.maskWatchers[this.selector]);
delete a.maskWatchers[this.selector];return this.each(function(){var b=a(this).data("mask");b&&b.remove().removeData("mask")})};a.fn.cleanVal=function(){return this.data("mask").getCleanVal()};a.applyDataMask=function(b){b=b||a.jMaskGlobals.maskElements;(b instanceof a?b:a(b)).filter(a.jMaskGlobals.dataMaskAttr).each(d)};h={maskElements:"input,td,span,div",dataMaskAttr:"*[data-mask]",dataMask:!0,watchInterval:300,watchInputs:!0,keyStrokeCompensation:10,useInput:!/Chrome\/[2-4][0-9]|SamsungBrowser/.test(window.navigator.userAgent)&&
h("input"),watchDataMask:!1,byPassKeys:[9,16,17,18,36,37,38,39,40,91],translation:{0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}};a.jMaskGlobals=a.jMaskGlobals||{};h=a.jMaskGlobals=a.extend(!0,{},h,a.jMaskGlobals);h.dataMask&&a.applyDataMask();setInterval(function(){a.jMaskGlobals.watchDataMask&&a.applyDataMask()},h.watchInterval)},window.jQuery,window.Zepto);
;
var foolproof=function(){};foolproof.is=function(a,h,b,f){if(f){var e=function(a){return a==null||a==undefined||a==""},c=e(a),d=e(b);if(c&&!d||d&&!c)return true}var g=function(a){return a-0==a&&a.length>0},j=function(b){var a=new RegExp(/(?=\d)^(?:(?!(?:10\D(?:0?[5-9]|1[0-4])\D(?:1582))|(?:0?9\D(?:0?[3-9]|1[0-3])\D(?:1752)))((?:0?[13578]|1[02])|(?:0?[469]|11)(?!\/31)(?!-31)(?!\.31)|(?:0?2(?=.?(?:(?:29.(?!000[04]|(?:(?:1[^0-6]|[2468][^048]|[3579][^26])00))(?:(?:(?:\d\d)(?:[02468][048]|[13579][26])(?!\x20BC))|(?:00(?:42|3[0369]|2[147]|1[258]|09)\x20BC))))))|(?:0?2(?=.(?:(?:\d\D)|(?:[01]\d)|(?:2[0-8])))))([-.\/])(0?[1-9]|[12]\d|3[01])\2(?!0000)((?=(?:00(?:4[0-5]|[0-3]?\d)\x20BC)|(?:\d{4}(?!\x20BC)))\d{4}(?:\x20BC)?)(?:$|(?=\x20\d)\x20))?((?:(?:0?[1-9]|1[012])(?::[0-5]\d){0,2}(?:\x20[aApP][mM]))|(?:[01]\d|2[0-3])(?::[0-5]\d){1,2})?$/);return a.test(b)},i=function(a){return a===true||a===false||a==="true"||a==="false"};if(j(a)){a=Date.parse(a);b=Date.parse(b)}else if(i(a)){if(a=="false")a=false;if(b=="false")b=false;a=!!a;b=!!b}else if(g(a)){a=parseFloat(a);b=parseFloat(b)}switch(h){case"EqualTo":if(a==b)return true;break;case"NotEqualTo":if(a!=b)return true;break;case"GreaterThan":if(a>b)return true;break;case"LessThan":if(a<b)return true;break;case"GreaterThanOrEqualTo":if(a>=b)return true;break;case"LessThanOrEqualTo":if(a<=b)return true;break;case"RegExMatch":return(new RegExp(b)).test(a);break;case"NotRegExMatch":return!(new RegExp(b)).test(a)}return false};foolproof.getId=function(a,b){var c=a.id.lastIndexOf("_")+1;return a.id.substr(0,c)+b.replace(/\./g,"_")};foolproof.getName=function(a,b){var c=a.name.lastIndexOf(".")+1;return a.name.substr(0,c)+b};(function(){jQuery.validator.addMethod("is",function(g,f,a){var b=foolproof.getId(f,a.dependentproperty),e=a.operator,d=a.passonnull,c=document.getElementById(b).value;return foolproof.is(g,e,c,d)?true:false});jQuery.validator.addMethod("requiredif",function(e,j,c){var h=foolproof.getName(j,c.dependentproperty),g=c.dependentvalue,i=c.operator,f=c.pattern,a=document.getElementsByName(h),b=null;if(a.length>1){for(var d=0;d!=a.length;d++)if(a[d].checked){b=a[d].value;break}if(b==null)b=false}else b=a[0].value;if(foolproof.is(b,i,g))if(f==null){if(e!=null&&e.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return(new RegExp(f)).test(e);else return true;return false});jQuery.validator.addMethod("requiredifempty",function(b,d,e){var c=foolproof.getId(d,e.dependentproperty),a=document.getElementById(c).value;if(a==null||a.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")==""){if(b!=null&&b.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return true;return false});jQuery.validator.addMethod("requiredifnotempty",function(b,d,e){var c=foolproof.getId(d,e.dependentproperty),a=document.getElementById(c).value;if(a!=null&&a.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!=""){if(b!=null&&b.toString().replace(/^\s\s*/,"").replace(/\s\s*$/,"")!="")return true}else return true;return false});var a=function(a,b,c){a.rules[b]=c;if(a.message)a.messages[b]=a.message},b=$.validator.unobtrusive;b.adapters.add("requiredif",["dependentproperty","dependentvalue","operator","pattern"],function(b){var c={dependentproperty:b.params.dependentproperty,dependentvalue:b.params.dependentvalue,operator:b.params.operator,pattern:b.params.pattern};a(b,"requiredif",c)});b.adapters.add("is",["dependentproperty","operator","passonnull"],function(b){a(b,"is",{dependentproperty:b.params.dependentproperty,operator:b.params.operator,passonnull:b.params.passonnull})});b.adapters.add("requiredifempty",["dependentproperty"],function(b){a(b,"requiredifempty",{dependentproperty:b.params.dependentproperty})});b.adapters.add("requiredifnotempty",["dependentproperty"],function(b){a(b,"requiredifnotempty",{dependentproperty:b.params.dependentproperty})})})();;
/*
waitMe - 1.19 [31.10.17]
Author: vadimsva
Github: https://github.com/vadimsva/waitMe
*/
(function(b){b.fn.waitMe=function(p){return this.each(function(){function y(){var a=f.attr("data-waitme_id");f.removeClass("waitMe_container").removeAttr("data-waitme_id");f.find('.waitMe[data-waitme_id="'+a+'"]').remove()}var f=b(this),z,g,e,r=!1,t="background-color",u="",q="",v,a,w,n={init:function(){function n(a){l.css({top:"auto",transform:"translateY("+a+"px) translateZ(0)"})}a=b.extend({effect:"bounce",text:"",bg:"rgba(255,255,255,0.7)",color:"#000",maxSize:"",waitTime:-1,textPos:"vertical",
fontSize:"",source:"",onClose:function(){}},p);w=(new Date).getMilliseconds();v=b('<div class="waitMe" data-waitme_id="'+w+'"></div>');switch(a.effect){case "none":e=0;break;case "bounce":e=3;break;case "rotateplane":e=1;break;case "stretch":e=5;break;case "orbit":e=2;r=!0;break;case "roundBounce":e=12;break;case "win8":e=5;r=!0;break;case "win8_linear":e=5;r=!0;break;case "ios":e=12;break;case "facebook":e=3;break;case "rotation":e=1;t="border-color";break;case "timer":e=2;var c=b.isArray(a.color)?
a.color[0]:a.color;u="border-color:"+c;break;case "pulse":e=1;t="border-color";break;case "progressBar":e=1;break;case "bouncePulse":e=3;break;case "img":e=1}""!==u&&(u+=";");if(0<e){if("img"===a.effect)q='<img src="'+a.source+'">';else for(var d=1;d<=e;++d)b.isArray(a.color)?(c=a.color[d],void 0==c&&(c="#000")):c=a.color,q=r?q+('<div class="waitMe_progress_elem'+d+'"><div style="'+t+":"+c+'"></div></div>'):q+('<div class="waitMe_progress_elem'+d+'" style="'+t+":"+c+'"></div>');g=b('<div class="waitMe_progress '+
a.effect+'" style="'+u+'">'+q+"</div>")}a.text&&(c=b.isArray(a.color)?a.color[0]:a.color,z=b('<div class="waitMe_text" style="color:'+c+";"+(""!=a.fontSize?"font-size:"+a.fontSize:"")+'">'+a.text+"</div>"));var k=f.find("> .waitMe");k&&k.remove();c=b('<div class="waitMe_content '+a.textPos+'"></div>');c.append(g,z);v.append(c);"HTML"==f[0].tagName&&(f=b("body"));f.addClass("waitMe_container").attr("data-waitme_id",w).append(v);k=f.find("> .waitMe");var l=f.find(".waitMe_content");k.css({background:a.bg});
""!==a.maxSize&&"none"!=a.effect&&(c=g.outerHeight(),g.outerWidth(),"img"===a.effect?(g.css({height:a.maxSize+"px"}),g.find(">img").css({maxHeight:"100%"}),l.css({marginTop:-l.outerHeight()/2+"px"})):a.maxSize<c&&("stretch"==a.effect?(g.css({height:a.maxSize+"px",width:a.maxSize+"px"}),g.find("> div").css({margin:"0 5%"})):(c=a.maxSize/c-.2,d="-50%","roundBounce"==a.effect?(d="-75%",a.text&&(d="75%")):"win8"==a.effect||"timer"==a.effect||"orbit"==a.effect?(d="-20%",a.text&&(d="20%")):"ios"==a.effect&&
(d="-15%",a.text&&(d="15%")),"rotation"==a.effect&&a.text&&(d="75%"),g.css({transform:"scale("+c+") translateX("+d+")",whiteSpace:"nowrap"}))));l.css({marginTop:-l.outerHeight()/2+"px"});if(f.outerHeight()>b(window).height()){c=b(window).scrollTop();var h=l.outerHeight(),m=f.offset().top,x=f.outerHeight();d=c-m+b(window).height()/2;0>d&&(d=Math.abs(d));0<=d-h&&d+h<=x?m-c>b(window).height()/2&&(d=h):d=c>m+x-h?c-m-h:c-m+h;n(d);b(document).scroll(function(){var a=b(window).scrollTop()-m+b(window).height()/
2;0<=a-h&&a+h<=x&&n(a)})}0<a.waitTime&&setTimeout(function(){y()},a.waitTime);k.on("destroyed",function(){if(a.onClose&&b.isFunction(a.onClose))a.onClose(f);k.trigger("close",{el:f})});b.event.special.destroyed={remove:function(a){a.handler&&a.handler()}};return k},hide:function(){y()}};if(n[p])return n[p].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof p||!p)return n.init.apply(this,arguments)})};b(window).on("load",function(){b("body.waitMe_body").addClass("hideMe");setTimeout(function(){b("body.waitMe_body").find(".waitMe_container:not([data-waitme_id])").remove();
b("body.waitMe_body").removeClass("waitMe_body hideMe")},200)})})(jQuery);
;
/*!
  * Bootstrap v4.3.1 (https://getbootstrap.com/)
  * Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
  */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(this,function(t,p){"use strict";function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function s(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}function l(o){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(t){var e,n,i;e=o,i=r[n=t],n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i})}return o}p=p&&p.hasOwnProperty("default")?p.default:p;var e="transitionend";function n(t){var e=this,n=!1;return p(this).one(m.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||m.triggerTransitionEnd(e)},t),this}var m={TRANSITION_END:"bsTransitionEnd",getUID:function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=p(t).css("transition-duration"),n=p(t).css("transition-delay"),i=parseFloat(e),o=parseFloat(n);return i||o?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){p(t).trigger(e)},supportsTransitionEnd:function(){return Boolean(e)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],r=e[i],s=r&&m.isElement(r)?"element":(a=r,{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var a},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"!=typeof t.getRootNode)return t instanceof ShadowRoot?t:t.parentNode?m.findShadowRoot(t.parentNode):null;var e=t.getRootNode();return e instanceof ShadowRoot?e:null}};p.fn.emulateTransitionEnd=n,p.event.special[m.TRANSITION_END]={bindType:e,delegateType:e,handle:function(t){if(p(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var o="alert",r="bs.alert",a="."+r,c=p.fn[o],h={CLOSE:"close"+a,CLOSED:"closed"+a,CLICK_DATA_API:"click"+a+".data-api"},u="alert",f="fade",d="show",g=function(){function i(t){this._element=t}var t=i.prototype;return t.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},t.dispose=function(){p.removeData(this._element,r),this._element=null},t._getRootElement=function(t){var e=m.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=p(t).closest("."+u)[0]),n},t._triggerCloseEvent=function(t){var e=p.Event(h.CLOSE);return p(t).trigger(e),e},t._removeElement=function(e){var n=this;if(p(e).removeClass(d),p(e).hasClass(f)){var t=m.getTransitionDurationFromElement(e);p(e).one(m.TRANSITION_END,function(t){return n._destroyElement(e,t)}).emulateTransitionEnd(t)}else this._destroyElement(e)},t._destroyElement=function(t){p(t).detach().trigger(h.CLOSED).remove()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(r);e||(e=new i(this),t.data(r,e)),"close"===n&&e[n](this)})},i._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(h.CLICK_DATA_API,'[data-dismiss="alert"]',g._handleDismiss(new g)),p.fn[o]=g._jQueryInterface,p.fn[o].Constructor=g,p.fn[o].noConflict=function(){return p.fn[o]=c,g._jQueryInterface};var _="button",v="bs.button",y="."+v,E=".data-api",b=p.fn[_],w="active",C="btn",T="focus",S='[data-toggle^="button"]',D='[data-toggle="buttons"]',I='input:not([type="hidden"])',A=".active",O=".btn",N={CLICK_DATA_API:"click"+y+E,FOCUS_BLUR_DATA_API:"focus"+y+E+" blur"+y+E},k=function(){function n(t){this._element=t}var t=n.prototype;return t.toggle=function(){var t=!0,e=!0,n=p(this._element).closest(D)[0];if(n){var i=this._element.querySelector(I);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(w))t=!1;else{var o=n.querySelector(A);o&&p(o).removeClass(w)}if(t){if(i.hasAttribute("disabled")||n.hasAttribute("disabled")||i.classList.contains("disabled")||n.classList.contains("disabled"))return;i.checked=!this._element.classList.contains(w),p(i).trigger("change")}i.focus(),e=!1}}e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(w)),t&&p(this._element).toggleClass(w)},t.dispose=function(){p.removeData(this._element,v),this._element=null},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(v);t||(t=new n(this),p(this).data(v,t)),"toggle"===e&&t[e]()})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),n}();p(document).on(N.CLICK_DATA_API,S,function(t){t.preventDefault();var e=t.target;p(e).hasClass(C)||(e=p(e).closest(O)),k._jQueryInterface.call(p(e),"toggle")}).on(N.FOCUS_BLUR_DATA_API,S,function(t){var e=p(t.target).closest(O)[0];p(e).toggleClass(T,/^focus(in)?$/.test(t.type))}),p.fn[_]=k._jQueryInterface,p.fn[_].Constructor=k,p.fn[_].noConflict=function(){return p.fn[_]=b,k._jQueryInterface};var L="carousel",x="bs.carousel",P="."+x,H=".data-api",j=p.fn[L],R={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},F={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M="next",W="prev",U="left",B="right",q={SLIDE:"slide"+P,SLID:"slid"+P,KEYDOWN:"keydown"+P,MOUSEENTER:"mouseenter"+P,MOUSELEAVE:"mouseleave"+P,TOUCHSTART:"touchstart"+P,TOUCHMOVE:"touchmove"+P,TOUCHEND:"touchend"+P,POINTERDOWN:"pointerdown"+P,POINTERUP:"pointerup"+P,DRAG_START:"dragstart"+P,LOAD_DATA_API:"load"+P+H,CLICK_DATA_API:"click"+P+H},K="carousel",Q="active",V="slide",Y="carousel-item-right",z="carousel-item-left",X="carousel-item-next",G="carousel-item-prev",$="pointer-event",J=".active",Z=".active.carousel-item",tt=".carousel-item",et=".carousel-item img",nt=".carousel-item-next, .carousel-item-prev",it=".carousel-indicators",ot="[data-slide], [data-slide-to]",rt='[data-ride="carousel"]',st={TOUCH:"touch",PEN:"pen"},at=function(){function r(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(it),this._touchSupported="ontouchstart"in document.documentElement||0<navigator.maxTouchPoints,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=r.prototype;return t.next=function(){this._isSliding||this._slide(M)},t.nextWhenVisible=function(){!document.hidden&&p(this._element).is(":visible")&&"hidden"!==p(this._element).css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(W)},t.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(nt)&&(m.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(t){var e=this;this._activeElement=this._element.querySelector(Z);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)p(this._element).one(q.SLID,function(){return e.to(t)});else{if(n===t)return this.pause(),void this.cycle();var i=n<t?M:W;this._slide(i,this._items[t])}},t.dispose=function(){p(this._element).off(P),p.removeData(this._element,x),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(t){return t=l({},R,t),m.typeCheckConfig(L,t,F),t},t._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;0<e&&this.prev(),e<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&p(this._element).on(q.KEYDOWN,function(t){return e._keydown(t)}),"hover"===this._config.pause&&p(this._element).on(q.MOUSEENTER,function(t){return e.pause(t)}).on(q.MOUSELEAVE,function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var n=this;if(this._touchSupported){var e=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]?n.touchStartX=t.originalEvent.clientX:n._pointerEvent||(n.touchStartX=t.originalEvent.touches[0].clientX)},i=function(t){n._pointerEvent&&st[t.originalEvent.pointerType.toUpperCase()]&&(n.touchDeltaX=t.originalEvent.clientX-n.touchStartX),n._handleSwipe(),"hover"===n._config.pause&&(n.pause(),n.touchTimeout&&clearTimeout(n.touchTimeout),n.touchTimeout=setTimeout(function(t){return n.cycle(t)},500+n._config.interval))};p(this._element.querySelectorAll(et)).on(q.DRAG_START,function(t){return t.preventDefault()}),this._pointerEvent?(p(this._element).on(q.POINTERDOWN,function(t){return e(t)}),p(this._element).on(q.POINTERUP,function(t){return i(t)}),this._element.classList.add($)):(p(this._element).on(q.TOUCHSTART,function(t){return e(t)}),p(this._element).on(q.TOUCHMOVE,function(t){var e;(e=t).originalEvent.touches&&1<e.originalEvent.touches.length?n.touchDeltaX=0:n.touchDeltaX=e.originalEvent.touches[0].clientX-n.touchStartX}),p(this._element).on(q.TOUCHEND,function(t){return i(t)}))}},t._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},t._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(tt)):[],this._items.indexOf(t)},t._getItemByDirection=function(t,e){var n=t===M,i=t===W,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+(t===W?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(Z)),o=p.Event(q.SLIDE,{relatedTarget:t,direction:e,from:i,to:n});return p(this._element).trigger(o),o},t._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(J));p(e).removeClass(Q);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&p(n).addClass(Q)}},t._slide=function(t,e){var n,i,o,r=this,s=this._element.querySelector(Z),a=this._getItemIndex(s),l=e||s&&this._getItemByDirection(t,s),c=this._getItemIndex(l),h=Boolean(this._interval);if(o=t===M?(n=z,i=X,U):(n=Y,i=G,B),l&&p(l).hasClass(Q))this._isSliding=!1;else if(!this._triggerSlideEvent(l,o).isDefaultPrevented()&&s&&l){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(l);var u=p.Event(q.SLID,{relatedTarget:l,direction:o,from:a,to:c});if(p(this._element).hasClass(V)){p(l).addClass(i),m.reflow(l),p(s).addClass(n),p(l).addClass(n);var f=parseInt(l.getAttribute("data-interval"),10);this._config.interval=f?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,f):this._config.defaultInterval||this._config.interval;var d=m.getTransitionDurationFromElement(s);p(s).one(m.TRANSITION_END,function(){p(l).removeClass(n+" "+i).addClass(Q),p(s).removeClass(Q+" "+i+" "+n),r._isSliding=!1,setTimeout(function(){return p(r._element).trigger(u)},0)}).emulateTransitionEnd(d)}else p(s).removeClass(Q),p(l).addClass(Q),this._isSliding=!1,p(this._element).trigger(u);h&&this.cycle()}},r._jQueryInterface=function(i){return this.each(function(){var t=p(this).data(x),e=l({},R,p(this).data());"object"==typeof i&&(e=l({},e,i));var n="string"==typeof i?i:e.slide;if(t||(t=new r(this,e),p(this).data(x,t)),"number"==typeof i)t.to(i);else if("string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}else e.interval&&e.ride&&(t.pause(),t.cycle())})},r._dataApiClickHandler=function(t){var e=m.getSelectorFromElement(this);if(e){var n=p(e)[0];if(n&&p(n).hasClass(K)){var i=l({},p(n).data(),p(this).data()),o=this.getAttribute("data-slide-to");o&&(i.interval=!1),r._jQueryInterface.call(p(n),i),o&&p(n).data(x).to(o),t.preventDefault()}}},s(r,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return R}}]),r}();p(document).on(q.CLICK_DATA_API,ot,at._dataApiClickHandler),p(window).on(q.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(rt)),e=0,n=t.length;e<n;e++){var i=p(t[e]);at._jQueryInterface.call(i,i.data())}}),p.fn[L]=at._jQueryInterface,p.fn[L].Constructor=at,p.fn[L].noConflict=function(){return p.fn[L]=j,at._jQueryInterface};var lt="collapse",ct="bs.collapse",ht="."+ct,ut=p.fn[lt],ft={toggle:!0,parent:""},dt={toggle:"boolean",parent:"(string|element)"},pt={SHOW:"show"+ht,SHOWN:"shown"+ht,HIDE:"hide"+ht,HIDDEN:"hidden"+ht,CLICK_DATA_API:"click"+ht+".data-api"},mt="show",gt="collapse",_t="collapsing",vt="collapsed",yt="width",Et="height",bt=".show, .collapsing",wt='[data-toggle="collapse"]',Ct=function(){function a(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(wt)),i=0,o=n.length;i<o;i++){var r=n[i],s=m.getSelectorFromElement(r),a=[].slice.call(document.querySelectorAll(s)).filter(function(t){return t===e});null!==s&&0<a.length&&(this._selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=a.prototype;return t.toggle=function(){p(this._element).hasClass(mt)?this.hide():this.show()},t.show=function(){var t,e,n=this;if(!this._isTransitioning&&!p(this._element).hasClass(mt)&&(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(bt)).filter(function(t){return"string"==typeof n._config.parent?t.getAttribute("data-parent")===n._config.parent:t.classList.contains(gt)})).length&&(t=null),!(t&&(e=p(t).not(this._selector).data(ct))&&e._isTransitioning))){var i=p.Event(pt.SHOW);if(p(this._element).trigger(i),!i.isDefaultPrevented()){t&&(a._jQueryInterface.call(p(t).not(this._selector),"hide"),e||p(t).data(ct,null));var o=this._getDimension();p(this._element).removeClass(gt).addClass(_t),this._element.style[o]=0,this._triggerArray.length&&p(this._triggerArray).removeClass(vt).attr("aria-expanded",!0),this.setTransitioning(!0);var r="scroll"+(o[0].toUpperCase()+o.slice(1)),s=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){p(n._element).removeClass(_t).addClass(gt).addClass(mt),n._element.style[o]="",n.setTransitioning(!1),p(n._element).trigger(pt.SHOWN)}).emulateTransitionEnd(s),this._element.style[o]=this._element[r]+"px"}}},t.hide=function(){var t=this;if(!this._isTransitioning&&p(this._element).hasClass(mt)){var e=p.Event(pt.HIDE);if(p(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",m.reflow(this._element),p(this._element).addClass(_t).removeClass(gt).removeClass(mt);var i=this._triggerArray.length;if(0<i)for(var o=0;o<i;o++){var r=this._triggerArray[o],s=m.getSelectorFromElement(r);if(null!==s)p([].slice.call(document.querySelectorAll(s))).hasClass(mt)||p(r).addClass(vt).attr("aria-expanded",!1)}this.setTransitioning(!0);this._element.style[n]="";var a=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(){t.setTransitioning(!1),p(t._element).removeClass(_t).addClass(gt).trigger(pt.HIDDEN)}).emulateTransitionEnd(a)}}},t.setTransitioning=function(t){this._isTransitioning=t},t.dispose=function(){p.removeData(this._element,ct),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(t){return(t=l({},ft,t)).toggle=Boolean(t.toggle),m.typeCheckConfig(lt,t,dt),t},t._getDimension=function(){return p(this._element).hasClass(yt)?yt:Et},t._getParent=function(){var t,n=this;m.isElement(this._config.parent)?(t=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var e='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(e));return p(i).each(function(t,e){n._addAriaAndCollapsedClass(a._getTargetFromElement(e),[e])}),t},t._addAriaAndCollapsedClass=function(t,e){var n=p(t).hasClass(mt);e.length&&p(e).toggleClass(vt,!n).attr("aria-expanded",n)},a._getTargetFromElement=function(t){var e=m.getSelectorFromElement(t);return e?document.querySelector(e):null},a._jQueryInterface=function(i){return this.each(function(){var t=p(this),e=t.data(ct),n=l({},ft,t.data(),"object"==typeof i&&i?i:{});if(!e&&n.toggle&&/show|hide/.test(i)&&(n.toggle=!1),e||(e=new a(this,n),t.data(ct,e)),"string"==typeof i){if("undefined"==typeof e[i])throw new TypeError('No method named "'+i+'"');e[i]()}})},s(a,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return ft}}]),a}();p(document).on(pt.CLICK_DATA_API,wt,function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var n=p(this),e=m.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(e));p(i).each(function(){var t=p(this),e=t.data(ct)?"toggle":n.data();Ct._jQueryInterface.call(t,e)})}),p.fn[lt]=Ct._jQueryInterface,p.fn[lt].Constructor=Ct,p.fn[lt].noConflict=function(){return p.fn[lt]=ut,Ct._jQueryInterface};for(var Tt="undefined"!=typeof window&&"undefined"!=typeof document,St=["Edge","Trident","Firefox"],Dt=0,It=0;It<St.length;It+=1)if(Tt&&0<=navigator.userAgent.indexOf(St[It])){Dt=1;break}var At=Tt&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},Dt))}};function Ot(t){return t&&"[object Function]"==={}.toString.call(t)}function Nt(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function kt(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function Lt(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=Nt(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:Lt(kt(t))}var xt=Tt&&!(!window.MSInputMethodContext||!document.documentMode),Pt=Tt&&/MSIE 10/.test(navigator.userAgent);function Ht(t){return 11===t?xt:10===t?Pt:xt||Pt}function jt(t){if(!t)return document.documentElement;for(var e=Ht(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Nt(n,"position")?jt(n):n:t?t.ownerDocument.documentElement:document.documentElement}function Rt(t){return null!==t.parentNode?Rt(t.parentNode):t}function Ft(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&jt(s.firstElementChild)!==s?jt(l):l;var c=Rt(t);return c.host?Ft(c.host,e):Ft(t,Rt(e).host)}function Mt(t){var e="top"===(1<arguments.length&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"!==n&&"HTML"!==n)return t[e];var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}function Wt(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function Ut(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],Ht(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Bt(t){var e=t.body,n=t.documentElement,i=Ht(10)&&getComputedStyle(n);return{height:Ut("Height",e,n,i),width:Ut("Width",e,n,i)}}var qt=function(){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),t}}(),Kt=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},Qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function Vt(t){return Qt({},t,{right:t.left+t.width,bottom:t.top+t.height})}function Yt(t){var e={};try{if(Ht(10)){e=t.getBoundingClientRect();var n=Mt(t,"top"),i=Mt(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(t){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},r="HTML"===t.nodeName?Bt(t.ownerDocument):{},s=r.width||t.clientWidth||o.right-o.left,a=r.height||t.clientHeight||o.bottom-o.top,l=t.offsetWidth-s,c=t.offsetHeight-a;if(l||c){var h=Nt(t);l-=Wt(h,"x"),c-=Wt(h,"y"),o.width-=l,o.height-=c}return Vt(o)}function zt(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Ht(10),o="HTML"===e.nodeName,r=Yt(t),s=Yt(e),a=Lt(t),l=Nt(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=Vt({top:r.top-s.top-c,left:r.left-s.left-h,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop,10),d=parseFloat(l.marginLeft,10);u.top-=c-f,u.bottom-=c-f,u.left-=h-d,u.right-=h-d,u.marginTop=f,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],i=Mt(e,"top"),o=Mt(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(u,e)),u}function Xt(t){if(!t||!t.parentElement||Ht())return document.documentElement;for(var e=t.parentElement;e&&"none"===Nt(e,"transform");)e=e.parentElement;return e||document.documentElement}function Gt(t,e,n,i){var o=4<arguments.length&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?Xt(t):Ft(t,e);if("viewport"===i)r=function(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=zt(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:Mt(n),a=e?0:Mt(n,"left");return Vt({top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r})}(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=Lt(kt(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=zt(a,s,o);if("HTML"!==a.nodeName||function t(e){var n=e.nodeName;if("BODY"===n||"HTML"===n)return!1;if("fixed"===Nt(e,"position"))return!0;var i=kt(e);return!!i&&t(i)}(s))r=l;else{var c=Bt(t.ownerDocument),h=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var f="number"==typeof(n=n||0);return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function $t(t,e,i,n,o){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Gt(i,n,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return Qt({key:t},a[t],{area:(e=a[t],e.width*e.height)});var e}).sort(function(t,e){return e.area-t.area}),c=l.filter(function(t){var e=t.width,n=t.height;return e>=i.clientWidth&&n>=i.clientHeight}),h=0<c.length?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function Jt(t,e,n){var i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return zt(n,i?Xt(e):Ft(e,n),i)}function Zt(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function te(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function ee(t,e,n){n=n.split("-")[0];var i=Zt(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[te(a)],o}function ne(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function ie(t,n,e){return(void 0===e?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=ne(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",e))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var e=t.function||t.fn;t.enabled&&Ot(e)&&(n.offsets.popper=Vt(n.offsets.popper),n.offsets.reference=Vt(n.offsets.reference),n=e(n,t))}),n}function oe(t,n){return t.some(function(t){var e=t.name;return t.enabled&&e===n})}function re(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i<e.length;i++){var o=e[i],r=o?""+o+n:t;if("undefined"!=typeof document.body.style[r])return r}return null}function se(t){var e=t.ownerDocument;return e?e.defaultView:window}function ae(t,e,n,i){n.updateBound=i,se(t).addEventListener("resize",n.updateBound,{passive:!0});var o=Lt(t);return function t(e,n,i,o){var r="BODY"===e.nodeName,s=r?e.ownerDocument.defaultView:e;s.addEventListener(n,i,{passive:!0}),r||t(Lt(s.parentNode),n,i,o),o.push(s)}(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function le(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,se(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function ce(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function he(n,i){Object.keys(i).forEach(function(t){var e="";-1!==["width","height","top","right","bottom","left"].indexOf(t)&&ce(i[t])&&(e="px"),n.style[t]=i[t]+e})}var ue=Tt&&/Firefox/i.test(navigator.userAgent);function fe(t,e,n){var i=ne(t,function(t){return t.name===e}),o=!!i&&t.some(function(t){return t.name===n&&t.enabled&&t.order<i.order});if(!o){var r="`"+e+"`",s="`"+n+"`";console.warn(s+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}var de=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],pe=de.slice(3);function me(t){var e=1<arguments.length&&void 0!==arguments[1]&&arguments[1],n=pe.indexOf(t),i=pe.slice(n+1).concat(pe.slice(0,n));return e?i.reverse():i}var ge="flip",_e="clockwise",ve="counterclockwise";function ye(t,o,r,e){var s=[0,0],a=-1!==["right","left"].indexOf(e),n=t.split(/(\+|\-)/).map(function(t){return t.trim()}),i=n.indexOf(ne(n,function(t){return-1!==t.search(/,|\s/)}));n[i]&&-1===n[i].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==i?[n.slice(0,i).concat([n[i].split(l)[0]]),[n[i].split(l)[1]].concat(n.slice(i+1))]:[n];return(c=c.map(function(t,e){var n=(1===e?!a:a)?"height":"width",i=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,i=!0,t):i?(t[t.length-1]+=e,i=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0!==s.indexOf("%"))return"vh"!==s&&"vw"!==s?r:("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return Vt(a)[e]/100*r}(t,n,o,r)})})).forEach(function(n,i){n.forEach(function(t,e){ce(t)&&(s[i]+=t*("-"===n[e-1]?-1:1))})}),s}var Ee={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:Kt({},l,r[l]),end:Kt({},l,r[l]+r[c]-s[c])};t.offsets.popper=Qt({},s,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=ce(+n)?[+n,0]:ye(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,i){var e=i.boundariesElement||jt(t.instance.popper);t.instance.reference===e&&(e=jt(e));var n=re("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[n];o.top="",o.left="",o[n]="";var l=Gt(t.instance.popper,t.instance.reference,i.padding,e,t.positionFixed);o.top=r,o.left=s,o[n]=a,i.boundaries=l;var c=i.priority,h=t.offsets.popper,u={primary:function(t){var e=h[t];return h[t]<l[t]&&!i.escapeWithReference&&(e=Math.max(h[t],l[t])),Kt({},t,e)},secondary:function(t){var e="right"===t?"left":"top",n=h[e];return h[t]>l[t]&&!i.escapeWithReference&&(n=Math.min(h[e],l[t]-("right"===t?h.width:h.height))),Kt({},e,n)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=Qt({},h,u[e](t))}),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]<r(i[l])&&(t.offsets.popper[l]=r(i[l])-n[c]),n[l]>r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!fe(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",p=Zt(i)[c];a[d]-p<s[u]&&(t.offsets.popper[u]-=s[u]-(a[d]-p)),a[u]+p>s[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=Vt(t.offsets.popper);var m=a[u]+a[c]/2-p/2,g=Nt(t.instance.popper),_=parseFloat(g["margin"+h],10),v=parseFloat(g["border"+h+"Width"],10),y=m-t.offsets.popper[u]-_-v;return y=Math.max(Math.min(s[c]-p,y),0),t.arrowElement=i,t.offsets.arrow=(Kt(n={},u,Math.round(y)),Kt(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(p,m){if(oe(p.instance.modifiers,"inner"))return p;if(p.flipped&&p.placement===p.originalPlacement)return p;var g=Gt(p.instance.popper,p.instance.reference,m.padding,m.boundariesElement,p.positionFixed),_=p.placement.split("-")[0],v=te(_),y=p.placement.split("-")[1]||"",E=[];switch(m.behavior){case ge:E=[_,v];break;case _e:E=me(_);break;case ve:E=me(_,!0);break;default:E=m.behavior}return E.forEach(function(t,e){if(_!==t||E.length===e+1)return p;_=p.placement.split("-")[0],v=te(_);var n,i=p.offsets.popper,o=p.offsets.reference,r=Math.floor,s="left"===_&&r(i.right)>r(o.left)||"right"===_&&r(i.left)<r(o.right)||"top"===_&&r(i.bottom)>r(o.top)||"bottom"===_&&r(i.top)<r(o.bottom),a=r(i.left)<r(g.left),l=r(i.right)>r(g.right),c=r(i.top)<r(g.top),h=r(i.bottom)>r(g.bottom),u="left"===_&&a||"right"===_&&l||"top"===_&&c||"bottom"===_&&h,f=-1!==["top","bottom"].indexOf(_),d=!!m.flipVariations&&(f&&"start"===y&&a||f&&"end"===y&&l||!f&&"start"===y&&c||!f&&"end"===y&&h);(s||u||d)&&(p.flipped=!0,(s||u)&&(_=E[e+1]),d&&(y="end"===(n=y)?"start":"start"===n?"end":n),p.placement=_+(y?"-"+y:""),p.offsets.popper=Qt({},p.offsets.popper,ee(p.instance.popper,p.offsets.reference,p.placement)),p=ie(p.instance.modifiers,p,"flip"))}),p},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=te(e),t.offsets.popper=Vt(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!fe(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=ne(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,i=e.y,o=t.offsets.popper,r=ne(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var s,a,l,c,h,u,f,d,p,m,g,_,v,y,E=void 0!==r?r:e.gpuAcceleration,b=jt(t.instance.popper),w=Yt(b),C={position:o.position},T=(s=t,a=window.devicePixelRatio<2||!ue,l=s.offsets,c=l.popper,h=l.reference,u=Math.round,f=Math.floor,d=function(t){return t},p=u(h.width),m=u(c.width),g=-1!==["left","right"].indexOf(s.placement),_=-1!==s.placement.indexOf("-"),y=a?u:d,{left:(v=a?g||_||p%2==m%2?u:f:d)(p%2==1&&m%2==1&&!_&&a?c.left-1:c.left),top:y(c.top),bottom:y(c.bottom),right:v(c.right)}),S="bottom"===n?"top":"bottom",D="right"===i?"left":"right",I=re("transform"),A=void 0,O=void 0;if(O="bottom"===S?"HTML"===b.nodeName?-b.clientHeight+T.bottom:-w.height+T.bottom:T.top,A="right"===D?"HTML"===b.nodeName?-b.clientWidth+T.right:-w.width+T.right:T.left,E&&I)C[I]="translate3d("+A+"px, "+O+"px, 0)",C[S]=0,C[D]=0,C.willChange="transform";else{var N="bottom"===S?-1:1,k="right"===D?-1:1;C[S]=O*N,C[D]=A*k,C.willChange=S+", "+D}var L={"x-placement":t.placement};return t.attributes=Qt({},L,t.attributes),t.styles=Qt({},C,t.styles),t.arrowStyles=Qt({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){var e,n;return he(t.instance.popper,t.styles),e=t.instance.popper,n=t.attributes,Object.keys(n).forEach(function(t){!1!==n[t]?e.setAttribute(t,n[t]):e.removeAttribute(t)}),t.arrowElement&&Object.keys(t.arrowStyles).length&&he(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,i,o){var r=Jt(o,e,t,n.positionFixed),s=$t(n.placement,r,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",s),he(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},be=function(){function r(t,e){var n=this,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=At(this.update.bind(this)),this.options=Qt({},r.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=e&&e.jquery?e[0]:e,this.options.modifiers={},Object.keys(Qt({},r.Defaults.modifiers,i.modifiers)).forEach(function(t){n.options.modifiers[t]=Qt({},r.Defaults.modifiers[t]||{},i.modifiers?i.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return Qt({name:t},n.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&Ot(t.onLoad)&&t.onLoad(n.reference,n.popper,n.options,t,n.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return qt(r,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=Jt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=$t(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=ee(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=ie(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,oe(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[re("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=ae(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return le.call(this)}}]),r}();be.Utils=("undefined"!=typeof window?window:global).PopperUtils,be.placements=de,be.Defaults=Ee;var we="dropdown",Ce="bs.dropdown",Te="."+Ce,Se=".data-api",De=p.fn[we],Ie=new RegExp("38|40|27"),Ae={HIDE:"hide"+Te,HIDDEN:"hidden"+Te,SHOW:"show"+Te,SHOWN:"shown"+Te,CLICK:"click"+Te,CLICK_DATA_API:"click"+Te+Se,KEYDOWN_DATA_API:"keydown"+Te+Se,KEYUP_DATA_API:"keyup"+Te+Se},Oe="disabled",Ne="show",ke="dropup",Le="dropright",xe="dropleft",Pe="dropdown-menu-right",He="position-static",je='[data-toggle="dropdown"]',Re=".dropdown form",Fe=".dropdown-menu",Me=".navbar-nav",We=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Ue="top-start",Be="top-end",qe="bottom-start",Ke="bottom-end",Qe="right-start",Ve="left-start",Ye={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic"},ze={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string"},Xe=function(){function c(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=c.prototype;return t.toggle=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)){var t=c._getParentFromElement(this._element),e=p(this._menu).hasClass(Ne);if(c._clearMenus(),!e){var n={relatedTarget:this._element},i=p.Event(Ae.SHOW,n);if(p(t).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar){if("undefined"==typeof be)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var o=this._element;"parent"===this._config.reference?o=t:m.isElement(this._config.reference)&&(o=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&p(t).addClass(He),this._popper=new be(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===p(t).closest(Me).length&&p(document.body).children().on("mouseover",null,p.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),p(this._menu).toggleClass(Ne),p(t).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,n))}}}},t.show=function(){if(!(this._element.disabled||p(this._element).hasClass(Oe)||p(this._menu).hasClass(Ne))){var t={relatedTarget:this._element},e=p.Event(Ae.SHOW,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.SHOWN,t)))}},t.hide=function(){if(!this._element.disabled&&!p(this._element).hasClass(Oe)&&p(this._menu).hasClass(Ne)){var t={relatedTarget:this._element},e=p.Event(Ae.HIDE,t),n=c._getParentFromElement(this._element);p(n).trigger(e),e.isDefaultPrevented()||(p(this._menu).toggleClass(Ne),p(n).toggleClass(Ne).trigger(p.Event(Ae.HIDDEN,t)))}},t.dispose=function(){p.removeData(this._element,Ce),p(this._element).off(Te),this._element=null,(this._menu=null)!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;p(this._element).on(Ae.CLICK,function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(t){return t=l({},this.constructor.Default,p(this._element).data(),t),m.typeCheckConfig(we,t,this.constructor.DefaultType),t},t._getMenuElement=function(){if(!this._menu){var t=c._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Fe))}return this._menu},t._getPlacement=function(){var t=p(this._element.parentNode),e=qe;return t.hasClass(ke)?(e=Ue,p(this._menu).hasClass(Pe)&&(e=Be)):t.hasClass(Le)?e=Qe:t.hasClass(xe)?e=Ve:p(this._menu).hasClass(Pe)&&(e=Ke),e},t._detectNavbar=function(){return 0<p(this._element).closest(".navbar").length},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),t},c._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(Ce);if(t||(t=new c(this,"object"==typeof e?e:null),p(this).data(Ce,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},c._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var e=[].slice.call(document.querySelectorAll(je)),n=0,i=e.length;n<i;n++){var o=c._getParentFromElement(e[n]),r=p(e[n]).data(Ce),s={relatedTarget:e[n]};if(t&&"click"===t.type&&(s.clickEvent=t),r){var a=r._menu;if(p(o).hasClass(Ne)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&p.contains(o,t.target))){var l=p.Event(Ae.HIDE,s);p(o).trigger(l),l.isDefaultPrevented()||("ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),e[n].setAttribute("aria-expanded","false"),p(a).removeClass(Ne),p(o).removeClass(Ne).trigger(p.Event(Ae.HIDDEN,s)))}}}},c._getParentFromElement=function(t){var e,n=m.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},c._dataApiKeydownHandler=function(t){if((/input|textarea/i.test(t.target.tagName)?!(32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||p(t.target).closest(Fe).length)):Ie.test(t.which))&&(t.preventDefault(),t.stopPropagation(),!this.disabled&&!p(this).hasClass(Oe))){var e=c._getParentFromElement(this),n=p(e).hasClass(Ne);if(n&&(!n||27!==t.which&&32!==t.which)){var i=[].slice.call(e.querySelectorAll(We));if(0!==i.length){var o=i.indexOf(t.target);38===t.which&&0<o&&o--,40===t.which&&o<i.length-1&&o++,o<0&&(o=0),i[o].focus()}}else{if(27===t.which){var r=e.querySelector(je);p(r).trigger("focus")}p(this).trigger("click")}}},s(c,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Ye}},{key:"DefaultType",get:function(){return ze}}]),c}();p(document).on(Ae.KEYDOWN_DATA_API,je,Xe._dataApiKeydownHandler).on(Ae.KEYDOWN_DATA_API,Fe,Xe._dataApiKeydownHandler).on(Ae.CLICK_DATA_API+" "+Ae.KEYUP_DATA_API,Xe._clearMenus).on(Ae.CLICK_DATA_API,je,function(t){t.preventDefault(),t.stopPropagation(),Xe._jQueryInterface.call(p(this),"toggle")}).on(Ae.CLICK_DATA_API,Re,function(t){t.stopPropagation()}),p.fn[we]=Xe._jQueryInterface,p.fn[we].Constructor=Xe,p.fn[we].noConflict=function(){return p.fn[we]=De,Xe._jQueryInterface};var Ge="modal",$e="bs.modal",Je="."+$e,Ze=p.fn[Ge],tn={backdrop:!0,keyboard:!0,focus:!0,show:!0},en={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},nn={HIDE:"hide"+Je,HIDDEN:"hidden"+Je,SHOW:"show"+Je,SHOWN:"shown"+Je,FOCUSIN:"focusin"+Je,RESIZE:"resize"+Je,CLICK_DISMISS:"click.dismiss"+Je,KEYDOWN_DISMISS:"keydown.dismiss"+Je,MOUSEUP_DISMISS:"mouseup.dismiss"+Je,MOUSEDOWN_DISMISS:"mousedown.dismiss"+Je,CLICK_DATA_API:"click"+Je+".data-api"},on="modal-dialog-scrollable",rn="modal-scrollbar-measure",sn="modal-backdrop",an="modal-open",ln="fade",cn="show",hn=".modal-dialog",un=".modal-body",fn='[data-toggle="modal"]',dn='[data-dismiss="modal"]',pn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",mn=".sticky-top",gn=function(){function o(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(hn),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=o.prototype;return t.toggle=function(t){return this._isShown?this.hide():this.show(t)},t.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){p(this._element).hasClass(ln)&&(this._isTransitioning=!0);var n=p.Event(nn.SHOW,{relatedTarget:t});p(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),p(this._element).on(nn.CLICK_DISMISS,dn,function(t){return e.hide(t)}),p(this._dialog).on(nn.MOUSEDOWN_DISMISS,function(){p(e._element).one(nn.MOUSEUP_DISMISS,function(t){p(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)})}),this._showBackdrop(function(){return e._showElement(t)}))}},t.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=p.Event(nn.HIDE);if(p(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=p(this._element).hasClass(ln);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),p(document).off(nn.FOCUSIN),p(this._element).removeClass(cn),p(this._element).off(nn.CLICK_DISMISS),p(this._dialog).off(nn.MOUSEDOWN_DISMISS),i){var o=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,function(t){return e._hideModal(t)}).emulateTransitionEnd(o)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach(function(t){return p(t).off(Je)}),p(document).off(nn.FOCUSIN),p.removeData(this._element,$e),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(t){return t=l({},tn,t),m.typeCheckConfig(Ge,t,en),t},t._showElement=function(t){var e=this,n=p(this._element).hasClass(ln);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),p(this._dialog).hasClass(on)?this._dialog.querySelector(un).scrollTop=0:this._element.scrollTop=0,n&&m.reflow(this._element),p(this._element).addClass(cn),this._config.focus&&this._enforceFocus();var i=p.Event(nn.SHOWN,{relatedTarget:t}),o=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,p(e._element).trigger(i)};if(n){var r=m.getTransitionDurationFromElement(this._dialog);p(this._dialog).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o()},t._enforceFocus=function(){var e=this;p(document).off(nn.FOCUSIN).on(nn.FOCUSIN,function(t){document!==t.target&&e._element!==t.target&&0===p(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown&&this._config.keyboard?p(this._element).on(nn.KEYDOWN_DISMISS,function(t){27===t.which&&(t.preventDefault(),e.hide())}):this._isShown||p(this._element).off(nn.KEYDOWN_DISMISS)},t._setResizeEvent=function(){var e=this;this._isShown?p(window).on(nn.RESIZE,function(t){return e.handleUpdate(t)}):p(window).off(nn.RESIZE)},t._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._isTransitioning=!1,this._showBackdrop(function(){p(document.body).removeClass(an),t._resetAdjustments(),t._resetScrollbar(),p(t._element).trigger(nn.HIDDEN)})},t._removeBackdrop=function(){this._backdrop&&(p(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(t){var e=this,n=p(this._element).hasClass(ln)?ln:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=sn,n&&this._backdrop.classList.add(n),p(this._backdrop).appendTo(document.body),p(this._element).on(nn.CLICK_DISMISS,function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._element.focus():e.hide())}),n&&m.reflow(this._backdrop),p(this._backdrop).addClass(cn),!t)return;if(!n)return void t();var i=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){p(this._backdrop).removeClass(cn);var o=function(){e._removeBackdrop(),t&&t()};if(p(this._element).hasClass(ln)){var r=m.getTransitionDurationFromElement(this._backdrop);p(this._backdrop).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o()}else t&&t()},t._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=t.left+t.right<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var o=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(pn)),e=[].slice.call(document.querySelectorAll(mn));p(t).each(function(t,e){var n=e.style.paddingRight,i=p(e).css("padding-right");p(e).data("padding-right",n).css("padding-right",parseFloat(i)+o._scrollbarWidth+"px")}),p(e).each(function(t,e){var n=e.style.marginRight,i=p(e).css("margin-right");p(e).data("margin-right",n).css("margin-right",parseFloat(i)-o._scrollbarWidth+"px")});var n=document.body.style.paddingRight,i=p(document.body).css("padding-right");p(document.body).data("padding-right",n).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}p(document.body).addClass(an)},t._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(pn));p(t).each(function(t,e){var n=p(e).data("padding-right");p(e).removeData("padding-right"),e.style.paddingRight=n||""});var e=[].slice.call(document.querySelectorAll(""+mn));p(e).each(function(t,e){var n=p(e).data("margin-right");"undefined"!=typeof n&&p(e).css("margin-right",n).removeData("margin-right")});var n=p(document.body).data("padding-right");p(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var t=document.createElement("div");t.className=rn,document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},o._jQueryInterface=function(n,i){return this.each(function(){var t=p(this).data($e),e=l({},tn,p(this).data(),"object"==typeof n&&n?n:{});if(t||(t=new o(this,e),p(this).data($e,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n](i)}else e.show&&t.show(i)})},s(o,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return tn}}]),o}();p(document).on(nn.CLICK_DATA_API,fn,function(t){var e,n=this,i=m.getSelectorFromElement(this);i&&(e=document.querySelector(i));var o=p(e).data($e)?"toggle":l({},p(e).data(),p(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var r=p(e).one(nn.SHOW,function(t){t.isDefaultPrevented()||r.one(nn.HIDDEN,function(){p(n).is(":visible")&&n.focus()})});gn._jQueryInterface.call(p(e),o,this)}),p.fn[Ge]=gn._jQueryInterface,p.fn[Ge].Constructor=gn,p.fn[Ge].noConflict=function(){return p.fn[Ge]=Ze,gn._jQueryInterface};var _n=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],vn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,En=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function bn(t,s,e){if(0===t.length)return t;if(e&&"function"==typeof e)return e(t);for(var n=(new window.DOMParser).parseFromString(t,"text/html"),a=Object.keys(s),l=[].slice.call(n.body.querySelectorAll("*")),i=function(t,e){var n=l[t],i=n.nodeName.toLowerCase();if(-1===a.indexOf(n.nodeName.toLowerCase()))return n.parentNode.removeChild(n),"continue";var o=[].slice.call(n.attributes),r=[].concat(s["*"]||[],s[i]||[]);o.forEach(function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===_n.indexOf(n)||Boolean(t.nodeValue.match(yn)||t.nodeValue.match(En));for(var i=e.filter(function(t){return t instanceof RegExp}),o=0,r=i.length;o<r;o++)if(n.match(i[o]))return!0;return!1})(t,r)||n.removeAttribute(t.nodeName)})},o=0,r=l.length;o<r;o++)i(o);return n.body.innerHTML}var wn="tooltip",Cn="bs.tooltip",Tn="."+Cn,Sn=p.fn[wn],Dn="bs-tooltip",In=new RegExp("(^|\\s)"+Dn+"\\S+","g"),An=["sanitize","whiteList","sanitizeFn"],On={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object"},Nn={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},kn={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:vn},Ln="show",xn="out",Pn={HIDE:"hide"+Tn,HIDDEN:"hidden"+Tn,SHOW:"show"+Tn,SHOWN:"shown"+Tn,INSERTED:"inserted"+Tn,CLICK:"click"+Tn,FOCUSIN:"focusin"+Tn,FOCUSOUT:"focusout"+Tn,MOUSEENTER:"mouseenter"+Tn,MOUSELEAVE:"mouseleave"+Tn},Hn="fade",jn="show",Rn=".tooltip-inner",Fn=".arrow",Mn="hover",Wn="focus",Un="click",Bn="manual",qn=function(){function i(t,e){if("undefined"==typeof be)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var t=i.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=p(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(p(this.getTipElement()).hasClass(jn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),p.removeData(this.element,this.constructor.DATA_KEY),p(this.element).off(this.constructor.EVENT_KEY),p(this.element).closest(".modal").off("hide.bs.modal"),this.tip&&p(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,(this._activeTrigger=null)!==this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===p(this.element).css("display"))throw new Error("Please use show on visible elements");var t=p.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){p(this.element).trigger(t);var n=m.findShadowRoot(this.element),i=p.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var o=this.getTipElement(),r=m.getUID(this.constructor.NAME);o.setAttribute("id",r),this.element.setAttribute("aria-describedby",r),this.setContent(),this.config.animation&&p(o).addClass(Hn);var s="function"==typeof this.config.placement?this.config.placement.call(this,o,this.element):this.config.placement,a=this._getAttachment(s);this.addAttachmentClass(a);var l=this._getContainer();p(o).data(this.constructor.DATA_KEY,this),p.contains(this.element.ownerDocument.documentElement,this.tip)||p(o).appendTo(l),p(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new be(this.element,o,{placement:a,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:Fn},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}}),p(o).addClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().on("mouseover",null,p.noop);var c=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,p(e.element).trigger(e.constructor.Event.SHOWN),t===xn&&e._leave(null,e)};if(p(this.tip).hasClass(Hn)){var h=m.getTransitionDurationFromElement(this.tip);p(this.tip).one(m.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},t.hide=function(t){var e=this,n=this.getTipElement(),i=p.Event(this.constructor.Event.HIDE),o=function(){e._hoverState!==Ln&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),p(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(p(this.element).trigger(i),!i.isDefaultPrevented()){if(p(n).removeClass(jn),"ontouchstart"in document.documentElement&&p(document.body).children().off("mouseover",null,p.noop),this._activeTrigger[Un]=!1,this._activeTrigger[Wn]=!1,this._activeTrigger[Mn]=!1,p(this.tip).hasClass(Hn)){var r=m.getTransitionDurationFromElement(n);p(n).one(m.TRANSITION_END,o).emulateTransitionEnd(r)}else o();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(t){p(this.getTipElement()).addClass(Dn+"-"+t)},t.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},t.setContent=function(){var t=this.getTipElement();this.setElementContent(p(t.querySelectorAll(Rn)),this.getTitle()),p(t).removeClass(Hn+" "+jn)},t.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=bn(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?p(e).parent().is(t)||t.empty().append(e):t.text(p(e).text())},t.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:m.isElement(this.config.container)?p(this.config.container):p(document).find(this.config.container)},t._getAttachment=function(t){return Nn[t.toUpperCase()]},t._setListeners=function(){var i=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)p(i.element).on(i.constructor.Event.CLICK,i.config.selector,function(t){return i.toggle(t)});else if(t!==Bn){var e=t===Mn?i.constructor.Event.MOUSEENTER:i.constructor.Event.FOCUSIN,n=t===Mn?i.constructor.Event.MOUSELEAVE:i.constructor.Event.FOCUSOUT;p(i.element).on(e,i.config.selector,function(t){return i._enter(t)}).on(n,i.config.selector,function(t){return i._leave(t)})}}),p(this.element).closest(".modal").on("hide.bs.modal",function(){i.element&&i.hide()}),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Wn:Mn]=!0),p(e.getTipElement()).hasClass(jn)||e._hoverState===Ln?e._hoverState=Ln:(clearTimeout(e._timeout),e._hoverState=Ln,e.config.delay&&e.config.delay.show?e._timeout=setTimeout(function(){e._hoverState===Ln&&e.show()},e.config.delay.show):e.show())},t._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||p(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),p(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Wn:Mn]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=xn,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout(function(){e._hoverState===xn&&e.hide()},e.config.delay.hide):e.hide())},t._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},t._getConfig=function(t){var e=p(this.element).data();return Object.keys(e).forEach(function(t){-1!==An.indexOf(t)&&delete e[t]}),"number"==typeof(t=l({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),m.typeCheckConfig(wn,t,this.constructor.DefaultType),t.sanitize&&(t.template=bn(t.template,t.whiteList,t.sanitizeFn)),t},t._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},t._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(In);null!==e&&e.length&&t.removeClass(e.join(""))},t._handlePopperPlacementChange=function(t){var e=t.instance;this.tip=e.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},t._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(p(t).removeClass(Hn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Cn),e="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Cn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return kn}},{key:"NAME",get:function(){return wn}},{key:"DATA_KEY",get:function(){return Cn}},{key:"Event",get:function(){return Pn}},{key:"EVENT_KEY",get:function(){return Tn}},{key:"DefaultType",get:function(){return On}}]),i}();p.fn[wn]=qn._jQueryInterface,p.fn[wn].Constructor=qn,p.fn[wn].noConflict=function(){return p.fn[wn]=Sn,qn._jQueryInterface};var Kn="popover",Qn="bs.popover",Vn="."+Qn,Yn=p.fn[Kn],zn="bs-popover",Xn=new RegExp("(^|\\s)"+zn+"\\S+","g"),Gn=l({},qn.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),$n=l({},qn.DefaultType,{content:"(string|element|function)"}),Jn="fade",Zn="show",ti=".popover-header",ei=".popover-body",ni={HIDE:"hide"+Vn,HIDDEN:"hidden"+Vn,SHOW:"show"+Vn,SHOWN:"shown"+Vn,INSERTED:"inserted"+Vn,CLICK:"click"+Vn,FOCUSIN:"focusin"+Vn,FOCUSOUT:"focusout"+Vn,MOUSEENTER:"mouseenter"+Vn,MOUSELEAVE:"mouseleave"+Vn},ii=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n;var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(t){p(this.getTipElement()).addClass(zn+"-"+t)},o.getTipElement=function(){return this.tip=this.tip||p(this.config.template)[0],this.tip},o.setContent=function(){var t=p(this.getTipElement());this.setElementContent(t.find(ti),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(ei),e),t.removeClass(Jn+" "+Zn)},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var t=p(this.getTipElement()),e=t.attr("class").match(Xn);null!==e&&0<e.length&&t.removeClass(e.join(""))},i._jQueryInterface=function(n){return this.each(function(){var t=p(this).data(Qn),e="object"==typeof n?n:null;if((t||!/dispose|hide/.test(n))&&(t||(t=new i(this,e),p(this).data(Qn,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError('No method named "'+n+'"');t[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return Gn}},{key:"NAME",get:function(){return Kn}},{key:"DATA_KEY",get:function(){return Qn}},{key:"Event",get:function(){return ni}},{key:"EVENT_KEY",get:function(){return Vn}},{key:"DefaultType",get:function(){return $n}}]),i}(qn);p.fn[Kn]=ii._jQueryInterface,p.fn[Kn].Constructor=ii,p.fn[Kn].noConflict=function(){return p.fn[Kn]=Yn,ii._jQueryInterface};var oi="scrollspy",ri="bs.scrollspy",si="."+ri,ai=p.fn[oi],li={offset:10,method:"auto",target:""},ci={offset:"number",method:"string",target:"(string|element)"},hi={ACTIVATE:"activate"+si,SCROLL:"scroll"+si,LOAD_DATA_API:"load"+si+".data-api"},ui="dropdown-item",fi="active",di='[data-spy="scroll"]',pi=".nav, .list-group",mi=".nav-link",gi=".nav-item",_i=".list-group-item",vi=".dropdown",yi=".dropdown-item",Ei=".dropdown-toggle",bi="offset",wi="position",Ci=function(){function n(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" "+mi+","+this._config.target+" "+_i+","+this._config.target+" "+yi,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,p(this._scrollElement).on(hi.SCROLL,function(t){return n._process(t)}),this.refresh(),this._process()}var t=n.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?bi:wi,o="auto"===this._config.method?t:this._config.method,r=o===wi?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(t){var e,n=m.getSelectorFromElement(t);if(n&&(e=document.querySelector(n)),e){var i=e.getBoundingClientRect();if(i.width||i.height)return[p(e)[o]().top+r,n]}return null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){p.removeData(this._element,ri),p(this._scrollElement).off(si),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(t){if("string"!=typeof(t=l({},li,"object"==typeof t&&t?t:{})).target){var e=p(t.target).attr("id");e||(e=m.getUID(oi),p(t.target).attr("id",e)),t.target="#"+e}return m.typeCheckConfig(oi,t,ci),t},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),n<=t){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&0<this._offsets[0])return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'}),n=p([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(ui)?(n.closest(vi).find(Ei).addClass(fi),n.addClass(fi)):(n.addClass(fi),n.parents(pi).prev(mi+", "+_i).addClass(fi),n.parents(pi).prev(gi).children(mi).addClass(fi)),p(this._scrollElement).trigger(hi.ACTIVATE,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter(function(t){return t.classList.contains(fi)}).forEach(function(t){return t.classList.remove(fi)})},n._jQueryInterface=function(e){return this.each(function(){var t=p(this).data(ri);if(t||(t=new n(this,"object"==typeof e&&e),p(this).data(ri,t)),"string"==typeof e){if("undefined"==typeof t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},s(n,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"Default",get:function(){return li}}]),n}();p(window).on(hi.LOAD_DATA_API,function(){for(var t=[].slice.call(document.querySelectorAll(di)),e=t.length;e--;){var n=p(t[e]);Ci._jQueryInterface.call(n,n.data())}}),p.fn[oi]=Ci._jQueryInterface,p.fn[oi].Constructor=Ci,p.fn[oi].noConflict=function(){return p.fn[oi]=ai,Ci._jQueryInterface};var Ti="bs.tab",Si="."+Ti,Di=p.fn.tab,Ii={HIDE:"hide"+Si,HIDDEN:"hidden"+Si,SHOW:"show"+Si,SHOWN:"shown"+Si,CLICK_DATA_API:"click"+Si+".data-api"},Ai="dropdown-menu",Oi="active",Ni="disabled",ki="fade",Li="show",xi=".dropdown",Pi=".nav, .list-group",Hi=".active",ji="> li > .active",Ri='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Fi=".dropdown-toggle",Mi="> .dropdown-menu .active",Wi=function(){function i(t){this._element=t}var t=i.prototype;return t.show=function(){var n=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&p(this._element).hasClass(Oi)||p(this._element).hasClass(Ni))){var t,i,e=p(this._element).closest(Pi)[0],o=m.getSelectorFromElement(this._element);if(e){var r="UL"===e.nodeName||"OL"===e.nodeName?ji:Hi;i=(i=p.makeArray(p(e).find(r)))[i.length-1]}var s=p.Event(Ii.HIDE,{relatedTarget:this._element}),a=p.Event(Ii.SHOW,{relatedTarget:i});if(i&&p(i).trigger(s),p(this._element).trigger(a),!a.isDefaultPrevented()&&!s.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,e);var l=function(){var t=p.Event(Ii.HIDDEN,{relatedTarget:n._element}),e=p.Event(Ii.SHOWN,{relatedTarget:i});p(i).trigger(t),p(n._element).trigger(e)};t?this._activate(t,t.parentNode,l):l()}}},t.dispose=function(){p.removeData(this._element,Ti),this._element=null},t._activate=function(t,e,n){var i=this,o=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?p(e).children(Hi):p(e).find(ji))[0],r=n&&o&&p(o).hasClass(ki),s=function(){return i._transitionComplete(t,o,n)};if(o&&r){var a=m.getTransitionDurationFromElement(o);p(o).removeClass(Li).one(m.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},t._transitionComplete=function(t,e,n){if(e){p(e).removeClass(Oi);var i=p(e.parentNode).find(Mi)[0];i&&p(i).removeClass(Oi),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}if(p(t).addClass(Oi),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),m.reflow(t),t.classList.contains(ki)&&t.classList.add(Li),t.parentNode&&p(t.parentNode).hasClass(Ai)){var o=p(t).closest(xi)[0];if(o){var r=[].slice.call(o.querySelectorAll(Fi));p(r).addClass(Oi)}t.setAttribute("aria-expanded",!0)}n&&n()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Ti);if(e||(e=new i(this),t.data(Ti,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n]()}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}}]),i}();p(document).on(Ii.CLICK_DATA_API,Ri,function(t){t.preventDefault(),Wi._jQueryInterface.call(p(this),"show")}),p.fn.tab=Wi._jQueryInterface,p.fn.tab.Constructor=Wi,p.fn.tab.noConflict=function(){return p.fn.tab=Di,Wi._jQueryInterface};var Ui="toast",Bi="bs.toast",qi="."+Bi,Ki=p.fn[Ui],Qi={CLICK_DISMISS:"click.dismiss"+qi,HIDE:"hide"+qi,HIDDEN:"hidden"+qi,SHOW:"show"+qi,SHOWN:"shown"+qi},Vi="fade",Yi="hide",zi="show",Xi="showing",Gi={animation:"boolean",autohide:"boolean",delay:"number"},$i={animation:!0,autohide:!0,delay:500},Ji='[data-dismiss="toast"]',Zi=function(){function i(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var t=i.prototype;return t.show=function(){var t=this;p(this._element).trigger(Qi.SHOW),this._config.animation&&this._element.classList.add(Vi);var e=function(){t._element.classList.remove(Xi),t._element.classList.add(zi),p(t._element).trigger(Qi.SHOWN),t._config.autohide&&t.hide()};if(this._element.classList.remove(Yi),this._element.classList.add(Xi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},t.hide=function(t){var e=this;this._element.classList.contains(zi)&&(p(this._element).trigger(Qi.HIDE),t?this._close():this._timeout=setTimeout(function(){e._close()},this._config.delay))},t.dispose=function(){clearTimeout(this._timeout),this._timeout=null,this._element.classList.contains(zi)&&this._element.classList.remove(zi),p(this._element).off(Qi.CLICK_DISMISS),p.removeData(this._element,Bi),this._element=null,this._config=null},t._getConfig=function(t){return t=l({},$i,p(this._element).data(),"object"==typeof t&&t?t:{}),m.typeCheckConfig(Ui,t,this.constructor.DefaultType),t},t._setListeners=function(){var t=this;p(this._element).on(Qi.CLICK_DISMISS,Ji,function(){return t.hide(!0)})},t._close=function(){var t=this,e=function(){t._element.classList.add(Yi),p(t._element).trigger(Qi.HIDDEN)};if(this._element.classList.remove(zi),this._config.animation){var n=m.getTransitionDurationFromElement(this._element);p(this._element).one(m.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},i._jQueryInterface=function(n){return this.each(function(){var t=p(this),e=t.data(Bi);if(e||(e=new i(this,"object"==typeof n&&n),t.data(Bi,e)),"string"==typeof n){if("undefined"==typeof e[n])throw new TypeError('No method named "'+n+'"');e[n](this)}})},s(i,null,[{key:"VERSION",get:function(){return"4.3.1"}},{key:"DefaultType",get:function(){return Gi}},{key:"Default",get:function(){return $i}}]),i}();p.fn[Ui]=Zi._jQueryInterface,p.fn[Ui].Constructor=Zi,p.fn[Ui].noConflict=function(){return p.fn[Ui]=Ki,Zi._jQueryInterface},function(){if("undefined"==typeof p)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=p.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||4<=t[0])throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(),t.Util=m,t.Alert=g,t.Button=k,t.Carousel=at,t.Collapse=Ct,t.Dropdown=Xe,t.Modal=gn,t.Popover=ii,t.Scrollspy=Ci,t.Tab=Wi,t.Toast=Zi,t.Tooltip=qn,Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=bootstrap.bundle.min.js.map;
/*!
 * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker)
 *
 * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
 */

!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a,b){function c(){return new Date(Date.UTC.apply(Date,arguments))}function d(){var a=new Date;return c(a.getFullYear(),a.getMonth(),a.getDate())}function e(a,b){return a.getUTCFullYear()===b.getUTCFullYear()&&a.getUTCMonth()===b.getUTCMonth()&&a.getUTCDate()===b.getUTCDate()}function f(c,d){return function(){return d!==b&&a.fn.datepicker.deprecated(d),this[c].apply(this,arguments)}}function g(a){return a&&!isNaN(a.getTime())}function h(b,c){function d(a,b){return b.toLowerCase()}var e,f=a(b).data(),g={},h=new RegExp("^"+c.toLowerCase()+"([A-Z])");c=new RegExp("^"+c.toLowerCase());for(var i in f)c.test(i)&&(e=i.replace(h,d),g[e]=f[i]);return g}function i(b){var c={};if(q[b]||(b=b.split("-")[0],q[b])){var d=q[b];return a.each(p,function(a,b){b in d&&(c[b]=d[b])}),c}}var j=function(){var b={get:function(a){return this.slice(a)[0]},contains:function(a){for(var b=a&&a.valueOf(),c=0,d=this.length;c<d;c++)if(0<=this[c].valueOf()-b&&this[c].valueOf()-b<864e5)return c;return-1},remove:function(a){this.splice(a,1)},replace:function(b){b&&(a.isArray(b)||(b=[b]),this.clear(),this.push.apply(this,b))},clear:function(){this.length=0},copy:function(){var a=new j;return a.replace(this),a}};return function(){var c=[];return c.push.apply(c,arguments),a.extend(c,b),c}}(),k=function(b,c){a.data(b,"datepicker",this),this._events=[],this._secondaryEvents=[],this._process_options(c),this.dates=new j,this.viewDate=this.o.defaultViewDate,this.focusDate=null,this.element=a(b),this.isInput=this.element.is("input"),this.inputField=this.isInput?this.element:this.element.find("input"),this.component=!!this.element.hasClass("date")&&this.element.find(".add-on, .input-group-addon, .input-group-append, .input-group-prepend, .btn"),this.component&&0===this.component.length&&(this.component=!1),this.isInline=!this.component&&this.element.is("div"),this.picker=a(r.template),this._check_template(this.o.templates.leftArrow)&&this.picker.find(".prev").html(this.o.templates.leftArrow),this._check_template(this.o.templates.rightArrow)&&this.picker.find(".next").html(this.o.templates.rightArrow),this._buildEvents(),this._attachEvents(),this.isInline?this.picker.addClass("datepicker-inline").appendTo(this.element):this.picker.addClass("datepicker-dropdown dropdown-menu"),this.o.rtl&&this.picker.addClass("datepicker-rtl"),this.o.calendarWeeks&&this.picker.find(".datepicker-days .datepicker-switch, thead .datepicker-title, tfoot .today, tfoot .clear").attr("colspan",function(a,b){return Number(b)+1}),this._process_options({startDate:this._o.startDate,endDate:this._o.endDate,daysOfWeekDisabled:this.o.daysOfWeekDisabled,daysOfWeekHighlighted:this.o.daysOfWeekHighlighted,datesDisabled:this.o.datesDisabled}),this._allow_update=!1,this.setViewMode(this.o.startView),this._allow_update=!0,this.fillDow(),this.fillMonths(),this.update(),this.isInline&&this.show()};k.prototype={constructor:k,_resolveViewName:function(b){return a.each(r.viewModes,function(c,d){if(b===c||-1!==a.inArray(b,d.names))return b=c,!1}),b},_resolveDaysOfWeek:function(b){return a.isArray(b)||(b=b.split(/[,\s]*/)),a.map(b,Number)},_check_template:function(c){try{if(c===b||""===c)return!1;if((c.match(/[<>]/g)||[]).length<=0)return!0;return a(c).length>0}catch(a){return!1}},_process_options:function(b){this._o=a.extend({},this._o,b);var e=this.o=a.extend({},this._o),f=e.language;q[f]||(f=f.split("-")[0],q[f]||(f=o.language)),e.language=f,e.startView=this._resolveViewName(e.startView),e.minViewMode=this._resolveViewName(e.minViewMode),e.maxViewMode=this._resolveViewName(e.maxViewMode),e.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,e.startView)),!0!==e.multidate&&(e.multidate=Number(e.multidate)||!1,!1!==e.multidate&&(e.multidate=Math.max(0,e.multidate))),e.multidateSeparator=String(e.multidateSeparator),e.weekStart%=7,e.weekEnd=(e.weekStart+6)%7;var g=r.parseFormat(e.format);e.startDate!==-1/0&&(e.startDate?e.startDate instanceof Date?e.startDate=this._local_to_utc(this._zero_time(e.startDate)):e.startDate=r.parseDate(e.startDate,g,e.language,e.assumeNearbyYear):e.startDate=-1/0),e.endDate!==1/0&&(e.endDate?e.endDate instanceof Date?e.endDate=this._local_to_utc(this._zero_time(e.endDate)):e.endDate=r.parseDate(e.endDate,g,e.language,e.assumeNearbyYear):e.endDate=1/0),e.daysOfWeekDisabled=this._resolveDaysOfWeek(e.daysOfWeekDisabled||[]),e.daysOfWeekHighlighted=this._resolveDaysOfWeek(e.daysOfWeekHighlighted||[]),e.datesDisabled=e.datesDisabled||[],a.isArray(e.datesDisabled)||(e.datesDisabled=e.datesDisabled.split(",")),e.datesDisabled=a.map(e.datesDisabled,function(a){return r.parseDate(a,g,e.language,e.assumeNearbyYear)});var h=String(e.orientation).toLowerCase().split(/\s+/g),i=e.orientation.toLowerCase();if(h=a.grep(h,function(a){return/^auto|left|right|top|bottom$/.test(a)}),e.orientation={x:"auto",y:"auto"},i&&"auto"!==i)if(1===h.length)switch(h[0]){case"top":case"bottom":e.orientation.y=h[0];break;case"left":case"right":e.orientation.x=h[0]}else i=a.grep(h,function(a){return/^left|right$/.test(a)}),e.orientation.x=i[0]||"auto",i=a.grep(h,function(a){return/^top|bottom$/.test(a)}),e.orientation.y=i[0]||"auto";else;if(e.defaultViewDate instanceof Date||"string"==typeof e.defaultViewDate)e.defaultViewDate=r.parseDate(e.defaultViewDate,g,e.language,e.assumeNearbyYear);else if(e.defaultViewDate){var j=e.defaultViewDate.year||(new Date).getFullYear(),k=e.defaultViewDate.month||0,l=e.defaultViewDate.day||1;e.defaultViewDate=c(j,k,l)}else e.defaultViewDate=d()},_applyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(d=b,e=a[f][1]):3===a[f].length&&(d=a[f][1],e=a[f][2]),c.on(e,d)},_unapplyEvents:function(a){for(var c,d,e,f=0;f<a.length;f++)c=a[f][0],2===a[f].length?(e=b,d=a[f][1]):3===a[f].length&&(e=a[f][1],d=a[f][2]),c.off(d,e)},_buildEvents:function(){var b={keyup:a.proxy(function(b){-1===a.inArray(b.keyCode,[27,37,39,38,40,32,13,9])&&this.update()},this),keydown:a.proxy(this.keydown,this),paste:a.proxy(this.paste,this)};!0===this.o.showOnFocus&&(b.focus=a.proxy(this.show,this)),this.isInput?this._events=[[this.element,b]]:this.component&&this.inputField.length?this._events=[[this.inputField,b],[this.component,{click:a.proxy(this.show,this)}]]:this._events=[[this.element,{click:a.proxy(this.show,this),keydown:a.proxy(this.keydown,this)}]],this._events.push([this.element,"*",{blur:a.proxy(function(a){this._focused_from=a.target},this)}],[this.element,{blur:a.proxy(function(a){this._focused_from=a.target},this)}]),this.o.immediateUpdates&&this._events.push([this.element,{"changeYear changeMonth":a.proxy(function(a){this.update(a.date)},this)}]),this._secondaryEvents=[[this.picker,{click:a.proxy(this.click,this)}],[this.picker,".prev, .next",{click:a.proxy(this.navArrowsClick,this)}],[this.picker,".day:not(.disabled)",{click:a.proxy(this.dayCellClick,this)}],[a(window),{resize:a.proxy(this.place,this)}],[a(document),{"mousedown touchstart":a.proxy(function(a){this.element.is(a.target)||this.element.find(a.target).length||this.picker.is(a.target)||this.picker.find(a.target).length||this.isInline||this.hide()},this)}]]},_attachEvents:function(){this._detachEvents(),this._applyEvents(this._events)},_detachEvents:function(){this._unapplyEvents(this._events)},_attachSecondaryEvents:function(){this._detachSecondaryEvents(),this._applyEvents(this._secondaryEvents)},_detachSecondaryEvents:function(){this._unapplyEvents(this._secondaryEvents)},_trigger:function(b,c){var d=c||this.dates.get(-1),e=this._utc_to_local(d);this.element.trigger({type:b,date:e,viewMode:this.viewMode,dates:a.map(this.dates,this._utc_to_local),format:a.proxy(function(a,b){0===arguments.length?(a=this.dates.length-1,b=this.o.format):"string"==typeof a&&(b=a,a=this.dates.length-1),b=b||this.o.format;var c=this.dates.get(a);return r.formatDate(c,b,this.o.language)},this)})},show:function(){if(!(this.inputField.is(":disabled")||this.inputField.prop("readonly")&&!1===this.o.enableOnReadonly))return this.isInline||this.picker.appendTo(this.o.container),this.place(),this.picker.show(),this._attachSecondaryEvents(),this._trigger("show"),(window.navigator.msMaxTouchPoints||"ontouchstart"in document)&&this.o.disableTouchKeyboard&&a(this.element).blur(),this},hide:function(){return this.isInline||!this.picker.is(":visible")?this:(this.focusDate=null,this.picker.hide().detach(),this._detachSecondaryEvents(),this.setViewMode(this.o.startView),this.o.forceParse&&this.inputField.val()&&this.setValue(),this._trigger("hide"),this)},destroy:function(){return this.hide(),this._detachEvents(),this._detachSecondaryEvents(),this.picker.remove(),delete this.element.data().datepicker,this.isInput||delete this.element.data().date,this},paste:function(b){var c;if(b.originalEvent.clipboardData&&b.originalEvent.clipboardData.types&&-1!==a.inArray("text/plain",b.originalEvent.clipboardData.types))c=b.originalEvent.clipboardData.getData("text/plain");else{if(!window.clipboardData)return;c=window.clipboardData.getData("Text")}this.setDate(c),this.update(),b.preventDefault()},_utc_to_local:function(a){if(!a)return a;var b=new Date(a.getTime()+6e4*a.getTimezoneOffset());return b.getTimezoneOffset()!==a.getTimezoneOffset()&&(b=new Date(a.getTime()+6e4*b.getTimezoneOffset())),b},_local_to_utc:function(a){return a&&new Date(a.getTime()-6e4*a.getTimezoneOffset())},_zero_time:function(a){return a&&new Date(a.getFullYear(),a.getMonth(),a.getDate())},_zero_utc_time:function(a){return a&&c(a.getUTCFullYear(),a.getUTCMonth(),a.getUTCDate())},getDates:function(){return a.map(this.dates,this._utc_to_local)},getUTCDates:function(){return a.map(this.dates,function(a){return new Date(a)})},getDate:function(){return this._utc_to_local(this.getUTCDate())},getUTCDate:function(){var a=this.dates.get(-1);return a!==b?new Date(a):null},clearDates:function(){this.inputField.val(""),this.update(),this._trigger("changeDate"),this.o.autoclose&&this.hide()},setDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.update.apply(this,b),this._trigger("changeDate"),this.setValue(),this},setUTCDates:function(){var b=a.isArray(arguments[0])?arguments[0]:arguments;return this.setDates.apply(this,a.map(b,this._utc_to_local)),this},setDate:f("setDates"),setUTCDate:f("setUTCDates"),remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead"),setValue:function(){var a=this.getFormattedDate();return this.inputField.val(a),this},getFormattedDate:function(c){c===b&&(c=this.o.format);var d=this.o.language;return a.map(this.dates,function(a){return r.formatDate(a,c,d)}).join(this.o.multidateSeparator)},getStartDate:function(){return this.o.startDate},setStartDate:function(a){return this._process_options({startDate:a}),this.update(),this.updateNavArrows(),this},getEndDate:function(){return this.o.endDate},setEndDate:function(a){return this._process_options({endDate:a}),this.update(),this.updateNavArrows(),this},setDaysOfWeekDisabled:function(a){return this._process_options({daysOfWeekDisabled:a}),this.update(),this},setDaysOfWeekHighlighted:function(a){return this._process_options({daysOfWeekHighlighted:a}),this.update(),this},setDatesDisabled:function(a){return this._process_options({datesDisabled:a}),this.update(),this},place:function(){if(this.isInline)return this;var b=this.picker.outerWidth(),c=this.picker.outerHeight(),d=a(this.o.container),e=d.width(),f="body"===this.o.container?a(document).scrollTop():d.scrollTop(),g=d.offset(),h=[0];this.element.parents().each(function(){var b=a(this).css("z-index");"auto"!==b&&0!==Number(b)&&h.push(Number(b))});var i=Math.max.apply(Math,h)+this.o.zIndexOffset,j=this.component?this.component.parent().offset():this.element.offset(),k=this.component?this.component.outerHeight(!0):this.element.outerHeight(!1),l=this.component?this.component.outerWidth(!0):this.element.outerWidth(!1),m=j.left-g.left,n=j.top-g.top;"body"!==this.o.container&&(n+=f),this.picker.removeClass("datepicker-orient-top datepicker-orient-bottom datepicker-orient-right datepicker-orient-left"),"auto"!==this.o.orientation.x?(this.picker.addClass("datepicker-orient-"+this.o.orientation.x),"right"===this.o.orientation.x&&(m-=b-l)):j.left<0?(this.picker.addClass("datepicker-orient-left"),m-=j.left-10):m+b>e?(this.picker.addClass("datepicker-orient-right"),m+=l-b):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var o,p=this.o.orientation.y;if("auto"===p&&(o=-f+n-c,p=o<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+p),"top"===p?n-=c+parseInt(this.picker.css("padding-top")):n+=k,this.o.rtl){var q=e-(m+l);this.picker.css({top:n,right:q,zIndex:i})}else this.picker.css({top:n,left:m,zIndex:i});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var b=this.dates.copy(),c=[],d=!1;return arguments.length?(a.each(arguments,a.proxy(function(a,b){b instanceof Date&&(b=this._local_to_utc(b)),c.push(b)},this)),d=!0):(c=this.isInput?this.element.val():this.element.data("date")||this.inputField.val(),c=c&&this.o.multidate?c.split(this.o.multidateSeparator):[c],delete this.element.data().date),c=a.map(c,a.proxy(function(a){return r.parseDate(a,this.o.format,this.o.language,this.o.assumeNearbyYear)},this)),c=a.grep(c,a.proxy(function(a){return!this.dateWithinRange(a)||!a},this),!0),this.dates.replace(c),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDate<this.o.startDate?this.viewDate=new Date(this.o.startDate):this.viewDate>this.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),d?(this.setValue(),this.element.change()):this.dates.length&&String(b)!==String(this.dates)&&d&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&b.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var b=this.o.weekStart,c="<tr>";for(this.o.calendarWeeks&&(c+='<th class="cw">&#160;</th>');b<this.o.weekStart+7;)c+='<th class="dow',-1!==a.inArray(b,this.o.daysOfWeekDisabled)&&(c+=" disabled"),c+='">'+q[this.o.language].daysMin[b++%7]+"</th>";c+="</tr>",this.picker.find(".datepicker-days thead").append(c)}},fillMonths:function(){for(var a,b=this._utc_to_local(this.viewDate),c="",d=0;d<12;d++)a=b&&b.getMonth()===d?" focused":"",c+='<span class="month'+a+'">'+q[this.o.language].monthsShort[d]+"</span>";this.picker.find(".datepicker-months td").html(c)},setRange:function(b){b&&b.length?this.range=a.map(b,function(a){return a.valueOf()}):delete this.range,this.fill()},getClassNames:function(b){var c=[],f=this.viewDate.getUTCFullYear(),g=this.viewDate.getUTCMonth(),h=d();return b.getUTCFullYear()<f||b.getUTCFullYear()===f&&b.getUTCMonth()<g?c.push("old"):(b.getUTCFullYear()>f||b.getUTCFullYear()===f&&b.getUTCMonth()>g)&&c.push("new"),this.focusDate&&b.valueOf()===this.focusDate.valueOf()&&c.push("focused"),this.o.todayHighlight&&e(b,h)&&c.push("today"),-1!==this.dates.contains(b)&&c.push("active"),this.dateWithinRange(b)||c.push("disabled"),this.dateIsDisabled(b)&&c.push("disabled","disabled-date"),-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekHighlighted)&&c.push("highlighted"),this.range&&(b>this.range[0]&&b<this.range[this.range.length-1]&&c.push("range"),-1!==a.inArray(b.valueOf(),this.range)&&c.push("selected"),b.valueOf()===this.range[0]&&c.push("range-start"),b.valueOf()===this.range[this.range.length-1]&&c.push("range-end")),c},_fill_yearsView:function(c,d,e,f,g,h,i){for(var j,k,l,m="",n=e/10,o=this.picker.find(c),p=Math.floor(f/e)*e,q=p+9*n,r=Math.floor(this.viewDate.getFullYear()/n)*n,s=a.map(this.dates,function(a){return Math.floor(a.getUTCFullYear()/n)*n}),t=p-n;t<=q+n;t+=n)j=[d],k=null,t===p-n?j.push("old"):t===q+n&&j.push("new"),-1!==a.inArray(t,s)&&j.push("active"),(t<g||t>h)&&j.push("disabled"),t===r&&j.push("focused"),i!==a.noop&&(l=i(new Date(t,0,1)),l===b?l={}:"boolean"==typeof l?l={enabled:l}:"string"==typeof l&&(l={classes:l}),!1===l.enabled&&j.push("disabled"),l.classes&&(j=j.concat(l.classes.split(/\s+/))),l.tooltip&&(k=l.tooltip)),m+='<span class="'+j.join(" ")+'"'+(k?' title="'+k+'"':"")+">"+t+"</span>";o.find(".datepicker-switch").text(p+"-"+q),o.find("td").html(m)},fill:function(){var e,f,g=new Date(this.viewDate),h=g.getUTCFullYear(),i=g.getUTCMonth(),j=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,k=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,l=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,m=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,n=q[this.o.language].today||q.en.today||"",o=q[this.o.language].clear||q.en.clear||"",p=q[this.o.language].titleFormat||q.en.titleFormat,s=d(),t=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&s>=this.o.startDate&&s<=this.o.endDate&&!this.weekOfDateIsDisabled(s);if(!isNaN(h)&&!isNaN(i)){this.picker.find(".datepicker-days .datepicker-switch").text(r.formatDate(g,p,this.o.language)),this.picker.find("tfoot .today").text(n).css("display",t?"table-cell":"none"),this.picker.find("tfoot .clear").text(o).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var u=c(h,i,0),v=u.getUTCDate();u.setUTCDate(v-(u.getUTCDay()-this.o.weekStart+7)%7);var w=new Date(u);u.getUTCFullYear()<100&&w.setUTCFullYear(u.getUTCFullYear()),w.setUTCDate(w.getUTCDate()+42),w=w.valueOf();for(var x,y,z=[];u.valueOf()<w;){if((x=u.getUTCDay())===this.o.weekStart&&(z.push("<tr>"),this.o.calendarWeeks)){var A=new Date(+u+(this.o.weekStart-x-7)%7*864e5),B=new Date(Number(A)+(11-A.getUTCDay())%7*864e5),C=new Date(Number(C=c(B.getUTCFullYear(),0,1))+(11-C.getUTCDay())%7*864e5),D=(B-C)/864e5/7+1;z.push('<td class="cw">'+D+"</td>")}y=this.getClassNames(u),y.push("day");var E=u.getUTCDate();this.o.beforeShowDay!==a.noop&&(f=this.o.beforeShowDay(this._utc_to_local(u)),f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&y.push("disabled"),f.classes&&(y=y.concat(f.classes.split(/\s+/))),f.tooltip&&(e=f.tooltip),f.content&&(E=f.content)),y=a.isFunction(a.uniqueSort)?a.uniqueSort(y):a.unique(y),z.push('<td class="'+y.join(" ")+'"'+(e?' title="'+e+'"':"")+' data-date="'+u.getTime().toString()+'">'+E+"</td>"),e=null,x===this.o.weekEnd&&z.push("</tr>"),u.setUTCDate(u.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(z.join(""));var F=q[this.o.language].monthsTitle||q.en.monthsTitle||"Months",G=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?F:h).end().find("tbody span").removeClass("active");if(a.each(this.dates,function(a,b){b.getUTCFullYear()===h&&G.eq(b.getUTCMonth()).addClass("active")}),(h<j||h>l)&&G.addClass("disabled"),h===j&&G.slice(0,k).addClass("disabled"),h===l&&G.slice(m+1).addClass("disabled"),this.o.beforeShowMonth!==a.noop){var H=this;a.each(G,function(c,d){var e=new Date(h,c,1),f=H.o.beforeShowMonth(e);f===b?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1!==f.enabled||a(d).hasClass("disabled")||a(d).addClass("disabled"),f.classes&&a(d).addClass(f.classes),f.tooltip&&a(d).prop("title",f.tooltip)})}this._fill_yearsView(".datepicker-years","year",10,h,j,l,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,h,j,l,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,h,j,l,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var a,b,c=new Date(this.viewDate),d=c.getUTCFullYear(),e=c.getUTCMonth(),f=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,g=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,h=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,j=1;switch(this.viewMode){case 4:j*=10;case 3:j*=10;case 2:j*=10;case 1:a=Math.floor(d/j)*j<=f,b=Math.floor(d/j)*j+j>h;break;case 0:a=d<=f&&e<=g,b=d>=h&&e>=i}this.picker.find(".prev").toggleClass("disabled",a),this.picker.find(".next").toggleClass("disabled",b)}},click:function(b){b.preventDefault(),b.stopPropagation();var e,f,g,h;e=a(b.target),e.hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),e.hasClass("today")&&!e.hasClass("day")&&(this.setViewMode(0),this._setDate(d(),"linked"===this.o.todayBtn?null:"view")),e.hasClass("clear")&&this.clearDates(),e.hasClass("disabled")||(e.hasClass("month")||e.hasClass("year")||e.hasClass("decade")||e.hasClass("century"))&&(this.viewDate.setUTCDate(1),f=1,1===this.viewMode?(h=e.parent().find("span").index(e),g=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(h)):(h=0,g=Number(e.text()),this.viewDate.setUTCFullYear(g)),this._trigger(r.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(c(g,h,f)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(b){var c=a(b.currentTarget),d=c.data("date"),e=new Date(d);this.o.updateViewDate&&(e.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),e.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(e)},navArrowsClick:function(b){var c=a(b.currentTarget),d=c.hasClass("prev")?-1:1;0!==this.viewMode&&(d*=12*r.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,d),this._trigger(r.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(a){var b=this.dates.contains(a);if(a||this.dates.clear(),-1!==b?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(b):!1===this.o.multidate?(this.dates.clear(),this.dates.push(a)):this.dates.push(a),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(a,b){b&&"date"!==b||this._toggle_multidate(a&&new Date(a)),(!b&&this.o.updateViewDate||"view"===b)&&(this.viewDate=a&&new Date(a)),this.fill(),this.setValue(),b&&"view"===b||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||b&&"date"!==b||this.hide()},moveDay:function(a,b){var c=new Date(a);return c.setUTCDate(a.getUTCDate()+b),c},moveWeek:function(a,b){return this.moveDay(a,7*b)},moveMonth:function(a,b){if(!g(a))return this.o.defaultViewDate;if(!b)return a;var c,d,e=new Date(a.valueOf()),f=e.getUTCDate(),h=e.getUTCMonth(),i=Math.abs(b);if(b=b>0?1:-1,1===i)d=-1===b?function(){return e.getUTCMonth()===h}:function(){return e.getUTCMonth()!==c},c=h+b,e.setUTCMonth(c),c=(c+12)%12;else{for(var j=0;j<i;j++)e=this.moveMonth(e,b);c=e.getUTCMonth(),e.setUTCDate(f),d=function(){return c!==e.getUTCMonth()}}for(;d();)e.setUTCDate(--f),e.setUTCMonth(c);return e},moveYear:function(a,b){return this.moveMonth(a,12*b)},moveAvailableDate:function(a,b,c){do{if(a=this[c](a,b),!this.dateWithinRange(a))return!1;c="moveDay"}while(this.dateIsDisabled(a));return a},weekOfDateIsDisabled:function(b){return-1!==a.inArray(b.getUTCDay(),this.o.daysOfWeekDisabled)},dateIsDisabled:function(b){return this.weekOfDateIsDisabled(b)||a.grep(this.o.datesDisabled,function(a){return e(b,a)}).length>0},dateWithinRange:function(a){return a>=this.o.startDate&&a<=this.o.endDate},keydown:function(a){if(!this.picker.is(":visible"))return void(40!==a.keyCode&&27!==a.keyCode||(this.show(),a.stopPropagation()));var b,c,d=!1,e=this.focusDate||this.viewDate;switch(a.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),a.preventDefault(),a.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;b=37===a.keyCode||38===a.keyCode?-1:1,0===this.viewMode?a.ctrlKey?(c=this.moveAvailableDate(e,b,"moveYear"))&&this._trigger("changeYear",this.viewDate):a.shiftKey?(c=this.moveAvailableDate(e,b,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===a.keyCode||39===a.keyCode?c=this.moveAvailableDate(e,b,"moveDay"):this.weekOfDateIsDisabled(e)||(c=this.moveAvailableDate(e,b,"moveWeek")):1===this.viewMode?(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveMonth")):2===this.viewMode&&(38!==a.keyCode&&40!==a.keyCode||(b*=4),c=this.moveAvailableDate(e,b,"moveYear")),c&&(this.focusDate=this.viewDate=c,this.setValue(),this.fill(),a.preventDefault());break;case 13:if(!this.o.forceParse)break;e=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(e),d=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(a.preventDefault(),a.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}d&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))},setViewMode:function(a){this.viewMode=a,this.picker.children("div").hide().filter(".datepicker-"+r.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(b,c){a.data(b,"datepicker",this),this.element=a(b),this.inputs=a.map(c.inputs,function(a){return a.jquery?a[0]:a}),delete c.inputs,this.keepEmptyValues=c.keepEmptyValues,delete c.keepEmptyValues,n.call(a(this.inputs),c).on("changeDate",a.proxy(this.dateUpdated,this)),this.pickers=a.map(this.inputs,function(b){return a.data(b,"datepicker")}),this.updateDates()};l.prototype={updateDates:function(){this.dates=a.map(this.pickers,function(a){return a.getUTCDate()}),this.updateRanges()},updateRanges:function(){var b=a.map(this.dates,function(a){return a.valueOf()});a.each(this.pickers,function(a,c){c.setRange(b)})},clearDates:function(){a.each(this.pickers,function(a,b){b.clearDates()})},dateUpdated:function(c){if(!this.updating){this.updating=!0;var d=a.data(c.target,"datepicker");if(d!==b){var e=d.getUTCDate(),f=this.keepEmptyValues,g=a.inArray(c.target,this.inputs),h=g-1,i=g+1,j=this.inputs.length;if(-1!==g){if(a.each(this.pickers,function(a,b){b.getUTCDate()||b!==d&&f||b.setUTCDate(e)}),e<this.dates[h])for(;h>=0&&e<this.dates[h];)this.pickers[h--].setUTCDate(e);else if(e>this.dates[i])for(;i<j&&e>this.dates[i];)this.pickers[i++].setUTCDate(e);this.updateDates(),delete this.updating}}}},destroy:function(){a.map(this.pickers,function(a){a.destroy()}),a(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:f("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var m=a.fn.datepicker,n=function(c){var d=Array.apply(null,arguments);d.shift();var e;if(this.each(function(){var b=a(this),f=b.data("datepicker"),g="object"==typeof c&&c;if(!f){var j=h(this,"date"),m=a.extend({},o,j,g),n=i(m.language),p=a.extend({},o,n,j,g);b.hasClass("input-daterange")||p.inputs?(a.extend(p,{inputs:p.inputs||b.find("input").toArray()}),f=new l(this,p)):f=new k(this,p),b.data("datepicker",f)}"string"==typeof c&&"function"==typeof f[c]&&(e=f[c].apply(f,d))}),e===b||e instanceof k||e instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+c+" function)");return e};a.fn.datepicker=n;var o=a.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:a.noop,beforeShowMonth:a.noop,beforeShowYear:a.noop,beforeShowDecade:a.noop,beforeShowCentury:a.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&#x00AB;",rightArrow:"&#x00BB;"},showWeekDays:!0},p=a.fn.datepicker.locale_opts=["format","rtl","weekStart"];a.fn.datepicker.Constructor=k;var q=a.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},r={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(a){if("function"==typeof a.toValue&&"function"==typeof a.toDisplay)return a;var b=a.replace(this.validParts,"\0").split("\0"),c=a.match(this.validParts);if(!b||!b.length||!c||0===c.length)throw new Error("Invalid date format.");return{separators:b,parts:c}},parseDate:function(c,e,f,g){function h(a,b){return!0===b&&(b=10),a<100&&(a+=2e3)>(new Date).getFullYear()+b&&(a-=100),a}function i(){var a=this.slice(0,j[n].length),b=j[n].slice(0,a.length);return a.toLowerCase()===b.toLowerCase()}if(!c)return b;if(c instanceof Date)return c;if("string"==typeof e&&(e=r.parseFormat(e)),e.toValue)return e.toValue(c,e,f);var j,l,m,n,o,p={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},s={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(c in s&&(c=s[c]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(c)){for(j=c.match(/([\-+]\d+)([dmwy])/gi),c=new Date,n=0;n<j.length;n++)l=j[n].match(/([\-+]\d+)([dmwy])/i),m=Number(l[1]),o=p[l[2].toLowerCase()],c=k.prototype[o](c,m);return k.prototype._zero_utc_time(c)}j=c&&c.match(this.nonpunctuation)||[];var t,u,v={},w=["yyyy","yy","M","MM","m","mm","d","dd"],x={yyyy:function(a,b){return a.setUTCFullYear(g?h(b,g):b)},m:function(a,b){if(isNaN(a))return a;for(b-=1;b<0;)b+=12;for(b%=12,a.setUTCMonth(b);a.getUTCMonth()!==b;)a.setUTCDate(a.getUTCDate()-1);return a},d:function(a,b){return a.setUTCDate(b)}};x.yy=x.yyyy,x.M=x.MM=x.mm=x.m,x.dd=x.d,c=d();var y=e.parts.slice();if(j.length!==y.length&&(y=a(y).filter(function(b,c){return-1!==a.inArray(c,w)}).toArray()),j.length===y.length){var z;for(n=0,z=y.length;n<z;n++){if(t=parseInt(j[n],10),l=y[n],isNaN(t))switch(l){case"MM":u=a(q[f].months).filter(i),t=a.inArray(u[0],q[f].months)+1;break;case"M":u=a(q[f].monthsShort).filter(i),t=a.inArray(u[0],q[f].monthsShort)+1}v[l]=t}var A,B;for(n=0;n<w.length;n++)(B=w[n])in v&&!isNaN(v[B])&&(A=new Date(c),x[B](A,v[B]),isNaN(A)||(c=A))}return c},formatDate:function(b,c,d){if(!b)return"";if("string"==typeof c&&(c=r.parseFormat(c)),c.toDisplay)return c.toDisplay(b,c,d);var e={d:b.getUTCDate(),D:q[d].daysShort[b.getUTCDay()],DD:q[d].days[b.getUTCDay()],m:b.getUTCMonth()+1,M:q[d].monthsShort[b.getUTCMonth()],MM:q[d].months[b.getUTCMonth()],yy:b.getUTCFullYear().toString().substring(2),yyyy:b.getUTCFullYear()};e.dd=(e.d<10?"0":"")+e.d,e.mm=(e.m<10?"0":"")+e.m,b=[];for(var f=a.extend([],c.separators),g=0,h=c.parts.length;g<=h;g++)f.length&&b.push(f.shift()),b.push(e[c.parts[g]]);return b.join("")},
headTemplate:'<thead><tr><th colspan="7" class="datepicker-title"></th></tr><tr><th class="prev">'+o.templates.leftArrow+'</th><th colspan="5" class="datepicker-switch"></th><th class="next">'+o.templates.rightArrow+"</th></tr></thead>",contTemplate:'<tbody><tr><td colspan="7"></td></tr></tbody>',footTemplate:'<tfoot><tr><th colspan="7" class="today"></th></tr><tr><th colspan="7" class="clear"></th></tr></tfoot>'};r.template='<div class="datepicker"><div class="datepicker-days"><table class="table-condensed">'+r.headTemplate+"<tbody></tbody>"+r.footTemplate+'</table></div><div class="datepicker-months"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-years"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-decades"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+'</table></div><div class="datepicker-centuries"><table class="table-condensed">'+r.headTemplate+r.contTemplate+r.footTemplate+"</table></div></div>",a.fn.datepicker.DPGlobal=r,a.fn.datepicker.noConflict=function(){return a.fn.datepicker=m,this},a.fn.datepicker.version="1.9.0",a.fn.datepicker.deprecated=function(a){var b=window.console;b&&b.warn&&b.warn("DEPRECATED: "+a)},a(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',function(b){var c=a(this);c.data("datepicker")||(b.preventDefault(),n.call(c,"show"))}),a(function(){n.call(a('[data-provide="datepicker-inline"]'))})});;
 /*
 * # Fomantic UI - 2.8.4
 * https://github.com/fomantic/Fomantic-UI
 * http://fomantic-ui.com/
 *
 * Copyright 2014 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
!function(C,n,S,T){"use strict";C.isFunction=C.isFunction||function(n){return"function"==typeof n&&"number"!=typeof n.nodeType},n=void 0!==n&&n.Math==Math?n:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),C.fn.transition=function(){var d,r=C(this),p=r.selector||"",g=(new Date).getTime(),v=[],b=arguments,y=b[0],h=[].slice.call(arguments,1),w="string"==typeof y;return r.each(function(t){var u,s,e,c,i,a,n,o,m,f=C(this),l=this;(m={initialize:function(){u=m.get.settings.apply(l,b),c=u.className,e=u.error,i=u.metadata,o="."+u.namespace,n="module-"+u.namespace,s=f.data(n)||m,a=m.get.animationEndEvent(),!1===(w=w&&m.invoke(y))&&(m.verbose("Converted arguments into settings object",u),u.interval?m.delay(u.animate):m.animate(),m.instantiate())},instantiate:function(){m.verbose("Storing instance of module",m),s=m,f.data(n,s)},destroy:function(){m.verbose("Destroying previous module for",l),f.removeData(n)},refresh:function(){m.verbose("Refreshing display type on next animation"),delete m.displayType},forceRepaint:function(){m.verbose("Forcing element repaint");var n=f.parent(),e=f.next();0===e.length?f.detach().appendTo(n):f.detach().insertBefore(e)},repaint:function(){m.verbose("Repainting element");l.offsetWidth},delay:function(n){var e,i=m.get.animationDirection();i=i||(m.can.transition()?m.get.direction():"static"),n=n!==T?n:u.interval,e="auto"==u.reverse&&i==c.outward||1==u.reverse?(r.length-t)*u.interval:t*u.interval,m.debug("Delaying animation by",e),setTimeout(m.animate,e)},animate:function(n){if(u=n||u,!m.is.supported())return m.error(e.support),!1;if(m.debug("Preparing animation",u.animation),m.is.animating()){if(u.queue)return!u.allowRepeats&&m.has.direction()&&m.is.occurring()&&!0!==m.queuing?m.debug("Animation is currently occurring, preventing queueing same animation",u.animation):m.queue(u.animation),!1;if(!u.allowRepeats&&m.is.occurring())return m.debug("Animation is already occurring, will not execute repeated animation",u.animation),!1;m.debug("New animation started, completing previous early",u.animation),s.complete()}m.can.animate()?m.set.animating(u.animation):m.error(e.noAnimation,u.animation,l)},reset:function(){m.debug("Resetting animation to beginning conditions"),m.remove.animationCallbacks(),m.restore.conditions(),m.remove.animating()},queue:function(n){m.debug("Queueing animation of",n),m.queuing=!0,f.one(a+".queue"+o,function(){m.queuing=!1,m.repaint(),m.animate.apply(this,u)})},complete:function(n){n&&n.target===l&&n.stopPropagation(),m.debug("Animation complete",u.animation),m.remove.completeCallback(),m.remove.failSafe(),m.is.looping()||(m.is.outward()?(m.verbose("Animation is outward, hiding element"),m.restore.conditions(),m.hide()):m.is.inward()?(m.verbose("Animation is outward, showing element"),m.restore.conditions(),m.show()):(m.verbose("Static animation completed"),m.restore.conditions(),u.onComplete.call(l)))},force:{visible:function(){var n=f.attr("style"),e=m.get.userStyle(n),i=m.get.displayType(),t=e+"display: "+i+" !important;",a=f[0].style.display;return!i||"none"===a&&u.skipInlineHidden||f[0].tagName.match(/(script|link|style)/i)?(m.remove.transition(),!1):(m.verbose("Overriding default display to show element",i),f.attr("style",t),!0)},hidden:function(){var n=f.attr("style"),e=f.css("display"),i=n===T||""===n;"none"===e||m.is.hidden()?i&&f.removeAttr("style"):(m.verbose("Overriding default display to hide element"),f.css("display","none"))}},has:{direction:function(n){var i=!1;return"string"==typeof(n=n||u.animation)&&(n=n.split(" "),C.each(n,function(n,e){e!==c.inward&&e!==c.outward||(i=!0)})),i},inlineDisplay:function(){var n=f.attr("style")||"";return Array.isArray(n.match(/display.*?;/,""))}},set:{animating:function(n){m.remove.completeCallback(),n=n||u.animation;var e=m.get.animationClass(n);m.save.animation(e),m.force.visible()&&(m.remove.hidden(),m.remove.direction(),m.start.animation(e))},duration:function(n,e){!(e="number"==typeof(e=e||u.duration)?e+"ms":e)&&0!==e||(m.verbose("Setting animation duration",e),f.css({"animation-duration":e}))},direction:function(n){(n=n||m.get.direction())==c.inward?m.set.inward():m.set.outward()},looping:function(){m.debug("Transition set to loop"),f.addClass(c.looping)},hidden:function(){f.addClass(c.transition).addClass(c.hidden)},inward:function(){m.debug("Setting direction to inward"),f.removeClass(c.outward).addClass(c.inward)},outward:function(){m.debug("Setting direction to outward"),f.removeClass(c.inward).addClass(c.outward)},visible:function(){f.addClass(c.transition).addClass(c.visible)}},start:{animation:function(n){n=n||m.get.animationClass(),m.debug("Starting tween",n),f.addClass(n).one(a+".complete"+o,m.complete),u.useFailSafe&&m.add.failSafe(),m.set.duration(u.duration),u.onStart.call(l)}},save:{animation:function(n){m.cache||(m.cache={}),m.cache.animation=n},displayType:function(n){"none"!==n&&f.data(i.displayType,n)},transitionExists:function(n,e){C.fn.transition.exists[n]=e,m.verbose("Saving existence of transition",n,e)}},restore:{conditions:function(){var n=m.get.currentAnimation();n&&(f.removeClass(n),m.verbose("Removing animation class",m.cache)),m.remove.duration()}},add:{failSafe:function(){var n=m.get.duration();m.timer=setTimeout(function(){f.triggerHandler(a)},n+u.failSafeDelay),m.verbose("Adding fail safe timer",m.timer)}},remove:{animating:function(){f.removeClass(c.animating)},animationCallbacks:function(){m.remove.queueCallback(),m.remove.completeCallback()},queueCallback:function(){f.off(".queue"+o)},completeCallback:function(){f.off(".complete"+o)},display:function(){f.css("display","")},direction:function(){f.removeClass(c.inward).removeClass(c.outward)},duration:function(){f.css("animation-duration","")},failSafe:function(){m.verbose("Removing fail safe timer",m.timer),m.timer&&clearTimeout(m.timer)},hidden:function(){f.removeClass(c.hidden)},visible:function(){f.removeClass(c.visible)},looping:function(){m.debug("Transitions are no longer looping"),m.is.looping()&&(m.reset(),f.removeClass(c.looping))},transition:function(){f.removeClass(c.transition).removeClass(c.visible).removeClass(c.hidden)}},get:{settings:function(n,e,i){return"object"==typeof n?C.extend(!0,{},C.fn.transition.settings,n):"function"==typeof i?C.extend({},C.fn.transition.settings,{animation:n,onComplete:i,duration:e}):"string"==typeof e||"number"==typeof e?C.extend({},C.fn.transition.settings,{animation:n,duration:e}):"object"==typeof e?C.extend({},C.fn.transition.settings,e,{animation:n}):"function"==typeof e?C.extend({},C.fn.transition.settings,{animation:n,onComplete:e}):C.extend({},C.fn.transition.settings,{animation:n})},animationClass:function(n){var e=n||u.animation,i=m.can.transition()&&!m.has.direction()?m.get.direction()+" ":"";return c.animating+" "+c.transition+" "+i+e},currentAnimation:function(){return!(!m.cache||m.cache.animation===T)&&m.cache.animation},currentDirection:function(){return m.is.inward()?c.inward:c.outward},direction:function(){return m.is.hidden()||!m.is.visible()?c.inward:c.outward},animationDirection:function(n){var i;return"string"==typeof(n=n||u.animation)&&(n=n.split(" "),C.each(n,function(n,e){e===c.inward?i=c.inward:e===c.outward&&(i=c.outward)})),i||!1},duration:function(n){return!1===(n=n||u.duration)&&(n=f.css("animation-duration")||0),"string"==typeof n?-1<n.indexOf("ms")?parseFloat(n):1e3*parseFloat(n):n},displayType:function(n){if(n=n===T||n,u.displayType)return u.displayType;if(n&&f.data(i.displayType)===T){var e=f.css("display");""===e||"none"===e?m.can.transition(!0):m.save.displayType(e)}return f.data(i.displayType)},userStyle:function(n){return(n=n||f.attr("style")||"").replace(/display.*?;/,"")},transitionExists:function(n){return C.fn.transition.exists[n]},animationStartEvent:function(){var n,e=S.createElement("div"),i={animation:"animationstart",OAnimation:"oAnimationStart",MozAnimation:"mozAnimationStart",WebkitAnimation:"webkitAnimationStart"};for(n in i)if(e.style[n]!==T)return i[n];return!1},animationEndEvent:function(){var n,e=S.createElement("div"),i={animation:"animationend",OAnimation:"oAnimationEnd",MozAnimation:"mozAnimationEnd",WebkitAnimation:"webkitAnimationEnd"};for(n in i)if(e.style[n]!==T)return i[n];return!1}},can:{transition:function(n){var e,i,t,a,o,r,s=u.animation,l=m.get.transitionExists(s),d=m.get.displayType(!1);if(l===T||n){if(m.verbose("Determining whether animation exists"),e=f.attr("class"),i=f.prop("tagName"),a=(t=C("<"+i+" />").addClass(e).insertAfter(f)).addClass(s).removeClass(c.inward).removeClass(c.outward).addClass(c.animating).addClass(c.transition).css("animationName"),o=t.addClass(c.inward).css("animationName"),d||(d=t.attr("class",e).removeAttr("style").removeClass(c.hidden).removeClass(c.visible).show().css("display"),m.verbose("Determining final display state",d),m.save.displayType(d)),t.remove(),a!=o)m.debug("Direction exists for animation",s),r=!0;else{if("none"==a||!a)return void m.debug("No animation defined in css",s);m.debug("Static animation found",s,d),r=!1}m.save.transitionExists(s,r)}return l!==T?l:r},animate:function(){return m.can.transition()!==T}},is:{animating:function(){return f.hasClass(c.animating)},inward:function(){return f.hasClass(c.inward)},outward:function(){return f.hasClass(c.outward)},looping:function(){return f.hasClass(c.looping)},occurring:function(n){return n="."+(n=n||u.animation).replace(" ","."),0<f.filter(n).length},visible:function(){return f.is(":visible")},hidden:function(){return"hidden"===f.css("visibility")},supported:function(){return!1!==a}},hide:function(){m.verbose("Hiding element"),m.is.animating()&&m.reset(),l.blur(),m.remove.display(),m.remove.visible(),C.isFunction(u.onBeforeHide)?u.onBeforeHide.call(l,function(){m.hideNow()}):m.hideNow()},hideNow:function(){m.set.hidden(),m.force.hidden(),u.onHide.call(l),u.onComplete.call(l)},show:function(n){m.verbose("Showing element",n),m.force.visible()&&(m.remove.hidden(),m.set.visible(),u.onShow.call(l),u.onComplete.call(l))},toggle:function(){m.is.visible()?m.hide():m.show()},stop:function(){m.debug("Stopping current animation"),f.triggerHandler(a)},stopAll:function(){m.debug("Stopping all animation"),m.remove.queueCallback(),f.triggerHandler(a)},clear:{queue:function(){m.debug("Clearing animation queue"),m.remove.queueCallback()}},enable:function(){m.verbose("Starting animation"),f.removeClass(c.disabled)},disable:function(){m.debug("Stopping animation"),f.addClass(c.disabled)},setting:function(n,e){if(m.debug("Changing setting",n,e),C.isPlainObject(n))C.extend(!0,u,n);else{if(e===T)return u[n];C.isPlainObject(u[n])?C.extend(!0,u[n],e):u[n]=e}},internal:function(n,e){if(C.isPlainObject(n))C.extend(!0,m,n);else{if(e===T)return m[n];m[n]=e}},debug:function(){!u.silent&&u.debug&&(u.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,u.name+":"),m.debug.apply(console,arguments)))},verbose:function(){!u.silent&&u.verbose&&u.debug&&(u.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,u.name+":"),m.verbose.apply(console,arguments)))},error:function(){u.silent||(m.error=Function.prototype.bind.call(console.error,console,u.name+":"),m.error.apply(console,arguments))},performance:{log:function(n){var e,i;u.performance&&(i=(e=(new Date).getTime())-(g||e),g=e,v.push({Name:n[0],Arguments:[].slice.call(n,1)||"",Element:l,"Execution Time":i})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,500)},display:function(){var n=u.name+":",i=0;g=!1,clearTimeout(m.performance.timer),C.each(v,function(n,e){i+=e["Execution Time"]}),n+=" "+i+"ms",p&&(n+=" '"+p+"'"),1<r.length&&(n+=" ("+r.length+")"),(console.group!==T||console.table!==T)&&0<v.length&&(console.groupCollapsed(n),console.table?console.table(v):C.each(v,function(n,e){console.log(e.Name+": "+e["Execution Time"]+"ms")}),console.groupEnd()),v=[]}},invoke:function(t,n,e){var a,o,i,r=s;return n=n||h,e=l||e,"string"==typeof t&&r!==T&&(t=t.split(/[\. ]/),a=t.length-1,C.each(t,function(n,e){var i=n!=a?e+t[n+1].charAt(0).toUpperCase()+t[n+1].slice(1):t;if(C.isPlainObject(r[i])&&n!=a)r=r[i];else{if(r[i]!==T)return o=r[i],!1;if(!C.isPlainObject(r[e])||n==a)return r[e]!==T&&(o=r[e]),!1;r=r[e]}})),C.isFunction(o)?i=o.apply(e,n):o!==T&&(i=o),Array.isArray(d)?d.push(i):d!==T?d=[d,i]:i!==T&&(d=i),o!==T&&o}}).initialize()}),d!==T?d:this},C.fn.transition.exists={},C.fn.transition.settings={name:"Transition",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"transition",interval:0,reverse:"auto",onStart:function(){},onComplete:function(){},onShow:function(){},onHide:function(){},useFailSafe:!0,failSafeDelay:100,allowRepeats:!1,displayType:!1,animation:"fade",duration:!1,queue:!0,skipInlineHidden:!1,metadata:{displayType:"display"},className:{animating:"animating",disabled:"disabled",hidden:"hidden",inward:"in",loading:"loading",looping:"looping",outward:"out",transition:"transition",visible:"visible"},error:{noAnimation:"Element is no longer attached to DOM. Unable to animate.  Use silent setting to surpress this warning in production.",repeated:"That animation is already occurring, cancelling repeated animation",method:"The method you called is not defined",support:"This browser does not support CSS animations"}}}(jQuery,window,document);;
 /*
 * # Fomantic UI - 2.8.4
 * https://github.com/fomantic/Fomantic-UI
 * http://fomantic-ui.com/
 *
 * Copyright 2014 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
!function(V,W,M,z){"use strict";V.isFunction=V.isFunction||function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},W=void 0!==W&&W.Math==Math?W:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),V.fn.popup=function(x){var E,t=V(this),k=V(M),S=V(W),A=V("body"),F=t.selector||"",O="ontouchstart"in M.documentElement?"touchstart":"click",D=(new Date).getTime(),j=[],R=x,H="string"==typeof R,N=[].slice.call(arguments,1);return t.each(function(){var u,l,t,e,o,c,d=V.isPlainObject(x)?V.extend(!0,{},V.fn.popup.settings,x):V.extend({},V.fn.popup.settings),i=d.selector,f=d.className,h=d.error,g=d.metadata,n=d.namespace,r="."+d.namespace,a="module-"+n,m=V(this),s=V(d.context),p=V(d.scrollContext),v=V(d.boundary),b=d.target?V(d.target):m,w=0,y=!1,P=!1,C=this,T=m.data(a);c={initialize:function(){c.debug("Initializing",m),c.createID(),c.bind.events(),!c.exists()&&d.preserve&&c.create(),d.observeChanges&&c.observeChanges(),c.instantiate()},instantiate:function(){c.verbose("Storing instance",c),T=c,m.data(a,T)},observeChanges:function(){"MutationObserver"in W&&((t=new MutationObserver(c.event.documentChanged)).observe(M,{childList:!0,subtree:!0}),c.debug("Setting up mutation observer",t))},refresh:function(){d.popup?u=V(d.popup).eq(0):d.inline&&(u=b.nextAll(i.popup).eq(0),d.popup=u),d.popup?(u.addClass(f.loading),l=c.get.offsetParent(),u.removeClass(f.loading),d.movePopup&&c.has.popup()&&c.get.offsetParent(u)[0]!==l[0]&&(c.debug("Moving popup to the same offset parent as target"),u.detach().appendTo(l))):l=d.inline?c.get.offsetParent(b):c.has.popup()?c.get.offsetParent(u):A,l.is("html")&&l[0]!==A[0]&&(c.debug("Setting page as offset parent"),l=A),c.get.variation()&&c.set.variation()},reposition:function(){c.refresh(),c.set.position()},destroy:function(){c.debug("Destroying previous module"),t&&t.disconnect(),u&&!d.preserve&&c.removePopup(),clearTimeout(c.hideTimer),clearTimeout(c.showTimer),c.unbind.close(),c.unbind.events(),m.removeData(a)},event:{start:function(t){var e=V.isPlainObject(d.delay)?d.delay.show:d.delay;clearTimeout(c.hideTimer),(!P||P&&d.addTouchEvents)&&(c.showTimer=setTimeout(c.show,e))},end:function(){var t=V.isPlainObject(d.delay)?d.delay.hide:d.delay;clearTimeout(c.showTimer),c.hideTimer=setTimeout(c.hide,t)},touchstart:function(t){P=!0,d.addTouchEvents&&c.show()},resize:function(){c.is.visible()&&c.set.position()},documentChanged:function(t){[].forEach.call(t,function(t){t.removedNodes&&[].forEach.call(t.removedNodes,function(t){(t==C||0<V(t).find(C).length)&&(c.debug("Element removed from DOM, tearing down events"),c.destroy())})})},hideGracefully:function(t){var e=V(t.target),o=V.contains(M.documentElement,t.target),n=0<e.closest(i.popup).length;t&&!n&&o?(c.debug("Click occurred outside popup hiding popup"),c.hide()):c.debug("Click was inside popup, keeping popup open")}},create:function(){var t=c.get.html(),e=c.get.title(),o=c.get.content();t||o||e?(c.debug("Creating pop-up html"),t=t||d.templates.popup({title:e,content:o}),u=V("<div/>").addClass(f.popup).data(g.activator,m).html(t),d.inline?(c.verbose("Inserting popup element inline",u),u.insertAfter(m)):(c.verbose("Appending popup element to body",u),u.appendTo(s)),c.refresh(),c.set.variation(),d.hoverable&&c.bind.popup(),d.onCreate.call(u,C)):d.popup?(V(d.popup).data(g.activator,m),c.verbose("Used popup specified in settings"),c.refresh(),d.hoverable&&c.bind.popup()):0!==b.next(i.popup).length?(c.verbose("Pre-existing popup found"),d.inline=!0,d.popup=b.next(i.popup).data(g.activator,m),c.refresh(),d.hoverable&&c.bind.popup()):c.debug("No content specified skipping display",C)},createID:function(){o=(Math.random().toString(16)+"000000000").substr(2,8),e="."+o,c.verbose("Creating unique id for element",o)},toggle:function(){c.debug("Toggling pop-up"),c.is.hidden()?(c.debug("Popup is hidden, showing pop-up"),c.unbind.close(),c.show()):(c.debug("Popup is visible, hiding pop-up"),c.hide())},show:function(t){if(t=t||function(){},c.debug("Showing pop-up",d.transition),c.is.hidden()&&(!c.is.active()||!c.is.dropdown())){if(c.exists()||c.create(),!1===d.onShow.call(u,C))return void c.debug("onShow callback returned false, cancelling popup animation");d.preserve||d.popup||c.refresh(),u&&c.set.position()&&(c.save.conditions(),d.exclusive&&c.hideAll(),c.animate.show(t))}},hide:function(t){if(t=t||function(){},c.is.visible()||c.is.animating()){if(!1===d.onHide.call(u,C))return void c.debug("onHide callback returned false, cancelling popup animation");c.remove.visible(),c.unbind.close(),c.restore.conditions(),c.animate.hide(t)}},hideAll:function(){V(i.popup).filter("."+f.popupVisible).each(function(){V(this).data(g.activator).popup("hide")})},exists:function(){return!!u&&(d.inline||d.popup?c.has.popup():1<=u.closest(s).length)},removePopup:function(){c.has.popup()&&!d.popup&&(c.debug("Removing popup",u),u.remove(),u=z,d.onRemove.call(u,C))},save:{conditions:function(){c.cache={title:m.attr("title")},c.cache.title&&m.removeAttr("title"),c.verbose("Saving original attributes",c.cache.title)}},restore:{conditions:function(){return c.cache&&c.cache.title&&(m.attr("title",c.cache.title),c.verbose("Restoring original attributes",c.cache.title)),!0}},supports:{svg:function(){return"undefined"!=typeof SVGGraphicsElement}},animate:{show:function(t){t=V.isFunction(t)?t:function(){},d.transition&&V.fn.transition!==z&&m.transition("is supported")?(c.set.visible(),u.transition({animation:d.transition+" in",queue:!1,debug:d.debug,verbose:d.verbose,duration:d.duration,onComplete:function(){c.bind.close(),t.call(u,C),d.onVisible.call(u,C)}})):c.error(h.noTransition)},hide:function(t){t=V.isFunction(t)?t:function(){},c.debug("Hiding pop-up"),d.transition&&V.fn.transition!==z&&m.transition("is supported")?u.transition({animation:d.transition+" out",queue:!1,duration:d.duration,debug:d.debug,verbose:d.verbose,onComplete:function(){c.reset(),t.call(u,C),d.onHidden.call(u,C)}}):c.error(h.noTransition)}},change:{content:function(t){u.html(t)}},get:{html:function(){return m.removeData(g.html),m.data(g.html)||d.html},title:function(){return m.removeData(g.title),m.data(g.title)||d.title},content:function(){return m.removeData(g.content),m.data(g.content)||d.content||m.attr("title")},variation:function(){return m.removeData(g.variation),m.data(g.variation)||d.variation},popup:function(){return u},popupOffset:function(){return u.offset()},calculations:function(){var t,e=c.get.offsetParent(u),o=b[0],n=v[0]==W,i=d.inline||d.popup&&d.movePopup?b.position():b.offset(),r=n?{top:0,left:0}:v.offset(),a={},s=n?{top:S.scrollTop(),left:S.scrollLeft()}:{top:0,left:0};if(a={target:{element:b[0],width:b.outerWidth(),height:b.outerHeight(),top:i.top,left:i.left,margin:{}},popup:{width:u.outerWidth(),height:u.outerHeight()},parent:{width:l.outerWidth(),height:l.outerHeight()},screen:{top:r.top,left:r.left,scroll:{top:s.top,left:s.left},width:v.width(),height:v.height()}},e.get(0)!==l.get(0)){var p=e.offset();a.target.top-=p.top,a.target.left-=p.left,a.parent.width=e.outerWidth(),a.parent.height=e.outerHeight()}return d.setFluidWidth&&c.is.fluid()&&(a.container={width:u.parent().outerWidth()},a.popup.width=a.container.width),a.target.margin.top=d.inline?parseInt(W.getComputedStyle(o).getPropertyValue("margin-top"),10):0,a.target.margin.left=d.inline?c.is.rtl()?parseInt(W.getComputedStyle(o).getPropertyValue("margin-right"),10):parseInt(W.getComputedStyle(o).getPropertyValue("margin-left"),10):0,t=a.screen,a.boundary={top:t.top+t.scroll.top,bottom:t.top+t.scroll.top+t.height,left:t.left+t.scroll.left,right:t.left+t.scroll.left+t.width},a},id:function(){return o},startEvent:function(){return"hover"==d.on?"mouseenter":"focus"==d.on&&"focus"},scrollEvent:function(){return"scroll"},endEvent:function(){return"hover"==d.on?"mouseleave":"focus"==d.on&&"blur"},distanceFromBoundary:function(t,e){var o,n,i={};return o=(e=e||c.get.calculations()).popup,n=e.boundary,t&&(i={top:t.top-n.top,left:t.left-n.left,right:n.right-(t.left+o.width),bottom:n.bottom-(t.top+o.height)},c.verbose("Distance from boundaries determined",t,i)),i},offsetParent:function(t){var e=(t!==z?t[0]:b[0]).parentNode,o=V(e);if(e)for(var n="none"===o.css("transform"),i="static"===o.css("position"),r=o.is("body");e&&!r&&i&&n;)e=e.parentNode,n="none"===(o=V(e)).css("transform"),i="static"===o.css("position"),r=o.is("body");return o&&0<o.length?o:V()},positions:function(){return{"top left":!1,"top center":!1,"top right":!1,"bottom left":!1,"bottom center":!1,"bottom right":!1,"left center":!1,"right center":!1}},nextPosition:function(t){var e=t.split(" "),o=e[0],n=e[1],i="top"==o||"bottom"==o,r=!1,a=!1,s=!1;return y||(c.verbose("All available positions available"),y=c.get.positions()),c.debug("Recording last position tried",t),y[t]=!0,"opposite"===d.prefer&&(s=(s=[{top:"bottom",bottom:"top",left:"right",right:"left"}[o],n]).join(" "),r=!0===y[s],c.debug("Trying opposite strategy",s)),"adjacent"===d.prefer&&i&&(s=(s=[o,{left:"center",center:"right",right:"left"}[n]]).join(" "),a=!0===y[s],c.debug("Trying adjacent strategy",s)),(a||r)&&(c.debug("Using backup position",s),s={"top left":"top center","top center":"top right","top right":"right center","right center":"bottom right","bottom right":"bottom center","bottom center":"bottom left","bottom left":"left center","left center":"top left"}[t]),s}},set:{position:function(t,e){if(0!==b.length&&0!==u.length){var o,n,i,r,a,s,p,l;if(e=e||c.get.calculations(),t=t||m.data(g.position)||d.position,o=m.data(g.offset)||d.offset,n=d.distanceAway,i=e.target,r=e.popup,a=e.parent,c.should.centerArrow(e)&&(c.verbose("Adjusting offset to center arrow on small target element"),"top left"!=t&&"bottom left"!=t||(o+=i.width/2,o-=d.arrowPixelsFromEdge),"top right"!=t&&"bottom right"!=t||(o-=i.width/2,o+=d.arrowPixelsFromEdge)),0===i.width&&0===i.height&&!c.is.svg(i.element))return c.debug("Popup target is hidden, no action taken"),!1;switch(d.inline&&(c.debug("Adding margin to calculation",i.margin),"left center"==t||"right center"==t?(o+=i.margin.top,n+=-i.margin.left):"top left"==t||"top center"==t||"top right"==t?(o+=i.margin.left,n-=i.margin.top):(o+=i.margin.left,n+=i.margin.top)),c.debug("Determining popup position from calculations",t,e),c.is.rtl()&&(t=t.replace(/left|right/g,function(t){return"left"==t?"right":"left"}),c.debug("RTL: Popup position updated",t)),w==d.maxSearchDepth&&"string"==typeof d.lastResort&&(t=d.lastResort),t){case"top left":s={top:"auto",bottom:a.height-i.top+n,left:i.left+o,right:"auto"};break;case"top center":s={bottom:a.height-i.top+n,left:i.left+i.width/2-r.width/2+o,top:"auto",right:"auto"};break;case"top right":s={bottom:a.height-i.top+n,right:a.width-i.left-i.width-o,top:"auto",left:"auto"};break;case"left center":s={top:i.top+i.height/2-r.height/2+o,right:a.width-i.left+n,left:"auto",bottom:"auto"};break;case"right center":s={top:i.top+i.height/2-r.height/2+o,left:i.left+i.width+n,bottom:"auto",right:"auto"};break;case"bottom left":s={top:i.top+i.height+n,left:i.left+o,bottom:"auto",right:"auto"};break;case"bottom center":s={top:i.top+i.height+n,left:i.left+i.width/2-r.width/2+o,bottom:"auto",right:"auto"};break;case"bottom right":s={top:i.top+i.height+n,right:a.width-i.left-i.width-o,left:"auto",bottom:"auto"}}if(s===z&&c.error(h.invalidPosition,t),c.debug("Calculated popup positioning values",s),u.css(s).removeClass(f.position).addClass(t).addClass(f.loading),p=c.get.popupOffset(),l=c.get.distanceFromBoundary(p,e),!d.forcePosition&&c.is.offstage(l,t)){if(c.debug("Position is outside viewport",t),w<d.maxSearchDepth)return w++,t=c.get.nextPosition(t),c.debug("Trying new position",t),!!u&&c.set.position(t,e);if(!d.lastResort)return c.debug("Popup could not find a position to display",u),c.error(h.cannotPlace,C),c.remove.attempts(),c.remove.loading(),c.reset(),d.onUnplaceable.call(u,C),!1;c.debug("No position found, showing with last position")}return c.debug("Position is on stage",t),c.remove.attempts(),c.remove.loading(),d.setFluidWidth&&c.is.fluid()&&c.set.fluidWidth(e),!0}c.error(h.notFound)},fluidWidth:function(t){t=t||c.get.calculations(),c.debug("Automatically setting element width to parent width",t.parent.width),u.css("width",t.container.width)},variation:function(t){(t=t||c.get.variation())&&c.has.popup()&&(c.verbose("Adding variation to popup",t),u.addClass(t))},visible:function(){m.addClass(f.visible)}},remove:{loading:function(){u.removeClass(f.loading)},variation:function(t){(t=t||c.get.variation())&&(c.verbose("Removing variation",t),u.removeClass(t))},visible:function(){m.removeClass(f.visible)},attempts:function(){c.verbose("Resetting all searched positions"),w=0,y=!1}},bind:{events:function(){c.debug("Binding popup events to module"),"click"==d.on&&m.on(O+r,c.toggle),"hover"==d.on&&m.on("touchstart"+r,c.event.touchstart),c.get.startEvent()&&m.on(c.get.startEvent()+r,c.event.start).on(c.get.endEvent()+r,c.event.end),d.target&&c.debug("Target set to element",b),S.on("resize"+e,c.event.resize)},popup:function(){c.verbose("Allowing hover events on popup to prevent closing"),u&&c.has.popup()&&u.on("mouseenter"+r,c.event.start).on("mouseleave"+r,c.event.end)},close:function(){(!0===d.hideOnScroll||"auto"==d.hideOnScroll&&"click"!=d.on)&&c.bind.closeOnScroll(),c.is.closable()?c.bind.clickaway():"hover"==d.on&&P&&c.bind.touchClose()},closeOnScroll:function(){c.verbose("Binding scroll close event to document"),p.one(c.get.scrollEvent()+e,c.event.hideGracefully)},touchClose:function(){c.verbose("Binding popup touchclose event to document"),k.on("touchstart"+e,function(t){c.verbose("Touched away from popup"),c.event.hideGracefully.call(C,t)})},clickaway:function(){c.verbose("Binding popup close event to document"),k.on(O+e,function(t){c.verbose("Clicked away from popup"),c.event.hideGracefully.call(C,t)})}},unbind:{events:function(){S.off(e),m.off(r)},close:function(){k.off(e),p.off(e)}},has:{popup:function(){return u&&0<u.length}},should:{centerArrow:function(t){return!c.is.basic()&&t.target.width<=2*d.arrowPixelsFromEdge}},is:{closable:function(){return"auto"==d.closable?"hover"!=d.on:d.closable},offstage:function(t,o){var n=[];return V.each(t,function(t,e){e<-d.jitter&&(c.debug("Position exceeds allowable distance from edge",t,e,o),n.push(t))}),0<n.length},svg:function(t){return c.supports.svg()&&t instanceof SVGGraphicsElement},basic:function(){return m.hasClass(f.basic)},active:function(){return m.hasClass(f.active)},animating:function(){return u!==z&&u.hasClass(f.animating)},fluid:function(){return u!==z&&u.hasClass(f.fluid)},visible:function(){return u!==z&&u.hasClass(f.popupVisible)},dropdown:function(){return m.hasClass(f.dropdown)},hidden:function(){return!c.is.visible()},rtl:function(){return"rtl"===m.attr("dir")||"rtl"===m.css("direction")}},reset:function(){c.remove.visible(),d.preserve?V.fn.transition!==z&&u.transition("remove transition"):c.removePopup()},setting:function(t,e){if(V.isPlainObject(t))V.extend(!0,d,t);else{if(e===z)return d[t];d[t]=e}},internal:function(t,e){if(V.isPlainObject(t))V.extend(!0,c,t);else{if(e===z)return c[t];c[t]=e}},debug:function(){!d.silent&&d.debug&&(d.performance?c.performance.log(arguments):(c.debug=Function.prototype.bind.call(console.info,console,d.name+":"),c.debug.apply(console,arguments)))},verbose:function(){!d.silent&&d.verbose&&d.debug&&(d.performance?c.performance.log(arguments):(c.verbose=Function.prototype.bind.call(console.info,console,d.name+":"),c.verbose.apply(console,arguments)))},error:function(){d.silent||(c.error=Function.prototype.bind.call(console.error,console,d.name+":"),c.error.apply(console,arguments))},performance:{log:function(t){var e,o;d.performance&&(o=(e=(new Date).getTime())-(D||e),D=e,j.push({Name:t[0],Arguments:[].slice.call(t,1)||"",Element:C,"Execution Time":o})),clearTimeout(c.performance.timer),c.performance.timer=setTimeout(c.performance.display,500)},display:function(){var t=d.name+":",o=0;D=!1,clearTimeout(c.performance.timer),V.each(j,function(t,e){o+=e["Execution Time"]}),t+=" "+o+"ms",F&&(t+=" '"+F+"'"),(console.group!==z||console.table!==z)&&0<j.length&&(console.groupCollapsed(t),console.table?console.table(j):V.each(j,function(t,e){console.log(e.Name+": "+e["Execution Time"]+"ms")}),console.groupEnd()),j=[]}},invoke:function(n,t,e){var i,r,o,a=T;return t=t||N,e=C||e,"string"==typeof n&&a!==z&&(n=n.split(/[\. ]/),i=n.length-1,V.each(n,function(t,e){var o=t!=i?e+n[t+1].charAt(0).toUpperCase()+n[t+1].slice(1):n;if(V.isPlainObject(a[o])&&t!=i)a=a[o];else{if(a[o]!==z)return r=a[o],!1;if(!V.isPlainObject(a[e])||t==i)return a[e]!==z&&(r=a[e]),!1;a=a[e]}})),V.isFunction(r)?o=r.apply(e,t):r!==z&&(o=r),Array.isArray(E)?E.push(o):E!==z?E=[E,o]:o!==z&&(E=o),r}},H?(T===z&&c.initialize(),c.invoke(R)):(T!==z&&T.invoke("destroy"),c.initialize())}),E!==z?E:this},V.fn.popup.settings={name:"Popup",silent:!1,debug:!1,verbose:!1,performance:!0,namespace:"popup",observeChanges:!0,onCreate:function(){},onRemove:function(){},onShow:function(){},onVisible:function(){},onHide:function(){},onUnplaceable:function(){},onHidden:function(){},on:"hover",boundary:W,addTouchEvents:!0,position:"top left",forcePosition:!1,variation:"",movePopup:!0,target:!1,popup:!1,inline:!1,preserve:!1,hoverable:!1,content:!1,html:!1,title:!1,closable:!0,hideOnScroll:"auto",exclusive:!1,context:"body",scrollContext:W,prefer:"opposite",lastResort:!1,arrowPixelsFromEdge:20,delay:{show:50,hide:70},setFluidWidth:!0,duration:200,transition:"scale",distanceAway:0,jitter:2,offset:0,maxSearchDepth:15,error:{invalidPosition:"The position you specified is not a valid position",cannotPlace:"Popup does not fit within the boundaries of the viewport",method:"The method you called is not defined.",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",notFound:"The target or popup you specified does not exist on the page"},metadata:{activator:"activator",content:"content",html:"html",offset:"offset",position:"position",title:"title",variation:"variation"},className:{active:"active",basic:"basic",animating:"animating",dropdown:"dropdown",fluid:"fluid",loading:"loading",popup:"ui popup",position:"top left center bottom right",visible:"visible",popupVisible:"visible"},selector:{popup:".ui.popup"},templates:{escape:function(t){var e={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(t)?(t=t.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;")).replace(/[<>"'`]/g,function(t){return e[t]}):t},popup:function(t){var e="",o=V.fn.popup.settings.templates.escape;return typeof t!==z&&(typeof t.title!==z&&t.title&&(t.title=o(t.title),e+='<div class="header">'+t.title+"</div>"),typeof t.content!==z&&t.content&&(t.content=o(t.content),e+='<div class="content">'+t.content+"</div>")),e}}}}(jQuery,window,document);;
 /*
 * # Fomantic UI - 2.8.4
 * https://github.com/fomantic/Fomantic-UI
 * http://fomantic-ui.com/
 *
 * Copyright 2014 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
!function(_,ee,te,ne){"use strict";_.isFunction=_.isFunction||function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},ee=void 0!==ee&&ee.Math==Math?ee:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),_.fn.dropdown=function(j){var U,B=_(this),K=_(te),W=B.selector||"",Q="ontouchstart"in te.documentElement,Y=Q?"touchstart":"click",$=(new Date).getTime(),X=[],G=j,J="string"==typeof G,Z=[].slice.call(arguments,1);return B.each(function(n){var c,e,t,i,a,o,s,r,h,f=_.isPlainObject(j)?_.extend(!0,{},_.fn.dropdown.settings,j):_.extend({},_.fn.dropdown.settings),g=f.className,u=f.message,l=f.fields,p=f.keys,b=f.metadata,d=f.namespace,v=f.regExp,w=f.selector,m=f.error,C=f.templates,x="."+d,y="module-"+d,S=_(this),A=_(f.context),T=S.find(w.text),L=S.find(w.search),I=S.find(w.sizer),D=S.find(w.input),k=S.find(w.icon),q=S.find(w.clearIcon),R=0<S.prev().find(w.text).length?S.prev().find(w.text):S.prev(),O=S.children(w.menu),E=O.find(w.item),V=f.hideDividers?E.parent().children(w.divider):_(),M=!1,z=!1,F=!1,P=!1,N=this,H=S.data(y);h={initialize:function(){h.debug("Initializing dropdown",f),h.is.alreadySetup()?h.setup.reference():(f.ignoreDiacritics&&!String.prototype.normalize&&(f.ignoreDiacritics=!1,h.error(m.noNormalize,N)),h.setup.layout(),f.values&&h.change.values(f.values),h.refreshData(),h.save.defaults(),h.restore.selected(),h.create.id(),h.bind.events(),h.observeChanges(),h.instantiate())},instantiate:function(){h.verbose("Storing instance of dropdown",h),H=h,S.data(y,h)},destroy:function(){h.verbose("Destroying previous dropdown",S),h.remove.tabbable(),h.remove.active(),O.transition("stop all"),O.removeClass(g.visible).addClass(g.hidden),S.off(x).removeData(y),O.off(x),K.off(a),h.disconnect.menuObserver(),h.disconnect.selectObserver()},observeChanges:function(){"MutationObserver"in ee&&(s=new MutationObserver(h.event.select.mutation),r=new MutationObserver(h.event.menu.mutation),h.debug("Setting up mutation observer",s,r),h.observe.select(),h.observe.menu())},disconnect:{menuObserver:function(){r&&r.disconnect()},selectObserver:function(){s&&s.disconnect()}},observe:{select:function(){h.has.input()&&s&&s.observe(S[0],{childList:!0,subtree:!0})},menu:function(){h.has.menu()&&r&&r.observe(O[0],{childList:!0,subtree:!0})}},create:{id:function(){o=(Math.random().toString(16)+"000000000").substr(2,8),a="."+o,h.verbose("Creating unique id for element",o)},userChoice:function(e){var n,i,a;return!!(e=e||h.get.userValues())&&(e=Array.isArray(e)?e:[e],_.each(e,function(e,t){!1===h.get.item(t)&&(a=f.templates.addition(h.add.variables(u.addResult,t)),i=_("<div />").html(a).attr("data-"+b.value,t).attr("data-"+b.text,t).addClass(g.addition).addClass(g.item),f.hideAdditions&&i.addClass(g.hidden),n=n===ne?i:n.add(i),h.verbose("Creating user choices for value",t,i))}),n)},userLabels:function(e){var t=h.get.userValues();t&&(h.debug("Adding user labels",t),_.each(t,function(e,t){h.verbose("Adding custom user value"),h.add.label(t,t)}))},menu:function(){O=_("<div />").addClass(g.menu).appendTo(S)},sizer:function(){I=_("<span />").addClass(g.sizer).insertAfter(L)}},search:function(e){e=e!==ne?e:h.get.query(),h.verbose("Searching for query",e),h.has.minCharacters(e)?h.filter(e):h.hide(null,!0)},select:{firstUnfiltered:function(){h.verbose("Selecting first non-filtered element"),h.remove.selectedItem(),E.not(w.unselectable).not(w.addition+w.hidden).eq(0).addClass(g.selected)},nextAvailable:function(e){var t=(e=e.eq(0)).nextAll(w.item).not(w.unselectable).eq(0),n=e.prevAll(w.item).not(w.unselectable).eq(0);0<t.length?(h.verbose("Moving selection to",t),t.addClass(g.selected)):(h.verbose("Moving selection to",n),n.addClass(g.selected))}},setup:{api:function(){var e={debug:f.debug,urlData:{value:h.get.value(),query:h.get.query()},on:!1};h.verbose("First request, initializing API"),S.api(e)},layout:function(){S.is("select")&&(h.setup.select(),h.setup.returnedObject()),h.has.menu()||h.create.menu(),h.is.selection()&&h.is.clearable()&&!h.has.clearItem()&&(h.verbose("Adding clear icon"),q=_("<i />").addClass("remove icon").insertBefore(T)),h.is.search()&&!h.has.search()&&(h.verbose("Adding search input"),L=_("<input />").addClass(g.search).prop("autocomplete","off").insertBefore(T)),h.is.multiple()&&h.is.searchSelection()&&!h.has.sizer()&&h.create.sizer(),f.allowTab&&h.set.tabbable()},select:function(){var e=h.get.selectValues();h.debug("Dropdown initialized on a select",e),S.is("select")&&(D=S),0<D.parent(w.dropdown).length?(h.debug("UI dropdown already exists. Creating dropdown menu only"),S=D.closest(w.dropdown),h.has.menu()||h.create.menu(),O=S.children(w.menu),h.setup.menu(e)):(h.debug("Creating entire dropdown from select"),S=_("<div />").attr("class",D.attr("class")).addClass(g.selection).addClass(g.dropdown).html(C.dropdown(e,l,f.preserveHTML,f.className)).insertBefore(D),D.hasClass(g.multiple)&&!1===D.prop("multiple")&&(h.error(m.missingMultiple),D.prop("multiple",!0)),D.is("[multiple]")&&h.set.multiple(),D.prop("disabled")&&(h.debug("Disabling dropdown"),S.addClass(g.disabled)),D.removeAttr("required").removeAttr("class").detach().prependTo(S)),h.refresh()},menu:function(e){O.html(C.menu(e,l,f.preserveHTML,f.className)),E=O.find(w.item),V=f.hideDividers?E.parent().children(w.divider):_()},reference:function(){h.debug("Dropdown behavior was called on select, replacing with closest dropdown"),S=S.parent(w.dropdown),H=S.data(y),N=S.get(0),h.refresh(),h.setup.returnedObject()},returnedObject:function(){var e=B.slice(0,n),t=B.slice(n+1);B=e.add(S).add(t)}},refresh:function(){h.refreshSelectors(),h.refreshData()},refreshItems:function(){E=O.find(w.item),V=f.hideDividers?E.parent().children(w.divider):_()},refreshSelectors:function(){h.verbose("Refreshing selector cache"),T=S.find(w.text),L=S.find(w.search),D=S.find(w.input),k=S.find(w.icon),R=0<S.prev().find(w.text).length?S.prev().find(w.text):S.prev(),O=S.children(w.menu),E=O.find(w.item),V=f.hideDividers?E.parent().children(w.divider):_()},refreshData:function(){h.verbose("Refreshing cached metadata"),E.removeData(b.text).removeData(b.value)},clearData:function(){h.verbose("Clearing metadata"),E.removeData(b.text).removeData(b.value),S.removeData(b.defaultText).removeData(b.defaultValue).removeData(b.placeholderText)},toggle:function(){h.verbose("Toggling menu visibility"),h.is.active()?h.hide():h.show()},show:function(e,t){if(e=_.isFunction(e)?e:function(){},!h.can.show()&&h.is.remote()&&(h.debug("No API results retrieved, searching before show"),h.queryRemote(h.get.query(),h.show)),h.can.show()&&!h.is.active()){if(h.debug("Showing dropdown"),!h.has.message()||h.has.maxSelections()||h.has.allResultsFiltered()||h.remove.message(),h.is.allFiltered())return!0;!1!==f.onShow.call(N)&&h.animate.show(function(){h.can.click()&&h.bind.intent(),h.has.search()&&!t&&h.focusSearch(),h.set.visible(),e.call(N)})}},hide:function(e,t){e=_.isFunction(e)?e:function(){},h.is.active()&&!h.is.animatingOutward()?(h.debug("Hiding dropdown"),!1!==f.onHide.call(N)&&h.animate.hide(function(){h.remove.visible(),h.is.focusedOnSearch()&&!0!==t&&L.blur(),e.call(N)})):h.can.click()&&h.unbind.intent()},hideOthers:function(){h.verbose("Finding other dropdowns to hide"),B.not(S).has(w.menu+"."+g.visible).dropdown("hide")},hideMenu:function(){h.verbose("Hiding menu  instantaneously"),h.remove.active(),h.remove.visible(),O.transition("hide")},hideSubMenus:function(){var e=O.children(w.item).find(w.menu);h.verbose("Hiding sub menus",e),e.transition("hide")},bind:{events:function(){h.bind.keyboardEvents(),h.bind.inputEvents(),h.bind.mouseEvents()},keyboardEvents:function(){h.verbose("Binding keyboard events"),S.on("keydown"+x,h.event.keydown),h.has.search()&&S.on(h.get.inputEvent()+x,w.search,h.event.input),h.is.multiple()&&K.on("keydown"+a,h.event.document.keydown)},inputEvents:function(){h.verbose("Binding input change events"),S.on("change"+x,w.input,h.event.change)},mouseEvents:function(){h.verbose("Binding mouse events"),h.is.multiple()&&S.on(Y+x,w.label,h.event.label.click).on(Y+x,w.remove,h.event.remove.click),h.is.searchSelection()?(S.on("mousedown"+x,h.event.mousedown).on("mouseup"+x,h.event.mouseup).on("mousedown"+x,w.menu,h.event.menu.mousedown).on("mouseup"+x,w.menu,h.event.menu.mouseup).on(Y+x,w.icon,h.event.icon.click).on(Y+x,w.clearIcon,h.event.clearIcon.click).on("focus"+x,w.search,h.event.search.focus).on(Y+x,w.search,h.event.search.focus).on("blur"+x,w.search,h.event.search.blur).on(Y+x,w.text,h.event.text.focus),h.is.multiple()&&S.on(Y+x,h.event.click)):("click"==f.on?S.on(Y+x,w.icon,h.event.icon.click).on(Y+x,h.event.test.toggle):"hover"==f.on?S.on("mouseenter"+x,h.delay.show).on("mouseleave"+x,h.delay.hide):S.on(f.on+x,h.toggle),S.on("mousedown"+x,h.event.mousedown).on("mouseup"+x,h.event.mouseup).on("focus"+x,h.event.focus).on(Y+x,w.clearIcon,h.event.clearIcon.click),h.has.menuSearch()?S.on("blur"+x,w.search,h.event.search.blur):S.on("blur"+x,h.event.blur)),O.on((Q?"touchstart":"mouseenter")+x,w.item,h.event.item.mouseenter).on("mouseleave"+x,w.item,h.event.item.mouseleave).on("click"+x,w.item,h.event.item.click)},intent:function(){h.verbose("Binding hide intent event to document"),Q&&K.on("touchstart"+a,h.event.test.touch).on("touchmove"+a,h.event.test.touch),K.on(Y+a,h.event.test.hide)}},unbind:{intent:function(){h.verbose("Removing hide intent event from document"),Q&&K.off("touchstart"+a).off("touchmove"+a),K.off(Y+a)}},filter:function(e){function t(){h.is.multiple()&&h.filterActive(),(e||!e&&0==h.get.activeItem().length)&&h.select.firstUnfiltered(),h.has.allResultsFiltered()?f.onNoResults.call(N,n)?f.allowAdditions?f.hideAdditions&&(h.verbose("User addition with no menu, setting empty style"),h.set.empty(),h.hideMenu()):(h.verbose("All items filtered, showing message",n),h.add.message(u.noResults)):(h.verbose("All items filtered, hiding dropdown",n),h.hideMenu()):(h.remove.empty(),h.remove.message()),f.allowAdditions&&h.add.userSuggestion(h.escape.htmlEntities(e)),h.is.searchSelection()&&h.can.show()&&h.is.focusedOnSearch()&&h.show()}var n=e!==ne?e:h.get.query();f.useLabels&&h.has.maxSelections()||(f.apiSettings?h.can.useAPI()?h.queryRemote(n,function(){f.filterRemoteData&&h.filterItems(n);var e=D.val();Array.isArray(e)||(e=e&&""!==e?e.split(f.delimiter):[]),_.each(e,function(e,t){E.filter('[data-value="'+t+'"]').addClass(g.filtered)}),t()}):h.error(m.noAPI):(h.filterItems(n),t()))},queryRemote:function(e,n){var t={errorDuration:!1,cache:"local",throttle:f.throttle,urlData:{query:e},onError:function(){h.add.message(u.serverError),n()},onFailure:function(){h.add.message(u.serverError),n()},onSuccess:function(e){var t=e[l.remoteValues];Array.isArray(t)||(t=[]),h.remove.message(),h.setup.menu({values:t}),0!==t.length||f.allowAdditions||h.add.message(u.noResults),n()}};S.api("get request")||h.setup.api(),t=_.extend(!0,{},t,f.apiSettings),S.api("setting",t).api("query")},filterItems:function(e){var i=h.remove.diacritics(e!==ne?e:h.get.query()),a=null,t=h.escape.string(i),n=(f.ignoreSearchCase?"i":"")+"gm",o=new RegExp("^"+t,n);h.has.query()&&(a=[],h.verbose("Searching for matching values",i),E.each(function(){var e,t,n=_(this);if(n.hasClass(g.unfilterable))return a.push(this),!0;if("both"===f.match||"text"===f.match){if(-1!==(e=h.remove.diacritics(String(h.get.choiceText(n,!1)))).search(o))return a.push(this),!0;if("exact"===f.fullTextSearch&&h.exactSearch(i,e))return a.push(this),!0;if(!0===f.fullTextSearch&&h.fuzzySearch(i,e))return a.push(this),!0}if("both"===f.match||"value"===f.match){if(-1!==(t=h.remove.diacritics(String(h.get.choiceValue(n,e)))).search(o))return a.push(this),!0;if("exact"===f.fullTextSearch&&h.exactSearch(i,t))return a.push(this),!0;if(!0===f.fullTextSearch&&h.fuzzySearch(i,t))return a.push(this),!0}})),h.debug("Showing only matched items",i),h.remove.filteredItem(),a&&E.not(a).addClass(g.filtered),h.has.query()?!0===f.hideDividers?V.addClass(g.hidden):"empty"===f.hideDividers&&V.removeClass(g.hidden).filter(function(){var e=_(this).nextUntil(w.item);return 0===(e.length?e:_(this)).nextUntil(w.divider).filter(w.item+":not(."+g.filtered+")").length}).addClass(g.hidden):V.removeClass(g.hidden)},fuzzySearch:function(e,t){var n=t.length,i=e.length;if(e=f.ignoreSearchCase?e.toLowerCase():e,t=f.ignoreSearchCase?t.toLowerCase():t,n<i)return!1;if(i===n)return e===t;e:for(var a=0,o=0;a<i;a++){for(var s=e.charCodeAt(a);o<n;)if(t.charCodeAt(o++)===s)continue e;return!1}return!0},exactSearch:function(e,t){return e=f.ignoreSearchCase?e.toLowerCase():e,-1<(t=f.ignoreSearchCase?t.toLowerCase():t).indexOf(e)},filterActive:function(){f.useLabels&&E.filter("."+g.active).addClass(g.filtered)},focusSearch:function(e){h.has.search()&&!h.is.focusedOnSearch()&&(e?(S.off("focus"+x,w.search),L.focus(),S.on("focus"+x,w.search,h.event.search.focus)):L.focus())},blurSearch:function(){h.has.search()&&L.blur()},forceSelection:function(){var e=E.not(g.filtered).filter("."+g.selected).eq(0),t=E.not(g.filtered).filter("."+g.active).eq(0),n=0<e.length?e:t,i=0<n.length;f.allowAdditions||i&&!h.is.multiple()?(h.debug("Forcing partial selection to selected item",n),h.event.item.click.call(n,{},!0)):h.remove.searchTerm()},change:{values:function(e){f.allowAdditions||h.clear(),h.debug("Creating dropdown with specified values",e),h.setup.menu({values:e}),_.each(e,function(e,t){if(1==t.selected&&(h.debug("Setting initial selection to",t[l.value]),h.set.selected(t[l.value]),!h.is.multiple()))return!1}),h.has.selectInput()&&(h.disconnect.selectObserver(),D.html(""),D.append("<option disabled selected value></option>"),_.each(e,function(e,t){var n=f.templates.deQuote(t[l.value]),i=f.templates.escape(t[l.name]||"",f.preserveHTML);D.append('<option value="'+n+'">'+i+"</option>")}),h.observe.select())}},event:{change:function(){F||(h.debug("Input changed, updating selection"),h.set.selected())},focus:function(){f.showOnFocus&&!M&&h.is.hidden()&&!t&&h.show()},blur:function(e){t=te.activeElement===this,M||t||(h.remove.activeLabel(),h.hide())},mousedown:function(){h.is.searchSelection()?i=!0:M=!0},mouseup:function(){h.is.searchSelection()?i=!1:M=!1},click:function(e){_(e.target).is(S)&&(h.is.focusedOnSearch()?h.show():h.focusSearch())},search:{focus:function(e){M=!0,h.is.multiple()&&h.remove.activeLabel(),(f.showOnFocus||"focus"!==e.type&&"focusin"!==e.type)&&h.search()},blur:function(e){t=te.activeElement===this,h.is.searchSelection()&&!i&&(z||t||(f.forceSelection?h.forceSelection():f.allowAdditions||h.remove.searchTerm(),h.hide())),i=!1}},clearIcon:{click:function(e){h.clear(),h.is.searchSelection()&&h.remove.searchTerm(),h.hide(),e.stopPropagation()}},icon:{click:function(e){P=!0,h.has.search()?h.is.active()?h.blurSearch():f.showOnFocus?h.focusSearch():h.toggle():h.toggle()}},text:{focus:function(e){M=!0,h.focusSearch()}},input:function(e){(h.is.multiple()||h.is.searchSelection())&&h.set.filtered(),clearTimeout(h.timer),h.timer=setTimeout(h.search,f.delay.search)},label:{click:function(e){var t=_(this),n=S.find(w.label),i=n.filter("."+g.active),a=t.nextAll("."+g.active),o=t.prevAll("."+g.active),s=0<a.length?t.nextUntil(a).add(i).add(t):t.prevUntil(o).add(i).add(t);e.shiftKey?(i.removeClass(g.active),s.addClass(g.active)):e.ctrlKey?t.toggleClass(g.active):(i.removeClass(g.active),t.addClass(g.active)),f.onLabelSelect.apply(this,n.filter("."+g.active))}},remove:{click:function(){var e=_(this).parent();e.hasClass(g.active)?h.remove.activeLabels():h.remove.activeLabels(e)}},test:{toggle:function(e){var t=h.is.multiple()?h.show:h.toggle;h.is.bubbledLabelClick(e)||h.is.bubbledIconClick(e)||h.determine.eventOnElement(e,t)&&e.preventDefault()},touch:function(e){h.determine.eventOnElement(e,function(){"touchstart"==e.type?h.timer=setTimeout(function(){h.hide()},f.delay.touch):"touchmove"==e.type&&clearTimeout(h.timer)}),e.stopPropagation()},hide:function(e){h.determine.eventInModule(e,h.hide)&&N.id&&_(e.target).attr("for")===N.id&&e.preventDefault()}},select:{mutation:function(e){h.debug("<select> modified, recreating menu"),h.is.selectMutation(e)&&(h.disconnect.selectObserver(),h.refresh(),h.setup.select(),h.set.selected(),h.observe.select())}},menu:{mutation:function(e){var t=e[0],n=t.addedNodes?_(t.addedNodes[0]):_(!1),i=t.removedNodes?_(t.removedNodes[0]):_(!1),a=n.add(i),o=a.is(w.addition)||0<a.closest(w.addition).length,s=a.is(w.message)||0<a.closest(w.message).length;o||s?(h.debug("Updating item selector cache"),h.refreshItems()):(h.debug("Menu modified, updating selector cache"),h.refresh())},mousedown:function(){z=!0},mouseup:function(){z=!1}},item:{mouseenter:function(e){var t=_(e.target),n=_(this),i=n.children(w.menu),a=n.siblings(w.item).children(w.menu),o=0<i.length;0<i.find(t).length||!o||(clearTimeout(h.itemTimer),h.itemTimer=setTimeout(function(){h.verbose("Showing sub-menu",i),_.each(a,function(){h.animate.hide(!1,_(this))}),h.animate.show(!1,i)},f.delay.show),e.preventDefault())},mouseleave:function(e){var t=_(this).children(w.menu);0<t.length&&(clearTimeout(h.itemTimer),h.itemTimer=setTimeout(function(){h.verbose("Hiding sub-menu",t),h.animate.hide(!1,t)},f.delay.hide))},click:function(e,t){var n=_(this),i=_(e?e.target:""),a=n.find(w.menu),o=h.get.choiceText(n),s=h.get.choiceValue(n,o),r=0<a.length,l=0<a.find(i).length;"input"!==te.activeElement.tagName.toLowerCase()&&_(te.activeElement).blur(),l||r&&!f.allowCategorySelection||(h.is.searchSelection()&&(f.allowAdditions&&h.remove.userAddition(),h.remove.searchTerm(),h.is.focusedOnSearch()||1==t||h.focusSearch(!0)),f.useLabels||(h.remove.filteredItem(),h.set.scrollPosition(n)),h.determine.selectAction.call(this,o,s))}},document:{keydown:function(e){var t=e.which;if(h.is.inObject(t,p)){var n=S.find(w.label),i=n.filter("."+g.active),a=(i.data(b.value),n.index(i)),o=n.length,s=0<i.length,r=1<i.length,l=0===a,c=a+1==o,u=h.is.searchSelection(),d=h.is.focusedOnSearch(),v=h.is.focused(),m=d&&0===h.get.caretPosition(!1),f=m&&0!==h.get.caretPosition(!0);if(u&&!s&&!d)return;t==p.leftArrow?!v&&!m||s?s&&(e.shiftKey?h.verbose("Adding previous label to selection"):(h.verbose("Selecting previous label"),n.removeClass(g.active)),l&&!r?i.addClass(g.active):i.prev(w.siblingLabel).addClass(g.active).end(),e.preventDefault()):(h.verbose("Selecting previous label"),n.last().addClass(g.active)):t==p.rightArrow?(v&&!s&&n.first().addClass(g.active),s&&(e.shiftKey?h.verbose("Adding next label to selection"):(h.verbose("Selecting next label"),n.removeClass(g.active)),c?u?d?n.removeClass(g.active):h.focusSearch():r?i.next(w.siblingLabel).addClass(g.active):i.addClass(g.active):i.next(w.siblingLabel).addClass(g.active),e.preventDefault())):t==p.deleteKey||t==p.backspace?s?(h.verbose("Removing active labels"),c&&u&&!d&&h.focusSearch(),i.last().next(w.siblingLabel).addClass(g.active),h.remove.activeLabels(i),e.preventDefault()):!m||f||s||t!=p.backspace||(h.verbose("Removing last label on input backspace"),i=n.last().addClass(g.active),h.remove.activeLabels(i)):i.removeClass(g.active)}}},keydown:function(e){var t=e.which;if(h.is.inObject(t,p)){var n,i=E.not(w.unselectable).filter("."+g.selected).eq(0),a=O.children("."+g.active).eq(0),o=0<i.length?i:a,s=0<o.length?o.siblings(":not(."+g.filtered+")").addBack():O.children(":not(."+g.filtered+")"),r=o.children(w.menu),l=o.closest(w.menu),c=l.hasClass(g.visible)||l.hasClass(g.animating)||0<l.parent(w.menu).length,u=0<r.length,d=0<o.length,v=0<o.not(w.unselectable).length,m=t==p.delimiter&&f.allowAdditions&&h.is.multiple();if(f.allowAdditions&&f.hideAdditions&&(t==p.enter||m)&&v&&(h.verbose("Selecting item from keyboard shortcut",o),h.event.item.click.call(o,e),h.is.searchSelection()&&h.remove.searchTerm(),h.is.multiple()&&e.preventDefault()),h.is.visible()){if(t!=p.enter&&!m||(t==p.enter&&d&&u&&!f.allowCategorySelection?(h.verbose("Pressed enter on unselectable category, opening sub menu"),t=p.rightArrow):v&&(h.verbose("Selecting item from keyboard shortcut",o),h.event.item.click.call(o,e),h.is.searchSelection()&&(h.remove.searchTerm(),h.is.multiple()&&L.focus())),e.preventDefault()),d&&(t==p.leftArrow&&l[0]!==O[0]&&(h.verbose("Left key pressed, closing sub-menu"),h.animate.hide(!1,l),o.removeClass(g.selected),l.closest(w.item).addClass(g.selected),e.preventDefault()),t==p.rightArrow&&u&&(h.verbose("Right key pressed, opening sub-menu"),h.animate.show(!1,r),o.removeClass(g.selected),r.find(w.item).eq(0).addClass(g.selected),e.preventDefault())),t==p.upArrow){if(n=d&&c?o.prevAll(w.item+":not("+w.unselectable+")").eq(0):E.eq(0),s.index(n)<0)return h.verbose("Up key pressed but reached top of current menu"),void e.preventDefault();h.verbose("Up key pressed, changing active item"),o.removeClass(g.selected),n.addClass(g.selected),h.set.scrollPosition(n),f.selectOnKeydown&&h.is.single()&&h.set.selectedItem(n),e.preventDefault()}if(t==p.downArrow){if(0===(n=d&&c?n=o.nextAll(w.item+":not("+w.unselectable+")").eq(0):E.eq(0)).length)return h.verbose("Down key pressed but reached bottom of current menu"),void e.preventDefault();h.verbose("Down key pressed, changing active item"),E.removeClass(g.selected),n.addClass(g.selected),h.set.scrollPosition(n),f.selectOnKeydown&&h.is.single()&&h.set.selectedItem(n),e.preventDefault()}t==p.pageUp&&(h.scrollPage("up"),e.preventDefault()),t==p.pageDown&&(h.scrollPage("down"),e.preventDefault()),t==p.escape&&(h.verbose("Escape key pressed, closing dropdown"),h.hide())}else m&&e.preventDefault(),t!=p.downArrow||h.is.visible()||(h.verbose("Down key pressed, showing dropdown"),h.show(),e.preventDefault())}else h.has.search()||h.set.selectedLetter(String.fromCharCode(t))}},trigger:{change:function(){var e=te.createEvent("HTMLEvents"),t=D[0];t&&(h.verbose("Triggering native change event"),e.initEvent("change",!0,!1),t.dispatchEvent(e))}},determine:{selectAction:function(e,t){c=!0,h.verbose("Determining action",f.action),_.isFunction(h.action[f.action])?(h.verbose("Triggering preset action",f.action,e,t),h.action[f.action].call(N,e,t,this)):_.isFunction(f.action)?(h.verbose("Triggering user action",f.action,e,t),f.action.call(N,e,t,this)):h.error(m.action,f.action),c=!1},eventInModule:function(e,t){var n=_(e.target),i=0<n.closest(te.documentElement).length,a=0<n.closest(S).length;return t=_.isFunction(t)?t:function(){},i&&!a?(h.verbose("Triggering event",t),t(),!0):(h.verbose("Event occurred in dropdown, canceling callback"),!1)},eventOnElement:function(e,t){var n=_(e.target),i=n.closest(w.siblingLabel),a=te.body.contains(e.target),o=0===S.find(i).length||!(h.is.multiple()&&f.useLabels),s=0===n.closest(O).length;return t=_.isFunction(t)?t:function(){},a&&o&&s?(h.verbose("Triggering event",t),t(),!0):(h.verbose("Event occurred in dropdown menu, canceling callback"),!1)}},action:{nothing:function(){},activate:function(e,t,n){t=t!==ne?t:e,h.can.activate(_(n))&&(h.set.selected(t,_(n)),h.is.multiple()||h.hideAndClear())},select:function(e,t,n){t=t!==ne?t:e,h.can.activate(_(n))&&(h.set.value(t,e,_(n)),h.is.multiple()||h.hideAndClear())},combo:function(e,t,n){t=t!==ne?t:e,h.set.selected(t,_(n)),h.hideAndClear()},hide:function(e,t,n){h.set.value(t,e,_(n)),h.hideAndClear()}},get:{id:function(){return o},defaultText:function(){return S.data(b.defaultText)},defaultValue:function(){return S.data(b.defaultValue)},placeholderText:function(){return"auto"!=f.placeholder&&"string"==typeof f.placeholder?f.placeholder:S.data(b.placeholderText)||""},text:function(){return T.text()},query:function(){return _.trim(L.val())},searchWidth:function(e){return e=e!==ne?e:L.val(),I.text(e),Math.ceil(I.width()+1)},selectionCount:function(){var e=h.get.values();return h.is.multiple()?Array.isArray(e)?e.length:0:""!==h.get.value()?1:0},transition:function(e){return"auto"==f.transition?h.is.upward(e)?"slide up":"slide down":f.transition},userValues:function(){var e=h.get.values();return!!e&&(e=Array.isArray(e)?e:[e],_.grep(e,function(e){return!1===h.get.item(e)}))},uniqueArray:function(n){return _.grep(n,function(e,t){return _.inArray(e,n)===t})},caretPosition:function(e){var t,n,i=L.get(0);return e&&"selectionEnd"in i?i.selectionEnd:!e&&"selectionStart"in i?i.selectionStart:te.selection?(i.focus(),n=(t=te.selection.createRange()).text.length,e?n:(t.moveStart("character",-i.value.length),t.text.length-n)):void 0},value:function(){var e=0<D.length?D.val():S.data(b.value),t=Array.isArray(e)&&1===e.length&&""===e[0];return e===ne||t?"":e},values:function(){var e=h.get.value();return""===e?"":!h.has.selectInput()&&h.is.multiple()?"string"==typeof e?h.escape.htmlEntities(e).split(f.delimiter):"":e},remoteValues:function(){var e=h.get.values(),i=!1;return e&&("string"==typeof e&&(e=[e]),_.each(e,function(e,t){var n=h.read.remoteData(t);h.verbose("Restoring value from session data",n,t),n&&((i=i||{})[t]=n)})),i},choiceText:function(e,t){if(t=t!==ne?t:f.preserveHTML,e)return 0<e.find(w.menu).length&&(h.verbose("Retrieving text of element with sub-menu"),(e=e.clone()).find(w.menu).remove(),e.find(w.menuIcon).remove()),e.data(b.text)!==ne?e.data(b.text):t?_.trim(e.html()):_.trim(e.text())},choiceValue:function(e,t){return t=t||h.get.choiceText(e),!!e&&(e.data(b.value)!==ne?String(e.data(b.value)):"string"==typeof t?_.trim(f.ignoreSearchCase?t.toLowerCase():t):String(t))},inputEvent:function(){var e=L[0];return!!e&&(e.oninput!==ne?"input":e.onpropertychange!==ne?"propertychange":"keyup")},selectValues:function(){var s={},r=[];return s.values=[],S.find("option").each(function(){var e=_(this),t=e.html(),n=e.attr("disabled"),i=e.attr("value")!==ne?e.attr("value"):t,a=e.data(b.text)!==ne?e.data(b.text):t,o=e.parent("optgroup");"auto"===f.placeholder&&""===i?s.placeholder=t:(o.length===r.length&&o[0]===r[0]||(s.values.push({type:"header",divider:f.headerDivider,name:o.attr("label")||""}),r=o),s.values.push({name:t,value:i,text:a,disabled:n}))}),f.placeholder&&"auto"!==f.placeholder&&(h.debug("Setting placeholder value to",f.placeholder),s.placeholder=f.placeholder),f.sortSelect?(!0===f.sortSelect?s.values.sort(function(e,t){return e.name.localeCompare(t.name)}):"natural"===f.sortSelect?s.values.sort(function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())}):_.isFunction(f.sortSelect)&&s.values.sort(f.sortSelect),h.debug("Retrieved and sorted values from select",s)):h.debug("Retrieved values from select",s),s},activeItem:function(){return E.filter("."+g.active)},selectedItem:function(){var e=E.not(w.unselectable).filter("."+g.selected);return 0<e.length?e:E.eq(0)},itemWithAdditions:function(e){var t=h.get.item(e),n=h.create.userChoice(e);return n&&0<n.length&&(t=0<t.length?t.add(n):n),t},item:function(i,a){var e,o,s=!1;return i=i!==ne?i:h.get.values()!==ne?h.get.values():h.get.text(),e=(o=h.is.multiple()&&Array.isArray(i))?0<i.length:i!==ne&&null!==i,a=""===i||!1===i||!0===i||(a||!1),e&&E.each(function(){var e=_(this),t=h.get.choiceText(e),n=h.get.choiceValue(e,t);if(null!==n&&n!==ne)if(o)-1!==_.inArray(h.escape.htmlEntities(String(n)),i.map(function(e){return String(e)}))&&(s=s?s.add(e):e);else if(a){if(h.verbose("Ambiguous dropdown value using strict type check",e,i),n===i)return s=e,!0}else if(f.ignoreCase&&(n=n.toLowerCase(),i=i.toLowerCase()),h.escape.htmlEntities(String(n))===h.escape.htmlEntities(String(i)))return h.verbose("Found select item by value",n,i),s=e,!0}),s}},check:{maxSelections:function(e){return!f.maxSelections||((e=e!==ne?e:h.get.selectionCount())>=f.maxSelections?(h.debug("Maximum selection count reached"),f.useLabels&&(E.addClass(g.filtered),h.add.message(u.maxSelections)),!0):(h.verbose("No longer at maximum selection count"),h.remove.message(),h.remove.filteredItem(),h.is.searchSelection()&&h.filterItems(),!1))}},restore:{defaults:function(e){h.clear(e),h.restore.defaultText(),h.restore.defaultValue()},defaultText:function(){var e=h.get.defaultText();e===h.get.placeholderText?(h.debug("Restoring default placeholder text",e),h.set.placeholderText(e)):(h.debug("Restoring default text",e),h.set.text(e))},placeholderText:function(){h.set.placeholderText()},defaultValue:function(){var e=h.get.defaultValue();e!==ne&&(h.debug("Restoring default value",e),""!==e?(h.set.value(e),h.set.selected()):(h.remove.activeItem(),h.remove.selectedItem()))},labels:function(){f.allowAdditions&&(f.useLabels||(h.error(m.labels),f.useLabels=!0),h.debug("Restoring selected values"),h.create.userLabels()),h.check.maxSelections()},selected:function(){h.restore.values(),h.is.multiple()?(h.debug("Restoring previously selected values and labels"),h.restore.labels()):h.debug("Restoring previously selected values")},values:function(){h.set.initialLoad(),f.apiSettings&&f.saveRemoteData&&h.get.remoteValues()?h.restore.remoteValues():h.set.selected();var e=h.get.value();!e||""===e||Array.isArray(e)&&0===e.length?D.addClass(g.noselection):D.removeClass(g.noselection),h.remove.initialLoad()},remoteValues:function(){var e=h.get.remoteValues();h.debug("Recreating selected from session data",e),e&&(h.is.single()?_.each(e,function(e,t){h.set.text(t)}):_.each(e,function(e,t){h.add.label(e,t)}))}},read:{remoteData:function(e){var t;if(ee.Storage!==ne)return(t=sessionStorage.getItem(e))!==ne&&t;h.error(m.noStorage)}},save:{defaults:function(){h.save.defaultText(),h.save.placeholderText(),h.save.defaultValue()},defaultValue:function(){var e=h.get.value();h.verbose("Saving default value as",e),S.data(b.defaultValue,e)},defaultText:function(){var e=h.get.text();h.verbose("Saving default text as",e),S.data(b.defaultText,e)},placeholderText:function(){var e;!1!==f.placeholder&&T.hasClass(g.placeholder)&&(e=h.get.text(),h.verbose("Saving placeholder text as",e),S.data(b.placeholderText,e))},remoteData:function(e,t){ee.Storage!==ne?(h.verbose("Saving remote data to session storage",t,e),sessionStorage.setItem(t,e)):h.error(m.noStorage)}},clear:function(e){h.is.multiple()&&f.useLabels?h.remove.labels():(h.remove.activeItem(),h.remove.selectedItem(),h.remove.filteredItem()),h.set.placeholderText(),h.clearValue(e)},clearValue:function(e){h.set.value("",null,null,e)},scrollPage:function(e,t){var n,i,a=t||h.get.selectedItem(),o=a.closest(w.menu),s=o.outerHeight(),r=o.scrollTop(),l=E.eq(0).outerHeight(),c=Math.floor(s/l),u=(o.prop("scrollHeight"),"up"==e?r-l*c:r+l*c),d=E.not(w.unselectable);i="up"==e?d.index(a)-c:d.index(a)+c,0<(n=("up"==e?0<=i:i<d.length)?d.eq(i):"up"==e?d.first():d.last()).length&&(h.debug("Scrolling page",e,n),a.removeClass(g.selected),n.addClass(g.selected),f.selectOnKeydown&&h.is.single()&&h.set.selectedItem(n),o.scrollTop(u))},set:{filtered:function(){var e=h.is.multiple(),t=h.is.searchSelection(),n=e&&t,i=t?h.get.query():"",a="string"==typeof i&&0<i.length,o=h.get.searchWidth(),s=""!==i;e&&a&&(h.verbose("Adjusting input width",o,f.glyphWidth),L.css("width",o)),a||n&&s?(h.verbose("Hiding placeholder text"),T.addClass(g.filtered)):e&&(!n||s)||(h.verbose("Showing placeholder text"),T.removeClass(g.filtered))},empty:function(){S.addClass(g.empty)},loading:function(){S.addClass(g.loading)},placeholderText:function(e){e=e||h.get.placeholderText(),h.debug("Setting placeholder text",e),h.set.text(e),T.addClass(g.placeholder)},tabbable:function(){h.is.searchSelection()?(h.debug("Added tabindex to searchable dropdown"),L.val("").attr("tabindex",0),O.attr("tabindex",-1)):(h.debug("Added tabindex to dropdown"),S.attr("tabindex")===ne&&(S.attr("tabindex",0),O.attr("tabindex",-1)))},initialLoad:function(){h.verbose("Setting initial load"),e=!0},activeItem:function(e){f.allowAdditions&&0<e.filter(w.addition).length?e.addClass(g.filtered):e.addClass(g.active)},partialSearch:function(e){var t=h.get.query().length;L.val(e.substr(0,t))},scrollPosition:function(e,t){var n,i,a,o,s,r;n=(e=e||h.get.selectedItem()).closest(w.menu),i=e&&0<e.length,t=t!==ne&&t,0===h.get.activeItem().length&&(t=!1),e&&0<n.length&&i&&(e.position().top,n.addClass(g.loading),a=(o=n.scrollTop())-n.offset().top+e.offset().top,t||(r=o+n.height()<a+5,s=a-5<o),h.debug("Scrolling to active item",a),(t||s||r)&&n.scrollTop(a),n.removeClass(g.loading))},text:function(e){"combo"===f.action?(h.debug("Changing combo button text",e,R),f.preserveHTML?R.html(e):R.text(e)):"activate"===f.action&&(e!==h.get.placeholderText()&&T.removeClass(g.placeholder),h.debug("Changing text",e,T),T.removeClass(g.filtered),f.preserveHTML?T.html(e):T.text(e))},selectedItem:function(e){var t=h.get.choiceValue(e),n=h.get.choiceText(e,!1),i=h.get.choiceText(e,!0);h.debug("Setting user selection to item",e),h.remove.activeItem(),h.set.partialSearch(n),h.set.activeItem(e),h.set.selected(t,e),h.set.text(i)},selectedLetter:function(e){var t,n=E.filter("."+g.selected),i=0<n.length&&h.has.firstLetter(n,e),a=!1;i&&(t=n.nextAll(E).eq(0),h.has.firstLetter(t,e)&&(a=t)),a||E.each(function(){if(h.has.firstLetter(_(this),e))return a=_(this),!1}),a&&(h.verbose("Scrolling to next value with letter",e),h.set.scrollPosition(a),n.removeClass(g.selected),a.addClass(g.selected),f.selectOnKeydown&&h.is.single()&&h.set.selectedItem(a))},direction:function(e){"auto"==f.direction?(e?h.is.upward(e)&&h.remove.upward(e):h.remove.upward(),h.can.openDownward(e)?h.remove.upward(e):h.set.upward(e),h.is.leftward(e)||h.can.openRightward(e)||h.set.leftward(e)):"upward"==f.direction&&h.set.upward(e)},upward:function(e){(e||S).addClass(g.upward)},leftward:function(e){(e||O).addClass(g.leftward)},value:function(e,t,n,i){e===ne||""===e||Array.isArray(e)&&0===e.length?D.addClass(g.noselection):D.removeClass(g.noselection);var a=h.escape.value(e),o=0<D.length,s=h.get.values(),r=e!==ne?String(e):e;if(o){if(!f.allowReselection&&r==s&&(h.verbose("Skipping value update already same value",e,s),!h.is.initialLoad()))return;h.is.single()&&h.has.selectInput()&&h.can.extendSelect()&&(h.debug("Adding user option",e),h.add.optionValue(e)),h.debug("Updating input value",a,s),F=!0,D.val(a),!1===f.fireOnInit&&h.is.initialLoad()?h.debug("Input native change event ignored on initial load"):!0!==i&&h.trigger.change(),F=!1}else h.verbose("Storing value in metadata",a,D),a!==s&&S.data(b.value,r);!1===f.fireOnInit&&h.is.initialLoad()?h.verbose("No callback on initial load",f.onChange):!0!==i&&f.onChange.call(N,e,t,n)},active:function(){S.addClass(g.active)},multiple:function(){S.addClass(g.multiple)},visible:function(){S.addClass(g.visible)},exactly:function(e,t){h.debug("Setting selected to exact values"),h.clear(),h.set.selected(e,t)},selected:function(e,r){var l=h.is.multiple();(r=f.allowAdditions?r||h.get.itemWithAdditions(e):r||h.get.item(e))&&(h.debug("Setting selected menu item to",r),h.is.multiple()&&h.remove.searchWidth(),h.is.single()?(h.remove.activeItem(),h.remove.selectedItem()):f.useLabels&&h.remove.selectedItem(),r.each(function(){var e=_(this),t=h.get.choiceText(e),n=h.get.choiceValue(e,t),i=e.hasClass(g.filtered),a=e.hasClass(g.active),o=e.hasClass(g.addition),s=l&&1==r.length;l?!a||o?(f.apiSettings&&f.saveRemoteData&&h.save.remoteData(t,n),f.useLabels?(h.add.label(n,t,s),h.add.value(n,t,e),h.set.activeItem(e),h.filterActive(),h.select.nextAvailable(r)):(h.add.value(n,t,e),h.set.text(h.add.variables(u.count)),h.set.activeItem(e))):i||!f.useLabels&&!c||(h.debug("Selected active value, removing label"),h.remove.selected(n)):(f.apiSettings&&f.saveRemoteData&&h.save.remoteData(t,n),h.set.text(t),h.set.value(n,t,e),e.addClass(g.active).addClass(g.selected))}),h.remove.searchTerm())}},add:{label:function(e,t,n){var i,a=h.is.searchSelection()?L:T,o=h.escape.value(e);f.ignoreCase&&(o=o.toLowerCase()),i=_("<a />").addClass(g.label).attr("data-"+b.value,o).html(C.label(o,t,f.preserveHTML,f.className)),i=f.onLabelCreate.call(i,o,t),h.has.label(e)?h.debug("User selection already exists, skipping",o):(f.label.variation&&i.addClass(f.label.variation),!0===n?(h.debug("Animating in label",i),i.addClass(g.hidden).insertBefore(a).transition({animation:f.label.transition,debug:f.debug,verbose:f.verbose,duration:f.label.duration})):(h.debug("Adding selection label",i),i.insertBefore(a)))},message:function(e){var t=O.children(w.message),n=f.templates.message(h.add.variables(e));0<t.length?t.html(n):t=_("<div/>").html(n).addClass(g.message).appendTo(O)},optionValue:function(e){var t=h.escape.value(e);0<D.find('option[value="'+h.escape.string(t)+'"]').length||(h.disconnect.selectObserver(),h.is.single()&&(h.verbose("Removing previous user addition"),D.find("option."+g.addition).remove()),_("<option/>").prop("value",t).addClass(g.addition).html(e).appendTo(D),h.verbose("Adding user addition as an <option>",e),h.observe.select())},userSuggestion:function(e){var t,n=O.children(w.addition),i=h.get.item(e),a=i&&i.not(w.addition).length,o=0<n.length;f.useLabels&&h.has.maxSelections()||(""===e||a?n.remove():(o?(n.data(b.value,e).data(b.text,e).attr("data-"+b.value,e).attr("data-"+b.text,e).removeClass(g.filtered),f.hideAdditions||(t=f.templates.addition(h.add.variables(u.addResult,e)),n.html(t)),h.verbose("Replacing user suggestion with new value",n)):((n=h.create.userChoice(e)).prependTo(O),h.verbose("Adding item choice to menu corresponding with user choice addition",n)),f.hideAdditions&&!h.is.allFiltered()||n.addClass(g.selected).siblings().removeClass(g.selected),h.refreshItems()))},variables:function(e,t){var n,i,a=-1!==e.search("{count}"),o=-1!==e.search("{maxCount}"),s=-1!==e.search("{term}");return h.verbose("Adding templated variables to message",e),a&&(n=h.get.selectionCount(),e=e.replace("{count}",n)),o&&(n=h.get.selectionCount(),e=e.replace("{maxCount}",f.maxSelections)),s&&(i=t||h.get.query(),e=e.replace("{term}",i)),e},value:function(e,t,n){var i,a=h.get.values();h.has.value(e)?h.debug("Value already selected"):""!==e?(i=Array.isArray(a)?(i=a.concat([e]),h.get.uniqueArray(i)):[e],h.has.selectInput()?h.can.extendSelect()&&(h.debug("Adding value to select",e,i,D),h.add.optionValue(e)):(i=i.join(f.delimiter),h.debug("Setting hidden input to delimited value",i,D)),!1===f.fireOnInit&&h.is.initialLoad()?h.verbose("Skipping onadd callback on initial load",f.onAdd):f.onAdd.call(N,e,t,n),h.set.value(i,t,n),h.check.maxSelections()):h.debug("Cannot select blank values from multiselect")}},remove:{active:function(){S.removeClass(g.active)},activeLabel:function(){S.find(w.label).removeClass(g.active)},empty:function(){S.removeClass(g.empty)},loading:function(){S.removeClass(g.loading)},initialLoad:function(){e=!1},upward:function(e){(e||S).removeClass(g.upward)},leftward:function(e){(e||O).removeClass(g.leftward)},visible:function(){S.removeClass(g.visible)},activeItem:function(){E.removeClass(g.active)},filteredItem:function(){f.useLabels&&h.has.maxSelections()||(f.useLabels&&h.is.multiple()?E.not("."+g.active).removeClass(g.filtered):E.removeClass(g.filtered),f.hideDividers&&V.removeClass(g.hidden),h.remove.empty())},optionValue:function(e){var t=h.escape.value(e),n=D.find('option[value="'+h.escape.string(t)+'"]');0<n.length&&n.hasClass(g.addition)&&(s&&(s.disconnect(),h.verbose("Temporarily disconnecting mutation observer")),n.remove(),h.verbose("Removing user addition as an <option>",t),s&&s.observe(D[0],{childList:!0,subtree:!0}))},message:function(){O.children(w.message).remove()},searchWidth:function(){L.css("width","")},searchTerm:function(){h.verbose("Cleared search term"),L.val(""),h.set.filtered()},userAddition:function(){E.filter(w.addition).remove()},selected:function(e,t){if(!(t=f.allowAdditions?t||h.get.itemWithAdditions(e):t||h.get.item(e)))return!1;t.each(function(){var e=_(this),t=h.get.choiceText(e),n=h.get.choiceValue(e,t);h.is.multiple()?f.useLabels?(h.remove.value(n,t,e),h.remove.label(n)):(h.remove.value(n,t,e),0===h.get.selectionCount()?h.set.placeholderText():h.set.text(h.add.variables(u.count))):h.remove.value(n,t,e),e.removeClass(g.filtered).removeClass(g.active),f.useLabels&&e.removeClass(g.selected)})},selectedItem:function(){E.removeClass(g.selected)},value:function(e,t,n){var i,a=h.get.values();e=h.escape.htmlEntities(e),h.has.selectInput()?(h.verbose("Input is <select> removing selected option",e),i=h.remove.arrayValue(e,a),h.remove.optionValue(e)):(h.verbose("Removing from delimited values",e),i=(i=h.remove.arrayValue(e,a)).join(f.delimiter)),!1===f.fireOnInit&&h.is.initialLoad()?h.verbose("No callback on initial load",f.onRemove):f.onRemove.call(N,e,t,n),h.set.value(i,t,n),h.check.maxSelections()},arrayValue:function(t,e){return Array.isArray(e)||(e=[e]),e=_.grep(e,function(e){return t!=e}),h.verbose("Removed value from delimited string",t,e),e},label:function(e,t){var n=S.find(w.label).filter("[data-"+b.value+'="'+h.escape.string(f.ignoreCase?e.toLowerCase():e)+'"]');h.verbose("Removing label",n),n.remove()},activeLabels:function(e){e=e||S.find(w.label).filter("."+g.active),h.verbose("Removing active label selections",e),h.remove.labels(e)},labels:function(e){e=e||S.find(w.label),h.verbose("Removing labels",e),e.each(function(){var e=_(this),t=e.data(b.value),n=t!==ne?String(t):t,i=h.is.userValue(n);!1!==f.onLabelRemove.call(e,t)?(h.remove.message(),i?(h.remove.value(n),h.remove.label(n)):h.remove.selected(n)):h.debug("Label remove callback cancelled removal")})},tabbable:function(){h.is.searchSelection()?(h.debug("Searchable dropdown initialized"),L.removeAttr("tabindex")):(h.debug("Simple selection dropdown initialized"),S.removeAttr("tabindex")),O.removeAttr("tabindex")},diacritics:function(e){return f.ignoreDiacritics?e.normalize("NFD").replace(/[\u0300-\u036f]/g,""):e}},has:{menuSearch:function(){return h.has.search()&&0<L.closest(O).length},clearItem:function(){return 0<q.length},search:function(){return 0<L.length},sizer:function(){return 0<I.length},selectInput:function(){return D.is("select")},minCharacters:function(e){return f.minCharacters&&!P?(e=e!==ne?String(e):String(h.get.query())).length>=f.minCharacters:!(P=!1)},firstLetter:function(e,t){var n;return!(!e||0===e.length||"string"!=typeof t)&&(n=h.get.choiceText(e,!1),(t=t.toLowerCase())==String(n).charAt(0).toLowerCase())},input:function(){return 0<D.length},items:function(){return 0<E.length},menu:function(){return 0<O.length},message:function(){return 0!==O.children(w.message).length},label:function(e){var t=h.escape.value(e),n=S.find(w.label);return f.ignoreCase&&(t=t.toLowerCase()),0<n.filter("[data-"+b.value+'="'+h.escape.string(t)+'"]').length},maxSelections:function(){return f.maxSelections&&h.get.selectionCount()>=f.maxSelections},allResultsFiltered:function(){var e=E.not(w.addition);return e.filter(w.unselectable).length===e.length},userSuggestion:function(){return 0<O.children(w.addition).length},query:function(){return""!==h.get.query()},value:function(e){return f.ignoreCase?h.has.valueIgnoringCase(e):h.has.valueMatchingCase(e)},valueMatchingCase:function(e){var t=h.get.values();return!!(Array.isArray(t)?t&&-1!==_.inArray(e,t):t==e)},valueIgnoringCase:function(n){var e=h.get.values(),i=!1;return Array.isArray(e)||(e=[e]),_.each(e,function(e,t){if(String(n).toLowerCase()==String(t).toLowerCase())return!(i=!0)}),i}},is:{active:function(){return S.hasClass(g.active)},animatingInward:function(){return O.transition("is inward")},animatingOutward:function(){return O.transition("is outward")},bubbledLabelClick:function(e){return _(e.target).is("select, input")&&0<S.closest("label").length},bubbledIconClick:function(e){return 0<_(e.target).closest(k).length},alreadySetup:function(){return S.is("select")&&S.parent(w.dropdown).data(y)!==ne&&0===S.prev().length},animating:function(e){return e?e.transition&&e.transition("is animating"):O.transition&&O.transition("is animating")},leftward:function(e){return(e||O).hasClass(g.leftward)},clearable:function(){return S.hasClass(g.clearable)||f.clearable},disabled:function(){return S.hasClass(g.disabled)},focused:function(){return te.activeElement===S[0]},focusedOnSearch:function(){return te.activeElement===L[0]},allFiltered:function(){return(h.is.multiple()||h.has.search())&&!(0==f.hideAdditions&&h.has.userSuggestion())&&!h.has.message()&&h.has.allResultsFiltered()},hidden:function(e){return!h.is.visible(e)},initialLoad:function(){return e},inObject:function(n,e){var i=!1;return _.each(e,function(e,t){if(t==n)return i=!0}),i},multiple:function(){return S.hasClass(g.multiple)},remote:function(){return f.apiSettings&&h.can.useAPI()},single:function(){return!h.is.multiple()},selectMutation:function(e){var n=!1;return _.each(e,function(e,t){if(_(t.target).is("select")||_(t.addedNodes).is("select"))return!(n=!0)}),n},search:function(){return S.hasClass(g.search)},searchSelection:function(){return h.has.search()&&1===L.parent(w.dropdown).length},selection:function(){return S.hasClass(g.selection)},userValue:function(e){return-1!==_.inArray(e,h.get.userValues())},upward:function(e){return(e||S).hasClass(g.upward)},visible:function(e){return e?e.hasClass(g.visible):O.hasClass(g.visible)},verticallyScrollableContext:function(){var e=A.get(0)!==ee&&A.css("overflow-y");return"auto"==e||"scroll"==e},horizontallyScrollableContext:function(){var e=A.get(0)!==ee&&A.css("overflow-X");return"auto"==e||"scroll"==e}},can:{activate:function(e){return!!f.useLabels||(!h.has.maxSelections()||!(!h.has.maxSelections()||!e.hasClass(g.active)))},openDownward:function(e){var t,n,i=e||O,a=!0;return i.addClass(g.loading),n={context:{offset:A.get(0)===ee?{top:0,left:0}:A.offset(),scrollTop:A.scrollTop(),height:A.outerHeight()},menu:{offset:i.offset(),height:i.outerHeight()}},h.is.verticallyScrollableContext()&&(n.menu.offset.top+=n.context.scrollTop),a=(t={above:n.context.scrollTop<=n.menu.offset.top-n.context.offset.top-n.menu.height,below:n.context.scrollTop+n.context.height>=n.menu.offset.top-n.context.offset.top+n.menu.height}).below?(h.verbose("Dropdown can fit in context downward",t),!0):t.below||t.above?(h.verbose("Dropdown cannot fit below, opening upward",t),!1):(h.verbose("Dropdown cannot fit in either direction, favoring downward",t),!0),i.removeClass(g.loading),a},openRightward:function(e){var t,n,i=e||O,a=!0;return i.addClass(g.loading),n={context:{offset:A.get(0)===ee?{top:0,left:0}:A.offset(),scrollLeft:A.scrollLeft(),width:A.outerWidth()},menu:{offset:i.offset(),width:i.outerWidth()}},h.is.horizontallyScrollableContext()&&(n.menu.offset.left+=n.context.scrollLeft),(t=n.menu.offset.left-n.context.offset.left+n.menu.width>=n.context.scrollLeft+n.context.width)&&(h.verbose("Dropdown cannot fit in context rightward",t),a=!1),i.removeClass(g.loading),a},click:function(){return Q||"click"==f.on},extendSelect:function(){return f.allowAdditions||f.apiSettings},show:function(){return!h.is.disabled()&&(h.has.items()||h.has.message())},useAPI:function(){return _.fn.api!==ne}},animate:{show:function(e,t){var n,i=t||O,a=t?function(){}:function(){h.hideSubMenus(),h.hideOthers(),h.set.active()};e=_.isFunction(e)?e:function(){},h.verbose("Doing menu show animation",i),h.set.direction(t),n=h.get.transition(t),h.is.selection()&&h.set.scrollPosition(h.get.selectedItem(),!0),(h.is.hidden(i)||h.is.animating(i))&&("none"==n?(a(),i.transition("show"),e.call(N)):_.fn.transition!==ne&&S.transition("is supported")?i.transition({animation:n+" in",debug:f.debug,verbose:f.verbose,duration:f.duration,queue:!0,onStart:a,onComplete:function(){e.call(N)}}):h.error(m.noTransition,n))},hide:function(e,t){var n=t||O,i=t?function(){}:function(){h.can.click()&&h.unbind.intent(),h.remove.active()},a=h.get.transition(t);e=_.isFunction(e)?e:function(){},(h.is.visible(n)||h.is.animating(n))&&(h.verbose("Doing menu hide animation",n),"none"==a?(i(),n.transition("hide"),e.call(N)):_.fn.transition!==ne&&S.transition("is supported")?n.transition({animation:a+" out",duration:f.duration,debug:f.debug,verbose:f.verbose,queue:!1,onStart:i,onComplete:function(){e.call(N)}}):h.error(m.transition))}},hideAndClear:function(){h.remove.searchTerm(),h.has.maxSelections()||(h.has.search()?h.hide(function(){h.remove.filteredItem()}):h.hide())},delay:{show:function(){h.verbose("Delaying show event to ensure user intent"),clearTimeout(h.timer),h.timer=setTimeout(h.show,f.delay.show)},hide:function(){h.verbose("Delaying hide event to ensure user intent"),clearTimeout(h.timer),h.timer=setTimeout(h.hide,f.delay.hide)}},escape:{value:function(e){var t=Array.isArray(e),n="string"==typeof e,i=!n&&!t,a=n&&-1!==e.search(v.quote),o=[];return i||!a?e:(h.debug("Encoding quote values for use in select",e),t?(_.each(e,function(e,t){o.push(t.replace(v.quote,"&quot;"))}),o):e.replace(v.quote,"&quot;"))},string:function(e){return(e=String(e)).replace(v.escape,"\\$&")},htmlEntities:function(e){var t={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;")).replace(/[<>"'`]/g,function(e){return t[e]}):e}},setting:function(e,t){if(h.debug("Changing setting",e,t),_.isPlainObject(e))_.extend(!0,f,e);else{if(t===ne)return f[e];_.isPlainObject(f[e])?_.extend(!0,f[e],t):f[e]=t}},internal:function(e,t){if(_.isPlainObject(e))_.extend(!0,h,e);else{if(t===ne)return h[e];h[e]=t}},debug:function(){!f.silent&&f.debug&&(f.performance?h.performance.log(arguments):(h.debug=Function.prototype.bind.call(console.info,console,f.name+":"),h.debug.apply(console,arguments)))},verbose:function(){!f.silent&&f.verbose&&f.debug&&(f.performance?h.performance.log(arguments):(h.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),h.verbose.apply(console,arguments)))},error:function(){f.silent||(h.error=Function.prototype.bind.call(console.error,console,f.name+":"),h.error.apply(console,arguments))},performance:{log:function(e){var t,n;f.performance&&(n=(t=(new Date).getTime())-($||t),$=t,X.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:N,"Execution Time":n})),clearTimeout(h.performance.timer),h.performance.timer=setTimeout(h.performance.display,500)},display:function(){var e=f.name+":",n=0;$=!1,clearTimeout(h.performance.timer),_.each(X,function(e,t){n+=t["Execution Time"]}),e+=" "+n+"ms",W&&(e+=" '"+W+"'"),(console.group!==ne||console.table!==ne)&&0<X.length&&(console.groupCollapsed(e),console.table?console.table(X):_.each(X,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),X=[]}},invoke:function(i,e,t){var a,o,n,s=H;return e=e||Z,t=N||t,"string"==typeof i&&s!==ne&&(i=i.split(/[\. ]/),a=i.length-1,_.each(i,function(e,t){var n=e!=a?t+i[e+1].charAt(0).toUpperCase()+i[e+1].slice(1):i;if(_.isPlainObject(s[n])&&e!=a)s=s[n];else{if(s[n]!==ne)return o=s[n],!1;if(!_.isPlainObject(s[t])||e==a)return s[t]!==ne?o=s[t]:h.error(m.method,i),!1;s=s[t]}})),_.isFunction(o)?n=o.apply(t,e):o!==ne&&(n=o),Array.isArray(U)?U.push(n):U!==ne?U=[U,n]:n!==ne&&(U=n),o}},J?(H===ne&&h.initialize(),h.invoke(G)):(H!==ne&&H.invoke("destroy"),h.initialize())}),U!==ne?U:B},_.fn.dropdown.settings={silent:!1,debug:!1,verbose:!1,performance:!0,on:"click",action:"activate",values:!1,clearable:!1,apiSettings:!1,selectOnKeydown:!0,minCharacters:0,filterRemoteData:!1,saveRemoteData:!0,throttle:200,context:ee,direction:"auto",keepOnScreen:!0,match:"both",fullTextSearch:!1,ignoreDiacritics:!1,hideDividers:!1,placeholder:"auto",preserveHTML:!0,sortSelect:!1,forceSelection:!0,allowAdditions:!1,ignoreCase:!1,ignoreSearchCase:!0,hideAdditions:!0,maxSelections:!1,useLabels:!0,delimiter:",",showOnFocus:!0,allowReselection:!1,allowTab:!0,allowCategorySelection:!1,fireOnInit:!1,transition:"auto",duration:200,glyphWidth:1.037,headerDivider:!0,label:{transition:"scale",duration:200,variation:!1},delay:{hide:300,show:200,search:20,touch:50},onChange:function(e,t,n){},onAdd:function(e,t,n){},onRemove:function(e,t,n){},onLabelSelect:function(e){},onLabelCreate:function(e,t){return _(this)},onLabelRemove:function(e){return!0},onNoResults:function(e){return!0},onShow:function(){},onHide:function(){},name:"Dropdown",namespace:"dropdown",message:{addResult:"Add <b>{term}</b>",count:"{count} selected",maxSelections:"Max {maxCount} selections",noResults:"No results found.",serverError:"There was an error contacting the server"},error:{action:"You called a dropdown action that was not defined",alreadySetup:"Once a select has been initialized behaviors must be called on the created ui dropdown",labels:"Allowing user additions currently requires the use of labels.",missingMultiple:"<select> requires multiple property to be set to correctly preserve multiple values",method:"The method you called is not defined.",noAPI:"The API module is required to load resources remotely",noStorage:"Saving remote data requires session storage",noTransition:"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>",noNormalize:'"ignoreDiacritics" setting will be ignored. Browser does not support String().normalize(). You may consider including <https://cdn.jsdelivr.net/npm/unorm@1.4.1/lib/unorm.min.js> as a polyfill.'},regExp:{escape:/[-[\]{}()*+?.,\\^$|#\s:=@]/g,quote:/"/g},metadata:{defaultText:"defaultText",defaultValue:"defaultValue",placeholderText:"placeholder",text:"text",value:"value"},fields:{remoteValues:"results",values:"values",disabled:"disabled",name:"name",value:"value",text:"text",type:"type",image:"image",imageClass:"imageClass",icon:"icon",iconClass:"iconClass",class:"class",divider:"divider"},keys:{backspace:8,delimiter:188,deleteKey:46,enter:13,escape:27,pageUp:33,pageDown:34,leftArrow:37,upArrow:38,rightArrow:39,downArrow:40},selector:{addition:".addition",divider:".divider, .header",dropdown:".ui.dropdown",hidden:".hidden",icon:"> .dropdown.icon",input:'> input[type="hidden"], > select',item:".item",label:"> .label",remove:"> .label > .delete.icon",siblingLabel:".label",menu:".menu",message:".message",menuIcon:".dropdown.icon",search:"input.search, .menu > .search > input, .menu input.search",sizer:"> input.sizer",text:"> .text:not(.icon)",unselectable:".disabled, .filtered",clearIcon:"> .remove.icon"},className:{active:"active",addition:"addition",animating:"animating",disabled:"disabled",empty:"empty",dropdown:"ui dropdown",filtered:"filtered",hidden:"hidden transition",icon:"icon",image:"image",item:"item",label:"ui label",loading:"loading",menu:"menu",message:"message",multiple:"multiple",placeholder:"default",sizer:"sizer",search:"search",selected:"selected",selection:"selection",upward:"upward",leftward:"left",visible:"visible",clearable:"clearable",noselection:"noselection",delete:"delete",header:"header",divider:"divider",groupIcon:"",unfilterable:"unfilterable"}},_.fn.dropdown.settings.templates={deQuote:function(e){return String(e).replace(/"/g,"")},escape:function(e,t){if(t)return e;var n={"<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"};return/[&<>"'`]/.test(e)?(e=e.replace(/&(?![a-z0-9#]{1,6};)/,"&amp;")).replace(/[<>"'`]/g,function(e){return n[e]}):e},dropdown:function(e,t,n,i){var a=e.placeholder||!1,o="",s=_.fn.dropdown.settings.templates.escape;return o+='<i class="dropdown icon"></i>',o+=a?'<div class="default text">'+s(a,n)+"</div>":'<div class="text"></div>',o+='<div class="'+i.menu+'">',o+=_.fn.dropdown.settings.templates.menu(e,t,n,i),o+="</div>"},menu:function(e,r,l,c){var t=e[r.values]||[],u="",d=_.fn.dropdown.settings.templates.escape,v=_.fn.dropdown.settings.templates.deQuote;return _.each(t,function(e,t){var n=t[r.type]?t[r.type]:"item";if("item"===n){var i=t[r.text]?' data-text="'+v(t[r.text])+'"':"",a=t[r.disabled]?c.disabled+" ":"";u+='<div class="'+a+(t[r.class]?v(t[r.class]):c.item)+'" data-value="'+v(t[r.value])+'"'+i+">",t[r.image]&&(u+='<img class="'+(t[r.imageClass]?v(t[r.imageClass]):c.image)+'" src="'+v(t[r.image])+'">'),t[r.icon]&&(u+='<i class="'+v(t[r.icon])+" "+(t[r.iconClass]?v(t[r.iconClass]):c.icon)+'"></i>'),u+=d(t[r.name]||"",l),u+="</div>"}else if("header"===n){var o=d(t[r.name]||"",l),s=t[r.icon]?v(t[r.icon]):c.groupIcon;""===o&&""===s||(u+='<div class="'+(t[r.class]?v(t[r.class]):c.header)+'">',""!==s&&(u+='<i class="'+s+" "+(t[r.iconClass]?v(t[r.iconClass]):c.icon)+'"></i>'),u+=o,u+="</div>"),t[r.divider]&&(u+='<div class="'+c.divider+'"></div>')}}),u},label:function(e,t,n,i){return(0,_.fn.dropdown.settings.templates.escape)(t,n)+'<i class="'+i.delete+' icon"></i>'},message:function(e){return e},addition:function(e){return e}}}(jQuery,window,document);;
 /*
 * # Fomantic UI - 2.8.4
 * https://github.com/fomantic/Fomantic-UI
 * http://fomantic-ui.com/
 *
 * Copyright 2014 Contributors
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */
!function(P,j,e,O){"use strict";P.isWindow=P.isWindow||function(e){return null!=e&&e===e.window},j=void 0!==j&&j.Math==Math?j:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),P.api=P.fn.api=function(R){var q,e=P.isFunction(this)?P(j):P(this),x=e.selector||"",S=(new Date).getTime(),A=[],w=R,T="string"==typeof w,k=[].slice.call(arguments,1);return e.each(function(){var s,i,r,e,a,u,c=P.isPlainObject(R)?P.extend(!0,{},P.fn.api.settings,R):P.extend({},P.fn.api.settings),t=c.namespace,n=c.metadata,o=c.selector,d=c.error,l=c.className,f="."+t,g="module-"+t,p=P(this),m=p.closest(o.form),b=c.stateContext?P(c.stateContext):p,v=this,h=b[0],y=p.data(g);u={initialize:function(){T||u.bind.events(),u.instantiate()},instantiate:function(){u.verbose("Storing instance of module",u),y=u,p.data(g,y)},destroy:function(){u.verbose("Destroying previous module for",v),p.removeData(g).off(f)},bind:{events:function(){var e=u.get.event();e?(u.verbose("Attaching API events to element",e),p.on(e+f,u.event.trigger)):"now"==c.on&&(u.debug("Querying API endpoint immediately"),u.query())}},decode:{json:function(e){if(e!==O&&"string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}},read:{cachedResponse:function(e){var t;if(j.Storage!==O)return t=sessionStorage.getItem(e),u.debug("Using cached response",e,t),t=u.decode.json(t);u.error(d.noStorage)}},write:{cachedResponse:function(e,t){t&&""===t?u.debug("Response empty, not caching",t):j.Storage!==O?(P.isPlainObject(t)&&(t=JSON.stringify(t)),sessionStorage.setItem(e,t),u.verbose("Storing cached response for url",e,t)):u.error(d.noStorage)}},query:function(){if(u.is.disabled())u.debug("Element is disabled API request aborted");else{if(u.is.loading()){if(!c.interruptRequests)return void u.debug("Cancelling request, previous request is still pending");u.debug("Interrupting previous request"),u.abort()}if(c.defaultData&&P.extend(!0,c.urlData,u.get.defaultData()),c.serializeForm&&(c.data=u.add.formData(c.data)),!1===(i=u.get.settings()))return u.cancelled=!0,void u.error(d.beforeSend);if(u.cancelled=!1,(r=u.get.templatedURL())||u.is.mocked()){if((r=u.add.urlData(r))||u.is.mocked()){if(i.url=c.base+r,s=P.extend(!0,{},c,{type:c.method||c.type,data:e,url:c.base+r,beforeSend:c.beforeXHR,success:function(){},failure:function(){},complete:function(){}}),u.debug("Querying URL",s.url),u.verbose("Using AJAX settings",s),"local"===c.cache&&u.read.cachedResponse(r))return u.debug("Response returned from local cache"),u.request=u.create.request(),void u.request.resolveWith(h,[u.read.cachedResponse(r)]);c.throttle?c.throttleFirstRequest||u.timer?(u.debug("Throttling request",c.throttle),clearTimeout(u.timer),u.timer=setTimeout(function(){u.timer&&delete u.timer,u.debug("Sending throttled request",e,s.method),u.send.request()},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request(),u.timer=setTimeout(function(){},c.throttle)):(u.debug("Sending request",e,s.method),u.send.request())}}else u.error(d.missingURL)}},should:{removeError:function(){return!0===c.hideError||"auto"===c.hideError&&!u.is.form()}},is:{disabled:function(){return 0<p.filter(o.disabled).length},expectingJSON:function(){return"json"===c.dataType||"jsonp"===c.dataType},form:function(){return p.is("form")||b.is("form")},mocked:function(){return c.mockResponse||c.mockResponseAsync||c.response||c.responseAsync},input:function(){return p.is("input")},loading:function(){return!!u.request&&"pending"==u.request.state()},abortedRequest:function(e){return e&&e.readyState!==O&&0===e.readyState?(u.verbose("XHR request determined to be aborted"),!0):(u.verbose("XHR request was not aborted"),!1)},validResponse:function(e){return u.is.expectingJSON()&&P.isFunction(c.successTest)?(u.debug("Checking JSON returned success",c.successTest,e),c.successTest(e)?(u.debug("Response passed success test",e),!0):(u.debug("Response failed success test",e),!1)):(u.verbose("Response is not JSON, skipping validation",c.successTest,e),!0)}},was:{cancelled:function(){return u.cancelled||!1},succesful:function(){return u.verbose('This behavior will be deleted due to typo. Use "was successful" instead.'),u.was.successful()},successful:function(){return u.request&&"resolved"==u.request.state()},failure:function(){return u.request&&"rejected"==u.request.state()},complete:function(){return u.request&&("resolved"==u.request.state()||"rejected"==u.request.state())}},add:{urlData:function(o,s){var e,t;return o&&(e=o.match(c.regExp.required),t=o.match(c.regExp.optional),s=s||c.urlData,e&&(u.debug("Looking for required URL variables",e),P.each(e,function(e,t){var r=-1!==t.indexOf("$")?t.substr(2,t.length-3):t.substr(1,t.length-2),n=P.isPlainObject(s)&&s[r]!==O?s[r]:p.data(r)!==O?p.data(r):b.data(r)!==O?b.data(r):s[r];if(n===O)return u.error(d.requiredParameter,r,o),o=!1;u.verbose("Found required variable",r,n),n=c.encodeParameters?u.get.urlEncodedValue(n):n,o=o.replace(t,n)})),t&&(u.debug("Looking for optional URL variables",e),P.each(t,function(e,t){var r=-1!==t.indexOf("$")?t.substr(3,t.length-4):t.substr(2,t.length-3),n=P.isPlainObject(s)&&s[r]!==O?s[r]:p.data(r)!==O?p.data(r):b.data(r)!==O?b.data(r):s[r];o=n!==O?(u.verbose("Optional variable Found",r,n),o.replace(t,n)):(u.verbose("Optional variable not found",r),-1!==o.indexOf("/"+t)?o.replace("/"+t,""):o.replace(t,""))}))),o},formData:function(e){var t=P.fn.serializeObject!==O,r=t?m.serializeObject():m.serialize();return e=e||c.data,e=P.isPlainObject(e)?t?(u.debug("Extending existing data with form data",e,r),P.extend(!0,{},e,r)):(u.error(d.missingSerialize),u.debug("Cant extend data. Replacing data with form data",e,r),r):(u.debug("Adding form data",r),r)}},send:{request:function(){u.set.loading(),u.request=u.create.request(),u.is.mocked()?u.mockedXHR=u.create.mockedXHR():u.xhr=u.create.xhr(),c.onRequest.call(h,u.request,u.xhr)}},event:{trigger:function(e){u.query(),"submit"!=e.type&&"click"!=e.type||e.preventDefault()},xhr:{always:function(){},done:function(e,t,r){var n=this,o=(new Date).getTime()-a,s=c.loadingDuration-o,i=!!P.isFunction(c.onResponse)&&(u.is.expectingJSON()&&!c.rawResponse?c.onResponse.call(n,P.extend(!0,{},e)):c.onResponse.call(n,e));s=0<s?s:0,i&&(u.debug("Modified API response in onResponse callback",c.onResponse,i,e),e=i),0<s&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.validResponse(e)?u.request.resolveWith(n,[e,r]):u.request.rejectWith(n,[r,"invalid"])},s)},fail:function(e,t,r){var n=this,o=(new Date).getTime()-a,s=c.loadingDuration-o;0<(s=0<s?s:0)&&u.debug("Response completed early delaying state change by",s),setTimeout(function(){u.is.abortedRequest(e)?u.request.rejectWith(n,[e,"aborted",r]):u.request.rejectWith(n,[e,"error",t,r])},s)}},request:{done:function(e,t){u.debug("Successful API Response",e),"local"===c.cache&&r&&(u.write.cachedResponse(r,e),u.debug("Saving server response locally",u.cache)),c.onSuccess.call(h,e,p,t)},complete:function(e,t){var r,n;u.was.successful()?(n=e,r=t):(r=e,n=u.get.responseFromXHR(r)),u.remove.loading(),c.onComplete.call(h,n,p,r)},fail:function(e,t,r){var n=u.get.responseFromXHR(e),o=u.get.errorFromRequest(n,t,r);if("aborted"==t)return u.debug("XHR Aborted (Most likely caused by page navigation or CORS Policy)",t,r),c.onAbort.call(h,t,p,e),!0;"invalid"==t?u.debug("JSON did not pass success test. A server-side error has most likely occurred",n):"error"==t&&e!==O&&(u.debug("XHR produced a server error",t,r),(e.status<200||300<=e.status)&&r!==O&&""!==r&&u.error(d.statusMessage+r,s.url),c.onError.call(h,o,p,e)),c.errorDuration&&"aborted"!==t&&(u.debug("Adding error state"),u.set.error(),u.should.removeError()&&setTimeout(u.remove.error,c.errorDuration)),u.debug("API Request failed",o,e),c.onFailure.call(h,n,p,e)}}},create:{request:function(){return P.Deferred().always(u.event.request.complete).done(u.event.request.done).fail(u.event.request.fail)},mockedXHR:function(){var e,t,r,n=c.mockResponse||c.response,o=c.mockResponseAsync||c.responseAsync;return r=P.Deferred().always(u.event.xhr.complete).done(u.event.xhr.done).fail(u.event.xhr.fail),n?(t=P.isFunction(n)?(u.debug("Using specified synchronous callback",n),n.call(h,i)):(u.debug("Using settings specified response",n),n),r.resolveWith(h,[t,!1,{responseText:t}])):P.isFunction(o)&&(e=function(e){u.debug("Async callback returned response",e),e?r.resolveWith(h,[e,!1,{responseText:e}]):r.rejectWith(h,[{responseText:e},!1,!1])},u.debug("Using specified async response callback",o),o.call(h,i,e)),r},xhr:function(){var e;return e=P.ajax(s).always(u.event.xhr.always).done(u.event.xhr.done).fail(u.event.xhr.fail),u.verbose("Created server request",e,s),e}},set:{error:function(){u.verbose("Adding error state to element",b),b.addClass(l.error)},loading:function(){u.verbose("Adding loading state to element",b),b.addClass(l.loading),a=(new Date).getTime()}},remove:{error:function(){u.verbose("Removing error state from element",b),b.removeClass(l.error)},loading:function(){u.verbose("Removing loading state from element",b),b.removeClass(l.loading)}},get:{responseFromXHR:function(e){return!!P.isPlainObject(e)&&(u.is.expectingJSON()?u.decode.json(e.responseText):e.responseText)},errorFromRequest:function(e,t,r){return P.isPlainObject(e)&&e.error!==O?e.error:c.error[t]!==O?c.error[t]:r},request:function(){return u.request||!1},xhr:function(){return u.xhr||!1},settings:function(){var e;return(e=c.beforeSend.call(p,c))&&(e.success!==O&&(u.debug("Legacy success callback detected",e),u.error(d.legacyParameters,e.success),e.onSuccess=e.success),e.failure!==O&&(u.debug("Legacy failure callback detected",e),u.error(d.legacyParameters,e.failure),e.onFailure=e.failure),e.complete!==O&&(u.debug("Legacy complete callback detected",e),u.error(d.legacyParameters,e.complete),e.onComplete=e.complete)),e===O&&u.error(d.noReturnedValue),!1===e?e:e!==O?P.extend(!0,{},e):P.extend(!0,{},c)},urlEncodedValue:function(e){var t=j.decodeURIComponent(e),r=j.encodeURIComponent(e);return t!==e?(u.debug("URL value is already encoded, avoiding double encoding",e),e):(u.verbose("Encoding value using encodeURIComponent",e,r),r)},defaultData:function(){var e={};return P.isWindow(v)||(u.is.input()?e.value=p.val():u.is.form()||(e.text=p.text())),e},event:function(){return P.isWindow(v)||"now"==c.on?(u.debug("API called without element, no events attached"),!1):"auto"==c.on?p.is("input")?v.oninput!==O?"input":v.onpropertychange!==O?"propertychange":"keyup":p.is("form")?"submit":"click":c.on},templatedURL:function(e){if(e=e||p.data(n.action)||c.action||!1,r=p.data(n.url)||c.url||!1)return u.debug("Using specified url",r),r;if(e){if(u.debug("Looking up url for action",e,c.api),c.api[e]===O&&!u.is.mocked())return void u.error(d.missingAction,c.action,c.api);r=c.api[e]}else u.is.form()&&(r=p.attr("action")||b.attr("action")||!1,u.debug("No url or action specified, defaulting to form action",r));return r}},abort:function(){var e=u.get.xhr();e&&"resolved"!==e.state()&&(u.debug("Cancelling API request"),e.abort())},reset:function(){u.remove.error(),u.remove.loading()},setting:function(e,t){if(u.debug("Changing setting",e,t),P.isPlainObject(e))P.extend(!0,c,e);else{if(t===O)return c[e];P.isPlainObject(c[e])?P.extend(!0,c[e],t):c[e]=t}},internal:function(e,t){if(P.isPlainObject(e))P.extend(!0,u,e);else{if(t===O)return u[e];u[e]=t}},debug:function(){!c.silent&&c.debug&&(c.performance?u.performance.log(arguments):(u.debug=Function.prototype.bind.call(console.info,console,c.name+":"),u.debug.apply(console,arguments)))},verbose:function(){!c.silent&&c.verbose&&c.debug&&(c.performance?u.performance.log(arguments):(u.verbose=Function.prototype.bind.call(console.info,console,c.name+":"),u.verbose.apply(console,arguments)))},error:function(){c.silent||(u.error=Function.prototype.bind.call(console.error,console,c.name+":"),u.error.apply(console,arguments))},performance:{log:function(e){var t,r;c.performance&&(r=(t=(new Date).getTime())-(S||t),S=t,A.push({Name:e[0],Arguments:[].slice.call(e,1)||"","Execution Time":r})),clearTimeout(u.performance.timer),u.performance.timer=setTimeout(u.performance.display,500)},display:function(){var e=c.name+":",r=0;S=!1,clearTimeout(u.performance.timer),P.each(A,function(e,t){r+=t["Execution Time"]}),e+=" "+r+"ms",x&&(e+=" '"+x+"'"),(console.group!==O||console.table!==O)&&0<A.length&&(console.groupCollapsed(e),console.table?console.table(A):P.each(A,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),A=[]}},invoke:function(n,e,t){var o,s,r,i=y;return e=e||k,t=v||t,"string"==typeof n&&i!==O&&(n=n.split(/[\. ]/),o=n.length-1,P.each(n,function(e,t){var r=e!=o?t+n[e+1].charAt(0).toUpperCase()+n[e+1].slice(1):n;if(P.isPlainObject(i[r])&&e!=o)i=i[r];else{if(i[r]!==O)return s=i[r],!1;if(!P.isPlainObject(i[t])||e==o)return i[t]!==O?s=i[t]:u.error(d.method,n),!1;i=i[t]}})),P.isFunction(s)?r=s.apply(t,e):s!==O&&(r=s),Array.isArray(q)?q.push(r):q!==O?q=[q,r]:r!==O&&(q=r),s}},T?(y===O&&u.initialize(),u.invoke(w)):(y!==O&&y.invoke("destroy"),u.initialize())}),q!==O?q:this},P.api.settings={name:"API",namespace:"api",debug:!1,verbose:!1,performance:!0,api:{},cache:!0,interruptRequests:!0,on:"auto",stateContext:!1,loadingDuration:0,hideError:"auto",errorDuration:2e3,encodeParameters:!0,action:!1,url:!1,base:"",urlData:{},defaultData:!0,serializeForm:!1,throttle:0,throttleFirstRequest:!0,method:"get",data:{},dataType:"json",mockResponse:!1,mockResponseAsync:!1,response:!1,responseAsync:!1,rawResponse:!1,beforeSend:function(e){return e},beforeXHR:function(e){},onRequest:function(e,t){},onResponse:!1,onSuccess:function(e,t){},onComplete:function(e,t){},onFailure:function(e,t){},onError:function(e,t){},onAbort:function(e,t){},successTest:!1,error:{beforeSend:"The before send function has aborted the request",error:"There was an error with your request",exitConditions:"API Request Aborted. Exit conditions met",JSONParse:"JSON could not be parsed during error handling",legacyParameters:"You are using legacy API success callback names",method:"The method you called is not defined",missingAction:"API action used but no url was defined",missingSerialize:"jquery-serialize-object is required to add form data to an existing data object",missingURL:"No URL specified for api event",noReturnedValue:"The beforeSend callback must return a settings object, beforeSend ignored.",noStorage:"Caching responses locally requires session storage",parseError:"There was an error parsing your request",requiredParameter:"Missing a required URL parameter: ",statusMessage:"Server gave an error: ",timeout:"Your request timed out"},regExp:{required:/\{\$*[A-z0-9]+\}/g,optional:/\{\/\$*[A-z0-9]+\}/g},className:{loading:"loading",error:"error"},selector:{disabled:".disabled",form:"form"},metadata:{action:"action",url:"url"}}}(jQuery,window,document);;
/*! Native Promise Only
    v0.8.1 (c) Kyle Simpson
    MIT License: http://getify.mit-license.org
*/
!function(t,n,e){n[t]=n[t]||e(),"undefined"!=typeof module&&module.exports?module.exports=n[t]:"function"==typeof define&&define.amd&&define(function(){return n[t]})}("Promise","undefined"!=typeof global?global:this,function(){"use strict";function t(t,n){l.add(t,n),h||(h=y(l.drain))}function n(t){var n,e=typeof t;return null==t||"object"!=e&&"function"!=e||(n=t.then),"function"==typeof n?n:!1}function e(){for(var t=0;t<this.chain.length;t++)o(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function o(t,e,o){var r,i;try{e===!1?o.reject(t.msg):(r=e===!0?t.msg:e.call(void 0,t.msg),r===o.promise?o.reject(TypeError("Promise-chain cycle")):(i=n(r))?i.call(r,o.resolve,o.reject):o.resolve(r))}catch(c){o.reject(c)}}function r(o){var c,u=this;if(!u.triggered){u.triggered=!0,u.def&&(u=u.def);try{(c=n(o))?t(function(){var t=new f(u);try{c.call(o,function(){r.apply(t,arguments)},function(){i.apply(t,arguments)})}catch(n){i.call(t,n)}}):(u.msg=o,u.state=1,u.chain.length>0&&t(e,u))}catch(a){i.call(new f(u),a)}}}function i(n){var o=this;o.triggered||(o.triggered=!0,o.def&&(o=o.def),o.msg=n,o.state=2,o.chain.length>0&&t(e,o))}function c(t,n,e,o){for(var r=0;r<n.length;r++)!function(r){t.resolve(n[r]).then(function(t){e(r,t)},o)}(r)}function f(t){this.def=t,this.triggered=!1}function u(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function a(n){if("function"!=typeof n)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var o=new u(this);this.then=function(n,r){var i={success:"function"==typeof n?n:!0,failure:"function"==typeof r?r:!1};return i.promise=new this.constructor(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");i.resolve=t,i.reject=n}),o.chain.push(i),0!==o.state&&t(e,o),i.promise},this["catch"]=function(t){return this.then(void 0,t)};try{n.call(void 0,function(t){r.call(o,t)},function(t){i.call(o,t)})}catch(c){i.call(o,c)}}var s,h,l,p=Object.prototype.toString,y="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),s=function(t,n,e,o){return Object.defineProperty(t,n,{value:e,writable:!0,configurable:o!==!1})}}catch(d){s=function(t,n,e){return t[n]=e,t}}l=function(){function t(t,n){this.fn=t,this.self=n,this.next=void 0}var n,e,o;return{add:function(r,i){o=new t(r,i),e?e.next=o:n=o,e=o,o=void 0},drain:function(){var t=n;for(n=e=h=void 0;t;)t.fn.call(t.self),t=t.next}}}();var g=s({},"constructor",a,!1);return a.prototype=g,s(g,"__NPO__",0,!1),s(a,"resolve",function(t){var n=this;return t&&"object"==typeof t&&1===t.__NPO__?t:new n(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");n(t)})}),s(a,"reject",function(t){return new this(function(n,e){if("function"!=typeof n||"function"!=typeof e)throw TypeError("Not a function");e(t)})}),s(a,"all",function(t){var n=this;return"[object Array]"!=p.call(t)?n.reject(TypeError("Not an array")):0===t.length?n.resolve([]):new n(function(e,o){if("function"!=typeof e||"function"!=typeof o)throw TypeError("Not a function");var r=t.length,i=Array(r),f=0;c(n,t,function(t,n){i[t]=n,++f===r&&e(i)},o)})}),s(a,"race",function(t){var n=this;return"[object Array]"!=p.call(t)?n.reject(TypeError("Not an array")):new n(function(e,o){if("function"!=typeof e||"function"!=typeof o)throw TypeError("Not a function");c(n,t,function(t,n){e(n)},o)})}),a});
;
/*
 Copyright (C) Federico Zivolo 2019
 Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
 */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function r(e){return 11===e?pe:10===e?se:pe||se}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}function m(e,t){var o='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return ee(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?parseInt(o['offset'+e])+parseInt(n['margin'+('Height'===e?'Top':'Left')])+parseInt(n['margin'+('Height'===e?'Bottom':'Right')]):0)}function c(e){var t=e.body,o=e.documentElement,n=r(10)&&getComputedStyle(o);return{height:h('Height',t,o,n),width:h('Width',t,o,n)}}function g(e){return fe({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var o={};try{if(r(10)){o=e.getBoundingClientRect();var n=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c(e.ownerDocument):{},d=s.width||e.clientWidth||p.right-p.left,a=s.height||e.clientHeight||p.bottom-p.top,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){var u=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}return g(p)}function b(e,o){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&s&&(a.top=ee(a.top,0),a.left=ee(a.left,0));var b=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){var w=parseFloat(m.marginTop,10),y=parseFloat(m.marginLeft,10);b.top-=h-w,b.bottom-=h-w,b.left-=c-y,b.right-=c-y,b.marginTop=w,b.marginLeft=y}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}function w(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=ee(o.clientWidth,window.innerWidth||0),r=ee(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};return g(d)}function y(e){var n=e.nodeName;if('BODY'===n||'HTML'===n)return!1;if('fixed'===t(e,'position'))return!0;var i=o(e);return!!i&&y(i)}function E(e){if(!e||!e.parentElement||r())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function v(e,t,i,r){var p=4<arguments.length&&void 0!==arguments[4]&&arguments[4],s={top:0,left:0},d=p?E(e):a(e,t);if('viewport'===r)s=w(d,p);else{var l;'scrollParent'===r?(l=n(o(t)),'BODY'===l.nodeName&&(l=e.ownerDocument.documentElement)):'window'===r?l=e.ownerDocument.documentElement:l=r;var f=b(l,d,p);if('HTML'===l.nodeName&&!y(d)){var m=c(e.ownerDocument),h=m.height,g=m.width;s.top+=f.top-f.marginTop,s.bottom=h+f.top,s.left+=f.left-f.marginLeft,s.right=g+f.left}else s=f}i=i||0;var u='number'==typeof i;return s.left+=u?i:i.left||0,s.top+=u?i:i.top||0,s.right-=u?i:i.right||0,s.bottom-=u?i:i.bottom||0,s}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,n,i){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return fe({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function L(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,i=n?E(t):a(t,o);return b(o,i,n)}function S(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),n=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),r={width:e.offsetWidth+i,height:e.offsetHeight+n};return r}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function D(e,t,o){o=o.split('-')[0];var n=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return i[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}function C(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var n=C(e,function(e){return e[t]===o});return e.indexOf(n)}function P(t,o,n){var i=void 0===n?t:t.slice(0,N(t,'name',n));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var n=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=D(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function H(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function B(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[H('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function F(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function j(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function V(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n.left-1:n.left),top:m(n.top),bottom:m(n.bottom),right:f(n.right)}}function K(e,t,o){var n=C(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function z(e){return'end'===e?'start':'start'===e?'end':e}function G(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=ce.indexOf(e),n=ce.slice(o+1).concat(ce.slice(0,o));return t?n.reverse():n}function _(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?ee(document.documentElement.clientHeight,window.innerHeight||0):ee(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function X(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(C(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return _(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}function J(e,t){var o,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];return o=Y(+n)?[+n,0]:X(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}for(var Q=Math.min,Z=Math.floor,$=Math.round,ee=Math.max,te='undefined'!=typeof window&&'undefined'!=typeof document,oe=['Edge','Trident','Firefox'],ne=0,ie=0;ie<oe.length;ie+=1)if(te&&0<=navigator.userAgent.indexOf(oe[ie])){ne=1;break}var i=te&&window.Promise,re=i?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},ne))}},pe=te&&!!(window.MSInputMethodContext&&document.documentMode),se=te&&/MSIE 10/.test(navigator.userAgent),de=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},ae=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),le=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},fe=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},me=te&&/Firefox/i.test(navigator.userAgent),he=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],ce=he.slice(3),ge={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ue=function(){function t(o,n){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};de(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=re(this.update.bind(this)),this.options=fe({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(fe({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=fe({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return fe({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return ae(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return B.call(this)}},{key:'enableEventListeners',value:function(){return I.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();return ue.Utils=('undefined'==typeof window?global:window).PopperUtils,ue.placements=he,ue.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){var i=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:le({},d,r[d]),end:le({},d,r[d]+r[a]-p[a])};e.offsets.popper=fe({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=H('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f[e]<a[e]&&!t.escapeWithReference&&(o=ee(f[e],a[e])),le({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=f[o];return f[e]>a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),le({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=fe({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},le(n,m,$(v)),le(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ge.FLIP:p=[n,i];break;case ge.CLOCKWISE:p=G(n);break;case ge.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u);(m||b||y)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),y&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=fe({},e.offsets.popper,D(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport'},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=C(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,n=t.y,i=e.offsets.popper,r=C(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h=q(e,2>window.devicePixelRatio||!me),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=H('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=fe({},E,e.attributes),e.styles=fe({},m,e.styles),e.arrowStyles=fe({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return j(e.instance.popper,e.styles),V(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&j(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),j(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ue});
//# sourceMappingURL=popper.min.js.map
;
/*!
 * typeahead.js 0.11.1
 * https://github.com/twitter/typeahead.js
 * Copyright 2013-2015 Twitter, Inc. and other contributors; Licensed MIT
 */

!function(a,b){"function"==typeof define&&define.amd?define("bloodhound",["jquery"],function(c){return a.Bloodhound=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):a.Bloodhound=b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c="0.11.1",d=function(){"use strict";function a(a){return a=b.toStr(a),a?a.split(/\s+/):[]}function c(a){return a=b.toStr(a),a?a.split(/\W+/):[]}function d(a){return function(c){return c=b.isArray(c)?c:[].slice.call(arguments,0),function(d){var e=[];return b.each(c,function(c){e=e.concat(a(b.toStr(d[c])))}),e}}}return{nonword:c,whitespace:a,obj:{nonword:d(c),whitespace:d(a)}}}(),e=function(){"use strict";function c(c){this.maxSize=b.isNumber(c)?c:100,this.reset(),this.maxSize<=0&&(this.set=this.get=a.noop)}function d(){this.head=this.tail=null}function e(a,b){this.key=a,this.val=b,this.prev=this.next=null}return b.mixin(c.prototype,{set:function(a,b){var c,d=this.list.tail;this.size>=this.maxSize&&(this.list.remove(d),delete this.hash[d.key],this.size--),(c=this.hash[a])?(c.val=b,this.list.moveToFront(c)):(c=new e(a,b),this.list.add(c),this.hash[a]=c,this.size++)},get:function(a){var b=this.hash[a];return b?(this.list.moveToFront(b),b.val):void 0},reset:function(){this.size=0,this.hash={},this.list=new d}}),b.mixin(d.prototype,{add:function(a){this.head&&(a.next=this.head,this.head.prev=a),this.head=a,this.tail=this.tail||a},remove:function(a){a.prev?a.prev.next=a.next:this.head=a.next,a.next?a.next.prev=a.prev:this.tail=a.prev},moveToFront:function(a){this.remove(a),this.add(a)}}),c}(),f=function(){"use strict";function c(a,c){this.prefix=["__",a,"__"].join(""),this.ttlKey="__ttl__",this.keyMatcher=new RegExp("^"+b.escapeRegExChars(this.prefix)),this.ls=c||h,!this.ls&&this._noop()}function d(){return(new Date).getTime()}function e(a){return JSON.stringify(b.isUndefined(a)?null:a)}function f(b){return a.parseJSON(b)}function g(a){var b,c,d=[],e=h.length;for(b=0;e>b;b++)(c=h.key(b)).match(a)&&d.push(c.replace(a,""));return d}var h;try{h=window.localStorage,h.setItem("~~~","!"),h.removeItem("~~~")}catch(i){h=null}return b.mixin(c.prototype,{_prefix:function(a){return this.prefix+a},_ttlKey:function(a){return this._prefix(a)+this.ttlKey},_noop:function(){this.get=this.set=this.remove=this.clear=this.isExpired=b.noop},_safeSet:function(a,b){try{this.ls.setItem(a,b)}catch(c){"QuotaExceededError"===c.name&&(this.clear(),this._noop())}},get:function(a){return this.isExpired(a)&&this.remove(a),f(this.ls.getItem(this._prefix(a)))},set:function(a,c,f){return b.isNumber(f)?this._safeSet(this._ttlKey(a),e(d()+f)):this.ls.removeItem(this._ttlKey(a)),this._safeSet(this._prefix(a),e(c))},remove:function(a){return this.ls.removeItem(this._ttlKey(a)),this.ls.removeItem(this._prefix(a)),this},clear:function(){var a,b=g(this.keyMatcher);for(a=b.length;a--;)this.remove(b[a]);return this},isExpired:function(a){var c=f(this.ls.getItem(this._ttlKey(a)));return b.isNumber(c)&&d()>c?!0:!1}}),c}(),g=function(){"use strict";function c(a){a=a||{},this.cancelled=!1,this.lastReq=null,this._send=a.transport,this._get=a.limiter?a.limiter(this._get):this._get,this._cache=a.cache===!1?new e(0):h}var d=0,f={},g=6,h=new e(10);return c.setMaxPendingRequests=function(a){g=a},c.resetCache=function(){h.reset()},b.mixin(c.prototype,{_fingerprint:function(b){return b=b||{},b.url+b.type+a.param(b.data||{})},_get:function(a,b){function c(a){b(null,a),k._cache.set(i,a)}function e(){b(!0)}function h(){d--,delete f[i],k.onDeckRequestArgs&&(k._get.apply(k,k.onDeckRequestArgs),k.onDeckRequestArgs=null)}var i,j,k=this;i=this._fingerprint(a),this.cancelled||i!==this.lastReq||((j=f[i])?j.done(c).fail(e):g>d?(d++,f[i]=this._send(a).done(c).fail(e).always(h)):this.onDeckRequestArgs=[].slice.call(arguments,0))},get:function(c,d){var e,f;d=d||a.noop,c=b.isString(c)?{url:c}:c||{},f=this._fingerprint(c),this.cancelled=!1,this.lastReq=f,(e=this._cache.get(f))?d(null,e):this._get(c,d)},cancel:function(){this.cancelled=!0}}),c}(),h=window.SearchIndex=function(){"use strict";function c(c){c=c||{},c.datumTokenizer&&c.queryTokenizer||a.error("datumTokenizer and queryTokenizer are both required"),this.identify=c.identify||b.stringify,this.datumTokenizer=c.datumTokenizer,this.queryTokenizer=c.queryTokenizer,this.reset()}function d(a){return a=b.filter(a,function(a){return!!a}),a=b.map(a,function(a){return a.toLowerCase()})}function e(){var a={};return a[i]=[],a[h]={},a}function f(a){for(var b={},c=[],d=0,e=a.length;e>d;d++)b[a[d]]||(b[a[d]]=!0,c.push(a[d]));return c}function g(a,b){var c=0,d=0,e=[];a=a.sort(),b=b.sort();for(var f=a.length,g=b.length;f>c&&g>d;)a[c]<b[d]?c++:a[c]>b[d]?d++:(e.push(a[c]),c++,d++);return e}var h="c",i="i";return b.mixin(c.prototype,{bootstrap:function(a){this.datums=a.datums,this.trie=a.trie},add:function(a){var c=this;a=b.isArray(a)?a:[a],b.each(a,function(a){var f,g;c.datums[f=c.identify(a)]=a,g=d(c.datumTokenizer(a)),b.each(g,function(a){var b,d,g;for(b=c.trie,d=a.split("");g=d.shift();)b=b[h][g]||(b[h][g]=e()),b[i].push(f)})})},get:function(a){var c=this;return b.map(a,function(a){return c.datums[a]})},search:function(a){var c,e,j=this;return c=d(this.queryTokenizer(a)),b.each(c,function(a){var b,c,d,f;if(e&&0===e.length)return!1;for(b=j.trie,c=a.split("");b&&(d=c.shift());)b=b[h][d];return b&&0===c.length?(f=b[i].slice(0),void(e=e?g(e,f):f)):(e=[],!1)}),e?b.map(f(e),function(a){return j.datums[a]}):[]},all:function(){var a=[];for(var b in this.datums)a.push(this.datums[b]);return a},reset:function(){this.datums={},this.trie=e()},serialize:function(){return{datums:this.datums,trie:this.trie}}}),c}(),i=function(){"use strict";function a(a){this.url=a.url,this.ttl=a.ttl,this.cache=a.cache,this.prepare=a.prepare,this.transform=a.transform,this.transport=a.transport,this.thumbprint=a.thumbprint,this.storage=new f(a.cacheKey)}var c;return c={data:"data",protocol:"protocol",thumbprint:"thumbprint"},b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},store:function(a){this.cache&&(this.storage.set(c.data,a,this.ttl),this.storage.set(c.protocol,location.protocol,this.ttl),this.storage.set(c.thumbprint,this.thumbprint,this.ttl))},fromCache:function(){var a,b={};return this.cache?(b.data=this.storage.get(c.data),b.protocol=this.storage.get(c.protocol),b.thumbprint=this.storage.get(c.thumbprint),a=b.thumbprint!==this.thumbprint||b.protocol!==location.protocol,b.data&&!a?b.data:null):null},fromNetwork:function(a){function b(){a(!0)}function c(b){a(null,e.transform(b))}var d,e=this;a&&(d=this.prepare(this._settings()),this.transport(d).fail(b).done(c))},clear:function(){return this.storage.clear(),this}}),a}(),j=function(){"use strict";function a(a){this.url=a.url,this.prepare=a.prepare,this.transform=a.transform,this.transport=new g({cache:a.cache,limiter:a.limiter,transport:a.transport})}return b.mixin(a.prototype,{_settings:function(){return{url:this.url,type:"GET",dataType:"json"}},get:function(a,b){function c(a,c){b(a?[]:e.transform(c))}var d,e=this;if(b)return a=a||"",d=this.prepare(a,this._settings()),this.transport.get(d,c)},cancelLastRequest:function(){this.transport.cancel()}}),a}(),k=function(){"use strict";function d(d){var e;return d?(e={url:null,ttl:864e5,cache:!0,cacheKey:null,thumbprint:"",prepare:b.identity,transform:b.identity,transport:null},d=b.isString(d)?{url:d}:d,d=b.mixin(e,d),!d.url&&a.error("prefetch requires url to be set"),d.transform=d.filter||d.transform,d.cacheKey=d.cacheKey||d.url,d.thumbprint=c+d.thumbprint,d.transport=d.transport?h(d.transport):a.ajax,d):null}function e(c){var d;if(c)return d={url:null,cache:!0,prepare:null,replace:null,wildcard:null,limiter:null,rateLimitBy:"debounce",rateLimitWait:300,transform:b.identity,transport:null},c=b.isString(c)?{url:c}:c,c=b.mixin(d,c),!c.url&&a.error("remote requires url to be set"),c.transform=c.filter||c.transform,c.prepare=f(c),c.limiter=g(c),c.transport=c.transport?h(c.transport):a.ajax,delete c.replace,delete c.wildcard,delete c.rateLimitBy,delete c.rateLimitWait,c}function f(a){function b(a,b){return b.url=f(b.url,a),b}function c(a,b){return b.url=b.url.replace(g,encodeURIComponent(a)),b}function d(a,b){return b}var e,f,g;return e=a.prepare,f=a.replace,g=a.wildcard,e?e:e=f?b:a.wildcard?c:d}function g(a){function c(a){return function(c){return b.debounce(c,a)}}function d(a){return function(c){return b.throttle(c,a)}}var e,f,g;return e=a.limiter,f=a.rateLimitBy,g=a.rateLimitWait,e||(e=/^throttle$/i.test(f)?d(g):c(g)),e}function h(c){return function(d){function e(a){b.defer(function(){g.resolve(a)})}function f(a){b.defer(function(){g.reject(a)})}var g=a.Deferred();return c(d,e,f),g}}return function(c){var f,g;return f={initialize:!0,identify:b.stringify,datumTokenizer:null,queryTokenizer:null,sufficient:5,sorter:null,local:[],prefetch:null,remote:null},c=b.mixin(f,c||{}),!c.datumTokenizer&&a.error("datumTokenizer is required"),!c.queryTokenizer&&a.error("queryTokenizer is required"),g=c.sorter,c.sorter=g?function(a){return a.sort(g)}:b.identity,c.local=b.isFunction(c.local)?c.local():c.local,c.prefetch=d(c.prefetch),c.remote=e(c.remote),c}}(),l=function(){"use strict";function c(a){a=k(a),this.sorter=a.sorter,this.identify=a.identify,this.sufficient=a.sufficient,this.local=a.local,this.remote=a.remote?new j(a.remote):null,this.prefetch=a.prefetch?new i(a.prefetch):null,this.index=new h({identify:this.identify,datumTokenizer:a.datumTokenizer,queryTokenizer:a.queryTokenizer}),a.initialize!==!1&&this.initialize()}var e;return e=window&&window.Bloodhound,c.noConflict=function(){return window&&(window.Bloodhound=e),c},c.tokenizers=d,b.mixin(c.prototype,{__ttAdapter:function(){function a(a,b,d){return c.search(a,b,d)}function b(a,b){return c.search(a,b)}var c=this;return this.remote?a:b},_loadPrefetch:function(){function b(a,b){return a?c.reject():(e.add(b),e.prefetch.store(e.index.serialize()),void c.resolve())}var c,d,e=this;return c=a.Deferred(),this.prefetch?(d=this.prefetch.fromCache())?(this.index.bootstrap(d),c.resolve()):this.prefetch.fromNetwork(b):c.resolve(),c.promise()},_initialize:function(){function a(){b.add(b.local)}var b=this;return this.clear(),(this.initPromise=this._loadPrefetch()).done(a),this.initPromise},initialize:function(a){return!this.initPromise||a?this._initialize():this.initPromise},add:function(a){return this.index.add(a),this},get:function(a){return a=b.isArray(a)?a:[].slice.call(arguments),this.index.get(a)},search:function(a,c,d){function e(a){var c=[];b.each(a,function(a){!b.some(f,function(b){return g.identify(a)===g.identify(b)})&&c.push(a)}),d&&d(c)}var f,g=this;return f=this.sorter(this.index.search(a)),c(this.remote?f.slice():f),this.remote&&f.length<this.sufficient?this.remote.get(a,e):this.remote&&this.remote.cancelLastRequest(),this},all:function(){return this.index.all()},clear:function(){return this.index.reset(),this},clearPrefetchCache:function(){return this.prefetch&&this.prefetch.clear(),this},clearRemoteCache:function(){return g.resetCache(),this},ttAdapter:function(){return this.__ttAdapter()}}),c}();return l}),function(a,b){"function"==typeof define&&define.amd?define("typeahead.js",["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b=function(){"use strict";return{isMsie:function(){return/(msie|trident)/i.test(navigator.userAgent)?navigator.userAgent.match(/(msie |rv:)(\d+(.\d+)?)/i)[2]:!1},isBlankString:function(a){return!a||/^\s*$/.test(a)},escapeRegExChars:function(a){return a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},isString:function(a){return"string"==typeof a},isNumber:function(a){return"number"==typeof a},isArray:a.isArray,isFunction:a.isFunction,isObject:a.isPlainObject,isUndefined:function(a){return"undefined"==typeof a},isElement:function(a){return!(!a||1!==a.nodeType)},isJQuery:function(b){return b instanceof a},toStr:function(a){return b.isUndefined(a)||null===a?"":a+""},bind:a.proxy,each:function(b,c){function d(a,b){return c(b,a)}a.each(b,d)},map:a.map,filter:a.grep,every:function(b,c){var d=!0;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?void 0:!1}),!!d):d},some:function(b,c){var d=!1;return b?(a.each(b,function(a,e){return(d=c.call(null,e,a,b))?!1:void 0}),!!d):d},mixin:a.extend,identity:function(a){return a},clone:function(b){return a.extend(!0,{},b)},getIdGenerator:function(){var a=0;return function(){return a++}},templatify:function(b){function c(){return String(b)}return a.isFunction(b)?b:c},defer:function(a){setTimeout(a,0)},debounce:function(a,b,c){var d,e;return function(){var f,g,h=this,i=arguments;return f=function(){d=null,c||(e=a.apply(h,i))},g=c&&!d,clearTimeout(d),d=setTimeout(f,b),g&&(e=a.apply(h,i)),e}},throttle:function(a,b){var c,d,e,f,g,h;return g=0,h=function(){g=new Date,e=null,f=a.apply(c,d)},function(){var i=new Date,j=b-(i-g);return c=this,d=arguments,0>=j?(clearTimeout(e),e=null,g=i,f=a.apply(c,d)):e||(e=setTimeout(h,j)),f}},stringify:function(a){return b.isString(a)?a:JSON.stringify(a)},noop:function(){}}}(),c=function(){"use strict";function a(a){var g,h;return h=b.mixin({},f,a),g={css:e(),classes:h,html:c(h),selectors:d(h)},{css:g.css,html:g.html,classes:g.classes,selectors:g.selectors,mixin:function(a){b.mixin(a,g)}}}function c(a){return{wrapper:'<span class="'+a.wrapper+'"></span>',menu:'<div class="'+a.menu+'"></div>'}}function d(a){var c={};return b.each(a,function(a,b){c[b]="."+a}),c}function e(){var a={wrapper:{position:"relative",display:"inline-block"},hint:{position:"absolute",top:"0",left:"0",borderColor:"transparent",boxShadow:"none",opacity:"1"},input:{position:"relative",verticalAlign:"top",backgroundColor:"transparent"},inputWithNoHint:{position:"relative",verticalAlign:"top"},menu:{position:"absolute",top:"100%",left:"0",zIndex:"100",display:"none"},ltr:{left:"0",right:"auto"},rtl:{left:"auto",right:" 0"}};return b.isMsie()&&b.mixin(a.input,{backgroundImage:"url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)"}),a}var f={wrapper:"twitter-typeahead",input:"tt-input",hint:"tt-hint",menu:"tt-menu",dataset:"tt-dataset",suggestion:"tt-suggestion",selectable:"tt-selectable",empty:"tt-empty",open:"tt-open",cursor:"tt-cursor",highlight:"tt-highlight"};return a}(),d=function(){"use strict";function c(b){b&&b.el||a.error("EventBus initialized without el"),this.$el=a(b.el)}var d,e;return d="typeahead:",e={render:"rendered",cursorchange:"cursorchanged",select:"selected",autocomplete:"autocompleted"},b.mixin(c.prototype,{_trigger:function(b,c){var e;return e=a.Event(d+b),(c=c||[]).unshift(e),this.$el.trigger.apply(this.$el,c),e},before:function(a){var b,c;return b=[].slice.call(arguments,1),c=this._trigger("before"+a,b),c.isDefaultPrevented()},trigger:function(a){var b;this._trigger(a,[].slice.call(arguments,1)),(b=e[a])&&this._trigger(b,[].slice.call(arguments,1))}}),c}(),e=function(){"use strict";function a(a,b,c,d){var e;if(!c)return this;for(b=b.split(i),c=d?h(c,d):c,this._callbacks=this._callbacks||{};e=b.shift();)this._callbacks[e]=this._callbacks[e]||{sync:[],async:[]},this._callbacks[e][a].push(c);return this}function b(b,c,d){return a.call(this,"async",b,c,d)}function c(b,c,d){return a.call(this,"sync",b,c,d)}function d(a){var b;if(!this._callbacks)return this;for(a=a.split(i);b=a.shift();)delete this._callbacks[b];return this}function e(a){var b,c,d,e,g;if(!this._callbacks)return this;for(a=a.split(i),d=[].slice.call(arguments,1);(b=a.shift())&&(c=this._callbacks[b]);)e=f(c.sync,this,[b].concat(d)),g=f(c.async,this,[b].concat(d)),e()&&j(g);return this}function f(a,b,c){function d(){for(var d,e=0,f=a.length;!d&&f>e;e+=1)d=a[e].apply(b,c)===!1;return!d}return d}function g(){var a;return a=window.setImmediate?function(a){setImmediate(function(){a()})}:function(a){setTimeout(function(){a()},0)}}function h(a,b){return a.bind?a.bind(b):function(){a.apply(b,[].slice.call(arguments,0))}}var i=/\s+/,j=g();return{onSync:c,onAsync:b,off:d,trigger:e}}(),f=function(a){"use strict";function c(a,c,d){for(var e,f=[],g=0,h=a.length;h>g;g++)f.push(b.escapeRegExChars(a[g]));return e=d?"\\b("+f.join("|")+")\\b":"("+f.join("|")+")",c?new RegExp(e):new RegExp(e,"i")}var d={node:null,pattern:null,tagName:"strong",className:null,wordsOnly:!1,caseSensitive:!1};return function(e){function f(b){var c,d,f;return(c=h.exec(b.data))&&(f=a.createElement(e.tagName),e.className&&(f.className=e.className),d=b.splitText(c.index),d.splitText(c[0].length),f.appendChild(d.cloneNode(!0)),b.parentNode.replaceChild(f,d)),!!c}function g(a,b){for(var c,d=3,e=0;e<a.childNodes.length;e++)c=a.childNodes[e],c.nodeType===d?e+=b(c)?1:0:g(c,b)}var h;e=b.mixin({},d,e),e.node&&e.pattern&&(e.pattern=b.isArray(e.pattern)?e.pattern:[e.pattern],h=c(e.pattern,e.caseSensitive,e.wordsOnly),g(e.node,f))}}(window.document),g=function(){"use strict";function c(c,e){c=c||{},c.input||a.error("input is missing"),e.mixin(this),this.$hint=a(c.hint),this.$input=a(c.input),this.query=this.$input.val(),this.queryWhenFocused=this.hasFocus()?this.query:null,this.$overflowHelper=d(this.$input),this._checkLanguageDirection(),0===this.$hint.length&&(this.setHint=this.getHint=this.clearHint=this.clearHintIfInvalid=b.noop)}function d(b){return a('<pre aria-hidden="true"></pre>').css({position:"absolute",visibility:"hidden",whiteSpace:"pre",fontFamily:b.css("font-family"),fontSize:b.css("font-size"),fontStyle:b.css("font-style"),fontVariant:b.css("font-variant"),fontWeight:b.css("font-weight"),wordSpacing:b.css("word-spacing"),letterSpacing:b.css("letter-spacing"),textIndent:b.css("text-indent"),textRendering:b.css("text-rendering"),textTransform:b.css("text-transform")}).insertAfter(b)}function f(a,b){return c.normalizeQuery(a)===c.normalizeQuery(b)}function g(a){return a.altKey||a.ctrlKey||a.metaKey||a.shiftKey}var h;return h={9:"tab",27:"esc",37:"left",39:"right",13:"enter",38:"up",40:"down"},c.normalizeQuery=function(a){return b.toStr(a).replace(/^\s*/g,"").replace(/\s{2,}/g," ")},b.mixin(c.prototype,e,{_onBlur:function(){this.resetInputValue(),this.trigger("blurred")},_onFocus:function(){this.queryWhenFocused=this.query,this.trigger("focused")},_onKeydown:function(a){var b=h[a.which||a.keyCode];this._managePreventDefault(b,a),b&&this._shouldTrigger(b,a)&&this.trigger(b+"Keyed",a)},_onInput:function(){this._setQuery(this.getInputValue()),this.clearHintIfInvalid(),this._checkLanguageDirection()},_managePreventDefault:function(a,b){var c;switch(a){case"up":case"down":c=!g(b);break;default:c=!1}c&&b.preventDefault()},_shouldTrigger:function(a,b){var c;switch(a){case"tab":c=!g(b);break;default:c=!0}return c},_checkLanguageDirection:function(){var a=(this.$input.css("direction")||"ltr").toLowerCase();this.dir!==a&&(this.dir=a,this.$hint.attr("dir",a),this.trigger("langDirChanged",a))},_setQuery:function(a,b){var c,d;c=f(a,this.query),d=c?this.query.length!==a.length:!1,this.query=a,b||c?!b&&d&&this.trigger("whitespaceChanged",this.query):this.trigger("queryChanged",this.query)},bind:function(){var a,c,d,e,f=this;return a=b.bind(this._onBlur,this),c=b.bind(this._onFocus,this),d=b.bind(this._onKeydown,this),e=b.bind(this._onInput,this),this.$input.on("blur.tt",a).on("focus.tt",c).on("keydown.tt",d),!b.isMsie()||b.isMsie()>9?this.$input.on("input.tt",e):this.$input.on("keydown.tt keypress.tt cut.tt paste.tt",function(a){h[a.which||a.keyCode]||b.defer(b.bind(f._onInput,f,a))}),this},focus:function(){this.$input.focus()},blur:function(){this.$input.blur()},getLangDir:function(){return this.dir},getQuery:function(){return this.query||""},setQuery:function(a,b){this.setInputValue(a),this._setQuery(a,b)},hasQueryChangedSinceLastFocus:function(){return this.query!==this.queryWhenFocused},getInputValue:function(){return this.$input.val()},setInputValue:function(a){this.$input.val(a),this.clearHintIfInvalid(),this._checkLanguageDirection()},resetInputValue:function(){this.setInputValue(this.query)},getHint:function(){return this.$hint.val()},setHint:function(a){this.$hint.val(a)},clearHint:function(){this.setHint("")},clearHintIfInvalid:function(){var a,b,c,d;a=this.getInputValue(),b=this.getHint(),c=a!==b&&0===b.indexOf(a),d=""!==a&&c&&!this.hasOverflow(),!d&&this.clearHint()},hasFocus:function(){return this.$input.is(":focus")},hasOverflow:function(){var a=this.$input.width()-2;return this.$overflowHelper.text(this.getInputValue()),this.$overflowHelper.width()>=a},isCursorAtEnd:function(){var a,c,d;return a=this.$input.val().length,c=this.$input[0].selectionStart,b.isNumber(c)?c===a:document.selection?(d=document.selection.createRange(),d.moveStart("character",-a),a===d.text.length):!0},destroy:function(){this.$hint.off(".tt"),this.$input.off(".tt"),this.$overflowHelper.remove(),this.$hint=this.$input=this.$overflowHelper=a("<div>")}}),c}(),h=function(){"use strict";function c(c,e){c=c||{},c.templates=c.templates||{},c.templates.notFound=c.templates.notFound||c.templates.empty,c.source||a.error("missing source"),c.node||a.error("missing node"),c.name&&!h(c.name)&&a.error("invalid dataset name: "+c.name),e.mixin(this),this.highlight=!!c.highlight,this.name=c.name||j(),this.limit=c.limit||5,this.displayFn=d(c.display||c.displayKey),this.templates=g(c.templates,this.displayFn),this.source=c.source.__ttAdapter?c.source.__ttAdapter():c.source,this.async=b.isUndefined(c.async)?this.source.length>2:!!c.async,this._resetLastSuggestion(),this.$el=a(c.node).addClass(this.classes.dataset).addClass(this.classes.dataset+"-"+this.name)}function d(a){function c(b){return b[a]}return a=a||b.stringify,b.isFunction(a)?a:c}function g(c,d){function e(b){return a("<div>").text(d(b))}return{notFound:c.notFound&&b.templatify(c.notFound),pending:c.pending&&b.templatify(c.pending),header:c.header&&b.templatify(c.header),footer:c.footer&&b.templatify(c.footer),suggestion:c.suggestion||e}}function h(a){return/^[_a-zA-Z0-9-]+$/.test(a)}var i,j;return i={val:"tt-selectable-display",obj:"tt-selectable-object"},j=b.getIdGenerator(),c.extractData=function(b){var c=a(b);return c.data(i.obj)?{val:c.data(i.val)||"",obj:c.data(i.obj)||null}:null},b.mixin(c.prototype,e,{_overwrite:function(a,b){b=b||[],b.length?this._renderSuggestions(a,b):this.async&&this.templates.pending?this._renderPending(a):!this.async&&this.templates.notFound?this._renderNotFound(a):this._empty(),this.trigger("rendered",this.name,b,!1)},_append:function(a,b){b=b||[],b.length&&this.$lastSuggestion.length?this._appendSuggestions(a,b):b.length?this._renderSuggestions(a,b):!this.$lastSuggestion.length&&this.templates.notFound&&this._renderNotFound(a),this.trigger("rendered",this.name,b,!0)},_renderSuggestions:function(a,b){var c;c=this._getSuggestionsFragment(a,b),this.$lastSuggestion=c.children().last(),this.$el.html(c).prepend(this._getHeader(a,b)).append(this._getFooter(a,b))},_appendSuggestions:function(a,b){var c,d;c=this._getSuggestionsFragment(a,b),d=c.children().last(),this.$lastSuggestion.after(c),this.$lastSuggestion=d},_renderPending:function(a){var b=this.templates.pending;this._resetLastSuggestion(),b&&this.$el.html(b({query:a,dataset:this.name}))},_renderNotFound:function(a){var b=this.templates.notFound;this._resetLastSuggestion(),b&&this.$el.html(b({query:a,dataset:this.name}))},_empty:function(){this.$el.empty(),this._resetLastSuggestion()},_getSuggestionsFragment:function(c,d){var e,g=this;return e=document.createDocumentFragment(),b.each(d,function(b){var d,f;f=g._injectQuery(c,b),d=a(g.templates.suggestion(f)).data(i.obj,b).data(i.val,g.displayFn(b)).addClass(g.classes.suggestion+" "+g.classes.selectable),e.appendChild(d[0])}),this.highlight&&f({className:this.classes.highlight,node:e,pattern:c}),a(e)},_getFooter:function(a,b){return this.templates.footer?this.templates.footer({query:a,suggestions:b,dataset:this.name}):null},_getHeader:function(a,b){return this.templates.header?this.templates.header({query:a,suggestions:b,dataset:this.name}):null},_resetLastSuggestion:function(){this.$lastSuggestion=a()},_injectQuery:function(a,c){return b.isObject(c)?b.mixin({_query:a},c):c},update:function(b){function c(a){g||(g=!0,a=(a||[]).slice(0,e.limit),h=a.length,e._overwrite(b,a),h<e.limit&&e.async&&e.trigger("asyncRequested",b))}function d(c){c=c||[],!f&&h<e.limit&&(e.cancel=a.noop,h+=c.length,e._append(b,c.slice(0,e.limit-h)),e.async&&e.trigger("asyncReceived",b))}var e=this,f=!1,g=!1,h=0;this.cancel(),this.cancel=function(){f=!0,e.cancel=a.noop,e.async&&e.trigger("asyncCanceled",b)},this.source(b,c,d),!g&&c([])},cancel:a.noop,clear:function(){this._empty(),this.cancel(),this.trigger("cleared")},isEmpty:function(){return this.$el.is(":empty")},destroy:function(){this.$el=a("<div>")}}),c}(),i=function(){"use strict";function c(c,d){function e(b){var c=f.$node.find(b.node).first();return b.node=c.length?c:a("<div>").appendTo(f.$node),new h(b,d)}var f=this;c=c||{},c.node||a.error("node is required"),d.mixin(this),this.$node=a(c.node),this.query=null,this.datasets=b.map(c.datasets,e)}return b.mixin(c.prototype,e,{_onSelectableClick:function(b){this.trigger("selectableClicked",a(b.currentTarget))},_onRendered:function(a,b,c,d){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetRendered",b,c,d)},_onCleared:function(){this.$node.toggleClass(this.classes.empty,this._allDatasetsEmpty()),this.trigger("datasetCleared")},_propagate:function(){this.trigger.apply(this,arguments)},_allDatasetsEmpty:function(){function a(a){return a.isEmpty()}return b.every(this.datasets,a)},_getSelectables:function(){return this.$node.find(this.selectors.selectable)},_removeCursor:function(){var a=this.getActiveSelectable();a&&a.removeClass(this.classes.cursor)},_ensureVisible:function(a){var b,c,d,e;b=a.position().top,c=b+a.outerHeight(!0),d=this.$node.scrollTop(),e=this.$node.height()+parseInt(this.$node.css("paddingTop"),10)+parseInt(this.$node.css("paddingBottom"),10),0>b?this.$node.scrollTop(d+b):c>e&&this.$node.scrollTop(d+(c-e))},bind:function(){var a,c=this;return a=b.bind(this._onSelectableClick,this),this.$node.on("click.tt",this.selectors.selectable,a),b.each(this.datasets,function(a){a.onSync("asyncRequested",c._propagate,c).onSync("asyncCanceled",c._propagate,c).onSync("asyncReceived",c._propagate,c).onSync("rendered",c._onRendered,c).onSync("cleared",c._onCleared,c)}),this},isOpen:function(){return this.$node.hasClass(this.classes.open)},open:function(){this.$node.addClass(this.classes.open)},close:function(){this.$node.removeClass(this.classes.open),this._removeCursor()},setLanguageDirection:function(a){this.$node.attr("dir",a)},selectableRelativeToCursor:function(a){var b,c,d,e;return c=this.getActiveSelectable(),b=this._getSelectables(),d=c?b.index(c):-1,e=d+a,e=(e+1)%(b.length+1)-1,e=-1>e?b.length-1:e,-1===e?null:b.eq(e)},setCursor:function(a){this._removeCursor(),(a=a&&a.first())&&(a.addClass(this.classes.cursor),this._ensureVisible(a))},getSelectableData:function(a){return a&&a.length?h.extractData(a):null},getActiveSelectable:function(){var a=this._getSelectables().filter(this.selectors.cursor).first();return a.length?a:null},getTopSelectable:function(){var a=this._getSelectables().first();return a.length?a:null},update:function(a){function c(b){b.update(a)}var d=a!==this.query;return d&&(this.query=a,b.each(this.datasets,c)),d},empty:function(){function a(a){a.clear()}b.each(this.datasets,a),this.query=null,this.$node.addClass(this.classes.empty)},destroy:function(){function c(a){a.destroy()}this.$node.off(".tt"),this.$node=a("<div>"),b.each(this.datasets,c)}}),c}(),j=function(){"use strict";function a(){i.apply(this,[].slice.call(arguments,0))}var c=i.prototype;return b.mixin(a.prototype,i.prototype,{open:function(){return!this._allDatasetsEmpty()&&this._show(),c.open.apply(this,[].slice.call(arguments,0))},close:function(){return this._hide(),c.close.apply(this,[].slice.call(arguments,0))},_onRendered:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),c._onRendered.apply(this,[].slice.call(arguments,0))},_onCleared:function(){return this._allDatasetsEmpty()?this._hide():this.isOpen()&&this._show(),c._onCleared.apply(this,[].slice.call(arguments,0))},setLanguageDirection:function(a){return this.$node.css("ltr"===a?this.css.ltr:this.css.rtl),c.setLanguageDirection.apply(this,[].slice.call(arguments,0))},_hide:function(){this.$node.hide()},_show:function(){this.$node.css("display","block")}}),a}(),k=function(){"use strict";function c(c,e){var f,g,h,i,j,k,l,m,n,o,p;c=c||{},c.input||a.error("missing input"),c.menu||a.error("missing menu"),c.eventBus||a.error("missing event bus"),e.mixin(this),this.eventBus=c.eventBus,this.minLength=b.isNumber(c.minLength)?c.minLength:1,this.input=c.input,this.menu=c.menu,this.enabled=!0,this.active=!1,this.input.hasFocus()&&this.activate(),this.dir=this.input.getLangDir(),this._hacks(),this.menu.bind().onSync("selectableClicked",this._onSelectableClicked,this).onSync("asyncRequested",this._onAsyncRequested,this).onSync("asyncCanceled",this._onAsyncCanceled,this).onSync("asyncReceived",this._onAsyncReceived,this).onSync("datasetRendered",this._onDatasetRendered,this).onSync("datasetCleared",this._onDatasetCleared,this),f=d(this,"activate","open","_onFocused"),g=d(this,"deactivate","_onBlurred"),h=d(this,"isActive","isOpen","_onEnterKeyed"),i=d(this,"isActive","isOpen","_onTabKeyed"),j=d(this,"isActive","_onEscKeyed"),k=d(this,"isActive","open","_onUpKeyed"),l=d(this,"isActive","open","_onDownKeyed"),m=d(this,"isActive","isOpen","_onLeftKeyed"),n=d(this,"isActive","isOpen","_onRightKeyed"),o=d(this,"_openIfActive","_onQueryChanged"),p=d(this,"_openIfActive","_onWhitespaceChanged"),this.input.bind().onSync("focused",f,this).onSync("blurred",g,this).onSync("enterKeyed",h,this).onSync("tabKeyed",i,this).onSync("escKeyed",j,this).onSync("upKeyed",k,this).onSync("downKeyed",l,this).onSync("leftKeyed",m,this).onSync("rightKeyed",n,this).onSync("queryChanged",o,this).onSync("whitespaceChanged",p,this).onSync("langDirChanged",this._onLangDirChanged,this)}function d(a){var c=[].slice.call(arguments,1);return function(){var d=[].slice.call(arguments);b.each(c,function(b){return a[b].apply(a,d)})}}return b.mixin(c.prototype,{_hacks:function(){var c,d;c=this.input.$input||a("<div>"),d=this.menu.$node||a("<div>"),c.on("blur.tt",function(a){var e,f,g;
e=document.activeElement,f=d.is(e),g=d.has(e).length>0,b.isMsie()&&(f||g)&&(a.preventDefault(),a.stopImmediatePropagation(),b.defer(function(){c.focus()}))}),d.on("mousedown.tt",function(a){a.preventDefault()})},_onSelectableClicked:function(a,b){this.select(b)},_onDatasetCleared:function(){this._updateHint()},_onDatasetRendered:function(a,b,c,d){this._updateHint(),this.eventBus.trigger("render",c,d,b)},_onAsyncRequested:function(a,b,c){this.eventBus.trigger("asyncrequest",c,b)},_onAsyncCanceled:function(a,b,c){this.eventBus.trigger("asynccancel",c,b)},_onAsyncReceived:function(a,b,c){this.eventBus.trigger("asyncreceive",c,b)},_onFocused:function(){this._minLengthMet()&&this.menu.update(this.input.getQuery())},_onBlurred:function(){this.input.hasQueryChangedSinceLastFocus()&&this.eventBus.trigger("change",this.input.getQuery())},_onEnterKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())&&this.select(c)&&b.preventDefault()},_onTabKeyed:function(a,b){var c;(c=this.menu.getActiveSelectable())?this.select(c)&&b.preventDefault():(c=this.menu.getTopSelectable())&&this.autocomplete(c)&&b.preventDefault()},_onEscKeyed:function(){this.close()},_onUpKeyed:function(){this.moveCursor(-1)},_onDownKeyed:function(){this.moveCursor(1)},_onLeftKeyed:function(){"rtl"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onRightKeyed:function(){"ltr"===this.dir&&this.input.isCursorAtEnd()&&this.autocomplete(this.menu.getTopSelectable())},_onQueryChanged:function(a,b){this._minLengthMet(b)?this.menu.update(b):this.menu.empty()},_onWhitespaceChanged:function(){this._updateHint()},_onLangDirChanged:function(a,b){this.dir!==b&&(this.dir=b,this.menu.setLanguageDirection(b))},_openIfActive:function(){this.isActive()&&this.open()},_minLengthMet:function(a){return a=b.isString(a)?a:this.input.getQuery()||"",a.length>=this.minLength},_updateHint:function(){var a,c,d,e,f,h,i;a=this.menu.getTopSelectable(),c=this.menu.getSelectableData(a),d=this.input.getInputValue(),!c||b.isBlankString(d)||this.input.hasOverflow()?this.input.clearHint():(e=g.normalizeQuery(d),f=b.escapeRegExChars(e),h=new RegExp("^(?:"+f+")(.+$)","i"),i=h.exec(c.val),i&&this.input.setHint(d+i[1]))},isEnabled:function(){return this.enabled},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},isActive:function(){return this.active},activate:function(){return this.isActive()?!0:!this.isEnabled()||this.eventBus.before("active")?!1:(this.active=!0,this.eventBus.trigger("active"),!0)},deactivate:function(){return this.isActive()?this.eventBus.before("idle")?!1:(this.active=!1,this.close(),this.eventBus.trigger("idle"),!0):!0},isOpen:function(){return this.menu.isOpen()},open:function(){return this.isOpen()||this.eventBus.before("open")||(this.menu.open(),this._updateHint(),this.eventBus.trigger("open")),this.isOpen()},close:function(){return this.isOpen()&&!this.eventBus.before("close")&&(this.menu.close(),this.input.clearHint(),this.input.resetInputValue(),this.eventBus.trigger("close")),!this.isOpen()},setVal:function(a){this.input.setQuery(b.toStr(a))},getVal:function(){return this.input.getQuery()},select:function(a){var b=this.menu.getSelectableData(a);return b&&!this.eventBus.before("select",b.obj)?(this.input.setQuery(b.val,!0),this.eventBus.trigger("select",b.obj),this.close(),!0):!1},autocomplete:function(a){var b,c,d;return b=this.input.getQuery(),c=this.menu.getSelectableData(a),d=c&&b!==c.val,d&&!this.eventBus.before("autocomplete",c.obj)?(this.input.setQuery(c.val),this.eventBus.trigger("autocomplete",c.obj),!0):!1},moveCursor:function(a){var b,c,d,e,f;return b=this.input.getQuery(),c=this.menu.selectableRelativeToCursor(a),d=this.menu.getSelectableData(c),e=d?d.obj:null,f=this._minLengthMet()&&this.menu.update(b),f||this.eventBus.before("cursorchange",e)?!1:(this.menu.setCursor(c),d?this.input.setInputValue(d.val):(this.input.resetInputValue(),this._updateHint()),this.eventBus.trigger("cursorchange",e),!0)},destroy:function(){this.input.destroy(),this.menu.destroy()}}),c}();!function(){"use strict";function e(b,c){b.each(function(){var b,d=a(this);(b=d.data(p.typeahead))&&c(b,d)})}function f(a,b){return a.clone().addClass(b.classes.hint).removeData().css(b.css.hint).css(l(a)).prop("readonly",!0).removeAttr("id name placeholder required").attr({autocomplete:"off",spellcheck:"false",tabindex:-1})}function h(a,b){a.data(p.attrs,{dir:a.attr("dir"),autocomplete:a.attr("autocomplete"),spellcheck:a.attr("spellcheck"),style:a.attr("style")}),a.addClass(b.classes.input).attr({autocomplete:"off",spellcheck:!1});try{!a.attr("dir")&&a.attr("dir","auto")}catch(c){}return a}function l(a){return{backgroundAttachment:a.css("background-attachment"),backgroundClip:a.css("background-clip"),backgroundColor:a.css("background-color"),backgroundImage:a.css("background-image"),backgroundOrigin:a.css("background-origin"),backgroundPosition:a.css("background-position"),backgroundRepeat:a.css("background-repeat"),backgroundSize:a.css("background-size")}}function m(a){var c,d;c=a.data(p.www),d=a.parent().filter(c.selectors.wrapper),b.each(a.data(p.attrs),function(c,d){b.isUndefined(c)?a.removeAttr(d):a.attr(d,c)}),a.removeData(p.typeahead).removeData(p.www).removeData(p.attr).removeClass(c.classes.input),d.length&&(a.detach().insertAfter(d),d.remove())}function n(c){var d,e;return d=b.isJQuery(c)||b.isElement(c),e=d?a(c).first():[],e.length?e:null}var o,p,q;o=a.fn.typeahead,p={www:"tt-www",attrs:"tt-attrs",typeahead:"tt-typeahead"},q={initialize:function(e,l){function m(){var c,m,q,r,s,t,u,v,w,x,y;b.each(l,function(a){a.highlight=!!e.highlight}),c=a(this),m=a(o.html.wrapper),q=n(e.hint),r=n(e.menu),s=e.hint!==!1&&!q,t=e.menu!==!1&&!r,s&&(q=f(c,o)),t&&(r=a(o.html.menu).css(o.css.menu)),q&&q.val(""),c=h(c,o),(s||t)&&(m.css(o.css.wrapper),c.css(s?o.css.input:o.css.inputWithNoHint),c.wrap(m).parent().prepend(s?q:null).append(t?r:null)),y=t?j:i,u=new d({el:c}),v=new g({hint:q,input:c},o),w=new y({node:r,datasets:l},o),x=new k({input:v,menu:w,eventBus:u,minLength:e.minLength},o),c.data(p.www,o),c.data(p.typeahead,x)}var o;return l=b.isArray(l)?l:[].slice.call(arguments,1),e=e||{},o=c(e.classNames),this.each(m)},isEnabled:function(){var a;return e(this.first(),function(b){a=b.isEnabled()}),a},enable:function(){return e(this,function(a){a.enable()}),this},disable:function(){return e(this,function(a){a.disable()}),this},isActive:function(){var a;return e(this.first(),function(b){a=b.isActive()}),a},activate:function(){return e(this,function(a){a.activate()}),this},deactivate:function(){return e(this,function(a){a.deactivate()}),this},isOpen:function(){var a;return e(this.first(),function(b){a=b.isOpen()}),a},open:function(){return e(this,function(a){a.open()}),this},close:function(){return e(this,function(a){a.close()}),this},select:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.select(d)}),c},autocomplete:function(b){var c=!1,d=a(b);return e(this.first(),function(a){c=a.autocomplete(d)}),c},moveCursor:function(a){var b=!1;return e(this.first(),function(c){b=c.moveCursor(a)}),b},val:function(a){var b;return arguments.length?(e(this,function(b){b.setVal(a)}),this):(e(this.first(),function(a){b=a.getVal()}),b)},destroy:function(){return e(this,function(a,b){m(b),a.destroy()}),this}},a.fn.typeahead=function(a){return q[a]?q[a].apply(this,[].slice.call(arguments,1)):q.initialize.apply(this,arguments)},a.fn.typeahead.noConflict=function(){return a.fn.typeahead=o,this}}()});;
/*!
 * @fileOverview TouchSwipe - jQuery Plugin
 * @version 1.6.18
 *
 * @author Matt Bryson http://www.github.com/mattbryson
 * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
 * @see http://labs.rampinteractive.co.uk/touchSwipe/
 * @see http://plugins.jquery.com/project/touchSwipe
 * @license
 * Copyright (c) 2010-2015 Matt Bryson
 * Dual licensed under the MIT or GPL Version 2 licenses.
 *
 */
!function (factory) { "function" == typeof define && define.amd && define.amd.jQuery ? define(["jquery"], factory) : factory("undefined" != typeof module && module.exports ? require("jquery") : jQuery) }(function ($) { "use strict"; function init(options) { return !options || void 0 !== options.allowPageScroll || void 0 === options.swipe && void 0 === options.swipeStatus || (options.allowPageScroll = NONE), void 0 !== options.click && void 0 === options.tap && (options.tap = options.click), options || (options = {}), options = $.extend({}, $.fn.swipe.defaults, options), this.each(function () { var $this = $(this), plugin = $this.data(PLUGIN_NS); plugin || (plugin = new TouchSwipe(this, options), $this.data(PLUGIN_NS, plugin)) }) } function TouchSwipe(element, options) { function touchStart(jqEvent) { if (!(getTouchInProgress() || $(jqEvent.target).closest(options.excludedElements, $element).length > 0)) { var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent; if (!event.pointerType || "mouse" != event.pointerType || 0 != options.fallbackToMouseEvents) { var ret, touches = event.touches, evt = touches ? touches[0] : event; return phase = PHASE_START, touches ? fingerCount = touches.length : options.preventDefaultEvents !== !1 && jqEvent.preventDefault(), distance = 0, direction = null, currentDirection = null, pinchDirection = null, duration = 0, startTouchesDistance = 0, endTouchesDistance = 0, pinchZoom = 1, pinchDistance = 0, maximumsMap = createMaximumsData(), cancelMultiFingerRelease(), createFingerData(0, evt), !touches || fingerCount === options.fingers || options.fingers === ALL_FINGERS || hasPinches() ? (startTime = getTimeStamp(), 2 == fingerCount && (createFingerData(1, touches[1]), startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start)), (options.swipeStatus || options.pinchStatus) && (ret = triggerHandler(event, phase))) : ret = !1, ret === !1 ? (phase = PHASE_CANCEL, triggerHandler(event, phase), ret) : (options.hold && (holdTimeout = setTimeout($.proxy(function () { $element.trigger("hold", [event.target]), options.hold && (ret = options.hold.call($element, event, event.target)) }, this), options.longTapThreshold)), setTouchInProgress(!0), null) } } } function touchMove(jqEvent) { var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent; if (phase !== PHASE_END && phase !== PHASE_CANCEL && !inMultiFingerRelease()) { var ret, touches = event.touches, evt = touches ? touches[0] : event, currentFinger = updateFingerData(evt); if (endTime = getTimeStamp(), touches && (fingerCount = touches.length), options.hold && clearTimeout(holdTimeout), phase = PHASE_MOVE, 2 == fingerCount && (0 == startTouchesDistance ? (createFingerData(1, touches[1]), startTouchesDistance = endTouchesDistance = calculateTouchesDistance(fingerData[0].start, fingerData[1].start)) : (updateFingerData(touches[1]), endTouchesDistance = calculateTouchesDistance(fingerData[0].end, fingerData[1].end), pinchDirection = calculatePinchDirection(fingerData[0].end, fingerData[1].end)), pinchZoom = calculatePinchZoom(startTouchesDistance, endTouchesDistance), pinchDistance = Math.abs(startTouchesDistance - endTouchesDistance)), fingerCount === options.fingers || options.fingers === ALL_FINGERS || !touches || hasPinches()) { if (direction = calculateDirection(currentFinger.start, currentFinger.end), currentDirection = calculateDirection(currentFinger.last, currentFinger.end), validateDefaultEvent(jqEvent, currentDirection), distance = calculateDistance(currentFinger.start, currentFinger.end), duration = calculateDuration(), setMaxDistance(direction, distance), ret = triggerHandler(event, phase), !options.triggerOnTouchEnd || options.triggerOnTouchLeave) { var inBounds = !0; if (options.triggerOnTouchLeave) { var bounds = getbounds(this); inBounds = isInBounds(currentFinger.end, bounds) } !options.triggerOnTouchEnd && inBounds ? phase = getNextPhase(PHASE_MOVE) : options.triggerOnTouchLeave && !inBounds && (phase = getNextPhase(PHASE_END)), phase != PHASE_CANCEL && phase != PHASE_END || triggerHandler(event, phase) } } else phase = PHASE_CANCEL, triggerHandler(event, phase); ret === !1 && (phase = PHASE_CANCEL, triggerHandler(event, phase)) } } function touchEnd(jqEvent) { var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent, touches = event.touches; if (touches) { if (touches.length && !inMultiFingerRelease()) return startMultiFingerRelease(event), !0; if (touches.length && inMultiFingerRelease()) return !0 } return inMultiFingerRelease() && (fingerCount = fingerCountAtRelease), endTime = getTimeStamp(), duration = calculateDuration(), didSwipeBackToCancel() || !validateSwipeDistance() ? (phase = PHASE_CANCEL, triggerHandler(event, phase)) : options.triggerOnTouchEnd || options.triggerOnTouchEnd === !1 && phase === PHASE_MOVE ? (options.preventDefaultEvents !== !1 && jqEvent.cancelable !== !1 && jqEvent.preventDefault(), phase = PHASE_END, triggerHandler(event, phase)) : !options.triggerOnTouchEnd && hasTap() ? (phase = PHASE_END, triggerHandlerForGesture(event, phase, TAP)) : phase === PHASE_MOVE && (phase = PHASE_CANCEL, triggerHandler(event, phase)), setTouchInProgress(!1), null } function touchCancel() { fingerCount = 0, endTime = 0, startTime = 0, startTouchesDistance = 0, endTouchesDistance = 0, pinchZoom = 1, cancelMultiFingerRelease(), setTouchInProgress(!1) } function touchLeave(jqEvent) { var event = jqEvent.originalEvent ? jqEvent.originalEvent : jqEvent; options.triggerOnTouchLeave && (phase = getNextPhase(PHASE_END), triggerHandler(event, phase)) } function removeListeners() { $element.off(START_EV, touchStart), $element.off(CANCEL_EV, touchCancel), $element.off(MOVE_EV, touchMove), $element.off(END_EV, touchEnd), LEAVE_EV && $element.off(LEAVE_EV, touchLeave), setTouchInProgress(!1) } function getNextPhase(currentPhase) { var nextPhase = currentPhase, validTime = validateSwipeTime(), validDistance = validateSwipeDistance(), didCancel = didSwipeBackToCancel(); return !validTime || didCancel ? nextPhase = PHASE_CANCEL : !validDistance || currentPhase != PHASE_MOVE || options.triggerOnTouchEnd && !options.triggerOnTouchLeave ? !validDistance && currentPhase == PHASE_END && options.triggerOnTouchLeave && (nextPhase = PHASE_CANCEL) : nextPhase = PHASE_END, nextPhase } function triggerHandler(event, phase) { var ret, touches = event.touches; return (didSwipe() || hasSwipes()) && (ret = triggerHandlerForGesture(event, phase, SWIPE)), (didPinch() || hasPinches()) && ret !== !1 && (ret = triggerHandlerForGesture(event, phase, PINCH)), didDoubleTap() && ret !== !1 ? ret = triggerHandlerForGesture(event, phase, DOUBLE_TAP) : didLongTap() && ret !== !1 ? ret = triggerHandlerForGesture(event, phase, LONG_TAP) : didTap() && ret !== !1 && (ret = triggerHandlerForGesture(event, phase, TAP)), phase === PHASE_CANCEL && touchCancel(event), phase === PHASE_END && (touches ? touches.length || touchCancel(event) : touchCancel(event)), ret } function triggerHandlerForGesture(event, phase, gesture) { var ret; if (gesture == SWIPE) { if ($element.trigger("swipeStatus", [phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection]), options.swipeStatus && (ret = options.swipeStatus.call($element, event, phase, direction || null, distance || 0, duration || 0, fingerCount, fingerData, currentDirection), ret === !1)) return !1; if (phase == PHASE_END && validateSwipe()) { if (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), $element.trigger("swipe", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipe && (ret = options.swipe.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection), ret === !1)) return !1; switch (direction) { case LEFT: $element.trigger("swipeLeft", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeLeft && (ret = options.swipeLeft.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection)); break; case RIGHT: $element.trigger("swipeRight", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeRight && (ret = options.swipeRight.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection)); break; case UP: $element.trigger("swipeUp", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeUp && (ret = options.swipeUp.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection)); break; case DOWN: $element.trigger("swipeDown", [direction, distance, duration, fingerCount, fingerData, currentDirection]), options.swipeDown && (ret = options.swipeDown.call($element, event, direction, distance, duration, fingerCount, fingerData, currentDirection)) } } } if (gesture == PINCH) { if ($element.trigger("pinchStatus", [phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchStatus && (ret = options.pinchStatus.call($element, event, phase, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData), ret === !1)) return !1; if (phase == PHASE_END && validatePinch()) switch (pinchDirection) { case IN: $element.trigger("pinchIn", [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchIn && (ret = options.pinchIn.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData)); break; case OUT: $element.trigger("pinchOut", [pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData]), options.pinchOut && (ret = options.pinchOut.call($element, event, pinchDirection || null, pinchDistance || 0, duration || 0, fingerCount, pinchZoom, fingerData)) } } return gesture == TAP ? phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), hasDoubleTap() && !inDoubleTap() ? (doubleTapStartTime = getTimeStamp(), singleTapTimeout = setTimeout($.proxy(function () { doubleTapStartTime = null, $element.trigger("tap", [event.target]), options.tap && (ret = options.tap.call($element, event, event.target)) }, this), options.doubleTapThreshold)) : (doubleTapStartTime = null, $element.trigger("tap", [event.target]), options.tap && (ret = options.tap.call($element, event, event.target)))) : gesture == DOUBLE_TAP ? phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), clearTimeout(holdTimeout), doubleTapStartTime = null, $element.trigger("doubletap", [event.target]), options.doubleTap && (ret = options.doubleTap.call($element, event, event.target))) : gesture == LONG_TAP && (phase !== PHASE_CANCEL && phase !== PHASE_END || (clearTimeout(singleTapTimeout), doubleTapStartTime = null, $element.trigger("longtap", [event.target]), options.longTap && (ret = options.longTap.call($element, event, event.target)))), ret } function validateSwipeDistance() { var valid = !0; return null !== options.threshold && (valid = distance >= options.threshold), valid } function didSwipeBackToCancel() { var cancelled = !1; return null !== options.cancelThreshold && null !== direction && (cancelled = getMaxDistance(direction) - distance >= options.cancelThreshold), cancelled } function validatePinchDistance() { return null !== options.pinchThreshold ? pinchDistance >= options.pinchThreshold : !0 } function validateSwipeTime() { var result; return result = options.maxTimeThreshold ? !(duration >= options.maxTimeThreshold) : !0 } function validateDefaultEvent(jqEvent, direction) { if (options.preventDefaultEvents !== !1) if (options.allowPageScroll === NONE) jqEvent.preventDefault(); else { var auto = options.allowPageScroll === AUTO; switch (direction) { case LEFT: (options.swipeLeft && auto || !auto && options.allowPageScroll != HORIZONTAL) && jqEvent.preventDefault(); break; case RIGHT: (options.swipeRight && auto || !auto && options.allowPageScroll != HORIZONTAL) && jqEvent.preventDefault(); break; case UP: (options.swipeUp && auto || !auto && options.allowPageScroll != VERTICAL) && jqEvent.preventDefault(); break; case DOWN: (options.swipeDown && auto || !auto && options.allowPageScroll != VERTICAL) && jqEvent.preventDefault(); break; case NONE: } } } function validatePinch() { var hasCorrectFingerCount = validateFingers(), hasEndPoint = validateEndPoint(), hasCorrectDistance = validatePinchDistance(); return hasCorrectFingerCount && hasEndPoint && hasCorrectDistance } function hasPinches() { return !!(options.pinchStatus || options.pinchIn || options.pinchOut) } function didPinch() { return !(!validatePinch() || !hasPinches()) } function validateSwipe() { var hasValidTime = validateSwipeTime(), hasValidDistance = validateSwipeDistance(), hasCorrectFingerCount = validateFingers(), hasEndPoint = validateEndPoint(), didCancel = didSwipeBackToCancel(), valid = !didCancel && hasEndPoint && hasCorrectFingerCount && hasValidDistance && hasValidTime; return valid } function hasSwipes() { return !!(options.swipe || options.swipeStatus || options.swipeLeft || options.swipeRight || options.swipeUp || options.swipeDown) } function didSwipe() { return !(!validateSwipe() || !hasSwipes()) } function validateFingers() { return fingerCount === options.fingers || options.fingers === ALL_FINGERS || !SUPPORTS_TOUCH } function validateEndPoint() { return 0 !== fingerData[0].end.x } function hasTap() { return !!options.tap } function hasDoubleTap() { return !!options.doubleTap } function hasLongTap() { return !!options.longTap } function validateDoubleTap() { if (null == doubleTapStartTime) return !1; var now = getTimeStamp(); return hasDoubleTap() && now - doubleTapStartTime <= options.doubleTapThreshold } function inDoubleTap() { return validateDoubleTap() } function validateTap() { return (1 === fingerCount || !SUPPORTS_TOUCH) && (isNaN(distance) || distance < options.threshold) } function validateLongTap() { return duration > options.longTapThreshold && DOUBLE_TAP_THRESHOLD > distance } function didTap() { return !(!validateTap() || !hasTap()) } function didDoubleTap() { return !(!validateDoubleTap() || !hasDoubleTap()) } function didLongTap() { return !(!validateLongTap() || !hasLongTap()) } function startMultiFingerRelease(event) { previousTouchEndTime = getTimeStamp(), fingerCountAtRelease = event.touches.length + 1 } function cancelMultiFingerRelease() { previousTouchEndTime = 0, fingerCountAtRelease = 0 } function inMultiFingerRelease() { var withinThreshold = !1; if (previousTouchEndTime) { var diff = getTimeStamp() - previousTouchEndTime; diff <= options.fingerReleaseThreshold && (withinThreshold = !0) } return withinThreshold } function getTouchInProgress() { return !($element.data(PLUGIN_NS + "_intouch") !== !0) } function setTouchInProgress(val) { $element && (val === !0 ? ($element.on(MOVE_EV, touchMove), $element.on(END_EV, touchEnd), LEAVE_EV && $element.on(LEAVE_EV, touchLeave)) : ($element.off(MOVE_EV, touchMove, !1), $element.off(END_EV, touchEnd, !1), LEAVE_EV && $element.off(LEAVE_EV, touchLeave, !1)), $element.data(PLUGIN_NS + "_intouch", val === !0)) } function createFingerData(id, evt) { var f = { start: { x: 0, y: 0 }, last: { x: 0, y: 0 }, end: { x: 0, y: 0 } }; return f.start.x = f.last.x = f.end.x = evt.pageX || evt.clientX, f.start.y = f.last.y = f.end.y = evt.pageY || evt.clientY, fingerData[id] = f, f } function updateFingerData(evt) { var id = void 0 !== evt.identifier ? evt.identifier : 0, f = getFingerData(id); return null === f && (f = createFingerData(id, evt)), f.last.x = f.end.x, f.last.y = f.end.y, f.end.x = evt.pageX || evt.clientX, f.end.y = evt.pageY || evt.clientY, f } function getFingerData(id) { return fingerData[id] || null } function setMaxDistance(direction, distance) { direction != NONE && (distance = Math.max(distance, getMaxDistance(direction)), maximumsMap[direction].distance = distance) } function getMaxDistance(direction) { return maximumsMap[direction] ? maximumsMap[direction].distance : void 0 } function createMaximumsData() { var maxData = {}; return maxData[LEFT] = createMaximumVO(LEFT), maxData[RIGHT] = createMaximumVO(RIGHT), maxData[UP] = createMaximumVO(UP), maxData[DOWN] = createMaximumVO(DOWN), maxData } function createMaximumVO(dir) { return { direction: dir, distance: 0 } } function calculateDuration() { return endTime - startTime } function calculateTouchesDistance(startPoint, endPoint) { var diffX = Math.abs(startPoint.x - endPoint.x), diffY = Math.abs(startPoint.y - endPoint.y); return Math.round(Math.sqrt(diffX * diffX + diffY * diffY)) } function calculatePinchZoom(startDistance, endDistance) { var percent = endDistance / startDistance * 1; return percent.toFixed(2) } function calculatePinchDirection() { return 1 > pinchZoom ? OUT : IN } function calculateDistance(startPoint, endPoint) { return Math.round(Math.sqrt(Math.pow(endPoint.x - startPoint.x, 2) + Math.pow(endPoint.y - startPoint.y, 2))) } function calculateAngle(startPoint, endPoint) { var x = startPoint.x - endPoint.x, y = endPoint.y - startPoint.y, r = Math.atan2(y, x), angle = Math.round(180 * r / Math.PI); return 0 > angle && (angle = 360 - Math.abs(angle)), angle } function calculateDirection(startPoint, endPoint) { if (comparePoints(startPoint, endPoint)) return NONE; var angle = calculateAngle(startPoint, endPoint); return 45 >= angle && angle >= 0 ? LEFT : 360 >= angle && angle >= 315 ? LEFT : angle >= 135 && 225 >= angle ? RIGHT : angle > 45 && 135 > angle ? DOWN : UP } function getTimeStamp() { var now = new Date; return now.getTime() } function getbounds(el) { el = $(el); var offset = el.offset(), bounds = { left: offset.left, right: offset.left + el.outerWidth(), top: offset.top, bottom: offset.top + el.outerHeight() }; return bounds } function isInBounds(point, bounds) { return point.x > bounds.left && point.x < bounds.right && point.y > bounds.top && point.y < bounds.bottom } function comparePoints(pointA, pointB) { return pointA.x == pointB.x && pointA.y == pointB.y } var options = $.extend({}, options), useTouchEvents = SUPPORTS_TOUCH || SUPPORTS_POINTER || !options.fallbackToMouseEvents, START_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerDown" : "pointerdown" : "touchstart" : "mousedown", MOVE_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerMove" : "pointermove" : "touchmove" : "mousemove", END_EV = useTouchEvents ? SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerUp" : "pointerup" : "touchend" : "mouseup", LEAVE_EV = useTouchEvents ? SUPPORTS_POINTER ? "mouseleave" : null : "mouseleave", CANCEL_EV = SUPPORTS_POINTER ? SUPPORTS_POINTER_IE10 ? "MSPointerCancel" : "pointercancel" : "touchcancel", distance = 0, direction = null, currentDirection = null, duration = 0, startTouchesDistance = 0, endTouchesDistance = 0, pinchZoom = 1, pinchDistance = 0, pinchDirection = 0, maximumsMap = null, $element = $(element), phase = "start", fingerCount = 0, fingerData = {}, startTime = 0, endTime = 0, previousTouchEndTime = 0, fingerCountAtRelease = 0, doubleTapStartTime = 0, singleTapTimeout = null, holdTimeout = null; try { $element.on(START_EV, touchStart), $element.on(CANCEL_EV, touchCancel) } catch (e) { $.error("events not supported " + START_EV + "," + CANCEL_EV + " on jQuery.swipe") } this.enable = function () { return this.disable(), $element.on(START_EV, touchStart), $element.on(CANCEL_EV, touchCancel), $element }, this.disable = function () { return removeListeners(), $element }, this.destroy = function () { removeListeners(), $element.data(PLUGIN_NS, null), $element = null }, this.option = function (property, value) { if ("object" == typeof property) options = $.extend(options, property); else if (void 0 !== options[property]) { if (void 0 === value) return options[property]; options[property] = value } else { if (!property) return options; $.error("Option " + property + " does not exist on jQuery.swipe.options") } return null } } var VERSION = "1.6.18", LEFT = "left", RIGHT = "right", UP = "up", DOWN = "down", IN = "in", OUT = "out", NONE = "none", AUTO = "auto", SWIPE = "swipe", PINCH = "pinch", TAP = "tap", DOUBLE_TAP = "doubletap", LONG_TAP = "longtap", HORIZONTAL = "horizontal", VERTICAL = "vertical", ALL_FINGERS = "all", DOUBLE_TAP_THRESHOLD = 10, PHASE_START = "start", PHASE_MOVE = "move", PHASE_END = "end", PHASE_CANCEL = "cancel", SUPPORTS_TOUCH = "ontouchstart" in window, SUPPORTS_POINTER_IE10 = window.navigator.msPointerEnabled && !window.PointerEvent && !SUPPORTS_TOUCH, SUPPORTS_POINTER = (window.PointerEvent || window.navigator.msPointerEnabled) && !SUPPORTS_TOUCH, PLUGIN_NS = "TouchSwipe", defaults = { fingers: 1, threshold: 75, cancelThreshold: null, pinchThreshold: 20, maxTimeThreshold: null, fingerReleaseThreshold: 250, longTapThreshold: 500, doubleTapThreshold: 200, swipe: null, swipeLeft: null, swipeRight: null, swipeUp: null, swipeDown: null, swipeStatus: null, pinchIn: null, pinchOut: null, pinchStatus: null, click: null, tap: null, doubleTap: null, longTap: null, hold: null, triggerOnTouchEnd: !0, triggerOnTouchLeave: !1, allowPageScroll: "auto", fallbackToMouseEvents: !0, excludedElements: ".noSwipe", preventDefaultEvents: !0 }; $.fn.swipe = function (method) { var $this = $(this), plugin = $this.data(PLUGIN_NS); if (plugin && "string" == typeof method) { if (plugin[method]) return plugin[method].apply(plugin, Array.prototype.slice.call(arguments, 1)); $.error("Method " + method + " does not exist on jQuery.swipe") } else if (plugin && "object" == typeof method) plugin.option.apply(plugin, arguments); else if (!(plugin || "object" != typeof method && method)) return init.apply(this, arguments); return $this }, $.fn.swipe.version = VERSION, $.fn.swipe.defaults = defaults, $.fn.swipe.phases = { PHASE_START: PHASE_START, PHASE_MOVE: PHASE_MOVE, PHASE_END: PHASE_END, PHASE_CANCEL: PHASE_CANCEL }, $.fn.swipe.directions = { LEFT: LEFT, RIGHT: RIGHT, UP: UP, DOWN: DOWN, IN: IN, OUT: OUT }, $.fn.swipe.pageScroll = { NONE: NONE, HORIZONTAL: HORIZONTAL, VERTICAL: VERTICAL, AUTO: AUTO }, $.fn.swipe.fingers = { ONE: 1, TWO: 2, THREE: 3, FOUR: 4, FIVE: 5, ALL: ALL_FINGERS } });;
/*! For license information please see okta-auth-js.min.js.LICENSE.txt */
var OktaAuth;!function(){var e={66419:function(e,t,r){e.exports=r(27698)},41511:function(e,t,r){e.exports=r(83363)},77766:function(e,t,r){e.exports=r(8065)},20116:function(e,t,r){e.exports=r(11955)},94473:function(e,t,r){e.exports=r(61577)},78914:function(e,t,r){e.exports=r(46279)},81643:function(e,t,r){e.exports=r(19373)},2991:function(e,t,r){e.exports=r(61798)},3649:function(e,t,r){e.exports=r(82073)},59340:function(e,t,r){e.exports=r(8933)},20368:function(e,t,r){e.exports=r(57396)},63978:function(e,t,r){e.exports=r(41910)},26295:function(e,t,r){e.exports=r(86209)},21306:function(e,t,r){e.exports=r(53402)},34074:function(e,t,r){e.exports=r(79427)},39649:function(e,t,r){e.exports=r(62857)},14310:function(e,t,r){e.exports=r(9534)},86902:function(e,t,r){e.exports=r(23059)},93476:function(e,t,r){e.exports=r(27460)},65420:function(e,t,r){e.exports=r(92547)},39969:function(e,t,r){e.exports=r(57641)},53592:function(e,t,r){e.exports=r(27385)},78363:function(e,t,r){e.exports=r(81522)},19996:function(e,t,r){e.exports=r(32209)},16976:function(e,t,r){e.exports=r(1258)},95683:function(e,t,r){e.exports=r(69447)},95238:function(e,t,r){e.exports=r(81493)},44341:function(e,t,r){e.exports=r(73685)},63263:function(e,t,r){e.exports=r(84710)},89356:function(e,t,r){e.exports=r(93799)},69798:function(e,t,r){e.exports=r(29531)},51446:function(e,t,r){e.exports=r(86600)},23882:function(e,t,r){e.exports=r(9759)},34243:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},57726:function(e,t,r){var n=r(78363);e.exports=function(e){if(n(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},46868:function(e,t,r){var n=r(78363),o=r(34243);e.exports=function(e){if(n(e))return o(e)},e.exports.default=e.exports,e.exports.__esModule=!0},51161:function(e,t,r){var n=r(69798);function o(e,t,r,o,i,a,u){try{var s=e[a](u),c=s.value}catch(e){return void r(e)}s.done?t(c):n.resolve(c).then(o,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new n((function(n,i){var a=e.apply(t,r);function u(e){o(a,n,i,u,s,"next",e)}function s(e){o(a,n,i,u,s,"throw",e)}u(void 0)}))}},e.exports.default=e.exports,e.exports.__esModule=!0},87672:function(e,t,r){var n=r(44341);e.exports=function(e,t,r){return t in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},60530:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},85400:function(e,t,r){var n=r(51446),o=r(19996),i=r(53592);e.exports=function(e){if(void 0!==n&&null!=o(e)||null!=e["@@iterator"])return i(e)},e.exports.default=e.exports,e.exports.__esModule=!0},65056:function(e,t,r){var n=r(51446),o=r(19996);e.exports=function(e,t){var r=null==e?null:void 0!==n&&o(e)||e["@@iterator"];if(null!=r){var i,a,u=[],s=!0,c=!1;try{for(r=r.call(e);!(s=(i=r.next()).done)&&(u.push(i.value),!t||u.length!==t);s=!0);}catch(e){c=!0,a=e}finally{try{s||null==r.return||r.return()}finally{if(c)throw a}}return u}},e.exports.default=e.exports,e.exports.__esModule=!0},79736:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},76670:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},80122:function(e,t,r){var n=r(63263),o=r(95683),i=r(44590);e.exports=function(e,t){if(null==e)return{};var r,a,u=i(e,t);if(n){var s=n(e);for(a=0;a<s.length;a++)r=s[a],o(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(u[r]=e[r])}return u},e.exports.default=e.exports,e.exports.__esModule=!0},44590:function(e,t,r){var n=r(89356),o=r(95683);e.exports=function(e,t){if(null==e)return{};var r,i,a={},u=n(e);for(i=0;i<u.length;i++)r=u[i],o(t).call(t,r)>=0||(a[r]=e[r]);return a},e.exports.default=e.exports,e.exports.__esModule=!0},18777:function(e,t,r){var n=r(57726),o=r(65056),i=r(79299),a=r(79736);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},59036:function(e,t,r){var n=r(46868),o=r(85400),i=r(79299),a=r(76670);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},23765:function(e,t,r){var n=r(51446),o=r(23882);function i(t){return"function"==typeof n&&"symbol"==typeof o?(e.exports=i=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),i(t)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},79299:function(e,t,r){var n=r(95238),o=r(53592),i=r(34243);e.exports=function(e,t){var r;if(e){if("string"==typeof e)return i(e,t);var a=n(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?o(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},63109:function(e,t,r){e.exports=r(35666)},67228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.default=e.exports,e.exports.__esModule=!0},22858:function(e){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},23646:function(e,t,r){var n=r(67228);e.exports=function(e){if(Array.isArray(e))return n(e)},e.exports.default=e.exports,e.exports.__esModule=!0},81506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},34575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.default=e.exports,e.exports.__esModule=!0},69100:function(e,t,r){var n=r(99489),o=r(57067);function i(t,r,a){return o()?(e.exports=i=Reflect.construct,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=i=function(e,t,r){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return r&&n(i,r.prototype),i},e.exports.default=e.exports,e.exports.__esModule=!0),i.apply(null,arguments)}e.exports=i,e.exports.default=e.exports,e.exports.__esModule=!0},93913:function(e){function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e},e.exports.default=e.exports,e.exports.__esModule=!0},59713:function(e){e.exports=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.default=e.exports,e.exports.__esModule=!0},16525:function(e,t,r){var n=r(58331);function o(t,r,i){return"undefined"!=typeof Reflect&&Reflect.get?(e.exports=o=Reflect.get,e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=o=function(e,t,r){var o=n(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(r):i.value}},e.exports.default=e.exports,e.exports.__esModule=!0),o(t,r,i||t)}e.exports=o,e.exports.default=e.exports,e.exports.__esModule=!0},29754:function(e){function t(r){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.default=e.exports,e.exports.__esModule=!0,t(r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},2205:function(e,t,r){var n=r(99489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},70430:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.default=e.exports,e.exports.__esModule=!0},57067:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.default=e.exports,e.exports.__esModule=!0},46860:function(e){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},13884:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i=[],a=!0,u=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){u=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(u)throw o}}return i}},e.exports.default=e.exports,e.exports.__esModule=!0},80521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},98206:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},78585:function(e,t,r){var n=r(50008).default,o=r(81506);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?o(e):t},e.exports.default=e.exports,e.exports.__esModule=!0},99489:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(r,n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},63038:function(e,t,r){var n=r(22858),o=r(13884),i=r(60379),a=r(80521);e.exports=function(e,t){return n(e)||o(e,t)||i(e,t)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},58331:function(e,t,r){var n=r(29754);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e},e.exports.default=e.exports,e.exports.__esModule=!0},319:function(e,t,r){var n=r(23646),o=r(46860),i=r(60379),a=r(98206);e.exports=function(e){return n(e)||o(e)||i(e)||a()},e.exports.default=e.exports,e.exports.__esModule=!0},50008:function(e){function t(r){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},60379:function(e,t,r){var n=r(67228);e.exports=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},65957:function(e,t,r){var n=r(29754),o=r(99489),i=r(70430),a=r(69100);function u(t){var r="function"==typeof Map?new Map:void 0;return e.exports=u=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(e))return r.get(e);r.set(e,t)}function t(){return a(e,arguments,n(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.default=e.exports,e.exports.__esModule=!0,u(t)}e.exports=u,e.exports.default=e.exports,e.exports.__esModule=!0},87757:function(e,t,r){e.exports=r(35666)},57320:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(63109));r(69600);var a=o(r(18777)),u=o(r(51161)),s=o(r(93476)),c=o(r(2991)),f=o(r(26295)),l=o(r(77766)),p=r(51032),d=function(e){return e.json().then((function(e){return s.default.reject(e)}))},h=function(){var e=(0,u.default)(i.default.mark((function e(t){var r,n,o,u,s,h,v,g,y,m,b,k,w,x;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,o=t.baseUrl,u=t.scopes,s=void 0===u?["openid","email"]:u,h=t.redirectUri,v=t.codeChallenge,g=t.codeChallengeMethod,y=t.state,m=t.activationToken,b="".concat(o,"/v1/interact"),k={client_id:n,scope:s.join(" "),redirect_uri:h,code_challenge:v,code_challenge_method:g,state:y},m&&(k.activation_token=m),w=(0,c.default)(r=(0,f.default)(k)).call(r,(function(e){var t,r=(0,a.default)(e,2),n=r[0],o=r[1];return(0,l.default)(t="".concat(n,"=")).call(t,encodeURIComponent(o))})).join("&"),x={"content-type":"application/x-www-form-urlencoded"},e.abrupt("return",(0,p.request)(b,{headers:x,body:w}).then((function(e){return e.ok?e.json():d(e)})).then((function(e){return e.interaction_handle})));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),v=h;t.default=v},51032:function(e,t,r){"use strict";var n=r(86902),o=r(14310),i=r(20116),a=r(34074),u=r(78914),s=r(39649),c=r(20368),f=r(63978),l=r(60530);f(t,"__esModule",{value:!0}),t.request=t.HttpClient=void 0;var p=l(r(63109)),d=l(r(78914)),h=l(r(87672)),v=l(r(51161)),g=l(r(54098)),y=r(68082);function m(e,t){var r=n(e);if(o){var u=o(e);t&&(u=i(u).call(u,(function(t){return a(e,t).enumerable}))),r.push.apply(r,u)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)u(r=m(Object(n),!0)).call(r,(function(t){(0,h.default)(e,t,n[t])}));else if(s)c(e,s(n));else{var o;u(o=m(Object(n))).call(o,(function(t){f(e,t,a(n,t))}))}}return e}var k={interceptors:{request:new function(){this.handlers=[],this.use=function(e){this.handlers.push({before:e})},this.clear=function(){this.handlers=[]}}}};t.HttpClient=k;var w=function(){var e=(0,v.default)(p.default.mark((function e(t,r){var n,o,i,a,u,s,c,f,l,h;return p.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=r.method,o=void 0===n?"POST":n,i=r.headers,a=void 0===i?{}:i,u=r.credentials,s=void 0===u?"include":u,c=r.body,f={url:t,method:o,headers:b(b({},(0,y.userAgentHeaders)()),a),credentials:s,body:c},k.interceptors&&(0,d.default)(l=k.interceptors.request.handlers).call(l,(function(e){e.before(f)})),h=f.url,delete f.url,e.abrupt("return",(0,g.default)(h,f));case 6:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}();t.request=w},36760:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(63109)),a=o(r(81643)),u=o(r(93476)),s=o(r(39969));r(15306),r(74916);var c=o(r(51161)),f=o(r(75284)),l=o(r(57320)),p=o(r(33584)),d=r(51032),h="1.0.0",v=function(){var e=(0,c.default)(i.default.mark((function e(t){var r,n,o,c,d,h,v,g,y,m,b,k,w,x,O,S,T,E,A,_,j,P,R;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.clientId,c=t.domain,d=t.issuer,h=t.stateHandle,v=t.interactionHandle,g=t.version,y=t.redirectUri,m=t.state,b=t.scopes,k=t.codeChallenge,w=t.codeChallengeMethod,x=t.stateTokenExternalId,O=t.activationToken,d=null===(r=d)||void 0===r?void 0:r.replace(/\/+$/,""),S=(null===(n=d)||void 0===n?void 0:(0,a.default)(n).call(n,"/oauth2"))>0?d:d+"/oauth2",T={baseUrl:S,clientId:o,state:m},c||d){e.next=6;break}return e.abrupt("return",u.default.reject({error:"issuer is required"}));case 6:if(h||o){e.next=8;break}return e.abrupt("return",u.default.reject({error:"clientId is required"}));case 8:if(h||y){e.next=10;break}return e.abrupt("return",u.default.reject({error:"redirectUri is required"}));case 10:if(h||k&&w){e.next=12;break}return e.abrupt("return",u.default.reject({error:"PKCE params (codeChallenge, codeChallengeMethod) are required"}));case 12:if(c||(c=new s.default(d).origin),g){e.next=15;break}return e.abrupt("return",u.default.reject({error:"version is required"}));case 15:if((null!=g?g:"").replace(/[^0-9a-zA-Z._-]/,"")===g&&g){e.next=18;break}return e.abrupt("return",u.default.reject({error:"invalid version supplied - version is required and uses semver syntax"}));case 18:if(h||v){e.next=31;break}return e.prev=19,E={clientId:o,baseUrl:S,scopes:b,redirectUri:y,codeChallenge:k,codeChallengeMethod:w,state:m,activationToken:O},e.next=23,(0,l.default)(E);case 23:A=e.sent,v=A,T.interactionHandle=v,e.next=31;break;case 28:return e.prev=28,e.t0=e.catch(19),e.abrupt("return",u.default.reject({error:e.t0}));case 31:return e.prev=31,_=(0,p.default)(g),j=_.makeIdxState,e.next=35,(0,f.default)({domain:c,interactionHandle:v,stateHandle:h,version:g,stateTokenExternalId:x}).catch((function(e){return u.default.reject({error:"introspect call failed",details:j(e,T)})}));case 35:return P=e.sent,R=j(P,T),e.abrupt("return",R);case 40:return e.prev=40,e.t1=e.catch(31),e.abrupt("return",u.default.reject({error:e.t1}));case 43:case"end":return e.stop()}}),e,null,[[19,28],[31,40]])})));return function(t){return e.apply(this,arguments)}}(),g=(0,p.default)(h).makeIdxState,y={start:v,introspect:f.default,interact:l.default,makeIdxState:g,client:d.HttpClient,LATEST_SUPPORTED_IDX_API_VERSION:h};t.default=y},75284:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(63109)),a=o(r(51161)),u=o(r(93476)),s=o(r(59340)),c=r(51032),f=function(e){return e.json().then((function(e){return u.default.reject(e)}))},l=function(){var e=(0,a.default)(i.default.mark((function e(t){var r,n,o,a,u,l,p,d;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.domain,n=t.interactionHandle,o=t.stateHandle,a=t.version,u=t.stateTokenExternalId,l="".concat(r,"/idp/idx/introspect"),p=o?{stateToken:o}:{interactionHandle:n},u&&(p.stateTokenExternalId=u),d={"content-type":"application/ion+json; okta-version=".concat(a),accept:"application/ion+json; okta-version=".concat(a)},e.abrupt("return",(0,c.request)(l,{headers:d,body:(0,s.default)(p)}).then((function(e){return e.ok?e.json():f(e)})));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),p=l;t.default=p},33584:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(22080));t.default=function(e){switch(e){case"1.0.0":return i.default;case void 0:case null:throw new Error("Api version is required");default:throw new Error("Unknown api version: ".concat(e,".  Use an exact semver version."))}}},68082:function(e,t,r){"use strict";r(63978)(t,"__esModule",{value:!0}),t.userAgentHeaders=t.getUserAgent=void 0;var n=function(){return"okta-idx-js/".concat("0.23.0")};t.getUserAgent=n,t.userAgentHeaders=function(){return{"X-Okta-User-Agent-Extended":n()}}},80035:function(e,t,r){"use strict";r(41539);var n=r(3649),o=r(66419),i=r(65420),a=r(19996),u=r(41511),s=r(16976),c=r(63978),f=r(60530);c(t,"__esModule",{value:!0}),t.divideActionParamsByMutability=void 0;var l=f(r(41511));function p(e,t){var r;if(void 0===i||null==a(e)){if(u(e)||(r=function(e,t){var r;if(e){if("string"==typeof e)return d(e,t);var i=n(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?o(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var c=0,f=function(){};return{s:f,n:function(){return c>=e.length?{done:!0}:{done:!1,value:e[c++]}},e:function(e){throw e},f:f}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,p=!0,h=!1;return{s:function(){r=s(e)},n:function(){var e=r.next();return p=e.done,e},e:function(e){h=!0,l=e},f:function(){try{p||null==r.return||r.return()}finally{if(h)throw l}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r(68309);var h=function(e){return!1!==e.mutable},v=function(e){var t={},r=[],n={};if(!e.value)return r.push(e),{defaultParamsForAction:t,neededParamsForAction:r,immutableParamsForAction:n};var o,i=p(e.value);try{for(i.s();!(o=i.n()).done;){var a,u,s=o.value;h(s)?(r.push(s),null!==(a=s.value)&&void 0!==a&&a&&(t[s.name]=s.value)):n[s.name]=null!==(u=s.value)&&void 0!==u?u:""}}catch(e){i.e(e)}finally{i.f()}return{defaultParamsForAction:t,neededParamsForAction:r,immutableParamsForAction:n}};t.divideActionParamsByMutability=function(e){var t,r=[],n={},o={},i=p(e=(0,l.default)(e)?e:[e]);try{for(i.s();!(t=i.n()).done;){var a=t.value,u=v(a),s=u.defaultParamsForAction,c=u.neededParamsForAction,f=u.immutableParamsForAction;r.push(c),n[a.name]=s,o[a.name]=f}}catch(e){i.e(e)}finally{i.f()}return{defaultParams:n,neededParams:r,immutableParams:o}}},7700:function(e,t,r){"use strict";var n=r(86902),o=r(14310),i=r(20116),a=r(34074),u=r(78914),s=r(39649),c=r(20368),f=r(63978),l=r(60530);f(t,"__esModule",{value:!0}),t.default=void 0,r(68309);var p=l(r(63109)),d=l(r(59340)),h=l(r(93476)),v=l(r(87672)),g=l(r(51161)),y=r(51032),m=r(80035),b=l(r(54807));function k(e,t){var r=n(e);if(o){var u=o(e);t&&(u=i(u).call(u,(function(t){return a(e,t).enumerable}))),r.push.apply(r,u)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)u(r=k(Object(n),!0)).call(r,(function(t){(0,v.default)(e,t,n[t])}));else if(s)c(e,s(n));else{var o;u(o=k(Object(n))).call(o,(function(t){f(e,t,a(n,t))}))}}return e}var x=function(e){var t=e.actionDefinition,r=e.defaultParamsForAction,n=void 0===r?{}:r,o=e.immutableParamsForAction,i=void 0===o?{}:o,a=e.toPersist,u=t.href;return function(){var e=(0,g.default)(p.default.mark((function e(r){var o,s;return p.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={"content-type":"application/json",accept:t.accepts||"application/ion+json"},s=(0,d.default)(w(w(w({},n),r),i)),e.abrupt("return",(0,y.request)(u,{method:t.method,headers:o,body:s}).then((function(e){var t=e.json();return e.ok?t:401===e.status&&'Oktadevicejwt realm="Okta Device"'===e.headers.get("WWW-Authenticate")?t.then((function(e){var t=(0,b.default)(e,a);return t.stepUp=!0,h.default.reject(t)})):t.then((function(e){return h.default.reject((0,b.default)(e,a))}))})).then((function(e){return(0,b.default)(e,a)})));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()};t.default=function(e,t){var r=x,n=(0,m.divideActionParamsByMutability)(e),o=n.defaultParams,i=n.neededParams,a=n.immutableParams,u=r({actionDefinition:e,defaultParamsForAction:o[e.name],immutableParamsForAction:a[e.name],toPersist:t});return u.neededParams=i,u}},38440:function(e,t,r){"use strict";var n=r(86902),o=r(14310),i=r(20116),a=r(34074),u=r(78914),s=r(39649),c=r(20368),f=r(63978),l=r(60530);f(t,"__esModule",{value:!0}),t.parseIdxResponse=t.parseNonRemediations=void 0,r(68309);var p,d=l(r(18777)),h=l(r(87672)),v=l(r(80122)),g=l(r(23765)),y=l(r(21306)),m=l(r(2991)),b=l(r(78914)),k=l(r(20116)),w=l(r(86902)),x=l(r(26295)),O=l(r(77766)),S=l(r(41511)),T=r(87689),E=l(r(7700)),A=r(95653);function _(e,t){var r=n(e);if(o){var u=o(e);t&&(u=i(u).call(u,(function(t){return a(e,t).enumerable}))),r.push.apply(r,u)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r,n=null!=arguments[t]?arguments[t]:{};if(t%2)u(r=_(Object(n),!0)).call(r,(function(t){(0,h.default)(e,t,n[t])}));else if(s)c(e,s(n));else{var o;u(o=_(Object(n))).call(o,(function(t){f(e,t,a(n,t))}))}}return e}var P=(0,y.default)((0,m.default)(p=["remediation","context"]).call(p,(function(e){return[e,!0]}))),R=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o={},i={};return(0,b.default)(t=(0,k.default)(r=(0,w.default)(e)).call(r,(function(e){return!P[e]}))).call(t,(function(t){var r;if("object"===(0,g.default)(e[t])&&e[t])if(e[t].rel)o[e[t].name]=(0,E.default)(e[t],n);else{var a=e[t],u=a.value,s=a.type,c=(0,v.default)(a,["value","type"]);i[t]=j({type:s},c),"object"===s?(i[t].value={},(0,b.default)(r=(0,x.default)(u)).call(r,(function(e){var r,a=(0,d.default)(e,2),u=a[0],s=a[1];s.rel?o[(0,O.default)(r="".concat(t,"-")).call(r,u.name||u)]=(0,E.default)(s,n):i[t].value[u]=s}))):i[t].value=u}else i[t]=e[t]})),{context:i,actions:o}};t.parseNonRemediations=R;var M=function e(t,r){var n;(0,b.default)(n=(0,w.default)(r)).call(n,(function(n){if("relatesTo"===n){var o=(0,S.default)(r[n])?r[n][0]:r[n];if("string"==typeof o){var i=(0,A.JSONPath)({path:o,json:t})[0];if(i)return void(r[n]=i)}}var a;(0,S.default)(r[n])&&(0,b.default)(a=r[n]).call(a,(function(r){return e(t,r)}))}))},I=function(e,t){var r=(0,T.generateRemediationFunctions)([e],t)[e.name];return j(j({},e),{},{action:r})};t.parseIdxResponse=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(null===(t=e.remediation)||void 0===t?void 0:t.value)||[];(0,b.default)(n).call(n,(function(t){return M(e,t)}));var o=(0,m.default)(n).call(n,(function(e){return I(e,r)})),i=R(e,r),a=i.context,u=i.actions;return{remediations:o,context:a,actions:u}}},54807:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i=o(r(63109));r(68309);var a=o(r(94473)),u=o(r(93476)),s=o(r(51161)),c=o(r(59036)),f=r(38440);t.default=function(e,t){var r,n,o=e,l=(0,f.parseIdxResponse)(e,t),p=l.remediations,d=l.context,h=l.actions,v=(0,c.default)(p),g=function(){var e=(0,s.default)(i.default.mark((function e(t){var r,n,o=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=o.length>1&&void 0!==o[1]?o[1]:{},n=(0,a.default)(p).call(p,(function(e){return e.name===t}))){e.next=4;break}return e.abrupt("return",u.default.reject("Unknown remediation choice: [".concat(t,"]")));case 4:return e.abrupt("return",n.action(r));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y=null===(r=o.successWithInteractionCode)||void 0===r?void 0:(0,a.default)(n=r.value).call(n,(function(e){return"interaction_code"===e.name})).value;return{proceed:g,neededToProceed:v,actions:h,context:d,rawIdxState:o,hasInteractionCode:function(){return!!o.successWithInteractionCode},interactionCode:y,toPersist:t}}},22080:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.default=void 0;var i={makeIdxState:o(r(54807)).default};t.default=i},87689:function(e,t,r){"use strict";var n=r(63978),o=r(60530);n(t,"__esModule",{value:!0}),t.generateRemediationFunctions=void 0,r(68309);var i=o(r(21306)),a=o(r(2991)),u=o(r(7700));t.generateRemediationFunctions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.default)((0,a.default)(e).call(e,(function(e){return[e.name,(0,u.default)(e,t)]})))}},93615:function(e,t,r){"use strict";var n=r(34575),o=r(93913),i=r(2205),a=r(78585),u=r(29754);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=function(e){i(c,e);var t,r,s=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=u(t);if(r){var o=u(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return a(this,e)});function c(e){var t;return n(this,c),(t=s.call(this,e||"Promise was canceled")).name="CancelError",t}return o(c,[{key:"isCanceled",get:function(){return!0}}]),c}(r(65957)(Error)),f=function(){function e(t){var r=this;n(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((function(e,n){r._reject=n;var o=function(e){if(!r._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");r._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return r._rejectOnCancel},set:function(e){r._rejectOnCancel=e}}}),t((function(t){r._isCanceled&&o.shouldReject||(r._isPending=!1,e(t))}),(function(e){r._isPending=!1,n(e)}),o)}))}return o(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{var t,r=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this._cancelHandlers);try{for(r.s();!(t=r.n()).done;)(0,t.value)()}catch(e){r.e(e)}finally{r.f()}}catch(e){return void this._reject(e)}this._rejectOnCancel&&this._reject(new c(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}],[{key:"fn",value:function(t){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return new e((function(e,r,o){n.push(o),t.apply(void 0,n).then(e,r)}))}}}]),e}();Object.setPrototypeOf(f.prototype,Promise.prototype),e.exports=f,e.exports.CancelError=c},3269:function(e,t,r){"use strict";var n=r(95318);t.AuthStateManager=t.INITIAL_AUTH_STATE=void 0;var o=n(r(87757)),i=n(r(34575)),a=n(r(93913)),u=r(5705),s=r(88965),c=r(92231),f=r(93615);t.INITIAL_AUTH_STATE=null;var l={updateAuthStatePromise:null,canceledTimes:0},p="authStateChange",d=function(){function e(t){var r=this;if((0,i.default)(this,e),!t.emitter)throw new u.AuthSdkError("Emitter should be initialized before AuthStateManager");this._sdk=t,this._pending=Object.assign({},l),this._authState=null,this._logOptions={},t.tokenManager.on(c.EVENT_ADDED,(function(e,t){r._setLogOptions({event:c.EVENT_ADDED,key:e,token:t}),r.updateAuthState()})),t.tokenManager.on(c.EVENT_REMOVED,(function(e,t){r._setLogOptions({event:c.EVENT_REMOVED,key:e,token:t}),r.updateAuthState()}))}return(0,a.default)(e,[{key:"_setLogOptions",value:function(e){this._logOptions=e}},{key:"getAuthState",value:function(){return this._authState}},{key:"getPreviousAuthState",value:function(){return this._prevAuthState}},{key:"updateAuthState",value:function(){return e=this,t=void 0,r=void 0,n=o.default.mark((function e(){var t,r,n,i,a,u,c,d=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._sdk.options,r=t.transformAuthState,n=t.devMode,i=function(e){var t=d._logOptions,r=t.event,n=t.key,o=t.token;(0,s.getConsole)().group("OKTA-AUTH-JS:updateAuthState: Event:".concat(r," Status:").concat(e)),(0,s.getConsole)().log(n,o),(0,s.getConsole)().log("Current authState",d._authState),(0,s.getConsole)().groupEnd(),d._logOptions={}},a=function(e){var t,r;r=e,(t=d._authState)&&t.isAuthenticated===r.isAuthenticated&&JSON.stringify(t.idToken)===JSON.stringify(r.idToken)&&JSON.stringify(t.accessToken)===JSON.stringify(r.accessToken)&&t.error===r.error?n&&i("unchanged"):(d._prevAuthState=d._authState,d._authState=e,d._sdk.emitter.emit(p,Object.assign({},e)),n&&i("emitted"))},u=function e(t){return d._pending.updateAuthStatePromise.then((function(){var r=d._pending.updateAuthStatePromise;return r&&r!==t?e(r):d.getAuthState()}))},!this._pending.updateAuthStatePromise){e.next=11;break}if(!(this._pending.canceledTimes>=10)){e.next=10;break}return n&&i("terminated"),e.abrupt("return",u(this._pending.updateAuthStatePromise));case 10:this._pending.updateAuthStatePromise.cancel();case 11:return c=new f((function(e,t,o){o.shouldReject=!1,o((function(){d._pending.updateAuthStatePromise=null,d._pending.canceledTimes=d._pending.canceledTimes+1,n&&i("canceled")}));var u=function(t){c.isCanceled?e():(a(t),e(),d._pending=Object.assign({},l))};d._sdk.isAuthenticated().then((function(){if(c.isCanceled)e();else{var t=d._sdk.tokenManager.getTokensSync(),n=t.accessToken,o=t.idToken,i=t.refreshToken,a={accessToken:n,idToken:o,refreshToken:i,isAuthenticated:!(!n||!o)};(r?r(d._sdk,a):Promise.resolve(a)).then((function(e){return u(e)})).catch((function(e){return u({accessToken:n,idToken:o,refreshToken:i,isAuthenticated:!1,error:e})}))}}))})),this._pending.updateAuthStatePromise=c,e.abrupt("return",u(c));case 14:case"end":return e.stop()}}),e,this)})),new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}));var e,t,r,n}},{key:"subscribe",value:function(e){this._sdk.emitter.on(p,e)}},{key:"unsubscribe",value:function(e){this._sdk.emitter.off(p,e)}}]),e}();t.AuthStateManager=d},625:function(e,t,r){"use strict";var n=r(95318),o=r(50008);t.default=void 0;var i=n(r(87757)),a=n(r(34575)),u=n(r(93913)),s=P(r(3754)),c=r(27847),f=n(r(6973)),l=r(33427),p=r(26496),d=P(r(9426)),h=n(r(87501)),v=r(88965),g=r(76862),y=r(92231),m=r(82924),b=n(r(61673)),k=n(r(10792)),w=r(3269),x=n(r(90500)),O=n(r(31796)),S=r(76973),T=r(26141),E=r(90463),A=r(85406),_=r(95037);function j(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(j=function(e){return e?r:t})(e)}function P(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=j(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}var R=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},I=r(74279),C=function(){function e(t){var r=this;(0,a.default)(this,e);var n=this.options=(0,S.buildOptions)(t);this.storageManager=new x.default(n.storageManager,n.cookies,n.storageUtil),this.transactionManager=new O.default(Object.assign({storageManager:this.storageManager},n.transactionManager)),this._oktaUserAgent=new A.OktaUserAgent,this.tx={status:c.transactionStatus.bind(null,this),resume:c.resumeTransaction.bind(null,this),exists:Object.assign(c.transactionExists.bind(null,this),{_get:function(e){return n.storageUtil.storage.get(e)}}),introspect:c.introspect.bind(null,this)},this.pkce={DEFAULT_CODE_CHALLENGE_METHOD:f.default.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:f.default.generateVerifier,computeChallenge:f.default.computeChallenge},Object.assign(this.options.storageUtil,{getPKCEStorage:this.storageManager.getLegacyPKCEStorage.bind(this.storageManager),getHttpCache:this.storageManager.getHttpCache.bind(this.storageManager)}),this._pending={handleLogin:!1},(0,d.isBrowser)()?(this.options=Object.assign(this.options,{redirectUri:(0,v.toAbsoluteUrl)(t.redirectUri,window.location.origin)}),this.userAgent=(0,g.getUserAgent)(t,"okta-auth-js/".concat("5.11.0"))):this.userAgent=(0,g.getUserAgent)(t,"okta-auth-js-server/".concat("5.11.0")),t.maxClockSkew||0===t.maxClockSkew?this.options.maxClockSkew=t.maxClockSkew:this.options.maxClockSkew=s.DEFAULT_MAX_CLOCK_SKEW,this.options.ignoreLifetime=!!t.ignoreLifetime,this.session={close:l.closeSession.bind(null,this),exists:l.sessionExists.bind(null,this),get:l.getSession.bind(null,this),refresh:l.refreshSession.bind(null,this),setCookieAndRedirect:l.setCookieAndRedirect.bind(null,this)},this._tokenQueue=new b.default,this.token={prepareTokenParams:p.prepareTokenParams.bind(null,this),exchangeCodeForTokens:p.exchangeCodeForTokens.bind(null,this),getWithoutPrompt:p.getWithoutPrompt.bind(null,this),getWithPopup:p.getWithPopup.bind(null,this),getWithRedirect:p.getWithRedirect.bind(null,this),parseFromUrl:p.parseFromUrl.bind(null,this),decode:p.decodeToken,revoke:p.revokeToken.bind(null,this),renew:p.renewToken.bind(null,this),renewTokensWithRefresh:p.renewTokensWithRefresh.bind(null,this),renewTokens:p.renewTokens.bind(null,this),getUserInfo:p.getUserInfo.bind(null,this),verify:p.verifyToken.bind(null,this),isLoginRedirect:p.isLoginRedirect.bind(null,this)};var o=["decode","isLoginRedirect"];Object.keys(this.token).forEach((function(e){if(!(o.indexOf(e)>=0)){var t=r.token[e];r.token[e]=b.default.prototype.push.bind(r._tokenQueue,t,null)}})),Object.assign(this.token.getWithRedirect,{_setLocation:function(e){window.location=e}}),Object.assign(this.token.parseFromUrl,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),this.idx={interact:T.interact.bind(null,this),introspect:T.introspect.bind(null,this),authenticate:T.authenticate.bind(null,this),register:T.register.bind(null,this),poll:T.poll.bind(null,this),proceed:T.proceed.bind(null,this),cancel:T.cancel.bind(null,this),recoverPassword:T.recoverPassword.bind(null,this),handleInteractionCodeRedirect:T.handleInteractionCodeRedirect.bind(null,this),startTransaction:T.startTransaction.bind(null,this),setFlow:function(e){r.options.flow=e},getFlow:function(){return r.options.flow},canProceed:T.canProceed.bind(null,this)},(0,E.setGlobalRequestInterceptor)((0,E.createGlobalRequestInterceptor)(this)),this.http={setRequestHeader:m.setRequestHeader.bind(null,this)},this.fingerprint=k.default.bind(null,this),this.emitter=new I,this.tokenManager=new y.TokenManager(this,t.tokenManager),this.authStateManager=new w.AuthStateManager(this)}return(0,u.default)(e,[{key:"start",value:function(){this.tokenManager.start(),this.token.isLoginRedirect()||this.authStateManager.updateAuthState()}},{key:"stop",value:function(){this.tokenManager.stop()}},{key:"setHeaders",value:function(e){this.options.headers=Object.assign({},this.options.headers,e)}},{key:"isInteractionRequired",value:function(e){return(0,p.isInteractionRequired)(this,e)}},{key:"isInteractionRequiredError",value:function(e){return(0,p.isInteractionRequiredError)(e)}},{key:"isEmailVerifyCallback",value:function(e){return(0,v.isEmailVerifyCallback)(e)}},{key:"parseEmailVerifyCallback",value:function(e){return(0,v.parseEmailVerifyCallback)(e)}},{key:"signIn",value:function(e){return R(this,void 0,void 0,i.default.mark((function t(){return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.signInWithCredentials(e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"signInWithCredentials",value:function(e){return R(this,void 0,void 0,i.default.mark((function t(){var r,n=this;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(0,v.clone)(e||{}),r=function(t){return delete e.sendFingerprint,(0,c.postToTransaction)(n,"/api/v1/authn",e,t)},e.sendFingerprint){t.next=4;break}return t.abrupt("return",r());case 4:return t.abrupt("return",this.fingerprint().then((function(e){return r({headers:{"X-Device-Fingerprint":e}})})));case 5:case"end":return t.stop()}}),t,this)})))}},{key:"signInWithRedirect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return R(this,void 0,void 0,i.default.mark((function t(){var r,n,o;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.originalUri,n=M(e,["originalUri"]),!this._pending.handleLogin){t.next=3;break}return t.abrupt("return");case 3:return this._pending.handleLogin=!0,t.prev=4,r&&this.setOriginalUri(r),o=Object.assign({scopes:this.options.scopes||["openid","email","profile"]},n),t.next=9,this.token.getWithRedirect(o);case 9:return t.prev=9,this._pending.handleLogin=!1,t.finish(9);case 12:case"end":return t.stop()}}),t,this,[[4,,9,12]])})))}},{key:"closeSession",value:function(){var e=this;return this.session.close().then((function(){return R(e,void 0,void 0,i.default.mark((function e(){return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.tokenManager.clear();case 1:case"end":return e.stop()}}),e,this)})))})).catch((function(e){if("AuthApiError"===e.name&&"E0000007"===e.errorCode)return null;throw e}))}},{key:"revokeAccessToken",value:function(e){return R(this,void 0,void 0,i.default.mark((function t(){var r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=6;break}return t.next=3,this.tokenManager.getTokens();case 3:e=t.sent.accessToken,r=this.tokenManager.getStorageKeyByType("accessToken"),this.tokenManager.remove(r);case 6:if(e){t.next=8;break}return t.abrupt("return",Promise.resolve(null));case 8:return t.abrupt("return",this.token.revoke(e));case 9:case"end":return t.stop()}}),t,this)})))}},{key:"revokeRefreshToken",value:function(e){return R(this,void 0,void 0,i.default.mark((function t(){var r;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=6;break}return t.next=3,this.tokenManager.getTokens();case 3:e=t.sent.refreshToken,r=this.tokenManager.getStorageKeyByType("refreshToken"),this.tokenManager.remove(r);case 6:if(e){t.next=8;break}return t.abrupt("return",Promise.resolve(null));case 8:return t.abrupt("return",this.token.revoke(e));case 9:case"end":return t.stop()}}),t,this)})))}},{key:"getSignOutRedirectUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.idToken,r=e.postLogoutRedirectUri,n=e.state;if(t||(t=this.tokenManager.getTokensSync().idToken),!t)return"";r||(r=this.options.postLogoutRedirectUri);var o=(0,p.getOAuthUrls)(this).logoutUrl,i=t.idToken,a=o+"?id_token_hint="+encodeURIComponent(i);return r&&(a+="&post_logout_redirect_uri="+encodeURIComponent(r)),n&&(a+="&state="+encodeURIComponent(n)),a}},{key:"signOut",value:function(e){return R(this,void 0,void 0,i.default.mark((function t(){var r,n,o,a,u,s,c,f;return i.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Object.assign({},e),r=window.location.origin,n=window.location.href,o=e.postLogoutRedirectUri||this.options.postLogoutRedirectUri||r,a=e.accessToken,u=e.refreshToken,s=!1!==e.revokeAccessToken,(c=!1!==e.revokeRefreshToken)&&void 0===u&&(u=this.tokenManager.getTokensSync().refreshToken),s&&void 0===a&&(a=this.tokenManager.getTokensSync().accessToken),e.idToken||(e.idToken=this.tokenManager.getTokensSync().idToken),!c||!u){t.next=14;break}return t.next=14,this.revokeRefreshToken(u);case 14:if(!s||!a){t.next=17;break}return t.next=17,this.revokeAccessToken(a);case 17:if(f=this.getSignOutRedirectUrl(Object.assign(Object.assign({},e),{postLogoutRedirectUri:o}))){t.next=22;break}return t.abrupt("return",this.closeSession().then((function(){o===n?window.location.reload():window.location.assign(o)})));case 22:e.clearTokensAfterRedirect?this.tokenManager.addPendingRemoveFlags():this.tokenManager.clear(),window.location.assign(f);case 24:case"end":return t.stop()}}),t,this)})))}},{key:"webfinger",value:function(e){var t="/.well-known/webfinger"+(0,v.toQueryString)(e);return(0,m.get)(this,t,{headers:{Accept:"application/jrd+json"}})}},{key:"isAuthenticated",value:function(){return R(this,void 0,void 0,i.default.mark((function e(){var t,r,n,o,a,u;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.tokenManager.getTokensSync(),r=t.accessToken,n=t.idToken,o=this.tokenManager.getOptions(),a=o.autoRenew,u=o.autoRemove,!r||!this.tokenManager.hasExpired(r)){e.next=16;break}if(r=null,!a){e.next=15;break}return e.prev=5,e.next=8,this.tokenManager.renew("accessToken");case 8:r=e.sent,e.next=13;break;case 11:e.prev=11,e.t0=e.catch(5);case 13:e.next=16;break;case 15:u&&this.tokenManager.remove("accessToken");case 16:if(!n||!this.tokenManager.hasExpired(n)){e.next=30;break}if(n=null,!a){e.next=29;break}return e.prev=19,e.next=22,this.tokenManager.renew("idToken");case 22:n=e.sent,e.next=27;break;case 25:e.prev=25,e.t1=e.catch(19);case 27:e.next=30;break;case 29:u&&this.tokenManager.remove("idToken");case 30:return e.abrupt("return",!(!r||!n));case 31:case"end":return e.stop()}}),e,this,[[5,11],[19,25]])})))}},{key:"getUser",value:function(){return R(this,void 0,void 0,i.default.mark((function e(){var t,r,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.tokenManager.getTokensSync(),r=t.idToken,n=t.accessToken,e.abrupt("return",this.token.getUserInfo(n,r));case 2:case"end":return e.stop()}}),e,this)})))}},{key:"getIdToken",value:function(){var e=this.tokenManager.getTokensSync().idToken;return e?e.idToken:void 0}},{key:"getAccessToken",value:function(){var e=this.tokenManager.getTokensSync().accessToken;return e?e.accessToken:void 0}},{key:"getRefreshToken",value:function(){var e=this.tokenManager.getTokensSync().refreshToken;return e?e.refreshToken:void 0}},{key:"storeTokensFromRedirect",value:function(){return R(this,void 0,void 0,i.default.mark((function e(){var t,r;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.token.parseFromUrl();case 2:t=e.sent,r=t.tokens,this.tokenManager.setTokens(r);case 5:case"end":return e.stop()}}),e,this)})))}},{key:"setOriginalUri",value:function(e,t){h.default.getSessionStorage().setItem(s.REFERRER_PATH_STORAGE_KEY,e),(t=t||this.options.state)&&this.storageManager.getOriginalUriStorage().setItem(t,e)}},{key:"getOriginalUri",value:function(e){if(e=e||this.options.state){var t=this.storageManager.getOriginalUriStorage().getItem(e);if(t)return t}var r=h.default.getSessionStorage();return r?r.getItem(s.REFERRER_PATH_STORAGE_KEY):void 0}},{key:"removeOriginalUri",value:function(e){h.default.getSessionStorage().removeItem(s.REFERRER_PATH_STORAGE_KEY),(e=e||this.options.state)&&this.storageManager.getOriginalUriStorage().removeItem(e)}},{key:"isLoginRedirect",value:function(){return(0,p.isLoginRedirect)(this)}},{key:"handleLoginRedirect",value:function(e,t){return R(this,void 0,void 0,i.default.mark((function r(){var n,o,a;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=this.options.state,!e){r.next=6;break}this.tokenManager.setTokens(e),t=t||this.getOriginalUri(this.options.state),r.next=17;break;case 6:if(!this.isLoginRedirect()){r.next=16;break}return r.next=9,(0,_.parseOAuthResponseFromUrl)(this,{});case 9:return o=r.sent,n=o.state,t=t||this.getOriginalUri(n),r.next=14,this.storeTokensFromRedirect();case 14:r.next=17;break;case 16:return r.abrupt("return");case 17:return r.next=19,this.authStateManager.updateAuthState();case 19:if(this.removeOriginalUri(n),!(a=this.options.restoreOriginalUri)){r.next=26;break}return r.next=24,a(this,t);case 24:r.next=27;break;case 26:window.location.replace(t);case 27:case"end":return r.stop()}}),r,this)})))}},{key:"isPKCE",value:function(){return!!this.options.pkce}},{key:"hasResponseType",value:function(e){return Array.isArray(this.options.responseType)&&this.options.responseType.length?this.options.responseType.indexOf(e)>=0:this.options.responseType===e}},{key:"isAuthorizationCodeFlow",value:function(){return this.hasResponseType("code")}},{key:"getIssuerOrigin",value:function(){return this.options.issuer.split("/oauth2/")[0]}},{key:"forgotPassword",value:function(e){return(0,c.postToTransaction)(this,"/api/v1/authn/recovery/password",e)}},{key:"unlockAccount",value:function(e){return(0,c.postToTransaction)(this,"/api/v1/authn/recovery/unlock",e)}},{key:"verifyRecoveryToken",value:function(e){return(0,c.postToTransaction)(this,"/api/v1/authn/recovery/token",e)}}]),e}();C.features=C.prototype.features=d,Object.assign(C,{constants:s,isInteractionRequiredError:p.isInteractionRequiredError});var U=C;t.default=U,e.exports=t.default},85406:function(e,t,r){"use strict";var n=r(95318);t.OktaUserAgent=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(9426),u=function(){function e(){(0,o.default)(this,e),this.environments=["okta-auth-js/".concat("5.11.0")]}return(0,i.default)(e,[{key:"addEnvironment",value:function(e){this.environments.push(e)}},{key:"getHttpHeader",value:function(){return this.maybeAddNodeEnvironment(),{"X-Okta-User-Agent-Extended":this.environments.join(" ")}}},{key:"getVersion",value:function(){return"5.11.0"}},{key:"maybeAddNodeEnvironment",value:function(){if(!(0,a.isBrowser)()&&process&&process.versions){var e=process.versions.node;this.environments.push("nodejs/".concat(e))}}}]),e}();t.OktaUserAgent=u},61673:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(88965),u=function(){function e(){(0,o.default)(this,e),this.queue=[],this.running=!1}return(0,i.default)(e,[{key:"push",value:function(e,t){for(var r=this,n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return new Promise((function(n,i){r.queue.push({method:e,thisObject:t,args:o,resolve:n,reject:i}),r.run()}))}},{key:"run",value:function(){var e=this;if(!this.running&&0!==this.queue.length){this.running=!0;var t=this.queue.shift(),r=t.method.apply(t.thisObject,t.args);(0,a.isPromise)(r)?r.then(t.resolve,t.reject).finally((function(){e.running=!1,e.run()})):(t.resolve(r),this.running=!1,this.run())}}}]),e}(),s=u;t.default=s,e.exports=t.default},50472:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(37948)),u=function(){function e(t,r){if((0,o.default)(this,e),!t)throw new a.default('"storage" is required');if("string"!=typeof r||!r.length)throw new a.default('"storageName" is required');this.storageName=r,this.storageProvider=t}return(0,i.default)(e,[{key:"getItem",value:function(e){return this.getStorage()[e]}},{key:"setItem",value:function(e,t){return this.updateStorage(e,t)}},{key:"removeItem",value:function(e){return this.clearStorage(e)}},{key:"getStorage",value:function(){var e=this.storageProvider.getItem(this.storageName);e=e||"{}";try{return JSON.parse(e)}catch(e){throw new a.default("Unable to parse storage string: "+this.storageName)}}},{key:"setStorage",value:function(e){try{var t=e?JSON.stringify(e):"{}";this.storageProvider.setItem(this.storageName,t)}catch(e){throw new a.default("Unable to set storage: "+this.storageName)}}},{key:"clearStorage",value:function(e){if(e){var t=this.getStorage();delete t[e],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}},{key:"updateStorage",value:function(e,t){var r=this.getStorage();r[e]=t,this.setStorage(r)}}]),e}();t.default=u,e.exports=t.default},90500:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(3754),u=n(r(50472)),s=r(9426),c=r(88965),f=r(5705);function l(e){(0,s.isBrowser)()||e.storageProvider||e.storageProvider||(0,c.warn)("Memory storage can only support simple single user use case on server side, please provide custom storageProvider or storageKey if advanced scenarios need to be supported.")}var p=function(){function e(t,r,n){(0,o.default)(this,e),this.storageManagerOptions=t,this.cookieOptions=r,this.storageUtil=n}return(0,i.default)(e,[{key:"getOptionsForSection",value:function(e,t){return Object.assign({},this.storageManagerOptions[e],t)}},{key:"getStorage",value:function(e){if((e=Object.assign({},this.cookieOptions,e)).storageProvider)return e.storageProvider;var t=e,r=t.storageType,n=t.storageTypes;if("sessionStorage"===r&&(e.sessionCookie=!0),r&&n){var o=n.indexOf(r);o>=0&&(n=n.slice(o),r=null)}return r||(r=this.storageUtil.findStorageType(n)),this.storageUtil.getStorageByType(r,e)}},{key:"getTransactionStorage",value:function(e){l(e=this.getOptionsForSection("transaction",e));var t=this.getStorage(e),r=e.storageKey||a.TRANSACTION_STORAGE_NAME;return new u.default(t,r)}},{key:"getSharedTansactionStorage",value:function(e){l(e=this.getOptionsForSection("shared-transaction",e));var t=this.getStorage(e),r=e.storageKey||a.SHARED_TRANSACTION_STORAGE_NAME;return new u.default(t,r)}},{key:"getOriginalUriStorage",value:function(e){l(e=this.getOptionsForSection("original-uri",e));var t=this.getStorage(e),r=e.storageKey||a.ORIGINAL_URI_STORAGE_NAME;return new u.default(t,r)}},{key:"getIdxResponseStorage",value:function(e){var t;if((0,s.isBrowser)())try{t=this.storageUtil.getStorageByType("memory",e)}catch(e){(0,c.warn)("No response storage found, you may want to provide custom implementation for intermediate idx responses to optimize the network traffic")}else{var r=this.getTransactionStorage(e);r&&(t={getItem:function(e){var t=r.getStorage();return t&&t[e]?t[e]:null},setItem:function(e,t){var n=r.getStorage();if(!n)throw new f.AuthSdkError("Transaction has been cleared, failed to save idxState");n[e]=t,r.setStorage(n)},removeItem:function(e){var t=r.getStorage();t&&(delete t[e],r.setStorage(t))}})}return t?new u.default(t,a.IDX_RESPONSE_STORAGE_NAME):null}},{key:"getTokenStorage",value:function(e){l(e=this.getOptionsForSection("token",e));var t=this.getStorage(e),r=e.storageKey||a.TOKEN_STORAGE_NAME;return new u.default(t,r)}},{key:"getHttpCache",value:function(e){e=this.getOptionsForSection("cache",e);var t=this.getStorage(e),r=e.storageKey||a.CACHE_STORAGE_NAME;return new u.default(t,r)}},{key:"getLegacyPKCEStorage",value:function(e){e=this.getOptionsForSection("legacy-pkce",e);var t=this.getStorage(e),r=e.storageKey||a.PKCE_STORAGE_NAME;return new u.default(t,r)}},{key:"getLegacyOAuthParamsStorage",value:function(e){e=this.getOptionsForSection("legacy-oauth-params",e);var t=this.getStorage(e),r=e.storageKey||a.REDIRECT_OAUTH_PARAMS_NAME;return new u.default(t,r)}}]),e}();t.default=p,e.exports=t.default},92231:function(e,t,r){"use strict";var n=r(95318);t.TokenManager=t.EVENT_ERROR=t.EVENT_REMOVED=t.EVENT_ADDED=t.EVENT_RENEWED=t.EVENT_EXPIRED=void 0;var o=n(r(87757)),i=n(r(50008)),a=n(r(34575)),u=n(r(93913)),s=r(88965),c=r(5705),f=r(24736),l=r(9426),p=r(3754),d=n(r(60322)),h=r(60858),v=r(11885),g=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))},y={autoRenew:!0,autoRemove:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:p.TOKEN_STORAGE_NAME,syncStorage:!0,_storageEventDelay:0},m="expired";t.EVENT_EXPIRED=m;var b="renewed";t.EVENT_RENEWED=b;var k="added";t.EVENT_ADDED=k;var w="removed";t.EVENT_REMOVED=w;var x="error";t.EVENT_ERROR=x;var O=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,a.default)(this,e),this.sdk=t,this.emitter=t.emitter,!this.emitter)throw new c.AuthSdkError("Emitter should be initialized before TokenManager");r=Object.assign({},y,(0,s.removeNils)(r)),(0,l.isIE11OrLess)()&&(r._storageEventDelay=r._storageEventDelay||1e3),(0,l.isLocalhost)()||(r.expireEarlySeconds=y.expireEarlySeconds),this.options=r;var n=(0,s.removeNils)({storageKey:r.storageKey,secure:r.secure});"object"===(0,i.default)(r.storage)?n.storageProvider=r.storage:r.storage&&(n.storageType=r.storage),this.storage=t.storageManager.getTokenStorage(n),this.clock=d.default.create(),this.state={expireTimeouts:{},renewPromise:null},this.on=this.emitter.on.bind(this.emitter),this.off=this.emitter.off.bind(this.emitter)}return(0,u.default)(e,[{key:"start",value:function(){this.service&&this.stop(),this.options.clearPendingRemoveTokens&&this.clearPendingRemoveTokens(),this.service=new v.TokenService(this,this.getOptions()),this.service.start()}},{key:"stop",value:function(){this.service&&(this.service.stop(),this.service=null)}},{key:"getOptions",value:function(){return(0,s.clone)(this.options)}},{key:"getExpireTime",value:function(e){return e.expiresAt-this.options.expireEarlySeconds}},{key:"hasExpired",value:function(e){return this.getExpireTime(e)<=this.clock.now()}},{key:"emitExpired",value:function(e,t){this.emitter.emit(m,e,t)}},{key:"emitRenewed",value:function(e,t,r){this.emitter.emit(b,e,t,r)}},{key:"emitAdded",value:function(e,t){this.emitter.emit(k,e,t)}},{key:"emitRemoved",value:function(e,t){this.emitter.emit(w,e,t)}},{key:"emitError",value:function(e){this.emitter.emit(x,e)}},{key:"emitEventsForCrossTabsStorageUpdate",value:function(e,t){var r=this,n=this.getTokensFromStorageValue(t),o=this.getTokensFromStorageValue(e);Object.keys(o).forEach((function(e){var t=n[e],i=o[e];JSON.stringify(t)!==JSON.stringify(i)&&r.emitAdded(e,i)})),Object.keys(n).forEach((function(e){var t=n[e];o[e]||r.emitRemoved(e,t)}))}},{key:"clearExpireEventTimeout",value:function(e){clearTimeout(this.state.expireTimeouts[e]),delete this.state.expireTimeouts[e],this.state.renewPromise=null}},{key:"clearExpireEventTimeoutAll",value:function(){var e=this.state.expireTimeouts;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.clearExpireEventTimeout(t)}},{key:"setExpireEventTimeout",value:function(e,t){var r=this;if(!(0,h.isRefreshToken)(t)){var n=this.getExpireTime(t),o=1e3*Math.max(n-this.clock.now(),0);this.clearExpireEventTimeout(e);var i=setTimeout((function(){r.emitExpired(e,t)}),o);this.state.expireTimeouts[e]=i}}},{key:"setExpireEventTimeoutAll",value:function(){var e=this.storage.getStorage();for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var r=e[t];this.setExpireEventTimeout(t,r)}}},{key:"resetExpireEventTimeoutAll",value:function(){this.clearExpireEventTimeoutAll(),this.setExpireEventTimeoutAll()}},{key:"add",value:function(e,t){var r=this.storage.getStorage();(0,f.validateToken)(t),r[e]=t,this.storage.setStorage(r),this.emitAdded(e,t),this.setExpireEventTimeout(e,t)}},{key:"getSync",value:function(e){return this.storage.getStorage()[e]}},{key:"get",value:function(e){return g(this,void 0,void 0,o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.getSync(e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"getTokensSync",value:function(){var e={},t=this.storage.getStorage();return Object.keys(t).forEach((function(r){var n=t[r];(0,h.isAccessToken)(n)?e.accessToken=n:(0,h.isIDToken)(n)?e.idToken=n:(0,h.isRefreshToken)(n)&&(e.refreshToken=n)})),e}},{key:"getTokens",value:function(){return g(this,void 0,void 0,o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getTokensSync());case 1:case"end":return e.stop()}}),e,this)})))}},{key:"getStorageKeyByType",value:function(e){var t=this.storage.getStorage();return Object.keys(t).filter((function(r){var n=t[r];return(0,h.isAccessToken)(n)&&"accessToken"===e||(0,h.isIDToken)(n)&&"idToken"===e||(0,h.isRefreshToken)(n)&&"refreshToken"===e}))[0]}},{key:"getTokenType",value:function(e){if((0,h.isAccessToken)(e))return"accessToken";if((0,h.isIDToken)(e))return"idToken";if((0,h.isRefreshToken)(e))return"refreshToken";throw new c.AuthSdkError("Unknown token type")}},{key:"setTokens",value:function(e,t,r,n){var o=this,i=function(e,i){var a=o.getTokenType(i);"accessToken"===a?t&&t(e,i):"idToken"===a?r&&r(e,i):"refreshToken"===a&&n&&n(e,i)},a=function(e,t){o.emitAdded(e,t),o.setExpireEventTimeout(e,t),i(e,t)},u=function(e,t){o.clearExpireEventTimeout(e),o.emitRemoved(e,t),i(e,t)},s=["idToken","accessToken","refreshToken"],c=this.getTokensSync();s.forEach((function(t){var r=e[t];r&&(0,f.validateToken)(r,t)}));var l=s.reduce((function(t,r){var n=e[r];return n&&(t[o.getStorageKeyByType(r)||r]=n),t}),{});this.storage.setStorage(l),s.forEach((function(t){var r,n,s,f=e[t],l=c[t],p=o.getStorageKeyByType(t)||t;f&&l?(u(p,l),a(p,f),r=p,n=f,s=l,o.emitRenewed(r,n,s),o.clearExpireEventTimeout(r),o.setExpireEventTimeout(r,n),i(r,n)):f?a(p,f):l&&u(p,l)}))}},{key:"remove",value:function(e){this.clearExpireEventTimeout(e);var t=this.storage.getStorage(),r=t[e];delete t[e],this.storage.setStorage(t),this.emitRemoved(e,r)}},{key:"renewToken",value:function(e){return g(this,void 0,void 0,o.default.mark((function t(){return o.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",this.sdk.token.renew(e));case 1:case"end":return t.stop()}}),t,this)})))}},{key:"validateToken",value:function(e){return(0,f.validateToken)(e)}},{key:"renew",value:function(e){var t=this;if(this.state.renewPromise)return this.state.renewPromise;try{var r=this.getSync(e);if(!r)throw new c.AuthSdkError("The tokenManager has no token for the key: "+e)}catch(e){return Promise.reject(e)}return this.clearExpireEventTimeout(e),this.state.renewPromise=this.sdk.token.renewTokens().then((function(e){return t.setTokens(e),e[t.getTokenType(r)]})).catch((function(r){throw((0,f.isRefreshTokenError)(r)||"OAuthError"===r.name||"AuthSdkError"===r.name)&&t.remove(e),r.tokenKey=e,t.emitError(r),r})).finally((function(){t.state.renewPromise=null})),this.state.renewPromise}},{key:"clear",value:function(){this.clearExpireEventTimeoutAll(),this.storage.clearStorage()}},{key:"clearPendingRemoveTokens",value:function(){var e=this,t=this.getTokensSync();Object.keys(t).forEach((function(r){t[r].pendingRemove&&e.remove(r)}))}},{key:"getTokensFromStorageValue",value:function(e){var t;try{t=JSON.parse(e)||{}}catch(e){t={}}return t}},{key:"updateRefreshToken",value:function(e){var t=this.getStorageKeyByType("refreshToken")||p.REFRESH_TOKEN_STORAGE_KEY,r=this.storage.getStorage();(0,f.validateToken)(e),r[t]=e,this.storage.setStorage(r)}},{key:"addPendingRemoveFlags",value:function(){var e=this.getTokensSync();Object.keys(e).forEach((function(t){e[t].pendingRemove=!0})),this.setTokens(e)}}]),e}();t.TokenManager=O},31796:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(5705),u=r(3754),s=r(60858),c=r(3675),f=r(88965),l=r(2051),p=function(){function e(t){(0,o.default)(this,e),this.storageManager=t.storageManager,this.legacyWidgetSupport=!1!==t.legacyWidgetSupport,this.saveNonceCookie=!1!==t.saveNonceCookie,this.saveStateCookie=!1!==t.saveStateCookie,this.saveParamsCookie=!1!==t.saveParamsCookie,this.enableSharedStorage=!1!==t.enableSharedStorage,this.options=t}return(0,i.default)(e,[{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.storageManager.getTransactionStorage(),r=t.getStorage();if(t.clearStorage(),this.clearIdxResponse(),this.enableSharedStorage&&e.clearSharedStorage){var n=e.state||(null==r?void 0:r.state);n&&(0,l.clearTransactionFromSharedStorage)(this.storageManager,n)}this.legacyWidgetSupport&&(e.oauth&&this.clearLegacyOAuthParams(),e.pkce&&this.clearLegacyPKCE())}},{key:"save",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.storageManager.getTransactionStorage(),n=r.getStorage();if((0,s.isTransactionMeta)(n)&&!t.muteWarning&&(0,f.warn)("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),r.setStorage(e),this.enableSharedStorage&&e.state&&(0,l.saveTransactionToSharedStorage)(this.storageManager,e.state,e),t.oauth&&(this.saveNonceCookie||this.saveStateCookie||this.saveParamsCookie)){var o=this.storageManager.getStorage({storageType:"cookie"});if(this.saveParamsCookie){var i=e.responseType,a=e.state,c=e.nonce,p=e.scopes,d=e.clientId,h=e.urls,v=e.ignoreSignature,g={responseType:i,state:a,nonce:c,scopes:p,clientId:d,urls:h,ignoreSignature:v};o.setItem(u.REDIRECT_OAUTH_PARAMS_NAME,JSON.stringify(g),null)}this.saveNonceCookie&&e.nonce&&o.setItem(u.REDIRECT_NONCE_COOKIE_NAME,e.nonce,null),this.saveStateCookie&&e.state&&o.setItem(u.REDIRECT_STATE_COOKIE_NAME,e.state,null)}}},{key:"exists",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var t=this.load(e);return!!t}catch(e){return!1}}},{key:"load",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.enableSharedStorage&&t.state&&((0,l.pruneSharedStorage)(this.storageManager),e=(0,l.loadTransactionFromSharedStorage)(this.storageManager,t.state),(0,s.isTransactionMeta)(e)))return e;var r=this.storageManager.getTransactionStorage();if(e=r.getStorage(),(0,s.isTransactionMeta)(e))return e;if(!this.legacyWidgetSupport)return null;if(t.oauth)try{var n=this.loadLegacyOAuthParams();Object.assign(e,n)}finally{this.clearLegacyOAuthParams()}if(t.pkce)try{var o=this.loadLegacyPKCE();Object.assign(e,o)}finally{this.clearLegacyPKCE()}return(0,s.isTransactionMeta)(e)?e:null}},{key:"clearLegacyPKCE",value:function(){this.storageManager.storageUtil.testStorageType("localStorage")&&this.storageManager.getLegacyPKCEStorage({storageType:"localStorage"}).clearStorage(),this.storageManager.storageUtil.testStorageType("sessionStorage")&&this.storageManager.getLegacyPKCEStorage({storageType:"sessionStorage"}).clearStorage()}},{key:"loadLegacyPKCE",value:function(){var e;if(this.storageManager.storageUtil.testStorageType("localStorage")&&(e=this.storageManager.getLegacyPKCEStorage({storageType:"localStorage"}).getStorage())&&e.codeVerifier)return e;if(this.storageManager.storageUtil.testStorageType("sessionStorage")&&(e=this.storageManager.getLegacyPKCEStorage({storageType:"sessionStorage"}).getStorage())&&e.codeVerifier)return e;throw new a.AuthSdkError("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",null)}},{key:"clearLegacyOAuthParams",value:function(){this.storageManager.storageUtil.testStorageType("sessionStorage")&&this.storageManager.getLegacyOAuthParamsStorage({storageType:"sessionStorage"}).clearStorage(),this.storageManager.storageUtil.testStorageType("cookie")&&this.storageManager.getLegacyOAuthParamsStorage({storageType:"cookie"}).clearStorage()}},{key:"loadLegacyOAuthParams",value:function(){var e;if(this.storageManager.storageUtil.testStorageType("sessionStorage")&&(e=this.storageManager.getLegacyOAuthParamsStorage({storageType:"sessionStorage"}).getStorage()),(0,s.isOAuthTransactionMeta)(e))return e;if(this.storageManager.storageUtil.testStorageType("cookie")&&(e=this.storageManager.getLegacyOAuthParamsStorage({storageType:"cookie"}).getStorage()),(0,s.isOAuthTransactionMeta)(e))return e;throw new a.AuthSdkError("Unable to retrieve OAuth redirect params from storage")}},{key:"saveIdxResponse",value:function(e){var t=this.storageManager.getIdxResponseStorage();t&&t.setStorage(e)}},{key:"loadIdxResponse",value:function(){var e=this.storageManager.getIdxResponseStorage();if(!e)return null;var t=e.getStorage();return(0,c.isRawIdxResponse)(t)?t:null}},{key:"clearIdxResponse",value:function(){var e=this.storageManager.getIdxResponseStorage();null==e||e.clearStorage()}}]),e}();t.default=p,e.exports=t.default},87501:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(37948)),i=r(88965),a=r(36808),u={getHttpCache:function(){return null},getPKCEStorage:function(){return null},browserHasLocalStorage:function(){try{var e=u.getLocalStorage();return u.testStorage(e)}catch(e){return!1}},browserHasSessionStorage:function(){try{var e=u.getSessionStorage();return u.testStorage(e)}catch(e){return!1}},testStorageType:function(e){var t=!1;switch(e){case"sessionStorage":t=u.browserHasSessionStorage();break;case"localStorage":t=u.browserHasLocalStorage();break;case"cookie":case"memory":t=!0;break;default:t=!1}return t},getStorageByType:function(e,t){var r=null;switch(e){case"sessionStorage":r=u.getSessionStorage();break;case"localStorage":r=u.getLocalStorage();break;case"cookie":r=u.getCookieStorage(t);break;case"memory":r=u.getInMemoryStorage();break;default:throw new o.default("Unrecognized storage option: ".concat(e))}return r},findStorageType:function(e){var t,r;return t=(e=e.slice()).shift(),(r=e.length?e[0]:null)?u.testStorageType(t)?t:((0,i.warn)("This browser doesn't support ".concat(t,". Switching to ").concat(r,".")),u.findStorageType(e)):t},getLocalStorage:function(){return localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){var t=e.secure,r=e.sameSite,n=e.sessionCookie;if(void 0===t||void 0===r)throw new o.default('getCookieStorage: "secure" and "sameSite" options must be provided');var i={getItem:u.storage.get,setItem:function(e,o){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"2200-01-01T00:00:00.000Z";i=n?null:i,u.storage.set(e,o,i,{secure:t,sameSite:r})},removeItem:function(e){u.storage.delete(e)}};return e.useMultipleCookies?{getItem:function(e){var t=i.getItem(),r={};return Object.keys(t).forEach((function(n){0===n.indexOf(e)&&(r[n.replace("".concat(e,"_"),"")]=JSON.parse(t[n]))})),JSON.stringify(r)},setItem:function(e,t){var r=JSON.parse(this.getItem(e));t=JSON.parse(t),Object.keys(t).forEach((function(n){var o=e+"_"+n,a=JSON.stringify(t[n]);i.setItem(o,a),delete r[n]})),Object.keys(r).forEach((function(t){i.removeItem(e+"_"+t)}))},removeItem:function(e){var t=JSON.parse(this.getItem(e));Object.keys(t).forEach((function(t){i.removeItem(e+"_"+t)}))}}:i},inMemoryStore:{},getInMemoryStorage:function(){var e=this;return{getItem:function(t){return e.inMemoryStore[t]},setItem:function(t,r){e.inMemoryStore[t]=r}}},testStorage:function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},storage:{set:function(e,t,r,n){var i=n.sameSite,s=n.secure;if(void 0===s||void 0===i)throw new o.default('storage.set: "secure" and "sameSite" options must be provided');var c={path:n.path||"/",secure:s,sameSite:i};return Date.parse(r)&&(c.expires=new Date(r)),a.set(e,t,c),u.storage.get(e)},get:function(e){return a.get(e)},delete:function(e){return a.remove(e,{path:"/"})}}},s=u;t.default=s,e.exports=t.default},10792:function(e,t,r){"use strict";t.default=function(e,t){return t=t||{},(0,o.isFingerprintSupported)()?new Promise((function(o,s){(a=document.createElement("iframe")).style.display="none",u=function(t){if(t&&t.data&&t.origin===e.getIssuerOrigin()){try{var r=JSON.parse(t.data)}catch(e){return}if(r)return"FingerprintAvailable"===r.type?o(r.fingerprint):void("FingerprintServiceReady"===r.type&&t.source.postMessage(JSON.stringify({type:"GetFingerprint"}),t.origin))}},(0,i.addListener)(window,"message",u),a.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",document.body.appendChild(a),r=setTimeout((function(){s(new n.AuthSdkError("Fingerprinting timed out"))}),t.timeout||15e3)})).finally((function(){clearTimeout(r),(0,i.removeListener)(window,"message",u),document.body.contains(a)&&a.parentElement.removeChild(a)})):Promise.reject(new n.AuthSdkError("Fingerprinting is not supported on this device"));var r,a,u};var n=r(5705),o=r(9426),i=r(26496);e.exports=t.default},76862:function(e,t,r){"use strict";var n=r(95318);t.assertValidConfig=function(e){var t=(e=e||{}).scopes;if(t&&!Array.isArray(t))throw new o.default('scopes must be a array of strings. Required usage: new OktaAuth({scopes: ["openid", "email"]})');var r=e.issuer;if(!r)throw new o.default('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(e.issuer))throw new o.default('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==r.indexOf("-admin."))throw new o.default('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})')},t.getUserAgent=function(e,t){var r=e.userAgent||{};return r.value?r.value:r.template?r.template.replace("$OKTA_AUTH_JS",t):t};var o=n(r(37948))},60322:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=function(){function e(t){(0,o.default)(this,e),this.localOffset=parseInt(t||0)}return(0,i.default)(e,[{key:"now",value:function(){return(Date.now()+this.localOffset)/1e3}}],[{key:"create",value:function(){return new e(0)}}]),e}();t.default=a,e.exports=t.default},3754:function(e,t){"use strict";t.IDX_API_VERSION=t.DEFAULT_CODE_CHALLENGE_METHOD=t.MAX_VERIFIER_LENGTH=t.MIN_VERIFIER_LENGTH=t.REFERRER_PATH_STORAGE_KEY=t.REFRESH_TOKEN_STORAGE_KEY=t.ID_TOKEN_STORAGE_KEY=t.ACCESS_TOKEN_STORAGE_KEY=t.IDX_RESPONSE_STORAGE_NAME=t.ORIGINAL_URI_STORAGE_NAME=t.SHARED_TRANSACTION_STORAGE_NAME=t.TRANSACTION_STORAGE_NAME=t.PKCE_STORAGE_NAME=t.CACHE_STORAGE_NAME=t.TOKEN_STORAGE_NAME=t.REDIRECT_NONCE_COOKIE_NAME=t.REDIRECT_STATE_COOKIE_NAME=t.REDIRECT_OAUTH_PARAMS_NAME=t.DEFAULT_CACHE_DURATION=t.DEFAULT_MAX_CLOCK_SKEW=t.DEFAULT_POLLING_DELAY=t.STATE_TOKEN_KEY_NAME=void 0,t.STATE_TOKEN_KEY_NAME="oktaStateToken",t.DEFAULT_POLLING_DELAY=500,t.DEFAULT_MAX_CLOCK_SKEW=300,t.DEFAULT_CACHE_DURATION=86400,t.REDIRECT_OAUTH_PARAMS_NAME="okta-oauth-redirect-params",t.REDIRECT_STATE_COOKIE_NAME="okta-oauth-state",t.REDIRECT_NONCE_COOKIE_NAME="okta-oauth-nonce",t.TOKEN_STORAGE_NAME="okta-token-storage",t.CACHE_STORAGE_NAME="okta-cache-storage",t.PKCE_STORAGE_NAME="okta-pkce-storage",t.TRANSACTION_STORAGE_NAME="okta-transaction-storage",t.SHARED_TRANSACTION_STORAGE_NAME="okta-shared-transaction-storage",t.ORIGINAL_URI_STORAGE_NAME="okta-original-uri-storage",t.IDX_RESPONSE_STORAGE_NAME="okta-idx-response-storage",t.ACCESS_TOKEN_STORAGE_KEY="accessToken",t.ID_TOKEN_STORAGE_KEY="idToken",t.REFRESH_TOKEN_STORAGE_KEY="refreshToken",t.REFERRER_PATH_STORAGE_KEY="referrerPath",t.MIN_VERIFIER_LENGTH=43,t.MAX_VERIFIER_LENGTH=128,t.DEFAULT_CODE_CHALLENGE_METHOD="S256",t.IDX_API_VERSION="1.0.0"},65358:function(e,t,r){"use strict";t.stringToBase64Url=function(e){return i((0,o.btoa)(e))},t.base64ToBase64Url=i,t.base64UrlToBase64=a,t.base64UrlToString=function(e){var t=a(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new n.AuthSdkError("Not a valid Base64Url")}var r=(0,o.atob)(t);try{return decodeURIComponent(escape(r))}catch(e){return r}},t.stringToBuffer=function(e){for(var t=new Uint8Array(e.length),r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t},t.base64UrlDecode=function(e){return(0,o.atob)(a(e))};var n=r(5705),o=r(5912);function i(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function a(e){return e.replace(/-/g,"+").replace(/_/g,"/")}},6661:function(e,t){"use strict";t.webcrypto=t.btoa=t.atob=void 0,t.atob=function(e){return atob(e)},t.btoa=function(e){return btoa(e)};var r="undefined"==typeof crypto?null:crypto;t.webcrypto=r},45637:function(e,t,r){"use strict";var n=r(65358);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(95798);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(61138);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(5912);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}))},95798:function(e,t,r){"use strict";t.getOidcHash=function(e){var t=(new TextEncoder).encode(e);return o.webcrypto.subtle.digest("SHA-256",t).then((function(e){var t=new Uint8Array(e).slice(0,16),r=String.fromCharCode.apply(null,t);return(0,n.stringToBase64Url)(r)}))};var n=r(65358),o=r(5912)},61138:function(e,t,r){"use strict";t.verifyToken=function(e,t){t=(0,n.clone)(t);var r={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete t.use,i.webcrypto.subtle.importKey("jwk",t,r,!0,["verify"]).then((function(t){var n=e.split("."),a=(0,o.stringToBuffer)(n[0]+"."+n[1]),u=(0,o.base64UrlDecode)(n[2]),s=(0,o.stringToBuffer)(u);return i.webcrypto.subtle.verify(r,t,s,a)}))};var n=r(88965),o=r(65358),i=r(5912)},5912:function(e,t,r){"use strict";var n=r(6661);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}))},41226:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(e,t){var r;(0,o.default)(this,s);var i=e.errorSummary;return(r=n.call(this,i)).name="AuthApiError",r.errorSummary=e.errorSummary,r.errorCode=e.errorCode,r.errorLink=e.errorLink,r.errorId=e.errorId,r.errorCauses=e.errorCauses,t&&(r.xhr=t),r}return s}(n(r(95020)).default);t.default=s,e.exports=t.default},3820:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.call(this,"The poll was stopped by the sdk")}return s}(n(r(95020)).default);t.default=s,e.exports=t.default},37948:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(e,t){var r;return(0,o.default)(this,s),(r=n.call(this,e)).name="AuthSdkError",r.errorCode="INTERNAL",r.errorSummary=e,r.errorLink="INTERNAL",r.errorId="INTERNAL",r.errorCauses=[],t&&(r.xhr=t),r}return s}(n(r(95020)).default);t.default=s,e.exports=t.default},95020:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(81506)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(e){var t;return(0,o.default)(this,c),t=n.call(this,e),Object.setPrototypeOf((0,i.default)(t),(this instanceof c?this.constructor:void 0).prototype),t}return c}((0,n(r(65957)).default)(Error));t.default=c,e.exports=t.default},8101:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(e,t){var r;return(0,o.default)(this,s),(r=n.call(this,t)).name="OAuthError",r.errorCode=e,r.errorSummary=t,r}return s}(n(r(95020)).default);t.default=s,e.exports=t.default},5705:function(e,t,r){"use strict";var n=r(95318);t.isAuthApiError=function(e){return e instanceof o.default},Object.defineProperty(t,"AuthApiError",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"AuthPollStopError",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"AuthSdkError",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"OAuthError",{enumerable:!0,get:function(){return u.default}});var o=n(r(41226)),i=n(r(3820)),a=n(r(37948)),u=n(r(8101))},9426:function(e,t,r){"use strict";t.isBrowser=i,t.isIE11OrLess=function(){return i()&&!!document.documentMode&&document.documentMode<=11},t.getUserAgent=a,t.isFingerprintSupported=function(){var e=a();return e&&!o.test(e)},t.isPopupPostMessageSupported=function(){if(!i())return!1;var e=document.documentMode&&document.documentMode<10;return!(!window.postMessage||e)},t.isTokenVerifySupported=u,t.hasTextEncoder=s,t.isPKCESupported=function(){return u()&&s()},t.isHTTPS=function(){return!!i()&&"https:"===window.location.protocol},t.isLocalhost=function(){return i()&&"localhost"===window.location.hostname};var n=r(45637),o=/windows phone|iemobile|wpdesktop/i;function i(){return"undefined"!=typeof document&&"undefined"!=typeof window}function a(){return navigator.userAgent}function u(){return void 0!==n.webcrypto&&null!==n.webcrypto&&void 0!==n.webcrypto.subtle&&"undefined"!=typeof Uint8Array}function s(){return"undefined"!=typeof TextEncoder}},94888:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(50008)),i=n(r(54098));function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}t.default=function(e,t,n){var u=n.data,s=n.headers||{};"application/json"===(s["Content-Type"]||s["content-type"]||"")&&u&&"string"!=typeof u&&(u=JSON.stringify(u));var c=(r.g.fetch||i.default)(t,{method:e,headers:n.headers,body:u,credentials:n.withCredentials?"include":"omit"});return c.finally||(c=Promise.resolve(c)),c.then((function(e){var t=!e.ok,r=e.status;return function(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch((function(e){return{error:e,errorSummary:"Could not parse server response"}})):e.text()}(e).then((function(t){return function(e,t,r){var n,i="object"===(0,o.default)(t),u={},s=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,u=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){s=!0,i=e},f:function(){try{u||null==r.return||r.return()}finally{if(s)throw i}}}}(r.headers.entries());try{for(s.s();!(n=s.n()).done;){var c=n.value;u[c[0]]=c[1]}}catch(e){s.e(e)}finally{s.f()}var f={responseText:i?JSON.stringify(t):t,status:e,headers:u};return i&&(f.responseType="json",f.responseJSON=t),f}(r,t,e)})).then((function(e){var r;if(t||(null===(r=e.responseJSON)||void 0===r?void 0:r.error))throw e;return e}))}))},e.exports=t.default},49033:function(e,t){"use strict";t.setRequestHeader=function(e,t,r){e.options.headers=e.options.headers||{},e.options.headers[t]=r}},82924:function(e,t,r){"use strict";var n=r(49033);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(4011);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}))},4011:function(e,t,r){"use strict";var n=r(95318);t.httpRequest=s,t.get=function(e,t,r){var n={url:t=(0,i.isAbsoluteUrl)(t)?t:e.getIssuerOrigin()+t,method:"GET"};return Object.assign(n,r),s(e,n)},t.post=function(e,t,r,n){var o={url:t=(0,i.isAbsoluteUrl)(t)?t:e.getIssuerOrigin()+t,method:"POST",args:r,saveAuthnState:!0};return Object.assign(o,n),s(e,o)};var o=n(r(50008)),i=r(88965),a=n(r(41226)),u=r(3754);function s(e,t){var r=(t=t||{}).url,n=t.method,s=t.args,c=t.saveAuthnState,f=t.accessToken,l=!0===t.withCredentials,p=e.options.storageUtil.storage,d=e.storageManager.getHttpCache(e.options.cookies);if(t.cacheResponse){var h=d.getStorage()[r];if(h&&Date.now()/1e3<h.expiresAt)return Promise.resolve(h.response)}var v=e._oktaUserAgent.getHttpHeader(),g=Object.assign({Accept:"application/json","Content-Type":"application/json"},v);Object.assign(g,e.options.headers,t.headers),g=(0,i.removeNils)(g),f&&(0,i.isString)(f)&&(g.Authorization="Bearer "+f);var y,m,b={headers:g,data:s||void 0,withCredentials:l};return e.options.httpRequestClient(n,r,b).then((function(n){return(m=n.responseText)&&(0,i.isString)(m)&&(m=JSON.parse(m))&&"object"===(0,o.default)(m)&&!m.headers&&(m.headers=n.headers),c&&(m.stateToken||p.delete(u.STATE_TOKEN_KEY_NAME)),m&&m.stateToken&&m.expiresAt&&p.set(u.STATE_TOKEN_KEY_NAME,m.stateToken,m.expiresAt,e.options.cookies),m&&t.cacheResponse&&d.updateStorage(r,{expiresAt:Math.floor(Date.now()/1e3)+u.DEFAULT_CACHE_DURATION,response:m}),m})).catch((function(t){var r=t.responseText||{};if((0,i.isString)(r))try{r=JSON.parse(r)}catch(e){r={errorSummary:"Unknown error"}}throw t.status>=500&&(r.errorSummary="Unknown error"),e.options.transformErrorXHR&&(t=e.options.transformErrorXHR((0,i.clone)(t))),"E0000011"===(y=new a.default(r,t)).errorCode&&p.delete(u.STATE_TOKEN_KEY_NAME),y}))}},90786:function(e,t,r){"use strict";var n=r(95318);t.authenticate=function(e,t){return u(this,void 0,void 0,o.default.mark((function r(){var n;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=(0,a.getFlowSpecification)(e,"authenticate"),r.abrupt("return",(0,i.run)(e,Object.assign(Object.assign({},t),n)));case 2:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=r(14270),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},30373:function(e,t,r){"use strict";var n=r(95318);t.Authenticator=void 0;var o=n(r(34575));t.Authenticator=function e(t){(0,o.default)(this,e),this.meta=t}},66179:function(e,t,r){"use strict";var n=r(95318);t.OktaPassword=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canVerify",value:function(e){return!!e.password}},{key:"mapCredentials",value:function(e){return{passcode:e.password}}},{key:"getInputs",value:function(e){var t;return Object.assign(Object.assign({},null===(t=e.form)||void 0===t?void 0:t.value[0]),{name:"password",type:"string",required:e.required})}}]),c}(r(30373).Authenticator);t.OktaPassword=c},66741:function(e,t,r){"use strict";var n=r(95318);t.OktaVerifyTotp=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"mapCredentials",value:function(e){return{totp:e.verificationCode}}}]),c}(r(88211).VerificationCodeAuthenticator);t.OktaVerifyTotp=c},15265:function(e,t,r){"use strict";var n=r(95318);t.SecurityQuestionEnrollment=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canVerify",value:function(e){var t=e.questionKey,r=e.question,n=e.answer;return t&&n||r&&n}},{key:"mapCredentials",value:function(e){var t=e.questionKey,r=e.question;return{questionKey:r?"custom":t,question:r,answer:e.answer}}},{key:"getInputs",value:function(){return[{name:"questionKey",type:"string",require:!0},{name:"question",type:"string",label:"Create a security question"},{name:"answer",type:"string",label:"Answer",required:!0}]}}]),c}(r(30373).Authenticator);t.SecurityQuestionEnrollment=c},13804:function(e,t,r){"use strict";var n=r(95318);t.SecurityQuestionVerification=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canVerify",value:function(e){return e.answer}},{key:"mapCredentials",value:function(e){return{questionKey:this.meta.contextualData.enrolledQuestion.questionKey,answer:e.answer}}},{key:"getInputs",value:function(){return[{name:"answer",type:"string",label:"Answer",required:!0}]}}]),c}(r(30373).Authenticator);t.SecurityQuestionVerification=c},88211:function(e,t,r){"use strict";var n=r(95318);t.VerificationCodeAuthenticator=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canVerify",value:function(e){return!!e.verificationCode}},{key:"mapCredentials",value:function(e){return{passcode:e.verificationCode}}},{key:"getInputs",value:function(e){var t;return Object.assign(Object.assign({},null===(t=e.form)||void 0===t?void 0:t.value[0]),{name:"verificationCode",type:"string",required:e.required})}}]),c}(r(30373).Authenticator);t.VerificationCodeAuthenticator=c},68523:function(e,t,r){"use strict";t.getAuthenticator=function(e){var t=e.relatesTo,r=(t=void 0===t?{}:t).value;switch(r.key){case s.AuthenticatorKey.OKTA_PASSWORD:return new i.OktaPassword(r);case s.AuthenticatorKey.SECURITY_QUESTION:return r.contextualData.enrolledQuestion?new u.SecurityQuestionVerification(r):new a.SecurityQuestionEnrollment(r);case s.AuthenticatorKey.OKTA_VERIFY:return new n.OktaVerifyTotp(r);default:return new o.VerificationCodeAuthenticator(r)}};var n=r(66741),o=r(88211),i=r(66179),a=r(15265),u=r(13804),s=r(86473)},32756:function(e,t,r){"use strict";var n=r(68523);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(30373);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(88211);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(66179);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(15265);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(13804);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},91208:function(e,t,r){"use strict";var n=r(95318);t.cancel=function(e,t){return u(this,void 0,void 0,o.default.mark((function r(){var n,u;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=e.transactionManager.load(),u=(0,a.getFlowSpecification)(e,n.flow),r.abrupt("return",(0,i.run)(e,Object.assign(Object.assign(Object.assign({},t),u),{actions:["cancel"]})));case 3:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=r(14270),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},88962:function(e,t,r){"use strict";t.AuthenticationFlow=void 0;var n=r(86749),o={identify:n.Identify,"select-authenticator-authenticate":n.SelectAuthenticatorAuthenticate,"select-authenticator-enroll":n.SelectAuthenticatorEnroll,"authenticator-enrollment-data":n.AuthenticatorEnrollmentData,"authenticator-verification-data":n.AuthenticatorVerificationData,"enroll-authenticator":n.EnrollAuthenticator,"challenge-authenticator":n.ChallengeAuthenticator,"challenge-poll":n.ChallengePoll,"reenroll-authenticator":n.ReEnrollAuthenticator,"enroll-poll":n.EnrollPoll,"redirect-idp":n.RedirectIdp,skip:n.Skip};t.AuthenticationFlow=o},99438:function(e,t,r){"use strict";t.getFlowSpecification=function(e){var t,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"proceed";switch(a){case"register":case"signup":case"enrollProfile":t=i.RegistrationFlow;break;case"recoverPassword":case"resetPassword":t=o.PasswordRecoveryFlow,r=["currentAuthenticator-recover","currentAuthenticatorEnrollment-recover"];break;default:t=n.AuthenticationFlow}return{flow:a,remediators:t,actions:r}};var n=r(88962),o=r(85391),i=r(15333)},85391:function(e,t,r){"use strict";t.PasswordRecoveryFlow=void 0;var n=r(86749),o={identify:n.Identify,"identify-recovery":n.Identify,"select-authenticator-authenticate":n.SelectAuthenticatorAuthenticate,"challenge-authenticator":n.ChallengeAuthenticator,"authenticator-verification-data":n.AuthenticatorVerificationData,"reset-authenticator":n.ResetAuthenticator,"reenroll-authenticator":n.ReEnrollAuthenticator};t.PasswordRecoveryFlow=o},15333:function(e,t,r){"use strict";t.RegistrationFlow=void 0;var n=r(86749),o={"select-enroll-profile":n.SelectEnrollProfile,"enroll-profile":n.EnrollProfile,"authenticator-enrollment-data":n.AuthenticatorEnrollmentData,"select-authenticator-enroll":n.SelectAuthenticatorEnroll,"enroll-poll":n.EnrollPoll,"enroll-authenticator":n.EnrollAuthenticator,skip:n.Skip};t.RegistrationFlow=o},17646:function(){},14270:function(e,t,r){"use strict";var n=r(88962);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(99438);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(85391);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(15333);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(17646);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}))},95294:function(e,t,r){"use strict";var n=r(95318);t.handleInteractionCodeRedirect=function(e,t){return a(this,void 0,void 0,o.default.mark((function r(){var n,a,u,s,c,f,l,p,d,h;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=e.transactionManager.load()){r.next=3;break}throw new i.AuthSdkError("No transaction data was found in storage");case 3:if(a=n.codeVerifier,u=n.state,s=new URL(t),c=s.searchParams,f=c.get("state"),l=c.get("interaction_code"),!(p=c.get("error"))){r.next=10;break}throw new i.OAuthError(p,c.get("error_description"));case 10:if(f===u){r.next=12;break}throw new i.AuthSdkError("State in redirect uri does not match with transaction state");case 12:if(l){r.next=14;break}throw new i.AuthSdkError("Unable to parse interaction_code from the url");case 14:return r.next=16,e.token.exchangeCodeForTokens({interactionCode:l,codeVerifier:a});case 16:d=r.sent,h=d.tokens,e.tokenManager.setTokens(h);case 19:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(5705),a=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},90463:function(e,t,r){"use strict";var n=r(95318);t.setGlobalRequestInterceptor=function(e){o.default.client.interceptors.request.use(e)},t.createGlobalRequestInterceptor=function(e){return function(t){var r=e._oktaUserAgent.getHttpHeader(),n=Object.assign(Object.assign({},r),e.options.headers);Object.keys(n).forEach((function(e){t.headers[e]=n[e]}))}};var o=n(r(36760))},26141:function(e,t,r){"use strict";var n=r(90786);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(91208);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(21440);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(21750);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(46789);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(38010);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r(47479);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=r(66223);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var l=r(95294);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=r(23248);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var d=r(14456);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},21440:function(e,t,r){"use strict";var n=r(95318);t.interact=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(this,void 0,void 0,o.default.mark((function r(){var n,s,f,l,p,d,h,v,g,y;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=t.state||e.options.state,r.next=3,(0,a.getTransactionMeta)(e,{state:n});case 3:if(!(s=r.sent).interactionHandle){r.next=6;break}return r.abrupt("return",c(s));case 6:return f=s.codeChallenge,l=s.codeChallengeMethod,p=e.options,d=p.clientId,h=p.redirectUri,n=n||s.state,v=t.scopes||e.options.scopes||s.scopes,g=t.activationToken,y=(0,u.getOAuthBaseUrl)(e),r.abrupt("return",i.default.interact({clientId:d,baseUrl:y,scopes:v,state:n,redirectUri:h,codeChallenge:f,codeChallengeMethod:l,activationToken:g}).then((function(t){var r=Object.assign(Object.assign({},s),{interactionHandle:t,state:n,scopes:v});return(0,a.saveTransactionMeta)(e,r),c(r)})));case 13:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=n(r(36760)),a=r(14456),u=r(26496),s=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function c(e){return{meta:e,interactionHandle:e.interactionHandle,state:e.state}}},21750:function(e,t,r){"use strict";var n=r(95318);t.introspect=function(e,t){return c(this,void 0,void 0,o.default.mark((function r(){var n,c,f;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!t.stateTokenExternalId&&(n=e.transactionManager.loadIdxResponse()),n){r.next=18;break}return c=s.IDX_API_VERSION,f=(0,u.getOAuthDomain)(e),r.prev=5,r.next=8,i.default.introspect(Object.assign({domain:f,version:c},t));case 8:n=r.sent,r.next=18;break;case 11:if(r.prev=11,r.t0=r.catch(5),!(0,a.isRawIdxResponse)(r.t0)){r.next=17;break}n=r.t0,r.next=18;break;case 17:throw r.t0;case 18:return r.abrupt("return",i.default.makeIdxState(n));case 19:case"end":return r.stop()}}),r,null,[[5,11]])})))};var o=n(r(87757)),i=n(r(36760)),a=r(3675),u=r(26496),s=r(3754),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},46789:function(e,t,r){"use strict";var n=r(95318);t.poll=function e(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s(this,void 0,void 0,o.default.mark((function c(){var f,l,p;return o.default.wrap((function(c){for(;;)switch(c.prev=c.next){case 0:return c.next=2,(0,i.proceed)(t,{startPolling:!0});case 2:if(f=c.sent,l=(0,a.getSavedTransactionMeta)(t),(null==(p=null===(r=null==l?void 0:l.remediations)||void 0===r?void 0:r.find((function(e){return e.includes("poll")})))?void 0:p.length)||(0,u.warn)("No polling remediations available at the current IDX flow stage"),!Number.isInteger(n.refresh)){c.next=8;break}return c.abrupt("return",new Promise((function(r,i){setTimeout((function(){var n,a;return s(this,void 0,void 0,o.default.mark((function u(){var s;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:try{s=null===(a=null===(n=f.nextStep)||void 0===n?void 0:n.poll)||void 0===a?void 0:a.refresh,r(s?e(t,{refresh:s}):f)}catch(e){i(e)}case 1:case"end":return o.stop()}}),u)})))}),n.refresh)})));case 8:return c.abrupt("return",f);case 9:case"end":return c.stop()}}),c)})))};var o=n(r(87757)),i=r(38010),a=r(14456),u=r(88965),s=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},38010:function(e,t,r){"use strict";var n=r(95318);t.canProceed=function(e,t){return!!(0,a.getSavedTransactionMeta)(e,t)},t.proceed=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c(this,void 0,void 0,o.default.mark((function r(){var n,c,f,l;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(n=t.stateTokenExternalId,c=t.state,(f=(0,a.getSavedTransactionMeta)(e,{state:c}))||n){r.next=4;break}throw new s.AuthSdkError("Unable to proceed: saved transaction could not be loaded");case 4:return l=(0,u.getFlowSpecification)(e,null==f?void 0:f.flow),r.abrupt("return",(0,i.run)(e,Object.assign(Object.assign({},t),l)));case 6:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=r(14456),u=r(14270),s=r(5705),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},66223:function(e,t,r){"use strict";var n=r(95318);t.recoverPassword=function(e,t){return u(this,void 0,void 0,o.default.mark((function r(){var n;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=(0,a.getFlowSpecification)(e,"recoverPassword"),r.abrupt("return",(0,i.run)(e,Object.assign(Object.assign({},t),n)));case 2:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=r(14270),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},47479:function(e,t,r){"use strict";var n=r(95318);t.register=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return l(this,void 0,void 0,o.default.mark((function r(){var n,l,p,d,h,v;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((0,a.transactionMetaExist)(e)){r.next=12;break}return r.next=3,(0,u.startTransaction)(e,Object.assign({flow:"register"},t));case 3:if(n=r.sent,l=n.enabledFeatures,p=n.availableSteps,t.activationToken||!l||l.includes(f.IdxFeature.REGISTRATION)){r.next=9;break}return d=new c.AuthSdkError("Registration is not supported based on your current org configuration."),r.abrupt("return",{status:f.IdxStatus.FAILURE,error:d});case 9:if(!t.activationToken||!(null==p?void 0:p.some((function(e){return"identify"===e.name})))){r.next=12;break}return h=new c.AuthSdkError("activationToken is not supported based on your current org configuration."),r.abrupt("return",{status:f.IdxStatus.FAILURE,error:h});case 12:return v=(0,s.getFlowSpecification)(e,"register"),r.abrupt("return",(0,i.run)(e,Object.assign(Object.assign({},t),v)));case 14:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=r(14456),u=r(23248),s=r(14270),c=r(5705),f=r(60858),l=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},54122:function(e,t,r){"use strict";var n=r(95318);t.getRemediator=p,t.remediate=function e(t,r,n){return l(this,void 0,void 0,o.default.mark((function u(){var s,f,l,b,k,w,x,O,S,T,E,A,_,j,P,R,M;return o.default.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:if(f=(s=t).neededToProceed,l=s.interactionCode,b=n.remediators,!l){o.next=4;break}return o.abrupt("return",{idxResponse:t});case 4:if(k=d(t),w=h(t),!k){o.next=8;break}return o.abrupt("return",{terminal:k,messages:w});case 8:if(x=p(f,r,n)){o.next=11;break}throw new a.AuthSdkError("\n      No remediation can match current flow, check policy settings in your org.\n      Remediations: [".concat(f.reduce((function(e,t){return e?e+" ,"+t.name:t.name}),""),"]\n    "));case 11:if(!w.length){o.next=14;break}return O=v(x,t),o.abrupt("return",{nextStep:O,messages:w});case 14:if(S=y(r,t),!(T=[].concat((0,i.default)(n.actions||[]),(0,i.default)(S&&[S]||[])))){o.next=46;break}E=c(T),o.prev=18,E.s();case 20:if((A=E.n()).done){o.next=38;break}if(_=A.value,j=m(r),"function"!=typeof t.actions[_]){o.next=36;break}return o.prev=24,o.next=27,t.actions[_]();case 27:t=o.sent,o.next=33;break;case 30:return o.prev=30,o.t0=o.catch(24),o.abrupt("return",g(o.t0,b));case 33:if("cancel"!==_){o.next=35;break}return o.abrupt("return",{canceled:!0});case 35:return o.abrupt("return",e(t,j,n));case 36:o.next=20;break;case 38:o.next=43;break;case 40:o.prev=40,o.t1=o.catch(18),E.e(o.t1);case 43:return o.prev=43,E.f(),o.finish(43);case 46:if(x.canRemediate()){o.next=49;break}return P=v(x,t),o.abrupt("return",{idxResponse:t,nextStep:P});case 49:return R=x.getName(),M=x.getData(),o.prev=51,o.next=54,t.proceed(R,M);case 54:return t=o.sent,r=x.getValuesAfterProceed(),o.abrupt("return",e(t,r,n));case 59:return o.prev=59,o.t2=o.catch(51),o.abrupt("return",g(o.t2,x));case 62:case"end":return o.stop()}}),u,null,[[18,40,43,46],[24,30],[51,59]])})))};var o=n(r(87757)),i=n(r(319)),a=r(5705),u=r(86749),s=r(3675);function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function p(e,t,r){var n,o,i=r.remediators,a=[],u=c(e);try{for(u.s();!(o=u.n()).done;){var s=o.value;if(Object.keys(i).includes(s.name)){if((n=new(0,i[s.name])(s,t)).canRemediate())return n;a.push(n)}}}catch(e){u.e(e)}finally{u.f()}return a[0]}function d(e){var t=e.neededToProceed,r=e.interactionCode;return!t.length&&!r}function h(e){var t,r=[],n=e.rawIdxState,o=e.neededToProceed,a=null===(t=n.messages)||void 0===t?void 0:t.value.map((function(e){return e}));a&&(r=[].concat((0,i.default)(r),(0,i.default)(a)));var s,f=c(o);try{for(f.s();!(s=f.n()).done;){var l=s.value,p=u.Remediator.getMessages(l);p&&(r=[].concat((0,i.default)(r),(0,i.default)(p)))}}catch(e){f.e(e)}finally{f.f()}return r}function v(e,t){var r=e.getNextStep(t.context),n=function(e){return e.neededToProceed.some((function(e){return"skip"===e.name}))}(t),o=function(e){return Object.keys(e.actions).some((function(e){return e.includes("resend")}))}(t);return Object.assign(Object.assign(Object.assign({},r),n&&{canSkip:n}),o&&{canResend:o})}function g(e,t){var r=(0,s.isIdxResponse)(e)?e:null;if(!r)throw e;var n=d(r),o=h(r);if(n)return{terminal:n,messages:o};var i=t&&v(t,r);return Object.assign({messages:o},i&&{nextStep:i})}function y(e,t){return Object.keys(t.actions).find((function(t){return!!e.resend&&t.includes("-resend")}))}function m(e){return e.resend=void 0,e}},86874:function(e,t,r){"use strict";var n=r(95318);t.AuthenticatorEnrollmentData=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(16525)),u=n(r(2205)),s=n(r(78585)),c=n(r(29754)),f=r(28298),l=r(95323);var p=function(e){(0,u.default)(f,e);var t,r,n=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,c.default)(t);if(r){var o=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function f(){return(0,o.default)(this,f),n.apply(this,arguments)}return(0,i.default)(f,[{key:"mapAuthenticator",value:function(){var e=this.getAuthenticatorData();return{id:(0,l.getAuthenticatorFromRemediation)(this.remediation).form.value.find((function(e){return"id"===e.name})).value,methodType:e.methodType,phoneNumber:e.phoneNumber}}},{key:"getInputAuthenticator",value:function(){return[{name:"methodType",type:"string",required:!0},{name:"phoneNumber",type:"string",required:!0,label:"Phone Number"}]}},{key:"mapAuthenticatorDataFromValues",value:function(e){e=(0,a.default)((0,c.default)(f.prototype),"mapAuthenticatorDataFromValues",this).call(this,e);var t=this.values.phoneNumber;return(e=Object.assign(Object.assign({},e&&e),t&&{phoneNumber:t})).phoneNumber&&e.methodType?e:null}}]),f}(f.AuthenticatorData);t.AuthenticatorEnrollmentData=p,p.remediationName="authenticator-enrollment-data"},48129:function(e,t,r){"use strict";var n=r(95318);t.AuthenticatorVerificationData=void 0;var o=n(r(319)),i=n(r(34575)),a=n(r(93913)),u=n(r(2205)),s=n(r(78585)),c=n(r(29754));var f=function(e){(0,u.default)(f,e);var t,r,n=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,c.default)(t);if(r){var o=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function f(){return(0,i.default)(this,f),n.apply(this,arguments)}return(0,a.default)(f,[{key:"mapAuthenticator",value:function(){var e,t=this.getAuthenticatorData(),r=this.getAuthenticatorFromRemediation();return{id:r.form.value.find((function(e){return"id"===e.name})).value,enrollmentId:null===(e=r.form.value.find((function(e){return"enrollmentId"===e.name})))||void 0===e?void 0:e.value,methodType:t.methodType}}},{key:"getInputAuthenticator",value:function(){var e=this.getAuthenticatorFromRemediation(),t=e.form.value.find((function(e){return"methodType"===e.name}));return t&&t.options?{name:"methodType",type:"string",required:!0}:(0,o.default)(e.form.value)}}]),f}(r(28298).AuthenticatorData);t.AuthenticatorVerificationData=f,f.remediationName="authenticator-verification-data"},28298:function(e,t,r){"use strict";var n=r(95318);t.AuthenticatorData=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(16525)),u=n(r(2205)),s=n(r(78585)),c=n(r(29754));var f=function(e){(0,u.default)(f,e);var t,r,n=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,c.default)(t);if(r){var o=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function f(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.default)(this,f),(t=n.call(this,e,r)).map={authenticator:[]},t.authenticator=t.getAuthenticator(),t.formatAuthenticatorData(),t}return(0,i.default)(f,[{key:"formatAuthenticatorData",value:function(){var e=this;if(this.getAuthenticatorData())this.values.authenticatorsData=this.values.authenticatorsData.map((function(t){return t.key===e.authenticator.key?e.mapAuthenticatorDataFromValues(t):t}));else{var t=this.mapAuthenticatorDataFromValues();t&&this.values.authenticatorsData.push(t)}}},{key:"getAuthenticatorData",value:function(){var e=this;return this.values.authenticatorsData.find((function(t){return t.key===e.authenticator.key}))}},{key:"canRemediate",value:function(){var e=this;return this.values.authenticatorsData.some((function(t){return t.key===e.authenticator.key}))}},{key:"getNextStep",value:function(){var e=(0,a.default)((0,c.default)(f.prototype),"getNextStep",this).call(this),t=this.getMethodTypes();return Object.assign(Object.assign({},e),t&&{options:t})}},{key:"mapAuthenticatorDataFromValues",value:function(e){var t=this.values.methodType,r=Object.assign(Object.assign({key:this.authenticator.key},e&&e),t&&{methodType:t});return r.methodType?r:null}},{key:"getAuthenticatorFromRemediation",value:function(){return this.remediation.value.find((function(e){return"authenticator"===e.name}))}},{key:"getMethodTypes",value:function(){var e;return null===(e=this.getAuthenticatorFromRemediation().form.value.find((function(e){return"methodType"===e.name})))||void 0===e?void 0:e.options}},{key:"getValuesAfterProceed",value:function(){var e=this;this.values=(0,a.default)((0,c.default)(f.prototype),"getValuesAfterProceed",this).call(this);var t=this.values.authenticatorsData.filter((function(t){return t.key!==e.authenticator.key}));return Object.assign(Object.assign({},this.values),{authenticatorsData:t})}}]),f}(r(18674).Remediator);t.AuthenticatorData=f},18674:function(e,t,r){"use strict";var n=r(95318);t.Remediator=void 0;var o=n(r(319)),i=n(r(50008)),a=n(r(34575)),u=n(r(93913)),s=r(5705),c=r(95323);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var l=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,a.default)(this,e),this.values=Object.assign({},r),this.formatAuthenticators(),this.remediation=t}return(0,u.default)(e,[{key:"formatAuthenticators",value:function(){var e=this;this.values.authenticators=this.values.authenticators||[],this.values.authenticator&&(this.values.authenticators.some((function(t){return"string"==typeof t?t===e.values.authenticator:t.key===e.values.authenticator}))||this.values.authenticators.push({key:this.values.authenticator})),this.values.authenticators=this.values.authenticators.map((function(e){return"string"==typeof e?{key:e}:e})),this.values.authenticatorsData=this.values.authenticators.reduce((function(e,t){return"object"===(0,i.default)(t)&&Object.keys(t).length>1&&e.push(t),e}),this.values.authenticatorsData||[])}},{key:"getName",value:function(){return this.remediation.name}},{key:"canRemediate",value:function(){var e=this;return!!this.map&&!(0,c.getRequiredValues)(this.remediation).find((function(t){return!e.hasData(t)}))}},{key:"getData",value:function(e){var t=this;if(!e){var r=(0,c.getAllValues)(this.remediation).reduce((function(e,r){return e[r]=t.getData(r),e}),{});return r}if("function"==typeof this["map".concat((0,c.titleCase)(e))])return this["map".concat((0,c.titleCase)(e))](this.remediation.value.find((function(t){return t.name===e})));if(!this.map)return this.values[e];var n=this.map[e];if(!n)return this.values[e];for(var o=0;o<n.length;o++){var i=this.values[n[o]];if(i)return i}}},{key:"hasData",value:function(e){var t=this.getData(e);return"object"===(0,i.default)(t)?!!Object.keys(t).find((function(e){return!!t[e]})):!!t}},{key:"getNextStep",value:function(e){var t=this.getName(),r=this.getInputs(),n=this.getAuthenticator(),o=null==n?void 0:n.type;return Object.assign(Object.assign({name:t,inputs:r},o&&{type:o}),n&&{authenticator:n})}},{key:"getInputs",value:function(){var e=this;return this.map?Object.keys(this.map).reduce((function(t,r){var n,o=e.remediation.value.find((function(e){return e.name===r}));if(!o)return t;var i=e.map[r],a=o.type;if("function"==typeof e["getInput".concat((0,c.titleCase)(r))])n=e["getInput".concat((0,c.titleCase)(r))](o);else if("object"!==a){var u;(u=1===i.length?i[0]:i.find((function(t){return Object.keys(e.values).includes(t)})))&&(n=Object.assign(Object.assign({},o),{name:u}))}if(!n)throw new s.AuthSdkError("Missing custom getInput".concat((0,c.titleCase)(r)," method in Remediator: ").concat(e.getName()));return Array.isArray(n)?n.forEach((function(e){return t.push(e)})):t.push(n),t}),[]):[]}},{key:"getValuesAfterProceed",value:function(){var e,t=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return f(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(this.getInputs());try{for(t.s();!(e=t.n()).done;){var r=e.value;delete this.values[r.name]}}catch(e){t.e(e)}finally{t.f()}return this.values}},{key:"getAuthenticator",value:function(){var e;return null===(e=this.remediation.relatesTo)||void 0===e?void 0:e.value}}],[{key:"getMessages",value:function(e){var t,r;if(e.value)return null===(r=null===(t=e.value[0])||void 0===t?void 0:t.form)||void 0===r?void 0:r.value.reduce((function(e,t){return t.messages&&(e=[].concat((0,o.default)(e),(0,o.default)(t.messages.value))),e}),[])}}]),e}();t.Remediator=l},16255:function(e,t,r){"use strict";var n=r(95318);t.SelectAuthenticator=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(16525)),u=n(r(2205)),s=n(r(78585)),c=n(r(29754)),f=r(18674),l=r(95323);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d(e,t){var r,n,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{var i=function(){var e=n.value;if(r=t.find((function(t){return t.relatesTo.key===e.key})))return"break"};for(o.s();!(n=o.n()).done&&"break"!==i(););}catch(e){o.e(e)}finally{o.f()}return r}var h=function(e){(0,u.default)(f,e);var t,r,n=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,c.default)(t);if(r){var o=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function f(){var e;return(0,o.default)(this,f),(e=n.apply(this,arguments)).map={authenticator:[]},e}return(0,i.default)(f,[{key:"canRemediate",value:function(){var e=this.values.authenticators,t=(0,l.getAuthenticatorFromRemediation)(this.remediation).options;return!(!e||!e.length||!d(e,t))}},{key:"getNextStep",value:function(){var e=(0,a.default)((0,c.default)(f.prototype),"getNextStep",this).call(this),t=(0,l.getAuthenticatorFromRemediation)(this.remediation).options.map((function(e){return{label:e.label,value:e.relatesTo.key}}));return Object.assign(Object.assign({},e),{options:t})}},{key:"mapAuthenticator",value:function(e){var t=d(this.values.authenticators,e.options);return this.selectedAuthenticator=t.relatesTo,{id:null==t?void 0:t.value.form.value.find((function(e){return"id"===e.name})).value}}},{key:"getInputAuthenticator",value:function(){return{name:"authenticator",key:"string"}}},{key:"getValuesAfterProceed",value:function(){var e=this;this.values=(0,a.default)((0,c.default)(f.prototype),"getValuesAfterProceed",this).call(this);var t=this.values.authenticators.filter((function(t){return t.key!==e.selectedAuthenticator.key}));return Object.assign(Object.assign({},this.values),{authenticators:t})}}]),f}(f.Remediator);t.SelectAuthenticator=h},61571:function(e,t,r){"use strict";var n=r(95318);t.VerifyAuthenticator=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754)),c=r(18674),f=r(32756);var l=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.default)(this,c),(t=n.call(this,e,r)).map={credentials:[]},t.authenticator=(0,f.getAuthenticator)(e),t}return(0,i.default)(c,[{key:"canRemediate",value:function(){return this.authenticator.canVerify(this.values)}},{key:"mapCredentials",value:function(){return this.authenticator.mapCredentials(this.values)}},{key:"getInputCredentials",value:function(e){return this.authenticator.getInputs(e)}}]),c}(c.Remediator);t.VerifyAuthenticator=l},87873:function(e,t,r){"use strict";var n=r(95318);t.ChallengeAuthenticator=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.apply(this,arguments)}return s}(r(61571).VerifyAuthenticator);t.ChallengeAuthenticator=s,s.remediationName="challenge-authenticator"},6759:function(e,t,r){"use strict";var n=r(95318);t.ChallengePoll=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.apply(this,arguments)}return s}(r(49084).EnrollPoll);t.ChallengePoll=s,s.remediationName="challenge-poll"},97282:function(e,t,r){"use strict";var n=r(95318);t.EnrollAuthenticator=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.apply(this,arguments)}return s}(r(61571).VerifyAuthenticator);t.EnrollAuthenticator=s,s.remediationName="enroll-authenticator"},49084:function(e,t,r){"use strict";var n=r(95318);t.EnrollPoll=void 0;var o=n(r(59713)),i=n(r(34575)),a=n(r(93913)),u=n(r(2205)),s=n(r(78585)),c=n(r(29754));var f=function(e){(0,u.default)(f,e);var t,r,n=(t=f,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,c.default)(t);if(r){var o=(0,c.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,s.default)(this,e)});function f(){return(0,i.default)(this,f),n.apply(this,arguments)}return(0,a.default)(f,[{key:"canRemediate",value:function(){return Boolean(this.values.startPolling)}},{key:"getNextStep",value:function(e){var t=this.getName(),r=this.getAuthenticator();return!r&&(null==e?void 0:e.currentAuthenticator)&&(r=e.currentAuthenticator.value),{name:t,authenticator:r,poll:{required:!0,refresh:this.remediation.refresh}}}},{key:"getValuesAfterProceed",value:function(){var e=this;return Object.keys(this.values).filter((function(e){return"startPolling"!==e})).reduce((function(t,r){return Object.assign(Object.assign({},t),(0,o.default)({},r,e.values[r]))}),{})}}]),f}(r(18674).Remediator);t.EnrollPoll=f,f.remediationName="enroll-poll"},54218:function(e,t,r){"use strict";var n=r(95318);t.EnrollProfile=void 0;var o=n(r(319)),i=n(r(59713)),a=n(r(34575)),u=n(r(93913)),s=n(r(2205)),c=n(r(78585)),f=n(r(29754));var l=function(e){(0,s.default)(l,e);var t,r,n=(t=l,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,f.default)(t);if(r){var o=(0,f.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,c.default)(this,e)});function l(){var e;return(0,a.default)(this,l),(e=n.apply(this,arguments)).map={userProfile:[]},e}return(0,u.default)(l,[{key:"canRemediate",value:function(){var e=this.getData().userProfile;return this.remediation.value.find((function(e){return"userProfile"===e.name})).form.value.reduce((function(t,r){return r.required&&(t=t&&!!e[r.name]),t}),!0)}},{key:"mapUserProfile",value:function(e){var t=this;return e.form.value.map((function(e){return e.name})).reduce((function(e,r){return t.values[r]?Object.assign(Object.assign({},e),(0,i.default)({},r,t.values[r])):e}),{})}},{key:"getInputUserProfile",value:function(e){return(0,o.default)(e.form.value)}},{key:"getErrorMessages",value:function(e){return e.value[0].form.value.reduce((function(e,t){return t.messages&&e.push(t.messages.value[0].message),e}),[])}}]),l}(r(18674).Remediator);t.EnrollProfile=l,l.remediationName="enroll-profile"},83263:function(e,t,r){"use strict";var n=r(95318);t.Identify=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){var e;return(0,o.default)(this,c),(e=n.apply(this,arguments)).map={identifier:["username"],credentials:[],rememberMe:["rememberMe"]},e}return(0,i.default)(c,[{key:"canRemediate",value:function(){return!!this.getData().identifier}},{key:"mapCredentials",value:function(){return{passcode:this.values.password}}},{key:"getInputCredentials",value:function(e){return Object.assign(Object.assign({},e.form.value[0]),{name:"password",required:e.required})}}]),c}(r(18674).Remediator);t.Identify=c,c.remediationName="identify"},82818:function(e,t,r){"use strict";var n=r(95318);t.ReEnrollAuthenticator=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){var e;return(0,o.default)(this,c),(e=n.apply(this,arguments)).map={credentials:[]},e}return(0,i.default)(c,[{key:"mapCredentials",value:function(){return{passcode:this.values.newPassword}}},{key:"getInputCredentials",value:function(e){var t="password"===this.getAuthenticator().type?"newPassword":"verificationCode";return Object.assign(Object.assign({},e.form.value[0]),{name:t})}}]),c}(r(18674).Remediator);t.ReEnrollAuthenticator=c,c.remediationName="reenroll-authenticator"},53963:function(e,t,r){"use strict";var n=r(95318);t.RedirectIdp=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canRemediate",value:function(){return!1}},{key:"getNextStep",value:function(){var e=this.remediation;return{name:e.name,type:e.type,idp:e.idp,href:e.href}}}]),c}(r(18674).Remediator);t.RedirectIdp=c,c.remediationName="redirect-idp"},36703:function(e,t,r){"use strict";var n=r(95318);t.ResetAuthenticator=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.apply(this,arguments)}return s}(r(61571).VerifyAuthenticator);t.ResetAuthenticator=s,s.remediationName="reset-authenticator"},87459:function(e,t,r){"use strict";var n=r(95318);t.SelectAuthenticatorAuthenticate=void 0;var o=n(r(319)),i=n(r(34575)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754)),c=r(16255),f=r(95323),l=r(86473);var p=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(e){var t,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,i.default)(this,c),t=n.call(this,e,a);var u=null===(r=(0,f.getAuthenticatorFromRemediation)(e).options)||void 0===r?void 0:r.some((function(e){return e.relatesTo.key===l.AuthenticatorKey.OKTA_PASSWORD}));return u&&("recoverPassword"===t.values.flow||t.values.password)&&(t.values.authenticators=[].concat((0,o.default)(t.values.authenticators),[{key:l.AuthenticatorKey.OKTA_PASSWORD}])),t}return c}(c.SelectAuthenticator);t.SelectAuthenticatorAuthenticate=p,p.remediationName="select-authenticator-authenticate"},86400:function(e,t,r){"use strict";var n=r(95318);t.SelectAuthenticatorEnroll=void 0;var o=n(r(34575)),i=n(r(2205)),a=n(r(78585)),u=n(r(29754));var s=function(e){(0,i.default)(s,e);var t,r,n=(t=s,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,u.default)(t);if(r){var o=(0,u.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,a.default)(this,e)});function s(){return(0,o.default)(this,s),n.apply(this,arguments)}return s}(r(16255).SelectAuthenticator);t.SelectAuthenticatorEnroll=s,s.remediationName="select-authenticator-enroll"},92552:function(e,t,r){"use strict";var n=r(95318);t.SelectEnrollProfile=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){return(0,o.default)(this,c),n.apply(this,arguments)}return(0,i.default)(c,[{key:"canRemediate",value:function(){return!0}}]),c}(r(18674).Remediator);t.SelectEnrollProfile=c,c.remediationName="select-enroll-profile"},60554:function(e,t,r){"use strict";var n=r(95318);t.Skip=void 0;var o=n(r(34575)),i=n(r(93913)),a=n(r(2205)),u=n(r(78585)),s=n(r(29754));var c=function(e){(0,a.default)(c,e);var t,r,n=(t=c,r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,s.default)(t);if(r){var o=(0,s.default)(this).constructor;e=Reflect.construct(n,arguments,o)}else e=n.apply(this,arguments);return(0,u.default)(this,e)});function c(){var e;return(0,o.default)(this,c),(e=n.apply(this,arguments)).map={skip:["skip"]},e}return(0,i.default)(c,[{key:"canRemediate",value:function(){return!!this.values.skip}}]),c}(r(18674).Remediator);t.Skip=c,c.remediationName="skip"},86749:function(e,t,r){"use strict";var n=r(18674);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(97282);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(49084);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(87873);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(6759);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(36703);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r(54218);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=r(83263);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var l=r(82818);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=r(53963);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var d=r(87459);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r(86400);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var v=r(92552);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var g=r(48129);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}));var y=r(86874);Object.keys(y).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===y[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}}))}));var m=r(60554);Object.keys(m).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===m[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}}))}))},95323:function(e,t){"use strict";t.getAllValues=function(e){return e.value.map((function(e){return e.name}))},t.getRequiredValues=function(e){return e.value.reduce((function(e,t){return t.required&&e.push(t.name),e}),[])},t.titleCase=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},t.getAuthenticatorFromRemediation=function(e){return e.value.find((function(e){return"authenticator"===e.name}))}},18710:function(e,t,r){"use strict";var n=r(95318),o=r(50008);t.run=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return h(this,void 0,void 0,i.default.mark((function r(){var n,o,c,p,d,h,y,m,b,k,w,x,O,S,T,E,A,_,j,P,R,M,I,C,U,N,F,D,L,B;return i.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(m=f.IdxStatus.PENDING,b=!1,r.prev=2,O=t.flow,S=t.stateTokenExternalId,T=t.state,O&&e.idx.setFlow(O),x=(0,l.getSavedTransactionMeta)(e,{state:T}),(w=null==x?void 0:x.interactionHandle)||S){r.next=14;break}return e.transactionManager.clear(),r.next=11,(0,a.interact)(e,t);case 11:E=r.sent,w=E.interactionHandle,x=E.meta;case 14:return r.next=16,(0,u.introspect)(e,{interactionHandle:w,stateTokenExternalId:S});case 16:if(k=r.sent,t.remediators||t.actions){r.next=23;break}d=x,h=v(k),y=g(k.neededToProceed),r.next=48;break;case 23:return A=Object.assign(Object.assign({},t),{stateHandle:k.rawIdxState.stateHandle}),r.next=26,(0,s.remediate)(k,A,t);case 26:if(_=r.sent,j=_.idxResponse,P=_.nextStep,R=_.terminal,M=_.canceled,I=_.messages,c=I,(o=P)&&j&&e.transactionManager.saveIdxResponse(j.rawIdxState),R&&(m=f.IdxStatus.TERMINAL,b=!0),!M){r.next=41;break}m=f.IdxStatus.CANCELED,b=!0,r.next=48;break;case 41:if(!(null==j?void 0:j.interactionCode)){r.next=48;break}return U=(C=x).clientId,N=C.codeVerifier,F=C.ignoreSignature,D=C.redirectUri,L=C.urls,B=C.scopes,r.next=45,e.token.exchangeCodeForTokens({interactionCode:j.interactionCode,clientId:U,codeVerifier:N,ignoreSignature:F,redirectUri:D,scopes:B},L);case 45:n=r.sent,m=f.IdxStatus.SUCCESS,b=!0;case 48:r.next=55;break;case 50:r.prev=50,r.t0=r.catch(2),p=r.t0,m=f.IdxStatus.FAILURE,b=!0;case 55:return b&&e.transactionManager.clear(),r.abrupt("return",Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({_idxResponse:k,status:m},d&&{meta:d}),h&&{enabledFeatures:h}),y&&{availableSteps:y}),n&&{tokens:n.tokens}),o&&{nextStep:o}),c&&{messages:c}),p&&{error:p}));case 57:case"end":return r.stop()}}),r,null,[[2,50]])})))};var i=n(r(87757)),a=r(21440),u=r(21750),s=r(54122),c=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(86749)),f=r(60858),l=r(14456);function p(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var h=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function v(e){var t=[],r=e.actions,n=e.neededToProceed;return r["currentAuthenticator-recover"]&&t.push(f.IdxFeature.PASSWORD_RECOVERY),n.some((function(e){return"select-enroll-profile"===e.name}))&&t.push(f.IdxFeature.REGISTRATION),n.some((function(e){return"redirect-idp"===e.name}))&&t.push(f.IdxFeature.SOCIAL_IDP),t}function g(e){var t,r=[],n=Object.values(c).reduce((function(e,t){return t.remediationName&&(e[t.remediationName]=t),e}),{}),o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(e);try{for(o.s();!(t=o.n()).done;){var i=t.value,a=n[i.name];if(a){var u=new a(i);r.push(u.getNextStep())}}}catch(e){o.e(e)}finally{o.f()}return r}},23248:function(e,t,r){"use strict";var n=r(95318);t.startTransaction=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return a(this,void 0,void 0,o.default.mark((function r(){return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.transactionManager.clear(),r.abrupt("return",(0,i.run)(e,t));case 2:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(18710),a=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},14456:function(e,t,r){"use strict";var n=r(95318);t.createTransactionMeta=s,t.transactionMetaExist=function(e,t){if(e.transactionManager.exists(t)){var r=e.transactionManager.load(t);if(f(e,r)&&r.interactionHandle)return!0}return!1},t.getSavedTransactionMeta=c,t.getTransactionMeta=function(e,t){return u(this,void 0,void 0,o.default.mark((function r(){var n;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!e.transactionManager.exists(t)){r.next=5;break}if(!(n=c(e,t))){r.next=4;break}return r.abrupt("return",n);case 4:(0,i.warn)("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.");case 5:return r.abrupt("return",s(e,t));case 6:case"end":return r.stop()}}),r)})))},t.saveTransactionMeta=function(e,t){e.transactionManager.save(t,{muteWarning:!0})},t.clearTransactionMeta=function(e){e.transactionManager.clear()},t.isTransactionMetaValid=f;var o=n(r(87757)),i=r(88965),a=r(26496),u=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function s(e,t){return u(this,void 0,void 0,o.default.mark((function r(){var n,i,u,s,c,f,l,p,d,h,v,g,y,m,b,k,w;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.token.prepareTokenParams(t);case 2:return n=r.sent,i=n.pkce,u=n.clientId,s=n.redirectUri,c=n.responseType,f=n.responseMode,l=n.scopes,p=n.state,d=n.nonce,h=n.ignoreSignature,v=n.codeVerifier,g=n.codeChallengeMethod,y=n.codeChallenge,m=(0,a.getOAuthUrls)(e,n),b=e.idx.getFlow()||"default",k=e.options.issuer,w={flow:b,issuer:k,pkce:i,clientId:u,redirectUri:s,responseType:c,responseMode:f,scopes:l,state:p,nonce:d,urls:m,ignoreSignature:h,codeVerifier:v,codeChallengeMethod:g,codeChallenge:y},r.abrupt("return",w);case 9:case"end":return r.stop()}}),r)})))}function c(e,t){var r=(null==t?void 0:t.state)||e.options.state,n=e.transactionManager.load({state:r});if(n&&f(e,n))return n}function f(e,t){if(["issuer","clientId","redirectUri"].some((function(r){return e.options[r]!==t[r]})))return!1;var r=e.options,n=r.flow,o=r.state;return!(o&&o!==t.state||n&&"default"!==n&&"proceed"!==n&&n!==t.flow)}},3675:function(e,t){"use strict";function r(e){return e&&e.version}t.isRawIdxResponse=r,t.isIdxResponse=function(e){return e&&r(e.rawIdxState)}},86473:function(e,t){"use strict";var r,n,o;t.IdxFeature=t.AuthenticatorKey=t.IdxStatus=void 0,t.IdxStatus=r,function(e){e.SUCCESS="SUCCESS",e.PENDING="PENDING",e.FAILURE="FAILURE",e.TERMINAL="TERMINAL",e.CANCELED="CANCELED"}(r||(t.IdxStatus=r={})),t.AuthenticatorKey=n,function(e){e.OKTA_PASSWORD="okta_password",e.OKTA_EMAIL="okta_email",e.PHONE_NUMBER="phone_number",e.GOOGLE_AUTHENTICATOR="google_otp",e.SECURITY_QUESTION="security_question",e.OKTA_VERIFY="okta_verify"}(n||(t.AuthenticatorKey=n={})),t.IdxFeature=o,function(e){e[e.PASSWORD_RECOVERY=0]="PASSWORD_RECOVERY",e[e.REGISTRATION=1]="REGISTRATION",e[e.SOCIAL_IDP=2]="SOCIAL_IDP"}(o||(t.IdxFeature=o={}))},31964:function(e,t,r){"use strict";t.decodeToken=function(e){var t,r=e.split(".");try{t={header:JSON.parse((0,o.base64UrlToString)(r[0])),payload:JSON.parse((0,o.base64UrlToString)(r[1])),signature:r[2]}}catch(e){throw new n.AuthSdkError("Malformed token")}return t};var n=r(5705),o=r(45637)},38163:function(e,t,r){"use strict";t.convertTokenParamsToOAuthParams=i,t.buildAuthorizeParams=function(e){var t=i(e);return(0,n.toQueryString)(Object.assign(Object.assign({},t),e.extraParams&&Object.assign({},e.extraParams)))};var n=r(88965),o=r(5705);function i(e){if(!e.clientId)throw new o.AuthSdkError("A clientId must be specified in the OktaAuth constructor to get a token");if((0,n.isString)(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new o.AuthSdkError("Multiple OAuth responseTypes must be defined as an array");var t={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state};if(t=(0,n.removeNils)(t),["idp_scope","response_type"].forEach((function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))})),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new o.AuthSdkError("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}},85074:function(e,t,r){"use strict";var n=r(38163);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(48518);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(96308);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}))},48518:function(e,t,r){"use strict";var n=r(95318);t.postToTokenEndpoint=function(e,t,r){!function(e){if(!e.clientId)throw new i.AuthSdkError("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new i.AuthSdkError("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new i.AuthSdkError("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new i.AuthSdkError('The "codeVerifier" (generated and saved by your app) must be passed to /token')}(t);var n=function(e,t){var r=(0,a.removeNils)({client_id:t.clientId,redirect_uri:t.redirectUri,grant_type:t.interactionCode?"interaction_code":"authorization_code",code_verifier:t.codeVerifier});t.interactionCode?r.interaction_code=t.interactionCode:t.authorizationCode&&(r.code=t.authorizationCode);var n=e.options.clientSecret;return n&&(r.client_secret=n),(0,a.toQueryString)(r).slice(1)}(e,t);return(0,u.httpRequest)(e,{url:r.tokenUrl,method:"POST",args:n,headers:{"Content-Type":"application/x-www-form-urlencoded"}})},t.postRefreshToken=function(e,t,r){return(0,u.httpRequest)(e,{url:r.tokenUrl,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},args:Object.entries({client_id:t.clientId,grant_type:"refresh_token",scope:r.scopes.join(" "),refresh_token:r.refreshToken}).map((function(e){var t=(0,o.default)(e,2),r=t[0],n=t[1];return r+"="+encodeURIComponent(n)})).join("&")})};var o=n(r(63038)),i=r(5705),a=r(88965),u=r(82924)},96308:function(e,t,r){"use strict";var n=r(95318);t.getWellKnown=u,t.getKey=function(e,t,r){var n=e.storageManager.getHttpCache(e.options.cookies);return u(e,t).then((function(t){var u=t.jwks_uri,s=n.getStorage()[u];if(s&&Date.now()/1e3<s.expiresAt){var c=(0,i.find)(s.response.keys,{kid:r});if(c)return c}return n.clearStorage(u),(0,o.get)(e,u,{cacheResponse:!0}).then((function(e){var t=(0,i.find)(e.keys,{kid:r});if(t)return t;throw new a.default("The key id, "+r+", was not found in the server's keys")}))}))};var o=r(82924),i=r(88965),a=n(r(37948));function u(e,t){var r=t||e.options.issuer;return(0,o.get)(e,r+"/.well-known/openid-configuration",{cacheResponse:!0})}},19732:function(e,t,r){"use strict";t.exchangeCodeForTokens=function(e,t,r){r=r||(0,n.getOAuthUrls)(e,t);var s=t=Object.assign({},(0,o.getDefaultTokenParams)(e),(0,i.clone)(t)),c=s.authorizationCode,f=s.interactionCode,l=s.codeVerifier,p=s.clientId,d=s.redirectUri,h=s.scopes,v=s.ignoreSignature,g=s.state,y={clientId:p,redirectUri:d,authorizationCode:c,interactionCode:f,codeVerifier:l};return(0,a.postToTokenEndpoint)(e,y,r).then((function(t){var n=["token"];-1!==h.indexOf("openid")&&n.push("id_token");var o={clientId:p,redirectUri:d,scopes:h,responseType:n,ignoreSignature:v};return(0,u.handleOAuthResponse)(e,o,t,r).then((function(e){return e.code=c,e.state=g,e}))})).finally((function(){e.transactionManager.clear()}))};var n=r(26496),o=r(24736),i=r(88965),a=r(48518),u=r(98723)},15884:function(e,t,r){"use strict";var n=r(95318);t.getToken=function(e,t){if(arguments.length>2)return Promise.reject(new i.default('As of version 3.0, "getToken" takes only a single set of options'));var r=(t=t||{}).popupWindow;return t.popupWindow=void 0,(0,a.prepareTokenParams)(e,t).then((function(n){var a,c;switch(t.sessionToken?Object.assign(n,{prompt:"none",responseMode:"okta_post_message",display:null}):t.idp&&Object.assign(n,{display:"popup"}),c=(0,o.getOAuthUrls)(e,n),a=(t.codeVerifier?c.tokenUrl:c.authorizeUrl)+(0,u.buildAuthorizeParams)(n),n.sessionToken||null===n.display?"IFRAME":"popup"===n.display?"POPUP":"IMPLICIT"){case"IFRAME":var f=(0,o.addPostMessageListener)(e,t.timeout,n.state),l=(0,o.loadFrame)(a);return f.then((function(t){return(0,s.handleOAuthResponse)(e,n,t,c)})).finally((function(){document.body.contains(l)&&l.parentElement.removeChild(l)}));case"POPUP":var p;if("okta_post_message"===n.responseMode){if(!e.features.isPopupPostMessageSupported())throw new i.default("This browser doesn't have full postMessage support");p=(0,o.addPostMessageListener)(e,t.timeout,n.state)}return r&&r.location.assign(a),new Promise((function(e,t){var n=setInterval((function(){r&&!r.closed||(clearInterval(n),t(new i.default("Unable to parse OAuth flow response")))}),100);p.then((function(t){clearInterval(n),e(t)})).catch((function(e){clearInterval(n),t(e)}))})).then((function(t){return(0,s.handleOAuthResponse)(e,n,t,c)})).finally((function(){r&&!r.closed&&r.close()}));default:throw new i.default("The full page redirect flow is not supported")}}))};var o=r(24736),i=n(r(37948)),a=r(73584),u=r(38163),s=r(98723)},70457:function(e,t,r){"use strict";var n=r(95318);t.getUserInfo=function(e,t,r){return c(this,void 0,void 0,o.default.mark((function n(){return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t){n.next=4;break}return n.next=3,e.tokenManager.getTokens();case 3:t=n.sent.accessToken;case 4:if(r){n.next=8;break}return n.next=7,e.tokenManager.getTokens();case 7:r=n.sent.idToken;case 8:if(t&&(0,s.isAccessToken)(t)){n.next=10;break}return n.abrupt("return",Promise.reject(new a.AuthSdkError("getUserInfo requires an access token object")));case 10:if(r&&(0,s.isIDToken)(r)){n.next=12;break}return n.abrupt("return",Promise.reject(new a.AuthSdkError("getUserInfo requires an ID token object")));case 12:return n.abrupt("return",(0,u.httpRequest)(e,{url:t.userinfoUrl,method:"GET",accessToken:t.accessToken}).then((function(e){return e.sub===r.claims.sub?e:Promise.reject(new a.AuthSdkError("getUserInfo request was rejected due to token mismatch"))})).catch((function(e){var t;if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)&&(e.xhr.headers&&(0,i.isFunction)(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):(0,i.isFunction)(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t)){var r=t.match(/error="(.*?)"/)||[],n=t.match(/error_description="(.*?)"/)||[],o=r[1],u=n[1];o&&u&&(e=new a.OAuthError(o,u))}throw e})));case 13:case"end":return n.stop()}}),n)})))};var o=n(r(87757)),i=r(88965),a=r(5705),u=r(82924),s=r(60858),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},70941:function(e,t,r){"use strict";t.getWithPopup=function(e,t){if(arguments.length>2)return Promise.reject(new n.AuthSdkError('As of version 3.0, "getWithPopup" takes only a single set of options'));var r=(0,a.loadPopup)("/",t);return t=(0,o.clone)(t)||{},Object.assign(t,{display:"popup",responseMode:"okta_post_message",popupWindow:r}),(0,i.getToken)(e,t)};var n=r(5705),o=r(88965),i=r(15884),a=r(24736)},71081:function(e,t,r){"use strict";t.getWithRedirect=function(e,t){return arguments.length>2?Promise.reject(new n.AuthSdkError('As of version 3.0, "getWithRedirect" takes only a single set of options')):(t=(0,o.clone)(t)||{},(0,i.prepareTokenParams)(e,t).then((function(r){var n=(0,i.getOAuthUrls)(e,t),o=n.authorizeUrl+(0,a.buildAuthorizeParams)(r),u={issuer:e.options.issuer,responseType:r.responseType,state:r.state,nonce:r.nonce,scopes:r.scopes,clientId:r.clientId,urls:n,ignoreSignature:r.ignoreSignature,redirectUri:r.redirectUri,codeVerifier:r.codeVerifier,codeChallenge:r.codeChallenge,codeChallengeMethod:r.codeChallengeMethod};e.transactionManager.save(u,{oauth:!0}),e.token.getWithRedirect._setLocation(o)})))};var n=r(5705),o=r(88965),i=r(24736),a=r(38163)},90073:function(e,t,r){"use strict";t.getWithoutPrompt=function(e,t){return arguments.length>2?Promise.reject(new n.AuthSdkError('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=(0,o.clone)(t)||{},Object.assign(t,{prompt:"none",responseMode:"okta_post_message",display:null}),(0,i.getToken)(e,t))};var n=r(5705),o=r(88965),i=r(15884)},98723:function(e,t,r){"use strict";t.handleOAuthResponse=function(e,t,r,c){if(!1!==e.options.pkce&&(r.code||r.interaction_code))return(0,a.exchangeCodeForTokens)(e,Object.assign({},t,{authorizationCode:r.code,interactionCode:r.interaction_code}),c);t=t||(0,s.getDefaultTokenParams)(e),c=c||(0,o.getOAuthUrls)(e,t);var f,l=t.responseType;Array.isArray(l)||(l=[l]),f=r.scope?r.scope.split(" "):(0,n.clone)(t.scopes);var p=t.clientId||e.options.clientId;return Promise.resolve().then((function(){!function(e,t){if(e.error||e.error_description)throw new i.OAuthError(e.error,e.error_description);if(e.state!==t.state)throw new i.AuthSdkError("OAuth flow response state doesn't match request state")}(r,t)})).then((function(){var n={},o=r.expires_in,i=r.token_type,a=r.access_token,s=r.id_token,l=r.refresh_token,d=Math.floor(Date.now()/1e3);if(a){var h=e.token.decode(a);n.accessToken={accessToken:a,claims:h.payload,expiresAt:Number(o)+d,tokenType:i,scopes:f,authorizeUrl:c.authorizeUrl,userinfoUrl:c.userinfoUrl}}if(l&&(n.refreshToken={refreshToken:l,expiresAt:Number(o)+d,scopes:f,tokenUrl:c.tokenUrl,authorizeUrl:c.authorizeUrl,issuer:c.issuer}),s){var v=e.token.decode(s),g={idToken:s,claims:v.payload,expiresAt:v.payload.exp-v.payload.iat+d,scopes:f,authorizeUrl:c.authorizeUrl,issuer:c.issuer,clientId:p},y={clientId:p,issuer:c.issuer,nonce:t.nonce,accessToken:a};return void 0!==t.ignoreSignature&&(y.ignoreSignature=t.ignoreSignature),(0,u.verifyToken)(e,g,y).then((function(){return n.idToken=g,n}))}return n})).then((function(e){if(-1!==l.indexOf("token")&&!e.accessToken)throw new i.AuthSdkError('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');if(-1!==l.indexOf("id_token")&&!e.idToken)throw new i.AuthSdkError('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');return{tokens:e,state:r.state,code:r.code}}))};var n=r(88965),o=r(70588),i=r(5705),a=r(19732),u=r(90805),s=r(26496)},26496:function(e,t,r){"use strict";var n={decodeToken:!0,revokeToken:!0,renewToken:!0,renewTokensWithRefresh:!0,renewTokens:!0,verifyToken:!0,getUserInfo:!0,handleOAuthResponse:!0,exchangeCodeForTokens:!0,getToken:!0,getWithoutPrompt:!0,getWithPopup:!0,getWithRedirect:!0,parseFromUrl:!0};Object.defineProperty(t,"decodeToken",{enumerable:!0,get:function(){return a.decodeToken}}),Object.defineProperty(t,"revokeToken",{enumerable:!0,get:function(){return u.revokeToken}}),Object.defineProperty(t,"renewToken",{enumerable:!0,get:function(){return s.renewToken}}),Object.defineProperty(t,"renewTokensWithRefresh",{enumerable:!0,get:function(){return c.renewTokensWithRefresh}}),Object.defineProperty(t,"renewTokens",{enumerable:!0,get:function(){return f.renewTokens}}),Object.defineProperty(t,"verifyToken",{enumerable:!0,get:function(){return l.verifyToken}}),Object.defineProperty(t,"getUserInfo",{enumerable:!0,get:function(){return p.getUserInfo}}),Object.defineProperty(t,"handleOAuthResponse",{enumerable:!0,get:function(){return d.handleOAuthResponse}}),Object.defineProperty(t,"exchangeCodeForTokens",{enumerable:!0,get:function(){return h.exchangeCodeForTokens}}),Object.defineProperty(t,"getToken",{enumerable:!0,get:function(){return v.getToken}}),Object.defineProperty(t,"getWithoutPrompt",{enumerable:!0,get:function(){return g.getWithoutPrompt}}),Object.defineProperty(t,"getWithPopup",{enumerable:!0,get:function(){return y.getWithPopup}}),Object.defineProperty(t,"getWithRedirect",{enumerable:!0,get:function(){return m.getWithRedirect}}),Object.defineProperty(t,"parseFromUrl",{enumerable:!0,get:function(){return b.parseFromUrl}});var o=r(85074);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(24736);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(31964),u=r(49400),s=r(61735),c=r(49201),f=r(98273),l=r(90805),p=r(70457),d=r(98723),h=r(19732),v=r(15884),g=r(90073),y=r(70941),m=r(71081),b=r(95037)},95037:function(e,t,r){"use strict";var n=r(95318);t.getResponseMode=f,t.parseOAuthResponseFromUrl=l,t.cleanOAuthResponseFromUrl=p,t.parseFromUrl=function(e,t){return c(this,void 0,void 0,o.default.mark((function r(){var n,c,f,d;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t=t||{},t=(0,u.isString)(t)?{url:t}:t,n=l(e,t),c=n.state,f=e.transactionManager.load({oauth:!0,pkce:e.options.pkce,state:c})){r.next=7;break}return r.abrupt("return",Promise.reject(new i.AuthSdkError("Unable to retrieve OAuth redirect params from storage")));case 7:return d=f.urls,delete f.urls,t.url||p(e,t),r.abrupt("return",(0,s.handleOAuthResponse)(e,f,n,d).catch((function(t){throw(0,a.isInteractionRequiredError)(t)||e.transactionManager.clear({state:c}),t})).then((function(t){return e.transactionManager.clear({state:c}),t})));case 11:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(5705),a=r(24736),u=r(88965),s=r(98723),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function f(e){var t=e.options.pkce?"query":"fragment";return e.options.responseMode||t}function l(e,t){t=t||{};var r,n=(t=(0,u.isString)(t)?{url:t}:t).url,o=t.responseMode||f(e),s=e.token.parseFromUrl._getLocation();if(!(r="query"===o?n?n.substring(n.indexOf("?")):s.search:n?n.substring(n.indexOf("#")):s.hash))throw new i.AuthSdkError("Unable to parse a token from the url");return(0,a.urlParamsToObject)(r)}function p(e,t){"query"===(t.responseMode||f(e))?function(e){var t=e.token.parseFromUrl._getHistory(),r=e.token.parseFromUrl._getDocument(),n=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,r.title,n.pathname+n.hash):n.search=""}(e):function(e){var t=e.token.parseFromUrl._getHistory(),r=e.token.parseFromUrl._getDocument(),n=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,r.title,n.pathname+n.search):n.hash=""}(e)}},61735:function(e,t,r){"use strict";var n=r(95318);t.renewToken=function(e,t){return c(this,void 0,void 0,o.default.mark((function r(){var n,i,c,p,d,h;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if((0,a.isIDToken)(t)||(0,a.isAccessToken)(t)||f(),!(n=e.tokenManager.getTokensSync()).refreshToken){r.next=7;break}return r.next=5,(0,s.renewTokensWithRefresh)(e,{scopes:t.scopes},n.refreshToken);case 5:return n=r.sent,r.abrupt("return",l(t,n));case 7:return i=e.options.pkce?"code":(0,a.isAccessToken)(t)?"token":"id_token",c=t.scopes,p=t.authorizeUrl,d=t.userinfoUrl,h=t.issuer,r.abrupt("return",(0,u.getWithoutPrompt)(e,{responseType:i,scopes:c,authorizeUrl:p,userinfoUrl:d,issuer:h}).then((function(e){return l(t,e.tokens)})));case 10:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(5705),a=r(60858),u=r(90073),s=r(49201),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))};function f(){throw new i.AuthSdkError("Renew must be passed a token with an array of scopes and an accessToken or idToken")}function l(e,t){return(0,a.isIDToken)(e)?t.idToken:(0,a.isAccessToken)(e)?t.accessToken:void f()}},98273:function(e,t,r){"use strict";var n=r(95318);t.renewTokens=function(e,t){return c(this,void 0,void 0,o.default.mark((function r(){var n,c,f,l,p,d,h,v,g;return o.default.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(!(n=e.tokenManager.getTokensSync()).refreshToken){r.next=3;break}return r.abrupt("return",(0,u.renewTokensWithRefresh)(e,t,n.refreshToken));case 3:if(n.accessToken||n.idToken){r.next=5;break}throw new i.AuthSdkError("renewTokens() was called but there is no existing token");case 5:if(c=n.accessToken||{},f=n.idToken||{},l=c.scopes||f.scopes){r.next=10;break}throw new i.AuthSdkError("renewTokens: invalid tokens: could not read scopes");case 10:if(p=c.authorizeUrl||f.authorizeUrl){r.next=13;break}throw new i.AuthSdkError("renewTokens: invalid tokens: could not read authorizeUrl");case 13:return d=c.userinfoUrl||e.options.userinfoUrl,h=f.issuer||e.options.issuer,t=Object.assign({scopes:l,authorizeUrl:p,userinfoUrl:d,issuer:h},t),e.options.pkce?t.responseType="code":(v=(0,s.getDefaultTokenParams)(e),g=v.responseType,t.responseType=g),r.abrupt("return",(0,a.getWithoutPrompt)(e,t).then((function(e){return e.tokens})));case 18:case"end":return r.stop()}}),r)})))};var o=n(r(87757)),i=r(5705),a=r(90073),u=r(49201),s=r(24736),c=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},49201:function(e,t,r){"use strict";var n=r(95318);t.renewTokensWithRefresh=function(e,t,r){return f(this,void 0,void 0,o.default.mark((function n(){var f,l,p,d,h,v,g;return o.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(f=e.options.clientId){n.next=3;break}throw new i.AuthSdkError("A clientId must be specified in the OktaAuth constructor to renew tokens");case 3:return l=Object.assign({},t,{clientId:f}),n.next=6,(0,c.postRefreshToken)(e,l,r);case 6:return p=n.sent,d=(0,a.getOAuthUrls)(e,t),n.next=10,(0,s.handleOAuthResponse)(e,l,p,d);case 10:return h=n.sent,v=h.tokens,(g=v.refreshToken)&&!(0,u.isSameRefreshToken)(g,r)&&e.tokenManager.updateRefreshToken(g),n.abrupt("return",v);case 15:case"end":return n.stop()}}),n)})))};var o=n(r(87757)),i=r(5705),a=r(70588),u=r(19849),s=r(98723),c=r(48518),f=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},49400:function(e,t,r){"use strict";var n=r(95318);t.revokeToken=function(e,t){return Promise.resolve().then((function(){var r,n;if(t&&(r=t.accessToken,n=t.refreshToken),!r&&!n)throw new s.default("A valid access or refresh token object is required");var c=e.options.clientId,f=e.options.clientSecret;if(!c)throw new s.default("A clientId must be specified in the OktaAuth constructor to revoke a token");var l=(0,a.getOAuthUrls)(e).revokeUrl,p=(0,i.toQueryString)({token_type_hint:n?"refresh_token":"access_token",token:n||r}).slice(1),d=f?(0,u.btoa)("".concat(c,":").concat(f)):(0,u.btoa)(c);return(0,o.post)(e,l,p,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+d}})}))};var o=r(82924),i=r(88965),a=r(70588),u=r(45637),s=n(r(37948))},6650:function(e,t,r){"use strict";t.addListener=o,t.removeListener=i,t.loadFrame=function(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)},t.loadPopup=function(e,t){var r=t.popupTitle||"External Identity Provider User Authentication";return window.open(e,r,"toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600")},t.addPostMessageListener=function(e,t,r){var a,u;return new Promise((function(i,s){a=function(t){if(t.data&&t.data.state===r)return t.origin!==e.getIssuerOrigin()?s(new n.AuthSdkError("The request does not match client configuration")):void i(t.data)},o(window,"message",a),u=setTimeout((function(){s(new n.AuthSdkError("OAuth flow timed out"))}),t||12e4)})).finally((function(){clearTimeout(u),i(window,"message",a)}))};var n=r(5705);function o(e,t,r){e.addEventListener?e.addEventListener(t,r):e.attachEvent("on"+t,r)}function i(e,t,r){e.removeEventListener?e.removeEventListener(t,r):e.detachEvent("on"+t,r)}},36588:function(e,t,r){"use strict";t.getDefaultTokenParams=function(e){var t=e.options,r=t.pkce,a=t.clientId,u=t.redirectUri,s=t.responseType,c=t.responseMode,f=t.scopes,l=t.state,p=t.ignoreSignature,d=(0,o.isBrowser)()?window.location.href:void 0;return(0,i.removeNils)({pkce:r,clientId:a,redirectUri:u||d,responseType:s||["token","id_token"],responseMode:c,state:l||(0,n.generateState)(),nonce:(0,n.generateNonce)(),scopes:f||["openid","email"],ignoreSignature:p})};var n=r(70588),o=r(9426),i=r(88965)},46093:function(e,t){"use strict";t.isInteractionRequiredError=function(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode},t.isAuthorizationCodeError=function(e,t){if("AuthApiError"!==t.name)return!1;var r=t.xhr,n=null==r?void 0:r.responseJSON;return e.options.pkce&&"invalid_grant"===(null==n?void 0:n.error)}},24736:function(e,t,r){"use strict";var n=r(95318),o={pkce:!0};Object.defineProperty(t,"pkce",{enumerable:!0,get:function(){return f.default}});var i=r(6650);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(36588);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(46093);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(19244);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r(70588);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=n(r(6973)),l=r(73584);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=r(19849);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var d=r(37724);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r(63385);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var v=r(88031);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}))},19244:function(e,t){"use strict";function r(e){return/((id|access)_token=)/i.test(e)}function n(e){return/(code=)/i.test(e)}function o(e){return/(interaction_code=)/i.test(e)}function i(e){return/(error=)/i.test(e)||/(error_description)/i.test(e)}function a(e,t){var r=t.options;return e&&0===e.indexOf(r.redirectUri)}function u(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function s(e){return u(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function c(e){if(!a(window.location.href,e))return!1;var t=u(e.options),c=s(e.options);return!!i(c)||(t?n(c)||o(c):r(window.location.hash))}t.hasTokensInHash=r,t.hasAuthorizationCode=n,t.hasInteractionCode=o,t.hasErrorInUrl=i,t.isRedirectUri=a,t.isCodeFlow=u,t.getHashOrSearch=s,t.isLoginRedirect=c,t.isInteractionRequired=function(e,t){if(!t){if(!c(e))return!1;t=s(e.options)}return/(error=interaction_required)/i.test(t)}},70588:function(e,t,r){"use strict";var n=r(95318);t.generateState=function(){return(0,o.genRandomString)(64)},t.generateNonce=function(){return(0,o.genRandomString)(64)},t.getOAuthBaseUrl=u,t.getOAuthDomain=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a(e,t),n=r.split("/oauth2")[0];return n},t.getOAuthUrls=function(e,t){if(arguments.length>2)throw new i.default('As of version 3.0, "getOAuthUrls" takes only a single set of options');t=t||{};var r=(0,o.removeTrailingSlash)(t.authorizeUrl)||e.options.authorizeUrl,n=a(e,t),s=(0,o.removeTrailingSlash)(t.userinfoUrl)||e.options.userinfoUrl,c=(0,o.removeTrailingSlash)(t.tokenUrl)||e.options.tokenUrl,f=(0,o.removeTrailingSlash)(t.logoutUrl)||e.options.logoutUrl,l=(0,o.removeTrailingSlash)(t.revokeUrl)||e.options.revokeUrl,p=u(e,t);return{issuer:n,authorizeUrl:r=r||p+"/v1/authorize",userinfoUrl:s=s||p+"/v1/userinfo",tokenUrl:c=c||p+"/v1/token",revokeUrl:l=l||p+"/v1/revoke",logoutUrl:f=f||p+"/v1/logout"}};var o=r(88965),i=n(r(37948));function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,o.removeTrailingSlash)(t.issuer)||e.options.issuer;return r}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=a(e,t),n=r.indexOf("/oauth2")>0?r:r+"/oauth2";return n}},6973:function(e,t,r){"use strict";t.default=void 0;var n=r(45637),o=r(3754);function i(e){return("0"+e.toString(16)).substr(-2)}var a={DEFAULT_CODE_CHALLENGE_METHOD:o.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:function(e){var t,r,a=e||"";return a.length<o.MIN_VERIFIER_LENGTH&&(a+=(t=o.MIN_VERIFIER_LENGTH-a.length,r=new Uint8Array(Math.ceil(t/2)),n.webcrypto.getRandomValues(r),Array.from(r,i).join("").slice(0,t))),encodeURIComponent(a).slice(0,o.MAX_VERIFIER_LENGTH)},computeChallenge:function(e){var t=(new TextEncoder).encode(e);return n.webcrypto.subtle.digest("SHA-256",t).then((function(e){var t=String.fromCharCode.apply(null,new Uint8Array(e));return(0,n.stringToBase64Url)(t)}))}};t.default=a,e.exports=t.default},73584:function(e,t,r){"use strict";var n=r(95318);t.prepareTokenParams=function(e,t){var r=(0,u.getDefaultTokenParams)(e);if(!1===(t=Object.assign({},r,(0,a.clone)(t))).pkce)return Promise.resolve(t);if(!e.features.isPKCESupported()){var n="PKCE requires a modern browser with encryption support running in a secure context.";return e.features.isHTTPS()||(n+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(n+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),Promise.reject(new i.AuthSdkError(n))}return t.codeChallengeMethod||(t.codeChallengeMethod=s.DEFAULT_CODE_CHALLENGE_METHOD),t.responseType="code",(0,o.getWellKnown)(e,null).then((function(e){if(-1===(e.code_challenge_methods_supported||[]).indexOf(t.codeChallengeMethod))throw new i.AuthSdkError("Invalid code_challenge_method")})).then((function(){return t.codeVerifier||(t.codeVerifier=c.default.generateVerifier()),c.default.computeChallenge(t.codeVerifier)})).then((function(e){var r=(0,a.clone)(t)||{};return Object.assign(r,t,{codeChallenge:e}),r}))};var o=r(96308),i=r(5705),a=r(88965),u=r(36588),s=r(3754),c=n(r(6973))},19849:function(e,t,r){"use strict";t.isSameRefreshToken=function(e,t){return e.refreshToken===t.refreshToken},t.isRefreshTokenError=function(e){return!!(0,n.isAuthApiError)(e)&&(!(!e.xhr||!e.xhr.responseJSON)&&"invalid_grant"===e.xhr.responseJSON.error)};var n=r(5705)},37724:function(e,t){"use strict";t.urlParamsToObject=function(e){var t=/\+/g,r=/([^&=]+)=?([^&]*)/g,n=e||"";"#"===n.charAt(0)&&"/"===n.charAt(1)&&(n=n.substring(2)),"#"!==n.charAt(0)&&"?"!==n.charAt(0)||(n=n.substring(1));for(var o,i={};o=r.exec(n);){var a=o[1],u=o[2];i[a]="id_token"===a||"access_token"===a||"code"===a?u:decodeURIComponent(u.replace(t," "))}return i}},63385:function(e,t,r){"use strict";var n=r(95318);t.validateClaims=function(e,t,r){var n=r.clientId,i=r.issuer,a=r.nonce;if(!t||!i||!n)throw new o.default("The jwt, iss, and aud arguments are all required");if(a&&t.nonce!==a)throw new o.default("OAuth flow response nonce doesn't match request nonce");var u=Math.floor(Date.now()/1e3);if(t.iss!==i)throw new o.default("The issuer ["+t.iss+"] does not match ["+i+"]");if(t.aud!==n)throw new o.default("The audience ["+t.aud+"] does not match ["+n+"]");if(t.iat>t.exp)throw new o.default("The JWT expired before it was issued");if(!e.options.ignoreLifetime){if(u-e.options.maxClockSkew>t.exp)throw new o.default("The JWT expired and is no longer valid");if(t.iat>u+e.options.maxClockSkew)throw new o.default("The JWT was issued in the future")}};var o=n(r(37948))},88031:function(e,t,r){"use strict";t.validateToken=function(e,t){if(!(0,o.isIDToken)(e)&&!(0,o.isAccessToken)(e)&&!(0,o.isRefreshToken)(e))throw new n.AuthSdkError("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property");if("accessToken"===t&&!(0,o.isAccessToken)(e))throw new n.AuthSdkError("invalid accessToken");if("idToken"===t&&!(0,o.isIDToken)(e))throw new n.AuthSdkError("invalid idToken");if("refreshToken"===t&&!(0,o.isRefreshToken)(e))throw new n.AuthSdkError("invalid refreshToken")};var n=r(5705),o=r(60858)},90805:function(e,t,r){"use strict";var n=r(95318),o=r(50008);t.verifyToken=function(e,t,r){return p(this,void 0,void 0,i.default.mark((function n(){var o,l,p,d,h,v;return i.default.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t&&t.idToken){n.next=2;break}throw new s.AuthSdkError("Only idTokens may be verified");case 2:return o=(0,c.decodeToken)(t.idToken),l=(null==r?void 0:r.issuer)||e.options.issuer,n.next=6,(0,a.getWellKnown)(e,l);case 6:if(p=n.sent,d=p.issuer,h=Object.assign({clientId:e.options.clientId,ignoreSignature:e.options.ignoreSignature},r,{issuer:d}),(0,u.validateClaims)(e,o.payload,h),1!=h.ignoreSignature&&e.features.isTokenVerifySupported()){n.next=12;break}return n.abrupt("return",t);case 12:return n.next=14,(0,a.getKey)(e,t.issuer,o.header.kid);case 14:return v=n.sent,n.next=17,f.verifyToken(t.idToken,v);case 17:if(n.sent){n.next=20;break}throw new s.AuthSdkError("The token signature is not valid");case 20:if(!(r&&r.accessToken&&t.claims.at_hash)){n.next=26;break}return n.next=23,f.getOidcHash(r.accessToken);case 23:if(n.sent===t.claims.at_hash){n.next=26;break}throw new s.AuthSdkError("Token hash verification failed");case 26:return n.abrupt("return",t);case 27:case"end":return n.stop()}}),n)})))};var i=n(r(87757)),a=r(96308),u=r(24736),s=r(5705),c=r(31964),f=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(n,a,u):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(45637));function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}var p=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{s(n.next(e))}catch(e){i(e)}}function u(e){try{s(n.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,u)}s((n=n.apply(e,t||[])).next())}))}},76973:function(e,t,r){"use strict";var n=r(95318);t.getDefaultOptions=d,t.buildOptions=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.assertValidConfig)(e),e=h(d(),e),(0,o.removeNils)({issuer:(0,o.removeTrailingSlash)(e.issuer),tokenUrl:(0,o.removeTrailingSlash)(e.tokenUrl),authorizeUrl:(0,o.removeTrailingSlash)(e.authorizeUrl),userinfoUrl:(0,o.removeTrailingSlash)(e.userinfoUrl),revokeUrl:(0,o.removeTrailingSlash)(e.revokeUrl),logoutUrl:(0,o.removeTrailingSlash)(e.logoutUrl),clientId:e.clientId,redirectUri:e.redirectUri,state:e.state,scopes:e.scopes,postLogoutRedirectUri:e.postLogoutRedirectUri,responseMode:e.responseMode,responseType:e.responseType,pkce:!1!==e.pkce,useInteractionCodeFlow:e.useInteractionCodeFlow,httpRequestClient:e.httpRequestClient,transformErrorXHR:e.transformErrorXHR,transformAuthState:e.transformAuthState,restoreOriginalUri:e.restoreOriginalUri,storageUtil:e.storageUtil,headers:e.headers,devMode:!!e.devMode,storageManager:e.storageManager,transactionManager:e.transactionManager,cookies:(0,c.isBrowser)()?p(e,(0,c.isHTTPS)()):e.cookies,ignoreSignature:!!e.ignoreSignature,clientSecret:e.clientSecret})};var o=r(88965),i=r(76862),a=n(r(94888)),u=n(r(87501)),s=n(r(5879)),c=r(9426),f={token:{storageTypes:["localStorage","sessionStorage","cookie"],useMultipleCookies:!0},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]},"shared-transaction":{storageTypes:["localStorage"]},"original-uri":{storageTypes:["localStorage"]}},l={token:{storageTypes:["memory"]},cache:{storageTypes:["memory"]},transaction:{storageTypes:["memory"]}};function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=e.cookies||{};return void 0===r.secure&&(r.secure=t),void 0===r.sameSite&&(r.sameSite=r.secure?"none":"lax"),r.secure&&!t&&((0,o.warn)('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to false.'),r.secure=!1),"none"!==r.sameSite||r.secure||(r.sameSite="lax"),r}function d(){var e=(0,c.isBrowser)()?u.default:s.default,t=(0,c.isBrowser)()?f:l,r=!!(0,c.isBrowser)();return{devMode:!1,httpRequestClient:a.default,storageUtil:e,storageManager:t,transactionManager:{enableSharedStorage:r}}}function h(e,t){return Object.assign({},e,(0,o.removeNils)(t),{storageManager:Object.assign({},e.storageManager,t.storageManager),transactionManager:Object.assign({},e.transactionManager,t.transactionManager)})}},5879:function(e,t,r){"use strict";var n=r(95318);t.default=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(5705),u=r(89148),s="function"==typeof u?new u:null,c=function(){function e(t){(0,o.default)(this,e),this.nodeCache=t}return(0,i.default)(e,[{key:"set",value:function(e,t,r){if(Date.parse(r)){var n=(Date.parse(r)-Date.now())/1e3;this.nodeCache.set(e,t,n)}else this.nodeCache.set(e,t);return this.get(e)}},{key:"get",value:function(e){return this.nodeCache.get(e)}},{key:"delete",value:function(e){return this.nodeCache.del(e)}}]),e}(),f=new(function(){function e(t){(0,o.default)(this,e),this.nodeCache=t,this.storage=new c(t)}return(0,i.default)(e,[{key:"testStorageType",value:function(e){var t=!1;return"memory"===e&&(t=!0),t}},{key:"getStorageByType",value:function(e){if("memory"!==e)throw new a.AuthSdkError("Unrecognized storage option: ".concat(e));return this.getStorage()}},{key:"findStorageType",value:function(){return"memory"}},{key:"getHttpCache",value:function(){return null}},{key:"getStorage",value:function(){var e=this;return{getItem:this.nodeCache.get,setItem:function(t,r){e.nodeCache.set(t,r,"2200-01-01T00:00:00.000Z")}}}}]),e}())(s);t.default=f,e.exports=t.default},11885:function(e,t,r){"use strict";var n=r(95318);t.TokenService=void 0;var o=n(r(34575)),i=n(r(93913)),a=r(92231),u=r(5705),s=r(9426),c=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(this,e),this.tokenManager=t,this.options=r}return(0,i.default)(e,[{key:"start",value:function(){var e=this,t=[];this.onTokenExpiredHandler=function(r){if(e.options.autoRenew)if(function(e){var t=!1;if(e.push(Date.now()),e.length>=10){var r=e.shift();t=e[e.length-1]-r<3e4}return t}(t)){var n=new u.AuthSdkError("Too many token renew requests");e.tokenManager.emitError(n)}else e.tokenManager.renew(r).catch((function(){}));else e.options.autoRemove&&e.tokenManager.remove(r)},this.tokenManager.on(a.EVENT_EXPIRED,this.onTokenExpiredHandler),this.tokenManager.setExpireEventTimeoutAll(),this.options.syncStorage&&(0,s.isBrowser)()&&(this.storageListener=function(t){var r=t.key,n=t.newValue,o=t.oldValue;(!r||r===e.options.storageKey&&n!==o)&&(e.syncTimeout=setTimeout((function(){return e.tokenManager.resetExpireEventTimeoutAll(),void e.tokenManager.emitEventsForCrossTabsStorageUpdate(n,o)}),e.options._storageEventDelay))},window.addEventListener("storage",this.storageListener))}},{key:"stop",value:function(){this.tokenManager.clearExpireEventTimeoutAll(),this.tokenManager.off(a.EVENT_EXPIRED,this.onTokenExpiredHandler),this.options.syncStorage&&(0,s.isBrowser)()&&(window.removeEventListener("storage",this.storageListener),clearTimeout(this.syncTimeout))}}]),e}();t.TokenService=c},33427:function(e,t,r){"use strict";t.sessionExists=function(e){return e.session.get().then((function(e){return"ACTIVE"===e.status})).catch((function(){return!1}))},t.getSession=function(e){return(0,o.get)(e,"/api/v1/sessions/me",{withCredentials:!0}).then((function(t){var r=(0,n.omit)(t,"_links");return r.refresh=function(){return(0,o.post)(e,(0,n.getLink)(t,"refresh").href,{},{withCredentials:!0})},r.user=function(){return(0,o.get)(e,(0,n.getLink)(t,"user").href,{withCredentials:!0})},r})).catch((function(){return{status:"INACTIVE"}}))},t.closeSession=function(e){return(0,o.httpRequest)(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})},t.refreshSession=function(e){return(0,o.post)(e,"/api/v1/sessions/me/lifecycle/refresh",{},{withCredentials:!0})},t.setCookieAndRedirect=function(e,t,r){r=r||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+(0,n.toQueryString)({checkAccountSetupComplete:!0,token:t,redirectUrl:r}))};var n=r(88965),o=r(82924)},17742:function(e,t,r){"use strict";var n=r(95318);t.AuthTransaction=void 0;var o=n(r(34575)),i=r(82924),a=r(88965),u=n(r(37948)),s=r(97442),c=r(10637),f=r(90256);function l(e,t,r,n,o){if(Array.isArray(n))return function(i,s){if(!i)throw new u.default("Must provide a link name");var c=(0,a.find)(n,{name:i});if(!c)throw new u.default("No link found for that name");return l(e,t,r,c,o)(s)};if(n.hints&&n.hints.allow&&1===n.hints.allow.length)switch(n.hints.allow[0]){case"GET":return function(){return(0,i.get)(e,n.href,{withCredentials:!0})};case"POST":return function(i){o&&o.isPolling&&(o.isPolling=!1);var c=(0,s.addStateToken)(t,i);"MFA_ENROLL"!==t.status&&"FACTOR_ENROLL"!==t.status||Object.assign(c,{factorType:r.factorType,provider:r.provider});var l={},p=c.autoPush;if(void 0!==p){if("function"==typeof p)try{l.autoPush=!!p()}catch(e){return Promise.reject(new u.default("AutoPush resulted in an error."))}else null!==p&&(l.autoPush=!!p);c=(0,a.omit)(c,"autoPush")}var d=c.rememberDevice;if(void 0!==d){if("function"==typeof d)try{l.rememberDevice=!!d()}catch(e){return Promise.reject(new u.default("RememberDevice resulted in an error."))}else null!==d&&(l.rememberDevice=!!d);c=(0,a.omit)(c,"rememberDevice")}else c.profile&&void 0!==c.profile.updatePhone&&(c.profile.updatePhone&&(l.updatePhone=!0),c.profile=(0,a.omit)(c.profile,"updatePhone"));var h=n.href+(0,a.toQueryString)(l);return(0,f.postToTransaction)(e,h,c)}}}function p(e,t,r,n){if(r=r||t,r=(0,a.clone)(r),Array.isArray(r)){for(var o=[],i=0,u=r.length;i<u;i++)o.push(p(e,t,r[i],n));return o}var s=r._embedded||{};for(var f in s)Object.prototype.hasOwnProperty.call(s,f)&&((0,a.isObject)(s[f])||Array.isArray(s[f]))&&(s[f]=p(e,t,s[f],n));var d=function(e,t,r,n){var o={};for(var i in r._links)if(Object.prototype.hasOwnProperty.call(r._links,i)){var a=r._links[i];if("next"===i&&(i=a.name),a.type)o[i]=a;else if("poll"===i)o.poll=(0,c.getPollFn)(e,t,n);else{var u=l(e,t,r,a,n);u&&(o[i]=u)}}return o}(e,t,r,n);return Object.assign(s,d),r=(0,a.omit)(r,"_embedded","_links"),Object.assign(r,s),r}t.AuthTransaction=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,o.default)(this,e),r){if(this.data=r,this.data.interactionHandle)return void(this.status=r.status);Object.assign(this,p(t,r,r,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==r.status||r._links||(this.cancel=function(){return Promise.resolve(new e(t))})}}},14419:function(e,t,r){"use strict";var n=r(95318);t.TransactionState=void 0;var o=n(r(34575));t.TransactionState=function e(){(0,o.default)(this,e)}},90256:function(e,t,r){"use strict";var n=r(95318);t.transactionStatus=function(e,t){return t=(0,u.addStateToken)(e,t),(0,o.post)(e,e.getIssuerOrigin()+"/api/v1/authn",t,{withCredentials:!0})},t.resumeTransaction=function(e,t){if(!t||!t.stateToken){var r=e.tx.exists._get(a.STATE_TOKEN_KEY_NAME);if(!r)return Promise.reject(new i.default("No transaction to resume"));t={stateToken:r}}return e.tx.status(t).then((function(t){return new s.AuthTransaction(e,t)}))},t.transactionExists=function(e){return!!e.tx.exists._get(a.STATE_TOKEN_KEY_NAME)},t.postToTransaction=function(e,t,r,n){return n=Object.assign({withCredentials:!0},n),(0,o.post)(e,t,r,n).then((function(t){return new s.AuthTransaction(e,t)}))},t.introspect=function(e,t){if(!t||!t.stateToken){var r=e.tx.exists._get(a.STATE_TOKEN_KEY_NAME);if(!r)return Promise.reject(new i.default("No transaction to evaluate"));t={stateToken:r}}return function(e,t){return t=(0,u.addStateToken)(e,t),(0,o.post)(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",t,{withCredentials:!0})}(e,t).then((function(t){return new s.AuthTransaction(e,t)}))};var o=r(82924),i=n(r(37948)),a=r(3754),u=r(97442),s=r(17742)},27847:function(e,t,r){"use strict";var n=r(90256);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(17742);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(10637);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(14419);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(97442);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}))},10637:function(e,t,r){"use strict";var n=r(95318);t.getPollFn=function(e,t,r){return function(n){var l,p,d,h;(0,i.isNumber)(n)?l=n:(0,i.isObject)(n)&&(l=(n=n).delay,p=n.rememberDevice,d=n.autoPush,h=n.transactionCallBack),l||0===l||(l=a.DEFAULT_POLLING_DELAY);var v=(0,i.getLink)(t,"next","poll");r.isPolling=!0;var g=0;return function n(){return r.isPolling?function(){var r={};if("function"==typeof d)try{r.autoPush=!!d()}catch(e){return Promise.reject(new u.default("AutoPush resulted in an error."))}else null!=d&&(r.autoPush=!!d);if("function"==typeof p)try{r.rememberDevice=!!p()}catch(e){return Promise.reject(new u.default("RememberDevice resulted in an error."))}else null!=p&&(r.rememberDevice=!!p);var n=v.href+(0,i.toQueryString)(r);return(0,o.post)(e,n,(0,f.getStateToken)(t),{saveAuthnState:!1,withCredentials:!0})}().then((function(t){if(g=0,t.factorResult&&"WAITING"===t.factorResult){if(!r.isPolling)throw new s.default;return"function"==typeof h&&h(t),(0,i.delay)(l).then(n)}return r.isPolling=!1,new c.AuthTransaction(e,t)})).catch((function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&g<=4){var t=1e3*Math.pow(2,g);return g++,(0,i.delay)(t).then(n)}throw e})):Promise.reject(new s.default)}().catch((function(e){throw r.isPolling=!1,e}))}};var o=r(82924),i=r(88965),a=r(3754),u=n(r(37948)),s=n(r(3820)),c=r(17742),f=r(97442)},97442:function(e,t){"use strict";function r(e,t){var r={};return Object.assign(r,t),!r.stateToken&&e.stateToken&&(r.stateToken=e.stateToken),r}t.addStateToken=r,t.getStateToken=function(e){return r(e)}},28930:function(){},81425:function(){},90714:function(){},62841:function(){},30461:function(){},74119:function(){},69382:function(){},66220:function(e,t){"use strict";t.isToken=function(e){return!!(e&&(e.accessToken||e.idToken||e.refreshToken)&&Array.isArray(e.scopes))},t.isAccessToken=function(e){return e&&e.accessToken},t.isIDToken=function(e){return e&&e.idToken},t.isRefreshToken=function(e){return e&&e.refreshToken}},16861:function(){},43470:function(e,t,r){"use strict";var n=r(95318);t.isOAuthTransactionMeta=a,t.isPKCETransactionMeta=u,t.isIdxTransactionMeta=function(e){return!!u(e)&&!!e.interactionHandle},t.isCustomAuthTransactionMeta=s,t.isTransactionMeta=function(e){return!(!a(e)&&!s(e))};var o=n(r(50008));function i(e){return!(!e||"object"!==(0,o.default)(e)||0===Object.values(e).length)}function a(e){return!(!i(e)||!e.redirectUri&&!e.responseType)}function u(e){return!!a(e)&&!!e.codeVerifier}function s(e){return!!i(e)&&void 0===Object.values(e).find((function(e){return"string"!=typeof e}))}},49978:function(){},75566:function(){},65775:function(){},60858:function(e,t,r){"use strict";var n=r(75566);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(28930);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(90714);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(43470);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(81425);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(65775);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var c=r(86473);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var f=r(62841);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var l=r(30461);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var p=r(74119);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var d=r(69382);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r(66220);Object.keys(h).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===h[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}}))}));var v=r(16861);Object.keys(v).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===v[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}}))}));var g=r(49978);Object.keys(g).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===g[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}}))}))},90151:function(e,t){"use strict";function r(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0}function n(){var e=r();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function o(e){n().warn("[okta-auth-sdk] DEPRECATION: "+e)}t.getNativeConsole=r,t.getConsole=n,t.warn=function(e){n().warn("[okta-auth-sdk] WARN: "+e)},t.deprecate=o,t.deprecateWrap=function(e,t){return function(){return o(e),t.apply(null,arguments)}}},69834:function(e,t,r){"use strict";t.isEmailVerifyCallback=function(e){return/(stateTokenExternalId=)/i.test(e)&&/(state=)/i.test(e)},t.parseEmailVerifyCallback=function(e){return(0,n.urlParamsToObject)(e)};var n=r(37724)},88965:function(e,t,r){"use strict";var n=r(90151);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var o=r(69834);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=r(41466);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=r(29423);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var u=r(12645);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var s=r(88562);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}))},41466:function(e,t){"use strict";t.isoToUTCString=function(e){var t=e.match(/\d+/g),r=Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]);return new Date(r).toUTCString()},t.genRandomString=function(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",r="",n=0,o=t.length;n<e;++n)r+=t[Math.floor(Math.random()*o)];return r},t.delay=function(e){return new Promise((function(t){setTimeout(t,e)}))}},29423:function(e,t){"use strict";function r(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e}t.bind=function(e,t){var r=Array.prototype.slice.call(arguments,2);return function(){var n=Array.prototype.slice.call(arguments);return n=r.concat(n),e.apply(t,n)}},t.extend=function(){var e=arguments[0],t=[].slice.call(arguments,1);return t.forEach((function(t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&void 0!==t[r]&&(e[r]=t[r])})),e},t.removeNils=function(e){var t={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){var n=e[r];null!=n&&(t[r]=n)}return t},t.clone=r,t.omit=function(e){for(var t={},n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&-1==o.indexOf(a)&&(t[a]=e[a]);return r(t)},t.find=function(e,t){for(var r=e.length;r--;){var n=e[r],o=!0;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&n[i]!==t[i]){o=!1;break}if(o)return n}},t.getLink=function(e,t,n){if(e&&e._links){var o=r(e._links[t]);return o&&o.name&&n?o.name===n?o:void 0:o}}},2051:function(e,t,r){"use strict";t.pruneSharedStorage=function(e){var t=e.getSharedTansactionStorage(),r=t.getStorage();Object.keys(r).forEach((function(e){var t=r[e];Date.now()-t.dateCreated>18e5&&delete r[e]})),t.setStorage(r)},t.saveTransactionToSharedStorage=function(e,t,r){var n=e.getSharedTansactionStorage(),o=n.getStorage();o[t]={dateCreated:Date.now(),transaction:r},n.setStorage(o)},t.loadTransactionFromSharedStorage=function(e,t){var r=e.getSharedTansactionStorage().getStorage()[t];return r&&r.transaction&&(0,n.isTransactionMeta)(r.transaction)?r.transaction:null},t.clearTransactionFromSharedStorage=function(e,t){var r=e.getSharedTansactionStorage(),n=r.getStorage();delete n[t],r.setStorage(n)};var n=r(60858)},12645:function(e,t){"use strict";t.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},t.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},t.isNumber=function(e){return"[object Number]"===Object.prototype.toString.call(e)},t.isFunction=function(e){return!!e&&"[object Function]"==={}.toString.call(e)},t.isPromise=function(e){return e&&e.finally&&"function"==typeof e.finally}},88562:function(e,t){"use strict";function r(e){return/^(?:[a-z]+:)?\/\//i.test(e)}function n(e){if(e){var t=e.replace(/^\s+|\s+$/gm,"");return t.replace(/\/+$/,"")}}t.isAbsoluteUrl=r,t.toAbsoluteUrl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)?e:(t=n(t),"/"===e[0]?"".concat(t).concat(e):"".concat(t,"/").concat(e))},t.toRelativeUrl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)&&(e=e.substring(t.length)),"/"===e[0]?e:"/".concat(e)},t.toQueryString=function(e){var t=[];if(null!==e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&null!==e[r]&&t.push(r+"="+encodeURIComponent(e[r]));return t.length?"?"+t.join("&"):""},t.removeTrailingSlash=n},54493:function(e,t,r){r(77971),r(53242);var n=r(54058);e.exports=n.Array.from},24034:function(e,t,r){r(92737);var n=r(54058);e.exports=n.Array.isArray},15367:function(e,t,r){r(85906);var n=r(35703);e.exports=n("Array").concat},62383:function(e,t,r){r(21501);var n=r(35703);e.exports=n("Array").filter},17671:function(e,t,r){r(80833);var n=r(35703);e.exports=n("Array").find},99324:function(e,t,r){r(2437);var n=r(35703);e.exports=n("Array").forEach},8700:function(e,t,r){r(99076);var n=r(35703);e.exports=n("Array").indexOf},23866:function(e,t,r){r(68787);var n=r(35703);e.exports=n("Array").map},24900:function(e,t,r){r(60186);var n=r(35703);e.exports=n("Array").slice},56043:function(e,t,r){var n=r(15367),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||e instanceof Array&&t===o.concat?n:t}},2480:function(e,t,r){var n=r(62383),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||e instanceof Array&&t===o.filter?n:t}},32236:function(e,t,r){var n=r(17671),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||e instanceof Array&&t===o.find?n:t}},34570:function(e,t,r){var n=r(8700),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||e instanceof Array&&t===o.indexOf?n:t}},88287:function(e,t,r){var n=r(23866),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?n:t}},69601:function(e,t,r){var n=r(24900),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||e instanceof Array&&t===o.slice?n:t}},84426:function(e,t,r){r(32619);var n=r(54058);n.JSON||(n.JSON={stringify:JSON.stringify}),e.exports=function(e,t,r){return n.JSON.stringify.apply(null,arguments)}},7702:function(e,t,r){r(74979);var n=r(54058).Object,o=e.exports=function(e,t){return n.defineProperties(e,t)};n.defineProperties.sham&&(o.sham=!0)},48171:function(e,t,r){r(86450);var n=r(54058).Object,o=e.exports=function(e,t,r){return n.defineProperty(e,t,r)};n.defineProperty.sham&&(o.sham=!0)},73081:function(e,t,r){r(21078);var n=r(54058);e.exports=n.Object.entries},7699:function(e,t,r){r(66274),r(28387);var n=r(54058);e.exports=n.Object.fromEntries},286:function(e,t,r){r(46924);var n=r(54058).Object,o=e.exports=function(e,t){return n.getOwnPropertyDescriptor(e,t)};n.getOwnPropertyDescriptor.sham&&(o.sham=!0)},92766:function(e,t,r){r(88482);var n=r(54058);e.exports=n.Object.getOwnPropertyDescriptors},30498:function(e,t,r){r(35824);var n=r(54058);e.exports=n.Object.getOwnPropertySymbols},48494:function(e,t,r){r(21724);var n=r(54058);e.exports=n.Object.keys},52956:function(e,t,r){r(47627),r(55967),r(98881),r(4560),r(91302),r(44349),r(77971),r(7634);var n=r(54058);e.exports=n.Promise},57473:function(e,t,r){r(85906),r(55967),r(35824),r(8555),r(52615),r(21732),r(35903),r(1825),r(28394),r(45915),r(61766),r(62737),r(89911),r(74315),r(63131),r(64714),r(70659),r(69120),r(79413),r(1502);var n=r(54058);e.exports=n.Symbol},24227:function(e,t,r){r(1825),r(77971),r(7634);var n=r(11477);e.exports=n.f("iterator")},27385:function(e,t,r){var n=r(54493);e.exports=n},81522:function(e,t,r){var n=r(24034);e.exports=n},32209:function(e,t,r){r(7634),r(77971);var n=r(22902);e.exports=n},1258:function(e,t,r){r(7634),r(77971);var n=r(53476);e.exports=n},69447:function(e,t,r){var n=r(34570);e.exports=n},81493:function(e,t,r){var n=r(69601);e.exports=n},73685:function(e,t,r){var n=r(48171);e.exports=n},84710:function(e,t,r){var n=r(30498);e.exports=n},93799:function(e,t,r){var n=r(48494);e.exports=n},29531:function(e,t,r){var n=r(52956);r(89731),r(55708),r(30014),r(88731),e.exports=n},86600:function(e,t,r){var n=r(57473);r(28783),r(43975),r(65799),r(45414),r(46774),r(80620),r(36172),e.exports=n},9759:function(e,t,r){var n=r(24227);e.exports=n},33916:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},11851:function(e,t,r){var n=r(10941);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},18479:function(e){e.exports=function(){}},5743:function(e){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},96059:function(e,t,r){var n=r(10941);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},56837:function(e,t,r){"use strict";var n=r(3610).forEach,o=r(34194)("forEach");e.exports=o?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},11354:function(e,t,r){"use strict";var n=r(86843),o=r(89678),i=r(75196),a=r(6782),u=r(43057),s=r(55449),c=r(22902);e.exports=function(e){var t,r,f,l,p,d,h=o(e),v="function"==typeof this?this:Array,g=arguments.length,y=g>1?arguments[1]:void 0,m=void 0!==y,b=c(h),k=0;if(m&&(y=n(y,g>2?arguments[2]:void 0,2)),null==b||v==Array&&a(b))for(r=new v(t=u(h.length));t>k;k++)d=m?y(h[k],k):h[k],s(r,k,d);else for(p=(l=b.call(h)).next,r=new v;!(f=p.call(l)).done;k++)d=m?i(l,y,[f.value,k],!0):f.value,s(r,k,d);return r.length=k,r}},31692:function(e,t,r){var n=r(74529),o=r(43057),i=r(59413),a=function(e){return function(t,r,a){var u,s=n(t),c=o(s.length),f=i(a,c);if(e&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((e||f in s)&&s[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},3610:function(e,t,r){var n=r(86843),o=r(37026),i=r(89678),a=r(43057),u=r(64692),s=[].push,c=function(e){var t=1==e,r=2==e,c=3==e,f=4==e,l=6==e,p=7==e,d=5==e||l;return function(h,v,g,y){for(var m,b,k=i(h),w=o(k),x=n(v,g,3),O=a(w.length),S=0,T=y||u,E=t?T(h,O):r||p?T(h,0):void 0;O>S;S++)if((d||S in w)&&(b=x(m=w[S],S,k),e))if(t)E[S]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return S;case 2:s.call(E,m)}else switch(e){case 4:return!1;case 7:s.call(E,m)}return l?-1:c||f?f:E}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},50568:function(e,t,r){var n=r(95981),o=r(99813),i=r(53385),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},34194:function(e,t,r){"use strict";var n=r(95981);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},64692:function(e,t,r){var n=r(10941),o=r(1052),i=r(99813)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},75196:function(e,t,r){var n=r(96059),o=r(7609);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){throw o(e),t}}},21385:function(e,t,r){var n=r(99813)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}catch(e){}return r}},82532:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},9697:function(e,t,r){var n=r(22885),o=r(82532),i=r(99813)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},64160:function(e,t,r){var n=r(95981);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},31046:function(e,t,r){"use strict";var n=r(35143).IteratorPrototype,o=r(29290),i=r(31887),a=r(90904),u=r(12077),s=function(){return this};e.exports=function(e,t,r){var c=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,c,!1,!0),u[c]=s,e}},32029:function(e,t,r){var n=r(55746),o=r(65988),i=r(31887);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},31887:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},55449:function(e,t,r){"use strict";var n=r(46935),o=r(65988),i=r(31887);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},47771:function(e,t,r){"use strict";var n=r(76887),o=r(31046),i=r(249),a=r(88929),u=r(90904),s=r(32029),c=r(99754),f=r(99813),l=r(82529),p=r(12077),d=r(35143),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=f("iterator"),y="keys",m="values",b="entries",k=function(){return this};e.exports=function(e,t,r,f,d,w,x){o(r,t,f);var O,S,T,E=function(e){if(e===d&&R)return R;if(!v&&e in j)return j[e];switch(e){case y:case m:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},A=t+" Iterator",_=!1,j=e.prototype,P=j[g]||j["@@iterator"]||d&&j[d],R=!v&&P||E(d),M="Array"==t&&j.entries||P;if(M&&(O=i(M.call(new e)),h!==Object.prototype&&O.next&&(l||i(O)===h||(a?a(O,h):"function"!=typeof O[g]&&s(O,g,k)),u(O,A,!0,!0),l&&(p[A]=k))),d==m&&P&&P.name!==m&&(_=!0,R=function(){return P.call(this)}),l&&!x||j[g]===R||s(j,g,R),p[t]=R,d)if(S={values:E(m),keys:w?R:E(y),entries:E(b)},x)for(T in S)(v||_||!(T in j))&&c(j,T,S[T]);else n({target:t,proto:!0,forced:v||_},S);return S}},66349:function(e,t,r){var n=r(54058),o=r(47457),i=r(11477),a=r(65988).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},55746:function(e,t,r){var n=r(95981);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},61333:function(e,t,r){var n=r(21899),o=r(10941),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},63281:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},23321:function(e){e.exports="object"==typeof window},22749:function(e,t,r){var n=r(2861);e.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(n)},6049:function(e,t,r){var n=r(82532),o=r(21899);e.exports="process"==n(o.process)},58045:function(e,t,r){var n=r(2861);e.exports=/web0s(?!.*chrome)/i.test(n)},2861:function(e,t,r){var n=r(626);e.exports=n("navigator","userAgent")||""},53385:function(e,t,r){var n,o,i=r(21899),a=r(2861),u=i.process,s=u&&u.versions,c=s&&s.v8;c?o=(n=c.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},35703:function(e,t,r){var n=r(54058);e.exports=function(e){return n[e+"Prototype"]}},56759:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},76887:function(e,t,r){"use strict";var n=r(21899),o=r(49677).f,i=r(37252),a=r(54058),u=r(86843),s=r(32029),c=r(47457),f=function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var r,l,p,d,h,v,g,y,m=e.target,b=e.global,k=e.stat,w=e.proto,x=b?n:k?n[m]:(n[m]||{}).prototype,O=b?a:a[m]||(a[m]={}),S=O.prototype;for(p in t)r=!i(b?p:m+(k?".":"#")+p,e.forced)&&x&&c(x,p),h=O[p],r&&(v=e.noTargetGet?(y=o(x,p))&&y.value:x[p]),d=r&&v?v:t[p],r&&typeof h==typeof d||(g=e.bind&&r?u(d,n):e.wrap&&r?f(d):w&&"function"==typeof d?u(Function.call,d):d,(e.sham||d&&d.sham||h&&h.sham)&&s(g,"sham",!0),O[p]=g,w&&(c(a,l=m+"Prototype")||s(a,l,{}),a[l][p]=d,e.real&&S&&!S[p]&&s(S,p,d)))}},95981:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},86843:function(e,t,r){var n=r(33916);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},626:function(e,t,r){var n=r(54058),o=r(21899),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},22902:function(e,t,r){var n=r(9697),o=r(12077),i=r(99813)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[n(e)]}},53476:function(e,t,r){var n=r(96059),o=r(22902);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return n(t.call(e))}},21899:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},47457:function(e,t,r){var n=r(89678),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(n(e),t)}},27748:function(e){e.exports={}},34845:function(e,t,r){var n=r(21899);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},15463:function(e,t,r){var n=r(626);e.exports=n("document","documentElement")},2840:function(e,t,r){var n=r(55746),o=r(95981),i=r(61333);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},37026:function(e,t,r){var n=r(95981),o=r(82532),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},81302:function(e,t,r){var n=r(63030),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},45402:function(e,t,r){var n,o,i,a=r(38019),u=r(21899),s=r(10941),c=r(32029),f=r(47457),l=r(63030),p=r(44262),d=r(27748),h="Object already initialized",v=u.WeakMap;if(a||l.state){var g=l.state||(l.state=new v),y=g.get,m=g.has,b=g.set;n=function(e,t){if(m.call(g,e))throw new TypeError(h);return t.facade=e,b.call(g,e,t),t},o=function(e){return y.call(g,e)||{}},i=function(e){return m.call(g,e)}}else{var k=p("state");d[k]=!0,n=function(e,t){if(f(e,k))throw new TypeError(h);return t.facade=e,c(e,k,t),t},o=function(e){return f(e,k)?e[k]:{}},i=function(e){return f(e,k)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},6782:function(e,t,r){var n=r(99813),o=r(12077),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},1052:function(e,t,r){var n=r(82532);e.exports=Array.isArray||function(e){return"Array"==n(e)}},37252:function(e,t,r){var n=r(95981),o=/#|\.prototype\./,i=function(e,t){var r=u[a(e)];return r==c||r!=s&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},10941:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},82529:function(e){e.exports=!0},93091:function(e,t,r){var n=r(96059),o=r(6782),i=r(43057),a=r(86843),u=r(22902),s=r(7609),c=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,r){var f,l,p,d,h,v,g,y=r&&r.that,m=!(!r||!r.AS_ENTRIES),b=!(!r||!r.IS_ITERATOR),k=!(!r||!r.INTERRUPTED),w=a(t,y,1+m+k),x=function(e){return f&&s(f),new c(!0,e)},O=function(e){return m?(n(e),k?w(e[0],e[1],x):w(e[0],e[1])):k?w(e,x):w(e)};if(b)f=e;else{if("function"!=typeof(l=u(e)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,d=i(e.length);d>p;p++)if((h=O(e[p]))&&h instanceof c)return h;return new c(!1)}f=l.call(e)}for(v=f.next;!(g=v.call(f)).done;){try{h=O(g.value)}catch(e){throw s(f),e}if("object"==typeof h&&h&&h instanceof c)return h}return new c(!1)}},7609:function(e,t,r){var n=r(96059);e.exports=function(e){var t=e.return;if(void 0!==t)return n(t.call(e)).value}},35143:function(e,t,r){"use strict";var n,o,i,a=r(95981),u=r(249),s=r(32029),c=r(47457),f=r(99813),l=r(82529),p=f("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):d=!0);var h=null==n||a((function(){var e={};return n[p].call(e)!==e}));h&&(n={}),l&&!h||c(n,p)||s(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},12077:function(e){e.exports={}},66132:function(e,t,r){var n,o,i,a,u,s,c,f,l=r(21899),p=r(49677).f,d=r(42941).set,h=r(22749),v=r(58045),g=r(6049),y=l.MutationObserver||l.WebKitMutationObserver,m=l.document,b=l.process,k=l.Promise,w=p(l,"queueMicrotask"),x=w&&w.value;x||(n=function(){var e,t;for(g&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},h||g||v||!y||!m?k&&k.resolve?((c=k.resolve(void 0)).constructor=k,f=c.then,a=function(){f.call(c,n)}):a=g?function(){b.nextTick(n)}:function(){d.call(l,n)}:(u=!0,s=m.createTextNode(""),new y(n).observe(s,{characterData:!0}),a=function(){s.data=u=!u})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},19297:function(e,t,r){var n=r(21899);e.exports=n.Promise},72497:function(e,t,r){var n=r(53385),o=r(95981);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},28468:function(e,t,r){var n=r(95981),o=r(99813),i=r(82529),a=o("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},38019:function(e,t,r){var n=r(21899),o=r(81302),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},69520:function(e,t,r){"use strict";var n=r(33916),o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},24420:function(e,t,r){"use strict";var n=r(55746),o=r(95981),i=r(14771),a=r(87857),u=r(18838),s=r(89678),c=r(37026),f=Object.assign,l=Object.defineProperty;e.exports=!f||o((function(){if(n&&1!==f({b:1},f(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach((function(e){t[e]=e})),7!=f({},e)[r]||i(f({},t)).join("")!=o}))?function(e,t){for(var r=s(e),o=arguments.length,f=1,l=a.f,p=u.f;o>f;)for(var d,h=c(arguments[f++]),v=l?i(h).concat(l(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],n&&!p.call(h,d)||(r[d]=h[d]);return r}:f},29290:function(e,t,r){var n,o=r(96059),i=r(59938),a=r(56759),u=r(27748),s=r(15463),c=r(61333),f=r(44262)("IE_PROTO"),l=function(){},p=function(e){return"<script>"+e+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=n?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(l.prototype=o(e),r=new l,l.prototype=null,r[f]=e):r=d(),void 0===t?r:i(r,t)}},59938:function(e,t,r){var n=r(55746),o=r(65988),i=r(96059),a=r(14771);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),u=n.length,s=0;u>s;)o.f(e,r=n[s++],t[r]);return e}},65988:function(e,t,r){var n=r(55746),o=r(2840),i=r(96059),a=r(46935),u=Object.defineProperty;t.f=n?u:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},49677:function(e,t,r){var n=r(55746),o=r(18838),i=r(31887),a=r(74529),u=r(46935),s=r(47457),c=r(2840),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=u(t,!0),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},684:function(e,t,r){var n=r(74529),o=r(10946).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(n(e))}},10946:function(e,t,r){var n=r(55629),o=r(56759).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},87857:function(e,t){t.f=Object.getOwnPropertySymbols},249:function(e,t,r){var n=r(47457),o=r(89678),i=r(44262),a=r(64160),u=i("IE_PROTO"),s=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,u)?e[u]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},55629:function(e,t,r){var n=r(47457),o=r(74529),i=r(31692).indexOf,a=r(27748);e.exports=function(e,t){var r,u=o(e),s=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&c.push(r);for(;t.length>s;)n(u,r=t[s++])&&(~i(c,r)||c.push(r));return c}},14771:function(e,t,r){var n=r(55629),o=r(56759);e.exports=Object.keys||function(e){return n(e,o)}},18838:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},88929:function(e,t,r){var n=r(96059),o=r(11851);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(e){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},88810:function(e,t,r){var n=r(55746),o=r(14771),i=r(74529),a=r(18838).f,u=function(e){return function(t){for(var r,u=i(t),s=o(u),c=s.length,f=0,l=[];c>f;)r=s[f++],n&&!a.call(u,r)||l.push(e?[r,u[r]]:u[r]);return l}};e.exports={entries:u(!0),values:u(!1)}},95623:function(e,t,r){"use strict";var n=r(22885),o=r(9697);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},31136:function(e,t,r){var n=r(626),o=r(10946),i=r(87857),a=r(96059);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},54058:function(e){e.exports={}},40002:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},56584:function(e,t,r){var n=r(96059),o=r(10941),i=r(69520);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},87524:function(e,t,r){var n=r(99754);e.exports=function(e,t,r){for(var o in t)r&&r.unsafe&&e[o]?e[o]=t[o]:n(e,o,t[o],r);return e}},99754:function(e,t,r){var n=r(32029);e.exports=function(e,t,r,o){o&&o.enumerable?e[t]=r:n(e,t,r)}},48219:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},4911:function(e,t,r){var n=r(21899),o=r(32029);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},94431:function(e,t,r){"use strict";var n=r(626),o=r(65988),i=r(99813),a=r(55746),u=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[u]&&r(t,u,{configurable:!0,get:function(){return this}})}},90904:function(e,t,r){var n=r(22885),o=r(65988).f,i=r(32029),a=r(47457),u=r(95623),s=r(99813)("toStringTag");e.exports=function(e,t,r,c){if(e){var f=r?e:e.prototype;a(f,s)||o(f,s,{configurable:!0,value:t}),c&&!n&&i(f,"toString",u)}}},44262:function(e,t,r){var n=r(68726),o=r(99418),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},63030:function(e,t,r){var n=r(21899),o=r(4911),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},68726:function(e,t,r){var n=r(82529),o=r(63030);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},70487:function(e,t,r){var n=r(96059),o=r(33916),i=r(99813)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},64620:function(e,t,r){var n=r(68459),o=r(48219),i=function(e){return function(t,r){var i,a,u=String(o(t)),s=n(r),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},73291:function(e){"use strict";var t=2147483647,r=/[^\0-\u007E]/,n=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,u=function(e){return e+22+75*(e<26)},s=function(e,t,r){var n=0;for(e=r?i(e/700):e>>1,e+=i(e/t);e>455;n+=36)e=i(e/35);return i(n+36*e/(e+38))},c=function(e){var r=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var o=e.charCodeAt(r++);if(o>=55296&&o<=56319&&r<n){var i=e.charCodeAt(r++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),r--)}else t.push(o)}return t}(e);var n,c,f=e.length,l=128,p=0,d=72;for(n=0;n<e.length;n++)(c=e[n])<128&&r.push(a(c));var h=r.length,v=h;for(h&&r.push("-");v<f;){var g=t;for(n=0;n<e.length;n++)(c=e[n])>=l&&c<g&&(g=c);var y=v+1;if(g-l>i((t-p)/y))throw RangeError(o);for(p+=(g-l)*y,l=g,n=0;n<e.length;n++){if((c=e[n])<l&&++p>t)throw RangeError(o);if(c==l){for(var m=p,b=36;;b+=36){var k=b<=d?1:b>=d+26?26:b-d;if(m<k)break;var w=m-k,x=36-k;r.push(a(u(k+w%x))),m=i(w/x)}r.push(a(u(m))),d=s(p,y,v==h),p=0,++v}}++p,++l}return r.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(n,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(r.test(o)?"xn--"+c(o):o);return i.join(".")}},42941:function(e,t,r){var n,o,i,a=r(21899),u=r(95981),s=r(86843),c=r(15463),f=r(61333),l=r(22749),p=r(6049),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,k={},w=function(e){if(k.hasOwnProperty(e)){var t=k[e];delete k[e],t()}},x=function(e){return function(){w(e)}},O=function(e){w(e.data)},S=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return k[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},v=function(e){delete k[e]},p?n=function(e){g.nextTick(x(e))}:m&&m.now?n=function(e){m.now(x(e))}:y&&!l?(i=(o=new y).port2,o.port1.onmessage=O,n=s(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&d&&"file:"!==d.protocol&&!u(S)?(n=S,a.addEventListener("message",O,!1)):n="onreadystatechange"in f("script")?function(e){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:h,clear:v}},59413:function(e,t,r){var n=r(68459),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},74529:function(e,t,r){var n=r(37026),o=r(48219);e.exports=function(e){return n(o(e))}},68459:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},43057:function(e,t,r){var n=r(68459),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},89678:function(e,t,r){var n=r(48219);e.exports=function(e){return Object(n(e))}},46935:function(e,t,r){var n=r(10941);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},22885:function(e,t,r){var n={};n[r(99813)("toStringTag")]="z",e.exports="[object z]"===String(n)},99418:function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},32302:function(e,t,r){var n=r(72497);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},11477:function(e,t,r){var n=r(99813);t.f=n},99813:function(e,t,r){var n=r(21899),o=r(68726),i=r(47457),a=r(99418),u=r(72497),s=r(32302),c=o("wks"),f=n.Symbol,l=s?f:f&&f.withoutSetter||a;e.exports=function(e){return i(c,e)&&(u||"string"==typeof c[e])||(u&&i(f,e)?c[e]=f[e]:c[e]=l("Symbol."+e)),c[e]}},47627:function(e,t,r){"use strict";var n=r(76887),o=r(249),i=r(88929),a=r(29290),u=r(32029),s=r(31887),c=r(93091),f=function(e,t){var r=this;if(!(r instanceof f))return new f(e,t);i&&(r=i(new Error(void 0),o(r))),void 0!==t&&u(r,"message",String(t));var n=[];return c(e,n.push,{that:n}),u(r,"errors",n),r};f.prototype=a(Error.prototype,{constructor:s(5,f),message:s(5,""),name:s(5,"AggregateError")}),n({global:!0},{AggregateError:f})},85906:function(e,t,r){"use strict";var n=r(76887),o=r(95981),i=r(1052),a=r(10941),u=r(89678),s=r(43057),c=r(55449),f=r(64692),l=r(50568),p=r(99813),d=r(53385),h=p("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",y=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),m=l("concat"),b=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!y||!m},{concat:function(e){var t,r,n,o,i,a=u(this),l=f(a,0),p=0;for(t=-1,n=arguments.length;t<n;t++)if(b(i=-1===t?a:arguments[t])){if(p+(o=s(i.length))>v)throw TypeError(g);for(r=0;r<o;r++,p++)r in i&&c(l,p,i[r])}else{if(p>=v)throw TypeError(g);c(l,p++,i)}return l.length=p,l}})},21501:function(e,t,r){"use strict";var n=r(76887),o=r(3610).filter;n({target:"Array",proto:!0,forced:!r(50568)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},80833:function(e,t,r){"use strict";var n=r(76887),o=r(3610).find,i=r(18479),a="find",u=!0;a in[]&&Array(1).find((function(){u=!1})),n({target:"Array",proto:!0,forced:u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},2437:function(e,t,r){"use strict";var n=r(76887),o=r(56837);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},53242:function(e,t,r){var n=r(76887),o=r(11354);n({target:"Array",stat:!0,forced:!r(21385)((function(e){Array.from(e)}))},{from:o})},99076:function(e,t,r){"use strict";var n=r(76887),o=r(31692).indexOf,i=r(34194),a=[].indexOf,u=!!a&&1/[1].indexOf(1,-0)<0,s=i("indexOf");n({target:"Array",proto:!0,forced:u||!s},{indexOf:function(e){return u?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},92737:function(e,t,r){r(76887)({target:"Array",stat:!0},{isArray:r(1052)})},66274:function(e,t,r){"use strict";var n=r(74529),o=r(18479),i=r(12077),a=r(45402),u=r(47771),s="Array Iterator",c=a.set,f=a.getterFor(s);e.exports=u(Array,"Array",(function(e,t){c(this,{type:s,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},68787:function(e,t,r){"use strict";var n=r(76887),o=r(3610).map;n({target:"Array",proto:!0,forced:!r(50568)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},60186:function(e,t,r){"use strict";var n=r(76887),o=r(10941),i=r(1052),a=r(59413),u=r(43057),s=r(74529),c=r(55449),f=r(99813),l=r(50568)("slice"),p=f("species"),d=[].slice,h=Math.max;n({target:"Array",proto:!0,forced:!l},{slice:function(e,t){var r,n,f,l=s(this),v=u(l.length),g=a(e,v),y=a(void 0===t?v:t,v);if(i(l)&&("function"!=typeof(r=l.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[p])&&(r=void 0):r=void 0,r===Array||void 0===r))return d.call(l,g,y);for(n=new(void 0===r?Array:r)(h(y-g,0)),f=0;g<y;g++,f++)g in l&&c(n,f,l[g]);return n.length=f,n}})},32619:function(e,t,r){var n=r(76887),o=r(626),i=r(95981),a=o("JSON","stringify"),u=/[\uD800-\uDFFF]/g,s=/^[\uD800-\uDBFF]$/,c=/^[\uDC00-\uDFFF]$/,f=function(e,t,r){var n=r.charAt(t-1),o=r.charAt(t+1);return s.test(e)&&!c.test(o)||c.test(e)&&!s.test(n)?"\\u"+e.charCodeAt(0).toString(16):e},l=i((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&n({target:"JSON",stat:!0,forced:l},{stringify:function(e,t,r){var n=a.apply(null,arguments);return"string"==typeof n?n.replace(u,f):n}})},69120:function(e,t,r){var n=r(21899);r(90904)(n.JSON,"JSON",!0)},79413:function(){},74979:function(e,t,r){var n=r(76887),o=r(55746);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:r(59938)})},86450:function(e,t,r){var n=r(76887),o=r(55746);n({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:r(65988).f})},21078:function(e,t,r){var n=r(76887),o=r(88810).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},28387:function(e,t,r){var n=r(76887),o=r(93091),i=r(55449);n({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,r){i(t,e,r)}),{AS_ENTRIES:!0}),t}})},46924:function(e,t,r){var n=r(76887),o=r(95981),i=r(74529),a=r(49677).f,u=r(55746),s=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!u||s,sham:!u},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},88482:function(e,t,r){var n=r(76887),o=r(55746),i=r(31136),a=r(74529),u=r(49677),s=r(55449);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=u.f,c=i(n),f={},l=0;c.length>l;)void 0!==(r=o(n,t=c[l++]))&&s(f,t,r);return f}})},21724:function(e,t,r){var n=r(76887),o=r(89678),i=r(14771);n({target:"Object",stat:!0,forced:r(95981)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},55967:function(){},4560:function(e,t,r){"use strict";var n=r(76887),o=r(33916),i=r(69520),a=r(40002),u=r(93091);n({target:"Promise",stat:!0},{allSettled:function(e){var t=this,r=i.f(t),n=r.resolve,s=r.reject,c=a((function(){var r=o(t.resolve),i=[],a=0,s=1;u(e,(function(e){var o=a++,u=!1;i.push(void 0),s++,r.call(t,e).then((function(e){u||(u=!0,i[o]={status:"fulfilled",value:e},--s||n(i))}),(function(e){u||(u=!0,i[o]={status:"rejected",reason:e},--s||n(i))}))})),--s||n(i)}));return c.error&&s(c.value),r.promise}})},91302:function(e,t,r){"use strict";var n=r(76887),o=r(33916),i=r(626),a=r(69520),u=r(40002),s=r(93091),c="No one promise resolved";n({target:"Promise",stat:!0},{any:function(e){var t=this,r=a.f(t),n=r.resolve,f=r.reject,l=u((function(){var r=o(t.resolve),a=[],u=0,l=1,p=!1;s(e,(function(e){var o=u++,s=!1;a.push(void 0),l++,r.call(t,e).then((function(e){s||p||(p=!0,n(e))}),(function(e){s||p||(s=!0,a[o]=e,--l||f(new(i("AggregateError"))(a,c)))}))})),--l||f(new(i("AggregateError"))(a,c))}));return l.error&&f(l.value),r.promise}})},44349:function(e,t,r){"use strict";var n=r(76887),o=r(82529),i=r(19297),a=r(95981),u=r(626),s=r(70487),c=r(56584),f=r(99754);if(n({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=s(this,u("Promise")),r="function"==typeof e;return this.then(r?function(r){return c(t,e()).then((function(){return r}))}:e,r?function(r){return c(t,e()).then((function(){throw r}))}:e)}}),!o&&"function"==typeof i){var l=u("Promise").prototype.finally;i.prototype.finally!==l&&f(i.prototype,"finally",l,{unsafe:!0})}},98881:function(e,t,r){"use strict";var n,o,i,a,u=r(76887),s=r(82529),c=r(21899),f=r(626),l=r(19297),p=r(99754),d=r(87524),h=r(88929),v=r(90904),g=r(94431),y=r(10941),m=r(33916),b=r(5743),k=r(81302),w=r(93091),x=r(21385),O=r(70487),S=r(42941).set,T=r(66132),E=r(56584),A=r(34845),_=r(69520),j=r(40002),P=r(45402),R=r(37252),M=r(99813),I=r(23321),C=r(6049),U=r(53385),N=M("species"),F="Promise",D=P.get,L=P.set,B=P.getterFor(F),H=l&&l.prototype,q=l,V=H,K=c.TypeError,W=c.document,G=c.process,$=_.f,z=$,J=!!(W&&W.createEvent&&c.dispatchEvent),Y="function"==typeof PromiseRejectionEvent,X="unhandledrejection",Q=!1,Z=R(F,(function(){var e=k(q)!==String(q);if(!e&&66===U)return!0;if(s&&!V.finally)return!0;if(U>=51&&/native code/.test(q))return!1;var t=new q((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(t.constructor={})[N]=r,!(Q=t.then((function(){}))instanceof r)||!e&&I&&!Y})),ee=Z||!x((function(e){q.all(e).catch((function(){}))})),te=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},re=function(e,t){if(!e.notified){e.notified=!0;var r=e.reactions;T((function(){for(var n=e.value,o=1==e.state,i=0;r.length>i;){var a,u,s,c=r[i++],f=o?c.ok:c.fail,l=c.resolve,p=c.reject,d=c.domain;try{f?(o||(2===e.rejection&&ae(e),e.rejection=1),!0===f?a=n:(d&&d.enter(),a=f(n),d&&(d.exit(),s=!0)),a===c.promise?p(K("Promise-chain cycle")):(u=te(a))?u.call(a,l,p):l(a)):p(n)}catch(e){d&&!s&&d.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&oe(e)}))}},ne=function(e,t,r){var n,o;J?((n=W.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),c.dispatchEvent(n)):n={promise:t,reason:r},!Y&&(o=c["on"+e])?o(n):e===X&&A("Unhandled promise rejection",r)},oe=function(e){S.call(c,(function(){var t,r=e.facade,n=e.value;if(ie(e)&&(t=j((function(){C?G.emit("unhandledRejection",n,r):ne(X,r,n)})),e.rejection=C||ie(e)?2:1,t.error))throw t.value}))},ie=function(e){return 1!==e.rejection&&!e.parent},ae=function(e){S.call(c,(function(){var t=e.facade;C?G.emit("rejectionHandled",t):ne("rejectionhandled",t,e.value)}))},ue=function(e,t,r){return function(n){e(t,n,r)}},se=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,re(e,!0))},ce=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw K("Promise can't be resolved itself");var n=te(t);n?T((function(){var r={done:!1};try{n.call(t,ue(ce,r,e),ue(se,r,e))}catch(t){se(r,t,e)}})):(e.value=t,e.state=1,re(e,!1))}catch(t){se({done:!1},t,e)}}};if(Z&&(V=(q=function(e){b(this,q,F),m(e),n.call(this);var t=D(this);try{e(ue(ce,t),ue(se,t))}catch(e){se(t,e)}}).prototype,(n=function(e){L(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(V,{then:function(e,t){var r=B(this),n=$(O(this,q));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?G.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&re(r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=D(e);this.promise=e,this.resolve=ue(ce,t),this.reject=ue(se,t)},_.f=$=function(e){return e===q||e===i?new o(e):z(e)},!s&&"function"==typeof l&&H!==Object.prototype)){a=H.then,Q||(p(H,"then",(function(e,t){var r=this;return new q((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),p(H,"catch",V.catch,{unsafe:!0}));try{delete H.constructor}catch(e){}h&&h(H,V)}u({global:!0,wrap:!0,forced:Z},{Promise:q}),v(q,F,!1,!0),g(F),i=f(F),u({target:F,stat:!0,forced:Z},{reject:function(e){var t=$(this);return t.reject.call(void 0,e),t.promise}}),u({target:F,stat:!0,forced:s||Z},{resolve:function(e){return E(s&&this===i?q:this,e)}}),u({target:F,stat:!0,forced:ee},{all:function(e){var t=this,r=$(t),n=r.resolve,o=r.reject,i=j((function(){var r=m(t.resolve),i=[],a=0,u=1;w(e,(function(e){var s=a++,c=!1;i.push(void 0),u++,r.call(t,e).then((function(e){c||(c=!0,i[s]=e,--u||n(i))}),o)})),--u||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=$(t),n=r.reject,o=j((function(){var o=m(t.resolve);w(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},1502:function(){},77971:function(e,t,r){"use strict";var n=r(64620).charAt,o=r(45402),i=r(47771),a="String Iterator",u=o.set,s=o.getterFor(a);i(String,"String",(function(e){u(this,{type:a,string:String(e),index:0})}),(function(){var e,t=s(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},8555:function(e,t,r){r(66349)("asyncIterator")},52615:function(){},21732:function(e,t,r){r(66349)("hasInstance")},35903:function(e,t,r){r(66349)("isConcatSpreadable")},1825:function(e,t,r){r(66349)("iterator")},35824:function(e,t,r){"use strict";var n=r(76887),o=r(21899),i=r(626),a=r(82529),u=r(55746),s=r(72497),c=r(32302),f=r(95981),l=r(47457),p=r(1052),d=r(10941),h=r(96059),v=r(89678),g=r(74529),y=r(46935),m=r(31887),b=r(29290),k=r(14771),w=r(10946),x=r(684),O=r(87857),S=r(49677),T=r(65988),E=r(18838),A=r(32029),_=r(99754),j=r(68726),P=r(44262),R=r(27748),M=r(99418),I=r(99813),C=r(11477),U=r(66349),N=r(90904),F=r(45402),D=r(3610).forEach,L=P("hidden"),B="Symbol",H=I("toPrimitive"),q=F.set,V=F.getterFor(B),K=Object.prototype,W=o.Symbol,G=i("JSON","stringify"),$=S.f,z=T.f,J=x.f,Y=E.f,X=j("symbols"),Q=j("op-symbols"),Z=j("string-to-symbol-registry"),ee=j("symbol-to-string-registry"),te=j("wks"),re=o.QObject,ne=!re||!re.prototype||!re.prototype.findChild,oe=u&&f((function(){return 7!=b(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=$(K,t);n&&delete K[t],z(e,t,r),n&&e!==K&&z(K,t,n)}:z,ie=function(e,t){var r=X[e]=b(W.prototype);return q(r,{type:B,tag:e,description:t}),u||(r.description=t),r},ae=c?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ue=function(e,t,r){e===K&&ue(Q,t,r),h(e);var n=y(t,!0);return h(r),l(X,n)?(r.enumerable?(l(e,L)&&e[L][n]&&(e[L][n]=!1),r=b(r,{enumerable:m(0,!1)})):(l(e,L)||z(e,L,m(1,{})),e[L][n]=!0),oe(e,n,r)):z(e,n,r)},se=function(e,t){h(e);var r=g(t),n=k(r).concat(pe(r));return D(n,(function(t){u&&!ce.call(r,t)||ue(e,t,r[t])})),e},ce=function(e){var t=y(e,!0),r=Y.call(this,t);return!(this===K&&l(X,t)&&!l(Q,t))&&(!(r||!l(this,t)||!l(X,t)||l(this,L)&&this[L][t])||r)},fe=function(e,t){var r=g(e),n=y(t,!0);if(r!==K||!l(X,n)||l(Q,n)){var o=$(r,n);return!o||!l(X,n)||l(r,L)&&r[L][n]||(o.enumerable=!0),o}},le=function(e){var t=J(g(e)),r=[];return D(t,(function(e){l(X,e)||l(R,e)||r.push(e)})),r},pe=function(e){var t=e===K,r=J(t?Q:g(e)),n=[];return D(r,(function(e){!l(X,e)||t&&!l(K,e)||n.push(X[e])})),n};s||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=M(e),r=function(e){this===K&&r.call(Q,e),l(this,L)&&l(this[L],t)&&(this[L][t]=!1),oe(this,t,m(1,e))};return u&&ne&&oe(K,t,{configurable:!0,set:r}),ie(t,e)},_(W.prototype,"toString",(function(){return V(this).tag})),_(W,"withoutSetter",(function(e){return ie(M(e),e)})),E.f=ce,T.f=ue,S.f=fe,w.f=x.f=le,O.f=pe,C.f=function(e){return ie(I(e),e)},u&&(z(W.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),a||_(K,"propertyIsEnumerable",ce,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!s,sham:!s},{Symbol:W}),D(k(te),(function(e){U(e)})),n({target:B,stat:!0,forced:!s},{for:function(e){var t=String(e);if(l(Z,t))return Z[t];var r=W(t);return Z[t]=r,ee[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(l(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!s,sham:!u},{create:function(e,t){return void 0===t?b(e):se(b(e),t)},defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:fe}),n({target:"Object",stat:!0,forced:!s},{getOwnPropertyNames:le,getOwnPropertySymbols:pe}),n({target:"Object",stat:!0,forced:f((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(v(e))}}),G&&n({target:"JSON",stat:!0,forced:!s||f((function(){var e=W();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(d(t)||void 0!==e)&&!ae(e))return p(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),o[1]=t,G.apply(null,o)}}),W.prototype[H]||A(W.prototype,H,W.prototype.valueOf),N(W,B),R[L]=!0},45915:function(e,t,r){r(66349)("matchAll")},28394:function(e,t,r){r(66349)("match")},61766:function(e,t,r){r(66349)("replace")},62737:function(e,t,r){r(66349)("search")},89911:function(e,t,r){r(66349)("species")},74315:function(e,t,r){r(66349)("split")},63131:function(e,t,r){r(66349)("toPrimitive")},64714:function(e,t,r){r(66349)("toStringTag")},70659:function(e,t,r){r(66349)("unscopables")},89731:function(e,t,r){r(47627)},55708:function(e,t,r){r(4560)},88731:function(e,t,r){r(91302)},30014:function(e,t,r){"use strict";var n=r(76887),o=r(69520),i=r(40002);n({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),r=i(e);return(r.error?t.reject:t.resolve)(r.value),t.promise}})},28783:function(e,t,r){r(66349)("asyncDispose")},43975:function(e,t,r){r(66349)("dispose")},65799:function(e,t,r){r(66349)("matcher")},45414:function(e,t,r){r(66349)("metadata")},46774:function(e,t,r){r(66349)("observable")},80620:function(e,t,r){r(66349)("patternMatch")},36172:function(e,t,r){r(66349)("replaceAll")},7634:function(e,t,r){r(66274);var n=r(63281),o=r(21899),i=r(9697),a=r(32029),u=r(12077),s=r(99813)("toStringTag");for(var c in n){var f=o[c],l=f&&f.prototype;l&&i(l)!==s&&a(l,s,c),u[c]=u.Array}},95304:function(e,t,r){"use strict";r(66274);var n=r(76887),o=r(626),i=r(28468),a=r(99754),u=r(87524),s=r(90904),c=r(31046),f=r(45402),l=r(5743),p=r(47457),d=r(86843),h=r(9697),v=r(96059),g=r(10941),y=r(29290),m=r(31887),b=r(53476),k=r(22902),w=r(99813),x=o("fetch"),O=o("Headers"),S=w("iterator"),T="URLSearchParams",E="URLSearchParamsIterator",A=f.set,_=f.getterFor(T),j=f.getterFor(E),P=/\+/g,R=Array(4),M=function(e){return R[e-1]||(R[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},C=function(e){var t=e.replace(P," "),r=4;try{return decodeURIComponent(t)}catch(e){for(;r;)t=t.replace(M(r--),I);return t}},U=/[!'()~]|%20/g,N={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},F=function(e){return N[e]},D=function(e){return encodeURIComponent(e).replace(U,F)},L=function(e,t){if(t)for(var r,n,o=t.split("&"),i=0;i<o.length;)(r=o[i++]).length&&(n=r.split("="),e.push({key:C(n.shift()),value:C(n.join("="))}))},B=function(e){this.entries.length=0,L(this.entries,e)},H=function(e,t){if(e<t)throw TypeError("Not enough arguments")},q=c((function(e,t){A(this,{type:E,iterator:b(_(e).entries),kind:t})}),"Iterator",(function(){var e=j(this),t=e.kind,r=e.iterator.next(),n=r.value;return r.done||(r.value="keys"===t?n.key:"values"===t?n.value:[n.key,n.value]),r})),V=function(){l(this,V,T);var e,t,r,n,o,i,a,u,s,c=arguments.length>0?arguments[0]:void 0,f=this,d=[];if(A(f,{type:T,entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(g(c))if("function"==typeof(e=k(c)))for(r=(t=e.call(c)).next;!(n=r.call(t)).done;){if((a=(i=(o=b(v(n.value))).next).call(o)).done||(u=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:u.value+""})}else for(s in c)p(c,s)&&d.push({key:s,value:c[s]+""});else L(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},K=V.prototype;u(K,{append:function(e,t){H(arguments.length,2);var r=_(this);r.entries.push({key:e+"",value:t+""}),r.updateURL()},delete:function(e){H(arguments.length,1);for(var t=_(this),r=t.entries,n=e+"",o=0;o<r.length;)r[o].key===n?r.splice(o,1):o++;t.updateURL()},get:function(e){H(arguments.length,1);for(var t=_(this).entries,r=e+"",n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){H(arguments.length,1);for(var t=_(this).entries,r=e+"",n=[],o=0;o<t.length;o++)t[o].key===r&&n.push(t[o].value);return n},has:function(e){H(arguments.length,1);for(var t=_(this).entries,r=e+"",n=0;n<t.length;)if(t[n++].key===r)return!0;return!1},set:function(e,t){H(arguments.length,1);for(var r,n=_(this),o=n.entries,i=!1,a=e+"",u=t+"",s=0;s<o.length;s++)(r=o[s]).key===a&&(i?o.splice(s--,1):(i=!0,r.value=u));i||o.push({key:a,value:u}),n.updateURL()},sort:function(){var e,t,r,n=_(this),o=n.entries,i=o.slice();for(o.length=0,r=0;r<i.length;r++){for(e=i[r],t=0;t<r;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===r&&o.push(e)}n.updateURL()},forEach:function(e){for(var t,r=_(this).entries,n=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<r.length;)n((t=r[o++]).value,t.key,this)},keys:function(){return new q(this,"keys")},values:function(){return new q(this,"values")},entries:function(){return new q(this,"entries")}},{enumerable:!0}),a(K,S,K.entries),a(K,"toString",(function(){for(var e,t=_(this).entries,r=[],n=0;n<t.length;)e=t[n++],r.push(D(e.key)+"="+D(e.value));return r.join("&")}),{enumerable:!0}),s(V,T),n({global:!0,forced:!i},{URLSearchParams:V}),i||"function"!=typeof x||"function"!=typeof O||n({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,r,n,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(r=t.body,h(r)===T&&((n=t.headers?new O(t.headers):new O).has("content-type")||n.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(r)),headers:m(0,n)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:V,getState:_}},33601:function(e,t,r){"use strict";r(77971);var n,o=r(76887),i=r(55746),a=r(28468),u=r(21899),s=r(59938),c=r(99754),f=r(5743),l=r(47457),p=r(24420),d=r(11354),h=r(64620).codeAt,v=r(73291),g=r(90904),y=r(95304),m=r(45402),b=u.URL,k=y.URLSearchParams,w=y.getState,x=m.set,O=m.getterFor("URL"),S=Math.floor,T=Math.pow,E="Invalid scheme",A="Invalid host",_="Invalid port",j=/[A-Za-z]/,P=/[\d+-.A-Za-z]/,R=/\d/,M=/^0x/i,I=/^[0-7]+$/,C=/^\d+$/,U=/^[\dA-Fa-f]+$/,N=/[\0\t\n\r #%/:<>?@[\\\]^|]/,F=/[\0\t\n\r #/:<>?@[\\\]^|]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,L=/[\t\n\r]/g,B=function(e,t){var r,n,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return A;if(!(r=q(t.slice(1,-1))))return A;e.host=r}else if(Y(e)){if(t=v(t),N.test(t))return A;if(null===(r=H(t)))return A;e.host=r}else{if(F.test(t))return A;for(r="",n=d(t),o=0;o<n.length;o++)r+=z(n[o],K);e.host=r}},H=function(e){var t,r,n,o,i,a,u,s=e.split(".");if(s.length&&""==s[s.length-1]&&s.pop(),(t=s.length)>4)return e;for(r=[],n=0;n<t;n++){if(""==(o=s[n]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=M.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?C:8==i?I:U).test(o))return e;a=parseInt(o,i)}r.push(a)}for(n=0;n<t;n++)if(a=r[n],n==t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(u=r.pop(),n=0;n<r.length;n++)u+=r[n]*T(256,3-n);return u},q=function(e){var t,r,n,o,i,a,u,s=[0,0,0,0,0,0,0,0],c=0,f=null,l=0,p=function(){return e.charAt(l)};if(":"==p()){if(":"!=e.charAt(1))return;l+=2,f=++c}for(;p();){if(8==c)return;if(":"!=p()){for(t=r=0;r<4&&U.test(p());)t=16*t+parseInt(p(),16),l++,r++;if("."==p()){if(0==r)return;if(l-=r,c>6)return;for(n=0;p();){if(o=null,n>0){if(!("."==p()&&n<4))return;l++}if(!R.test(p()))return;for(;R.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;l++}s[c]=256*s[c]+o,2!=++n&&4!=n||c++}if(4!=n)return;break}if(":"==p()){if(l++,!p())return}else if(p())return;s[c++]=t}else{if(null!==f)return;l++,f=++c}}if(null!==f)for(a=c-f,c=7;0!=c&&a>0;)u=s[c],s[c--]=s[f+a-1],s[f+--a]=u;else if(8!=c)return;return s},V=function(e){var t,r,n,o;if("number"==typeof e){for(t=[],r=0;r<4;r++)t.unshift(e%256),e=S(e/256);return t.join(".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,o=0,i=0;i<8;i++)0!==e[i]?(o>r&&(t=n,r=o),n=null,o=0):(null===n&&(n=i),++o);return o>r&&(t=n,r=o),t}(e),r=0;r<8;r++)o&&0===e[r]||(o&&(o=!1),n===r?(t+=r?":":"::",o=!0):(t+=e[r].toString(16),r<7&&(t+=":")));return"["+t+"]"}return e},K={},W=p({},K,{" ":1,'"':1,"<":1,">":1,"`":1}),G=p({},W,{"#":1,"?":1,"{":1,"}":1}),$=p({},G,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),z=function(e,t){var r=h(e,0);return r>32&&r<127&&!l(t,e)?e:encodeURIComponent(e)},J={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return l(J,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Z=function(e,t){var r;return 2==e.length&&j.test(e.charAt(0))&&(":"==(r=e.charAt(1))||!t&&"|"==r)},ee=function(e){var t;return e.length>1&&Z(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,r=t.length;!r||"file"==e.scheme&&1==r&&Z(t[0],!0)||t.pop()},re=function(e){return"."===e||"%2e"===e.toLowerCase()},ne={},oe={},ie={},ae={},ue={},se={},ce={},fe={},le={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},ke={},we={},xe={},Oe={},Se=function(e,t,r,o){var i,a,u,s,c,f=r||ne,p=0,h="",v=!1,g=!1,y=!1;for(r||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(L,""),i=d(t);p<=i.length;){switch(a=i[p],f){case ne:if(!a||!j.test(a)){if(r)return E;f=ie;continue}h+=a.toLowerCase(),f=oe;break;case oe:if(a&&(P.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(r)return E;h="",f=ie,p=0;continue}if(r&&(Y(e)!=l(J,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,r)return void(Y(e)&&J[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?f=ge:Y(e)&&o&&o.scheme==e.scheme?f=ae:Y(e)?f=fe:"/"==i[p+1]?(f=ue,p++):(e.cannotBeABaseURL=!0,e.path.push(""),f=we)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return E;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,f=Oe;break}f="file"==o.scheme?ge:se;continue;case ae:if("/"!=a||"/"!=i[p+1]){f=se;continue}f=le,p++;break;case ue:if("/"==a){f=pe;break}f=ke;continue;case se:if(e.scheme=o.scheme,a==n)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))f=ce;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",f=xe;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),f=ke;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",f=Oe}break;case ce:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,f=ke;continue}f=pe}else f=le;break;case fe:if(f=le,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case le:if("/"!=a&&"\\"!=a){f=pe;continue}break;case pe:if("@"==a){v&&(h="%40"+h),v=!0,u=d(h);for(var m=0;m<u.length;m++){var b=u[m];if(":"!=b||y){var k=z(b,$);y?e.password+=k:e.username+=k}else y=!0}h=""}else if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",f=de}else h+=a;break;case de:case he:if(r&&"file"==e.scheme){f=me;continue}if(":"!=a||g){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==h)return A;if(r&&""==h&&(X(e)||null!==e.port))return;if(s=B(e,h))return s;if(h="",f=be,r)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return A;if(s=B(e,h))return s;if(h="",f=ve,r==he)return}break;case ve:if(!R.test(a)){if(a==n||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||r){if(""!=h){var w=parseInt(h,10);if(w>65535)return _;e.port=Y(e)&&w===J[e.scheme]?null:w,h=""}if(r)return;f=be;continue}return _}h+=a;break;case ge:if(e.scheme="file","/"==a||"\\"==a)f=ye;else{if(!o||"file"!=o.scheme){f=ke;continue}if(a==n)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",f=xe;else{if("#"!=a){ee(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),f=ke;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",f=Oe}}break;case ye:if("/"==a||"\\"==a){f=me;break}o&&"file"==o.scheme&&!ee(i.slice(p).join(""))&&(Z(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),f=ke;continue;case me:if(a==n||"/"==a||"\\"==a||"?"==a||"#"==a){if(!r&&Z(h))f=ke;else if(""==h){if(e.host="",r)return;f=be}else{if(s=B(e,h))return s;if("localhost"==e.host&&(e.host=""),r)return;h="",f=be}continue}h+=a;break;case be:if(Y(e)){if(f=ke,"/"!=a&&"\\"!=a)continue}else if(r||"?"!=a)if(r||"#"!=a){if(a!=n&&(f=ke,"/"!=a))continue}else e.fragment="",f=Oe;else e.query="",f=xe;break;case ke:if(a==n||"/"==a||"\\"==a&&Y(e)||!r&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):re(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Z(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==n||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",f=xe):"#"==a&&(e.fragment="",f=Oe)}else h+=z(a,G);break;case we:"?"==a?(e.query="",f=xe):"#"==a?(e.fragment="",f=Oe):a!=n&&(e.path[0]+=z(a,K));break;case xe:r||"#"!=a?a!=n&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":z(a,K)):(e.fragment="",f=Oe);break;case Oe:a!=n&&(e.fragment+=z(a,W))}p++}},Te=function(e){var t,r,n=f(this,Te,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),u=x(n,{type:"URL"});if(void 0!==o)if(o instanceof Te)t=O(o);else if(r=Se(t={},String(o)))throw TypeError(r);if(r=Se(u,a,null,t))throw TypeError(r);var s=u.searchParams=new k,c=w(s);c.updateSearchParams(u.query),c.updateURL=function(){u.query=String(s)||null},i||(n.href=Ae.call(n),n.origin=_e.call(n),n.protocol=je.call(n),n.username=Pe.call(n),n.password=Re.call(n),n.host=Me.call(n),n.hostname=Ie.call(n),n.port=Ce.call(n),n.pathname=Ue.call(n),n.search=Ne.call(n),n.searchParams=Fe.call(n),n.hash=De.call(n))},Ee=Te.prototype,Ae=function(){var e=O(this),t=e.scheme,r=e.username,n=e.password,o=e.host,i=e.port,a=e.path,u=e.query,s=e.fragment,c=t+":";return null!==o?(c+="//",X(e)&&(c+=r+(n?":"+n:"")+"@"),c+=V(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==u&&(c+="?"+u),null!==s&&(c+="#"+s),c},_e=function(){var e=O(this),t=e.scheme,r=e.port;if("blob"==t)try{return new Te(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+V(e.host)+(null!==r?":"+r:""):"null"},je=function(){return O(this).scheme+":"},Pe=function(){return O(this).username},Re=function(){return O(this).password},Me=function(){var e=O(this),t=e.host,r=e.port;return null===t?"":null===r?V(t):V(t)+":"+r},Ie=function(){var e=O(this).host;return null===e?"":V(e)},Ce=function(){var e=O(this).port;return null===e?"":String(e)},Ue=function(){var e=O(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Ne=function(){var e=O(this).query;return e?"?"+e:""},Fe=function(){return O(this).searchParams},De=function(){var e=O(this).fragment;return e?"#"+e:""},Le=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&s(Ee,{href:Le(Ae,(function(e){var t=O(this),r=String(e),n=Se(t,r);if(n)throw TypeError(n);w(t.searchParams).updateSearchParams(t.query)})),origin:Le(_e),protocol:Le(je,(function(e){var t=O(this);Se(t,String(e)+":",ne)})),username:Le(Pe,(function(e){var t=O(this),r=d(String(e));if(!Q(t)){t.username="";for(var n=0;n<r.length;n++)t.username+=z(r[n],$)}})),password:Le(Re,(function(e){var t=O(this),r=d(String(e));if(!Q(t)){t.password="";for(var n=0;n<r.length;n++)t.password+=z(r[n],$)}})),host:Le(Me,(function(e){var t=O(this);t.cannotBeABaseURL||Se(t,String(e),de)})),hostname:Le(Ie,(function(e){var t=O(this);t.cannotBeABaseURL||Se(t,String(e),he)})),port:Le(Ce,(function(e){var t=O(this);Q(t)||(""==(e=String(e))?t.port=null:Se(t,e,ve))})),pathname:Le(Ue,(function(e){var t=O(this);t.cannotBeABaseURL||(t.path=[],Se(t,e+"",be))})),search:Le(Ne,(function(e){var t=O(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Se(t,e,xe)),w(t.searchParams).updateSearchParams(t.query)})),searchParams:Le(Fe),hash:Le(De,(function(e){var t=O(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Se(t,e,Oe)):t.fragment=null}))}),c(Ee,"toJSON",(function(){return Ae.call(this)}),{enumerable:!0}),c(Ee,"toString",(function(){return Ae.call(this)}),{enumerable:!0}),b){var Be=b.createObjectURL,He=b.revokeObjectURL;Be&&c(Te,"createObjectURL",(function(e){return Be.apply(b,arguments)})),He&&c(Te,"revokeObjectURL",(function(e){return He.apply(b,arguments)}))}g(Te,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Te})},98947:function(){},27698:function(e,t,r){var n=r(54493);e.exports=n},83363:function(e,t,r){var n=r(24034);e.exports=n},49216:function(e,t,r){var n=r(99324);e.exports=n},8065:function(e,t,r){var n=r(56043);e.exports=n},11955:function(e,t,r){var n=r(2480);e.exports=n},61577:function(e,t,r){var n=r(32236);e.exports=n},46279:function(e,t,r){r(7634);var n=r(49216),o=r(9697),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||a.hasOwnProperty(o(e))?n:t}},19373:function(e,t,r){var n=r(34570);e.exports=n},61798:function(e,t,r){var n=r(88287);e.exports=n},82073:function(e,t,r){var n=r(69601);e.exports=n},8933:function(e,t,r){var n=r(84426);e.exports=n},57396:function(e,t,r){var n=r(7702);e.exports=n},41910:function(e,t,r){var n=r(48171);e.exports=n},86209:function(e,t,r){var n=r(73081);e.exports=n},53402:function(e,t,r){var n=r(7699);e.exports=n},79427:function(e,t,r){var n=r(286);e.exports=n},62857:function(e,t,r){var n=r(92766);e.exports=n},9534:function(e,t,r){var n=r(30498);e.exports=n},23059:function(e,t,r){var n=r(48494);e.exports=n},27460:function(e,t,r){var n=r(52956);e.exports=n},92547:function(e,t,r){var n=r(57473);e.exports=n},57641:function(e,t,r){var n=r(71459);e.exports=n},71459:function(e,t,r){r(33601),r(98947),r(95304);var n=r(54058);e.exports=n.URL},31530:function(e,t,r){"use strict";var n=r(28710).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},19670:function(e,t,r){var n=r(70111);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},41318:function(e,t,r){var n=r(45656),o=r(17466),i=r(51400),a=function(e){return function(t,r,a){var u,s=n(t),c=o(s.length),f=i(a,c);if(e&&r!=r){for(;c>f;)if((u=s[f++])!=u)return!0}else for(;c>f;f++)if((e||f in s)&&s[f]===r)return e||f||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},9341:function(e,t,r){"use strict";var n=r(47293);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},84326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},70648:function(e,t,r){var n=r(51694),o=r(84326),i=r(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},99920:function(e,t,r){var n=r(86656),o=r(53887),i=r(31236),a=r(3070);e.exports=function(e,t){for(var r=o(t),u=a.f,s=i.f,c=0;c<r.length;c++){var f=r[c];n(e,f)||u(e,f,s(t,f))}}},68880:function(e,t,r){var n=r(19781),o=r(3070),i=r(79114);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},79114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},19781:function(e,t,r){var n=r(47293);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:function(e,t,r){var n=r(17854),o=r(70111),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},88113:function(e,t,r){var n=r(35005);e.exports=n("navigator","userAgent")||""},7392:function(e,t,r){var n,o,i=r(17854),a=r(88113),u=i.process,s=u&&u.versions,c=s&&s.v8;c?o=(n=c.split("."))[0]<4?1:n[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(e,t,r){var n=r(17854),o=r(31236).f,i=r(68880),a=r(31320),u=r(83505),s=r(99920),c=r(54705);e.exports=function(e,t){var r,f,l,p,d,h=e.target,v=e.global,g=e.stat;if(r=v?n:g?n[h]||u(h,{}):(n[h]||{}).prototype)for(f in t){if(p=t[f],l=e.noTargetGet?(d=o(r,f))&&d.value:r[f],!c(v?f:h+(g?".":"#")+f,e.forced)&&void 0!==l){if(typeof p==typeof l)continue;s(p,l)}(e.sham||l&&l.sham)&&i(p,"sham",!0),a(r,f,p,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,r){"use strict";r(74916);var n=r(31320),o=r(22261),i=r(47293),a=r(5112),u=r(68880),s=a("species"),c=RegExp.prototype;e.exports=function(e,t,r,f){var l=a(e),p=!i((function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})),d=p&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[s]=function(){return r},r.flags="",r[l]=/./[l]),r.exec=function(){return t=!0,null},r[l](""),!t}));if(!p||!d||r){var h=/./[l],v=t(l,""[e],(function(e,t,r,n,i){var a=t.exec;return a===o||a===c.exec?p&&!i?{done:!0,value:h.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}));n(String.prototype,e,v[0]),n(c,l,v[1])}f&&u(c[l],"sham",!0)}},35005:function(e,t,r){var n=r(40857),o=r(17854),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},10647:function(e,t,r){var n=r(47908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,s,c,f){var l=r+e.length,p=s.length,d=u;return void 0!==c&&(c=n(c),d=a),i.call(f,d,(function(n,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":a=c[i.slice(1,-1)];break;default:var u=+i;if(0===u)return n;if(u>p){var f=o(u/10);return 0===f?n:f<=p?void 0===s[f-1]?i.charAt(1):s[f-1]+i.charAt(1):n}a=s[u-1]}return void 0===a?"":a}))}},17854:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},86656:function(e,t,r){var n=r(47908),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(n(e),t)}},3501:function(e){e.exports={}},60490:function(e,t,r){var n=r(35005);e.exports=n("document","documentElement")},64664:function(e,t,r){var n=r(19781),o=r(47293),i=r(80317);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},68361:function(e,t,r){var n=r(47293),o=r(84326),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},42788:function(e,t,r){var n=r(5465),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},29909:function(e,t,r){var n,o,i,a=r(68536),u=r(17854),s=r(70111),c=r(68880),f=r(86656),l=r(5465),p=r(6200),d=r(3501),h="Object already initialized",v=u.WeakMap;if(a||l.state){var g=l.state||(l.state=new v),y=g.get,m=g.has,b=g.set;n=function(e,t){if(m.call(g,e))throw new TypeError(h);return t.facade=e,b.call(g,e,t),t},o=function(e){return y.call(g,e)||{}},i=function(e){return m.call(g,e)}}else{var k=p("state");d[k]=!0,n=function(e,t){if(f(e,k))throw new TypeError(h);return t.facade=e,c(e,k,t),t},o=function(e){return f(e,k)?e[k]:{}},i=function(e){return f(e,k)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!s(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},54705:function(e,t,r){var n=r(47293),o=/#|\.prototype\./,i=function(e,t){var r=u[a(e)];return r==c||r!=s&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},u=i.data={},s=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},70111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},31913:function(e){e.exports=!1},30133:function(e,t,r){var n=r(7392),o=r(47293);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},68536:function(e,t,r){var n=r(17854),o=r(42788),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},70030:function(e,t,r){var n,o=r(19670),i=r(36048),a=r(80748),u=r(3501),s=r(60490),c=r(80317),f=r(6200)("IE_PROTO"),l=function(){},p=function(e){return"<script>"+e+"<\/script>"},d=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;d=n?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=c("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete d.prototype[a[r]];return d()};u[f]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(l.prototype=o(e),r=new l,l.prototype=null,r[f]=e):r=d(),void 0===t?r:i(r,t)}},36048:function(e,t,r){var n=r(19781),o=r(3070),i=r(19670),a=r(81956);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),u=n.length,s=0;u>s;)o.f(e,r=n[s++],t[r]);return e}},3070:function(e,t,r){var n=r(19781),o=r(64664),i=r(19670),a=r(57593),u=Object.defineProperty;t.f=n?u:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},31236:function(e,t,r){var n=r(19781),o=r(55296),i=r(79114),a=r(45656),u=r(57593),s=r(86656),c=r(64664),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=a(e),t=u(t,!0),c)try{return f(e,t)}catch(e){}if(s(e,t))return i(!o.f.call(e,t),e[t])}},8006:function(e,t,r){var n=r(16324),o=r(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},16324:function(e,t,r){var n=r(86656),o=r(45656),i=r(41318).indexOf,a=r(3501);e.exports=function(e,t){var r,u=o(e),s=0,c=[];for(r in u)!n(a,r)&&n(u,r)&&c.push(r);for(;t.length>s;)n(u,r=t[s++])&&(~i(c,r)||c.push(r));return c}},81956:function(e,t,r){var n=r(16324),o=r(80748);e.exports=Object.keys||function(e){return n(e,o)}},55296:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},90288:function(e,t,r){"use strict";var n=r(51694),o=r(70648);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},53887:function(e,t,r){var n=r(35005),o=r(8006),i=r(25181),a=r(19670);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.f;return r?t.concat(r(e)):t}},40857:function(e,t,r){var n=r(17854);e.exports=n},31320:function(e,t,r){var n=r(17854),o=r(68880),i=r(86656),a=r(83505),u=r(42788),s=r(29909),c=s.get,f=s.enforce,l=String(String).split("String");(e.exports=function(e,t,r,u){var s,c=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),(s=f(r)).source||(s.source=l.join("string"==typeof t?t:""))),e!==n?(c?!d&&e[t]&&(p=!0):delete e[t],p?e[t]=r:o(e,t,r)):p?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||u(this)}))},97651:function(e,t,r){var n=r(84326),o=r(22261);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},22261:function(e,t,r){"use strict";var n,o,i=r(67066),a=r(52999),u=r(72309),s=r(70030),c=r(29909).get,f=r(9441),l=r(38173),p=RegExp.prototype.exec,d=u("native-string-replace",String.prototype.replace),h=p,v=(n=/a/,o=/b*/g,p.call(n,"a"),p.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),g=a.UNSUPPORTED_Y||a.BROKEN_CARET,y=void 0!==/()??/.exec("")[1];(v||y||g||f||l)&&(h=function(e){var t,r,n,o,a,u,f,l=this,m=c(l),b=m.raw;if(b)return b.lastIndex=l.lastIndex,t=h.call(b,e),l.lastIndex=b.lastIndex,t;var k=m.groups,w=g&&l.sticky,x=i.call(l),O=l.source,S=0,T=e;if(w&&(-1===(x=x.replace("y","")).indexOf("g")&&(x+="g"),T=String(e).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==e[l.lastIndex-1])&&(O="(?: "+O+")",T=" "+T,S++),r=new RegExp("^(?:"+O+")",x)),y&&(r=new RegExp("^"+O+"$(?!\\s)",x)),v&&(n=l.lastIndex),o=p.call(w?r:l,T),w?o?(o.input=o.input.slice(S),o[0]=o[0].slice(S),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:v&&o&&(l.lastIndex=l.global?o.index+o[0].length:n),y&&o&&o.length>1&&d.call(o[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&k)for(o.groups=u=s(null),a=0;a<k.length;a++)u[(f=k[a])[0]]=o[f[1]];return o}),e.exports=h},67066:function(e,t,r){"use strict";var n=r(19670);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},52999:function(e,t,r){var n=r(47293),o=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},9441:function(e,t,r){var n=r(47293);e.exports=n((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},38173:function(e,t,r){var n=r(47293);e.exports=n((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},84488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},83505:function(e,t,r){var n=r(17854),o=r(68880);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},6200:function(e,t,r){var n=r(72309),o=r(69711),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,r){var n=r(17854),o=r(83505),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},72309:function(e,t,r){var n=r(31913),o=r(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},28710:function(e,t,r){var n=r(99958),o=r(84488),i=function(e){return function(t,r){var i,a,u=String(o(t)),s=n(r),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},51400:function(e,t,r){var n=r(99958),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},45656:function(e,t,r){var n=r(68361),o=r(84488);e.exports=function(e){return n(o(e))}},99958:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},17466:function(e,t,r){var n=r(99958),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},47908:function(e,t,r){var n=r(84488);e.exports=function(e){return Object(n(e))}},57593:function(e,t,r){var n=r(70111);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},51694:function(e,t,r){var n={};n[r(5112)("toStringTag")]="z",e.exports="[object z]"===String(n)},69711:function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},43307:function(e,t,r){var n=r(30133);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(e,t,r){var n=r(17854),o=r(72309),i=r(86656),a=r(69711),u=r(30133),s=r(43307),c=o("wks"),f=n.Symbol,l=s?f:f&&f.withoutSetter||a;e.exports=function(e){return i(c,e)&&(u||"string"==typeof c[e])||(u&&i(f,e)?c[e]=f[e]:c[e]=l("Symbol."+e)),c[e]}},69600:function(e,t,r){"use strict";var n=r(82109),o=r(68361),i=r(45656),a=r(9341),u=[].join,s=o!=Object,c=a("join",",");n({target:"Array",proto:!0,forced:s||!c},{join:function(e){return u.call(i(this),void 0===e?",":e)}})},68309:function(e,t,r){var n=r(19781),o=r(3070).f,i=Function.prototype,a=i.toString,u=/^\s*function ([^ (]*)/,s="name";n&&!(s in i)&&o(i,s,{configurable:!0,get:function(){try{return a.call(this).match(u)[1]}catch(e){return""}}})},41539:function(e,t,r){var n=r(51694),o=r(31320),i=r(90288);n||o(Object.prototype,"toString",i,{unsafe:!0})},74916:function(e,t,r){"use strict";var n=r(82109),o=r(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},15306:function(e,t,r){"use strict";var n=r(27007),o=r(47293),i=r(19670),a=r(17466),u=r(99958),s=r(84488),c=r(31530),f=r(10647),l=r(97651),p=r(5112)("replace"),d=Math.max,h=Math.min,v="$0"==="a".replace(/./,"$0"),g=!!/./[p]&&""===/./[p]("a","$0");n("replace",(function(e,t,r){var n=g?"$":"$0";return[function(e,r){var n=s(this),o=null==e?void 0:e[p];return void 0!==o?o.call(e,n,r):t.call(String(n),e,r)},function(e,o){if("string"==typeof o&&-1===o.indexOf(n)&&-1===o.indexOf("$<")){var s=r(t,this,e,o);if(s.done)return s.value}var p=i(this),v=String(e),g="function"==typeof o;g||(o=String(o));var y=p.global;if(y){var m=p.unicode;p.lastIndex=0}for(var b=[];;){var k=l(p,v);if(null===k)break;if(b.push(k),!y)break;""===String(k[0])&&(p.lastIndex=c(v,a(p.lastIndex),m))}for(var w,x="",O=0,S=0;S<b.length;S++){k=b[S];for(var T=String(k[0]),E=d(h(u(k.index),v.length),0),A=[],_=1;_<k.length;_++)A.push(void 0===(w=k[_])?w:String(w));var j=k.groups;if(g){var P=[T].concat(A,E,v);void 0!==j&&P.push(j);var R=String(o.apply(void 0,P))}else R=f(T,v,E,A,j,o);E>=O&&(x+=v.slice(O,E)+R,O=E+T.length)}return x+v.slice(O)}]}),!!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!v||g)},54098:function(e,t){var r="undefined"!=typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var u=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],s=ArrayBuffer.isView||function(e){return e&&u.indexOf(Object.prototype.toString.call(e))>-1};function c(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function f(e){return"string"!=typeof e&&(e=String(e)),e}function l(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function d(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function v(e){var t=new FileReader,r=h(t);return t.readAsArrayBuffer(e),r}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function y(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||s(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=d(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?d(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(v)}),this.text=function(){var e,t,r,n=d(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,r=h(t=new FileReader),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(k)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=c(e),t=f(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},p.prototype.delete=function(e){delete this.map[c(e)]},p.prototype.get=function(e){return e=c(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(c(e))},p.prototype.set=function(e,t){this.map[c(e)]=f(t)},p.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),l(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),l(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),l(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var m=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var r,n,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(n=(r=t.method||this.method||"GET").toUpperCase(),m.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function k(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},y.call(b.prototype),y.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];w.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function O(e,r){return new Promise((function(n,i){var a=new b(e,r);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;function s(){u.abort()}u.onload=function(){var e,t,r={status:u.status,statusText:u.statusText,headers:(e=u.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in u?u.responseURL:r.headers.get("X-Request-URL");var o="response"in u?u.response:u.responseText;n(new w(o,r))},u.onerror=function(){i(new TypeError("Network request failed"))},u.ontimeout=function(){i(new TypeError("Network request failed"))},u.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},u.open(a.method,a.url,!0),"include"===a.credentials?u.withCredentials=!0:"omit"===a.credentials&&(u.withCredentials=!1),"responseType"in u&&o&&(u.responseType="blob"),a.headers.forEach((function(e,t){u.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",s),u.onreadystatechange=function(){4===u.readyState&&a.signal.removeEventListener("abort",s)}),u.send(void 0===a._bodyInit?null:a._bodyInit)}))}O.polyfill=!0,e.fetch||(e.fetch=O,e.Headers=p,e.Request=b,e.Response=w),t.Headers=p,t.Request=b,t.Response=w,t.fetch=O,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var o=n;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},36808:function(e,t,r){var n,o,i;i=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var r=arguments[e];for(var n in r)t[n]=r[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function r(n){function o(){}function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(r);/^[\{\[]/.test(a)&&(r=a)}catch(e){}r=n.write?n.write(r,t):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var s in i)i[s]&&(u+="; "+s,!0!==i[s]&&(u+="="+i[s].split(";")[0]));return document.cookie=t+"="+r+u}}function a(e,r){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var u=i[a].split("="),s=u.slice(1).join("=");r||'"'!==s.charAt(0)||(s=s.slice(1,-1));try{var c=t(u[0]);if(s=(n.read||n)(s,c)||t(s),r)try{s=JSON.parse(s)}catch(e){}if(o[c]=s,e===c)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,r){i(t,"",e(r,{expires:-1}))},o.defaults={},o.withConverter=r,o}((function(){}))},void 0===(o="function"==typeof(n=i)?n.call(t,r,t,e):n)||(e.exports=o),e.exports=i()},95653:function(e,t,r){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function o(e){return o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},o(e)}function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t,r){return u=a()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&i(o,r.prototype),o},u.apply(null,arguments)}function s(e){var t="function"==typeof Map?new Map:void 0;return s=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return u(e,arguments,o(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),i(n,e)},s(e)}function c(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.r(t),r.d(t,{JSONPath:function(){return y}});var d=Object.prototype.hasOwnProperty;function h(e,t){return(e=e.slice()).push(t),e}function v(e,t){return(t=t.slice()).unshift(e),t}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}(u,e);var t,r,n=(t=u,r=a(),function(){var e,n=o(t);if(r){var i=o(this).constructor;e=Reflect.construct(n,arguments,i)}else e=n.apply(this,arguments);return c(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=n.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)')).avoidNew=!0,t.value=e,t.name="NewError",t}return u}(s(Error));function y(e,t,r,o,i){if(!(this instanceof y))try{return new y(e,t,r,o,i)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(i=o,o=r,r=t,t=e,e=null);var a=e&&"object"===n(e);if(e=e||{},this.json=e.json||r,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!d.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||o||null,this.otherTypeCallback=e.otherTypeCallback||i||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var u={path:a?e.path:t};a?"json"in e&&(u.json=e.json):u.json=r;var s=this.evaluate(u);if(!s||"object"!==n(s))throw new g(s);return s}}y.prototype.evaluate=function(e,t,r,o){var i=this,a=this.parent,u=this.parentProperty,s=this.flatten,c=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,r=r||this.callback,this.currOtherTypeCallback=o||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===n(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!d.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,s=d.call(e,"flatten")?e.flatten:s,this.currResultType=d.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=d.call(e,"sandbox")?e.sandbox:this.currSandbox,c=d.call(e,"wrap")?e.wrap:c,this.currPreventEval=d.call(e,"preventEval")?e.preventEval:this.currPreventEval,r=d.call(e,"callback")?e.callback:r,this.currOtherTypeCallback=d.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=d.call(e,"parent")?e.parent:a,u=d.call(e,"parentProperty")?e.parentProperty:u,e=e.path}if(a=a||null,u=u||null,Array.isArray(e)&&(e=y.toPathString(e)),(e||""===e)&&t){var f=y.toPathArray(e);"$"===f[0]&&f.length>1&&f.shift(),this._hasParentSelector=null;var l=this._trace(f,t,["$"],a,u,r).filter((function(e){return e&&!e.isParentSelector}));return l.length?c||1!==l.length||l[0].hasArrExpr?l.reduce((function(e,t){var r=i._getPreferredOutput(t);return s&&Array.isArray(r)?e=e.concat(r):e.push(r),e}),[]):this._getPreferredOutput(l[0]):c?[]:void 0}},y.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var r=Array.isArray(e.path)?e.path:y.toPathArray(e.path);return e.pointer=y.toPointer(r),e.path="string"==typeof e.path?e.path:y.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return y.toPathString(e[t]);case"pointer":return y.toPointer(e.path);default:throw new TypeError("Unknown result type")}},y.prototype._handleCallback=function(e,t,r){if(t){var n=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:y.toPathString(e.path),t(n,r,e)}},y.prototype._trace=function(e,t,r,o,i,a,u,s){var c,f=this;if(!e.length)return c={path:r,value:t,parent:o,parentProperty:i,hasArrExpr:u},this._handleCallback(c,a,"value"),c;var p=e[0],g=e.slice(1),y=[];function m(e){Array.isArray(e)?e.forEach((function(e){y.push(e)})):y.push(e)}if(("string"!=typeof p||s)&&t&&d.call(t,p))m(this._trace(g,t[p],h(r,p),t,p,a,u));else if("*"===p)this._walk(p,g,t,r,o,i,a,(function(e,t,r,n,o,i,a,u){m(f._trace(v(e,r),n,o,i,a,u,!0,!0))}));else if(".."===p)m(this._trace(g,t,r,o,i,a,u)),this._walk(p,g,t,r,o,i,a,(function(e,t,r,o,i,a,u,s){"object"===n(o[e])&&m(f._trace(v(t,r),o[e],h(i,e),o,e,s,!0))}));else{if("^"===p)return this._hasParentSelector=!0,{path:r.slice(0,-1),expr:g,isParentSelector:!0};if("~"===p)return c={path:h(r,p),value:i,parent:o,parentProperty:null},this._handleCallback(c,a,"property"),c;if("$"===p)m(this._trace(g,t,r,null,null,a,u));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(p))m(this._slice(p,g,t,r,o,i,a));else if(0===p.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(p,g,t,r,o,i,a,(function(e,t,r,n,o,i,a,u){f._eval(t.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),n[e],e,o,i,a)&&m(f._trace(v(e,r),n,o,i,a,u,!0))}))}else if("("===p[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");m(this._trace(v(this._eval(p,t,r[r.length-1],r.slice(0,-1),o,i),g),t,r,o,i,a,u))}else if("@"===p[0]){var b=!1,k=p.slice(1,-2);switch(k){case"scalar":t&&["object","function"].includes(n(t))||(b=!0);break;case"boolean":case"string":case"undefined":case"function":n(t)===k&&(b=!0);break;case"integer":!Number.isFinite(t)||t%1||(b=!0);break;case"number":Number.isFinite(t)&&(b=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(b=!0);break;case"object":t&&n(t)===k&&(b=!0);break;case"array":Array.isArray(t)&&(b=!0);break;case"other":b=this.currOtherTypeCallback(t,r,o,i);break;case"null":null===t&&(b=!0);break;default:throw new TypeError("Unknown value type "+k)}if(b)return c={path:r,value:t,parent:o,parentProperty:i},this._handleCallback(c,a,"value"),c}else if("`"===p[0]&&t&&d.call(t,p.slice(1))){var w=p.slice(1);m(this._trace(g,t[w],h(r,w),t,w,a,u,!0))}else if(p.includes(",")){var x,O=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(u)throw i}}}}(p.split(","));try{for(O.s();!(x=O.n()).done;){var S=x.value;m(this._trace(v(S,g),t,r,o,i,a,!0))}}catch(e){O.e(e)}finally{O.f()}}else!s&&t&&d.call(t,p)&&m(this._trace(g,t[p],h(r,p),t,p,a,u,!0))}if(this._hasParentSelector)for(var T=0;T<y.length;T++){var E=y[T];if(E&&E.isParentSelector){var A=this._trace(E.expr,t,E.path,o,i,a,u);if(Array.isArray(A)){y[T]=A[0];for(var _=A.length,j=1;j<_;j++)T++,y.splice(T,0,A[j])}else y[T]=A}}return y},y.prototype._walk=function(e,t,r,o,i,a,u,s){if(Array.isArray(r))for(var c=r.length,f=0;f<c;f++)s(f,e,t,r,o,i,a,u);else r&&"object"===n(r)&&Object.keys(r).forEach((function(n){s(n,e,t,r,o,i,a,u)}))},y.prototype._slice=function(e,t,r,n,o,i,a){if(Array.isArray(r)){var u=r.length,s=e.split(":"),c=s[2]&&Number.parseInt(s[2])||1,f=s[0]&&Number.parseInt(s[0])||0,l=s[1]&&Number.parseInt(s[1])||u;f=f<0?Math.max(0,f+u):Math.min(u,f),l=l<0?Math.max(0,l+u):Math.min(u,l);for(var p=[],d=f;d<l;d+=c)this._trace(v(d,t),r,n,o,i,a,!0).forEach((function(e){p.push(e)}));return p}},y.prototype._eval=function(e,t,r,n,o,i){e.includes("@parentProperty")&&(this.currSandbox._$_parentProperty=i,e=e.replace(/@parentProperty/g,"_$_parentProperty")),e.includes("@parent")&&(this.currSandbox._$_parent=o,e=e.replace(/@parent/g,"_$_parent")),e.includes("@property")&&(this.currSandbox._$_property=r,e=e.replace(/@property/g,"_$_property")),e.includes("@path")&&(this.currSandbox._$_path=y.toPathString(n.concat([r])),e=e.replace(/@path/g,"_$_path")),e.includes("@root")&&(this.currSandbox._$_root=this.json,e=e.replace(/@root/g,"_$_root")),/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/.test(e)&&(this.currSandbox._$_v=t,e=e.replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1"));try{return this.vm.runInNewContext(e,this.currSandbox)}catch(t){throw console.log(t),new Error("jsonPath: "+t.message+": "+e)}},y.cache={},y.toPathString=function(e){for(var t=e,r=t.length,n="$",o=1;o<r;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(n+=/^[\*0-9]+$/.test(t[o])?"["+t[o]+"]":"['"+t[o]+"']");return n},y.toPointer=function(e){for(var t=e,r=t.length,n="",o=1;o<r;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(n+="/"+t[o].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return n},y.toPathArray=function(e){var t=y.cache;if(t[e])return t[e].concat();var r=[],n=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]]/g,(function(e,t){return"[#"+(r.push(t)-1)+"]"})).replace(/\[["']((?:(?!['\]])[\s\S])*)["']\]/g,(function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"})).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:(?!\[)[\s\S])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,(function(e,t){return";"+t.split("").join(";")+";"})).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,"").split(";").map((function(e){var t=e.match(/#([0-9]+)/);return t&&t[1]?r[t[1]]:e}));return t[e]=n,t[e].concat()},y.prototype.vm={runInNewContext:function(e,t){var r=Object.keys(t),n=[];!function(e,r,n){for(var o=e.length,i=0;i<o;i++)a=e[i],"function"==typeof t[a]&&r.push(e.splice(i--,1)[0]);var a}(r,n);var o=r.map((function(e,r){return t[e]})),i=n.reduce((function(e,r){var n=t[r].toString();return/function/.test(n)||(n="function "+n),"var "+r+"="+n+";"+e}),"");/(["'])use strict\1/.test(e=i+e)||r.includes("arguments")||(e="var arguments = undefined;"+e);var a=(e=e.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"")).lastIndexOf(";"),s=a>-1?e.slice(0,a+1)+" return "+e.slice(a+1):" return "+e;return u(Function,f(r).concat([s])).apply(void 0,f(o))}}},35666:function(e){var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new _(n||[]);return i._invoke=function(e,t,r){var n=l;return function(o,i){if(n===d)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return P()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var u=T(a,r);if(u){if(u===v)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===l)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=d;var s=f(e,t,r);if("normal"===s.type){if(n=r.done?h:p,s.arg===v)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n=h,r.method="throw",r.arg=s.arg)}}}(e,r,a),i}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var l="suspendedStart",p="suspendedYield",d="executing",h="completed",v={};function g(){}function y(){}function m(){}var b={};b[i]=function(){return this};var k=Object.getPrototypeOf,w=k&&k(k(j([])));w&&w!==r&&n.call(w,i)&&(b=w);var x=m.prototype=g.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function r(o,i,a,u){var s=f(e[o],e,i);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(l).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,u)}))}u(s.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function T(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,T(e,r),"throw"===r.method))return v;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function j(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return y.prototype=x.constructor=m,m.constructor=y,y.displayName=s(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,s(e,u,"GeneratorFunction")),e.prototype=Object.create(x),e},e.awrap=function(e){return{__await:e}},O(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(x),s(x,u,"Generator"),x[i]=function(){return this},x.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=j,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return u.type="throw",u.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],u=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(s&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:j(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},74279:function(e){function t(){}t.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function o(){n.off(e,o),t.apply(r,arguments)}return o._=t,this.on(e,o,r)},emit:function(e){for(var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,o=r.length;n<o;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],o=[];if(n&&t)for(var i=0,a=n.length;i<a;i++)n[i].fn!==t&&n[i].fn._!==t&&o.push(n[i]);return o.length?r[e]=o:delete r[e],this}},e.exports=t},89148:function(){}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(625);OktaAuth=n}();
//# sourceMappingURL=okta-auth-js.min.js.map;
/*!
 * Copyright (c) 2015-2016, Okta, Inc. and/or its affiliates. All rights reserved.
 * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
 * 
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * 
 * See the License for the specific language governing permissions and limitations under the License.
 * 
 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.OktaSignIn=t():e.OktaSignIn=t()}("undefined"!=typeof self?self:this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=621)}([function(e,t,n){e.exports=n(454)},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){"use strict";var r=n(1),o=r(n(456)),i=r(n(944)),a=r(n(117)),s=r(n(52)),l=r(n(459)),u=r(n(314)),c=r(n(954)),f=r(n(956)),d=r(n(960)),p=r(n(964)),h=r(n(26)),m=r(n(990)),v=r(n(484)),g=r(n(32)),y=r(n(17)),b=r(n(1007)),_=r(n(153)),w=r(n(39)),x=r(n(77)),E=r(n(321)),T=r(n(154)),S=r(n(140)),k=r(n(1034)),O=r(n(40)),A=r(n(155)),C=r(n(78)),R=r(n(493)),I=r(n(13)),N=r(n(322)),M=r(n(324)),P=r(n(1059)),L=r(n(97)),D=r(n(496)),j=r(n(18)),F=r(n(325)),U=r(n(27)),B=r(n(1078)),V=r(n(1080)),q=r(n(0));/*! THIS FILE IS GENERATED FROM PACKAGE @okta/courage@4.5.0-5100-g8598522 */
e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||(0,q.default)(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=35)}([function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(37));i.default.mixin({resultCtx:function(e,t,n,r){var o=i.default.isObject(e)?e[t]:void 0;return i.default.isFunction(o)&&(o=o.call(n||e)),o||(i.default.isUndefined(r)?o:r)},isInteger:function(e){return i.default.isNumber(e)&&e%1==0},template:function(e,t){var n=o.default.compile(e);return t?n(t):function(e){return n(e)}}});var a=i.default;t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(6)),a=r(n(0)),s=r(n(14)),l=r(n(43)),u=a.default.clone(i.default.Events),c={constructor:function(){s.default.apply(this,arguments),this.module&&this.$el.attr("data-view",this.module.id)},empty:function(){return this.removeChildren()},compileTemplate:l.default.tpl,broadcast:function(){return u.trigger.apply(u,arguments),this},listen:function(e,t){return u.off(e,t),this.listenTo(u,e,t),this},notify:function(e,t,n){return this.broadcast("notification",a.default.defaults({message:t,level:e},n)),this},confirm:function(e,t,n,r){var i;if(i="object"===o(e)?e:2===arguments.length&&a.default.isFunction(t)?{title:"Okta",subtitle:e,ok:t}:{title:e,subtitle:t,ok:n,cancelFn:r},a.default.isFunction(i.ok)){var s;i.ok=(0,U.default)(s=a.default).call(s,i.ok,this)}if(a.default.isFunction(i.cancelFn)){var l;i.cancelFn=(0,U.default)(l=a.default).call(l,i.cancelFn,this)}return this.broadcast("confirmation",i),this},alert:function(e){return a.default.isString(e)&&(e={subtitle:e}),this.confirm(a.default.extend({},e,{noCancelButton:!0})),this}},f=s.default.extend(c,{decorate:function(e){var t=e.extend({});return a.default.defaults(t.prototype,c),t}});t.default=f,e.exports=t.default},function(e,t){e.exports=n(4)},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(12));r.default.ajaxSetup({beforeSend:function(e){e.setRequestHeader("X-Okta-XsrfToken",(0,r.default)("#_xsrfToken").text())},converters:{"text secureJSON":function(e){return"while(1){};"===e.substring(0,11)&&(e=e.substring(11)),JSON.parse(e)}}}),window.jQueryCourage=r.default;var o=r.default;t.default=o,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t;if(!e){var n;return u.default[(0,F.default)(n=l.default).call(n,u.default)[0]]}var r=d(window&&window.okta&&window.okta.locale)||"en";return u.default[(0,j.default)(t="".concat(e,"_")).call(t,r)]||u.default[e]}function i(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}function a(e,t,n){if(window.CustomEvent||(window.CustomEvent=i),"function"==typeof window.CustomEvent){var r=new CustomEvent("okta-i18n-error",{detail:{type:"l10n-error",key:e,bundleName:t,reason:n}});document.dispatchEvent(r)}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(3)),l=r(n(0)),u=r(n(41)),c={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#039;":"'","&#x2F;":"/"},f=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@(?!-)((\[?[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\]?)|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,d=function(e){if(/-/.test(e)){var t=e.split("-");return t[1]=t[1].toUpperCase(),t.join("_")}return e},p={sprintf:function(){function e(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+(0,L.default)(t))}for(var t=(0,D.default)(Array.prototype).apply(arguments),n=t.shift(),r=n,o=0,i=t.length;o<i;o++){var a=t[o];n=n.replace("{"+o+"}",a),void 0!==a&&null!==a&&n!==r||e(),r=n}return/\{[\d+]\}/.test(n)&&e(),n},parseQuery:function(e){for(var t={},n=decodeURIComponent(e.replace(/\+/g," ")).split("&"),r=0;r<n.length;r++){var o=n[r],i=o.split("=");t[i.shift()]=i.join("=")}return t},encodeJSObject:function(e){return encodeURIComponent((0,L.default)(e))},decodeJSObject:function(e){try{return JSON.parse(decodeURIComponent(e))}catch(e){return null}},unescapeHtml:function(e){return String(e).replace(/&[\w#\d]{2,};/g,function(e){return c[e]||e})},getTemplate:function(e,t){var n=o(t);return n?n[e]?n[e]:(a(e,t,"key"),"L10N_ERROR["+e+"]"):(a(e,t,"bundle"),"L10N_ERROR["+t+"]")},localize:function(e,t,n){var r=o(t);if(!r)return a(e,t,"bundle"),"L10N_ERROR["+t+"]";var i=r[e];try{return n=n&&(0,D.default)(n)?(0,D.default)(n).call(n,0):[],n.unshift(i),(i=p.sprintf.apply(null,n))||(a(e,t,"key"),"L10N_ERROR["+e+"]")}catch(n){return a(e,t,"parameters"),"L10N_ERROR["+e+"]"}},parseFloat:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){var t=+e;return"string"==typeof e&&t===(0,P.default)(e)?t:e}),parseInt:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){var t=+e;return l.default.isString(e)&&t===(0,M.default)(e,10)?t:e}),parseObject:function(e){if(!l.default.isString(e))return e;try{var t=JSON.parse(e);return s.default.isPlainObject(t)?t:e}catch(t){return e}},randomString:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===e)e=l.default.random(t.length);else if(0===e)return"";for(var n=[];e--;)n.push(t[l.default.random(t.length-1)]);return n.join("")},endsWith:function(e,t){return e+="",t+="",e.length>=t.length&&e.substring(e.length-t.length)===t},isEmail:function(e){var t,n=(0,N.default)(t=s.default).call(t,e);return!l.default.isEmpty(n)&&f.test(n)}},h=p;t.default=h,e.exports=t.default},function(e,t){e.exports=n(4)},function(e,t){e.exports=n(1095)},function(e,t,n){function r(e,t){window.console&&window.okta&&window.okta.debug&&window.console[e].apply(window.console,t)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o={trace:function(){return r("trace",arguments)},dir:function(){return r("dir",arguments)},time:function(){return r("time",arguments)},timeEnd:function(){return r("timeEnd",arguments)},group:function(){return r("group",arguments)},groupEnd:function(){return r("groupEnd",arguments)},assert:function(){return r("assert",arguments)},log:function(){return r("log",arguments)},info:function(){return r("info",arguments)},warn:function(){return r("warn",arguments)},error:function(){return r("error",arguments)}};t.default=o,e.exports=t.default},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ENTER:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,SPACE:32,BACKSPACE:8,__isKey:function(e,t){return(e.which||e.keyCode)===this[t]},isEnter:function(e){return this.__isKey(e,"ENTER")},isEsc:function(e){return this.__isKey(e,"ESC")},isSpaceBar:function(e){return this.__isKey(e,"SPACE")}};t.default=r,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(3)),a=r(n(0)),s=r(n(18)),l=r(n(4)),u=r(n(1)),c=r(n(31)),f=u.default.extend({tagName:"span",attributes:function(){return{"data-se":"o-form-input-"+this.getNameString()}},defaultPlaceholder:"",constructor:function(e){e=a.default.defaults(e||{},{inputId:e.id||a.default.uniqueId("input"),placeholder:this.defaultPlaceholder,inlineValidation:!0,validateOnlyIfDirty:!1}),delete e.id;var t=this;if(a.default.each({enable:"removeClass",disable:"addClass"},function(e,n){t[n]=a.default.wrap(t[n],function(n){n.apply(t,arguments),t.$el[e]("o-form-disabled")})}),u.default.call(this,e),!0!==a.default.result(e,"readOnly")&&!0===a.default.result(e,"read")&&this.listenTo(this.model,"change:__edit__",this.render),a.default.isFunction(this.focus)){var n;this.focus=a.default.debounce((0,U.default)(n=a.default).call(n,this.focus,this),50)}a.default.result(e,"validateOnlyIfDirty")||this.addInlineValidation(),this.addModelListeners(),this.$el.addClass("o-form-input-name-"+this.getNameString())},addAriaLabel:function(){var e=this.options.ariaLabel;e&&this.$(":input").attr("aria-label",e)},addInlineValidation:function(){if(a.default.result(this.options,"inlineValidation")){var e;this.$el.on("focusout",":input",(0,U.default)(e=a.default).call(e,this.validate,this))}},toModelValue:function(){var e=this.val();return a.default.isFunction(this.to)&&(e=this.to.call(this,e)),a.default.isFunction(this.options.to)&&(e=this.options.to.call(this,e)),e},__getDependencyCalloutBtn:function(e){var t=this,n=a.default.clone(e),r=n.click||function(){};return n.click=function(){(0,i.default)(window).one("focus.dependency",function(){t.__showInputDependencies()}),r.call(t)},new(u.default.extend({children:[s.default.create(n)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(e){return u.default.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression((i=null!=(i=a(n,"msg")||(null!=t?a(t,"msg"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"msg",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:36}}}):i))+"</span>"},useData:!0}),getTemplateData:function(){return{msg:e}}})},showCallout:function(e,t){var n=a.default.clone(e);n.className="dependency-callout",n.btn&&(n.content=this.__getDependencyCalloutBtn(n.btn),delete n.btn);var r=c.default.create(n);t||r.add(this.__getCalloutMsgContainer(l.default.localize("dependency.callout.msg","courage"))),this.getCalloutParent().append(r.render().el),"success"===n.type&&a.default.delay(function(){r.$el.fadeOut(800)},1e3)},removeCallout:function(){var e;(0,I.default)(e=this.$el).call(e,".dependency-callout").remove()},__evaluateCalloutObject:function(e,t){return e?{title:l.default.localize("dependency.action.completed","courage"),size:"large",type:"success"}:{title:l.default.localize("dependency.action.required","courage",[t]),size:"large",type:"warning"}},__handleDependency:function(e,t){var n=this,r=a.default.isFunction(t)?t(e):a.default.extend({},t,n.__evaluateCalloutObject(e.resolved,t.title));n.removeCallout(),n.showCallout(r,e.resolved)},__showInputDependencies:function(){var e=this,t=e.options.deps[e.getModelValue()];t&&a.default.isFunction(t.func)?t.func().done(function(n){e.__handleDependency({resolved:!0,data:n},t.callout)}).fail(function(n){e.__handleDependency({resolved:!1,data:n},t.callout)}):e.removeCallout()},_isEdited:!1,update:function(){!this._isEdited&&a.default.result(this.options,"validateOnlyIfDirty")&&(this._isEdited=!0,this.addInlineValidation()),this.model.set(this.options.name,this.toModelValue()),this.options.deps&&this.__showInputDependencies()},isEditMode:function(){return!a.default.result(this.options,"readOnly")&&(!0!==a.default.result(this.options,"read")||!0===this.model.get("__edit__"))},render:function(){this.preRender();var e=this.options.params;return this.options.params=a.default.resultCtx(this.options,"params",this),this.isEditMode()?(this.editMode(),a.default.resultCtx(this.options,"disabled",this)?this.disable():this.enable()):this.readMode(),this.options.params=e,this.addAriaLabel(),this.postRender(),this},validate:function(){if(!this.model.get("__pending__")&&this.isEditMode()&&a.default.isFunction(this.model.validateField)){var e=this.model.validateField(this.options.name);if(e){var t;a.default.delay((0,U.default)(t=function(){this.model.trigger("form:clear-error:"+this.options.name),this.model.trigger("invalid",this.model,e,!1)}).call(t,this),100)}}},addModelListeners:function(){this.listenTo(this.model,"form:field-error",function(e){this.options.name===e&&this.__markError()}),this.listenTo(this.model,"form:clear-errors change:"+this.options.name,this.__clearError),this.listenTo(this.model,"form:clear-error:"+this.options.name,this.__clearError)},val:function(){throw new Error("val() is an abstract method")},focus:function(){throw new Error("focus() is an abstract method")},defaultValue:function(){return""},editMode:function(){var e=a.default.extend({},this.options,{value:this.getModelValue()});return this.$el.html(this.template(e)),this.options.multi&&this.$el.removeClass("margin-r"),this},readMode:function(){return this.$el.text(this.getReadModeString()),this.$el.removeClass("error-field"),this.options.multi&&this.$el.addClass("margin-r"),this},getReadModeString:function(){var e=a.default.resultCtx(this.options,"readModeString",this);return e||this.toStringValue()},getModelValue:function(){var e=this.model.get(this.options.name);return a.default.isFunction(this.from)&&(e=this.from.call(this,e)),a.default.isFunction(this.options.from)&&(e=this.options.from.call(this,e)),e},toStringValue:function(){var e=this.getModelValue();return this.options.options&&(e=this.options.options[e]),((0,R.default)(e)||"boolean"==typeof e)&&(e=String(e)),e||this.defaultValue()},resize:function(){this.model.trigger("form:resize")},disable:function(){this.$(":input").prop("disabled",!0)},enable:function(){this.$(":input").prop("disabled",!1)},changeType:function(e){this.$(":input").prop("type",e),this.options.type=e},getNameString:function(){return a.default.isArray(this.options.name)?this.options.name.join("-"):this.options.name},getParams:function(e){var t=e||this.options||{};return a.default.clone(a.default.resultCtx(t,"params",this)||{})},getParam:function(e,t){var n=a.default.resultCtx(this.getParams(),e,this);return a.default.isUndefined(n)?t:n},getParamOrAttribute:function(e){return this.getParam(e)||a.default.result(this,e)},__markError:function(){this.$el.addClass("o-form-has-errors")},__clearError:function(){this.$el.removeClass("o-form-has-errors")}});t.default=f,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&!e.__edit__)return l.default.extend({__edit__:l.default.constant(!0)},e)}function i(e){e=l.default.pick(e||{},"action","id","className","text","type");var t,n,r;return p.default.extend({tagName:"input",className:"button",events:{click:function(){e.action&&!this.disabled()&&e.action.call(this)},keyup:function(t){u.default.isEnter(t)&&e.action&&!this.disabled()&&e.action.call(this)}},disabled:function(){return!0===this.$el.prop("disabled")},disable:function(){this.$el.prop("disabled",!0),this.$el.addClass("btn-disabled")},enable:function(){this.$el.prop("disabled",!1),this.$el.removeClass("btn-disabled")},initialize:function(){var r=this;this.$el.attr("type","save"===e.type?"submit":"button"),this.$el.val(e.text),e.id&&this.$el.attr("id",e.id),e.className&&this.$el.addClass(e.className),e.type&&this.$el.attr("data-type",e.type),this.$el.mousedown(function(){r.model.set("__pending__",!0)}),this.$el.mouseup(function(){r.model.set("__pending__",!1)}),this.listenTo(this.model,"form:set-saving-state",function(){if(this.disable(),"save"===e.type){var n;t=(0,C.default)((0,U.default)(n=l.default).call(n,this.__changeSaveText,this),1e3)}}),this.listenTo(this.model,"form:clear-saving-state",function(){this.enable(),"save"===e.type&&(clearTimeout(t),clearInterval(n),this.$el.val(e.text))})},__changeSaveText:function(){var e;r=0,n=(0,A.default)((0,U.default)(e=l.default).call(e,this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(_[r++%_.length])}})}function a(e,t){var n;if(e||(e={}),"label"===e.type)return void(e.label||c.default.warn('A label input must have a "label" parameter',e));if("button"===e.type)return e.title||e.icon||c.default.warn('A button input must have a "title" and/or an "icon" parameter',e),void(e.click||e.href||c.default.warn('A button input must have a "click" and/or an "href" parameter',e));if(e.name||e.input||c.default.warn('Missing "name" or "input" parameters',e),l.default.isArray(e.name)&&l.default.isArray(e.input))throw new Error('Not allowed to have both "name" and "input" defined as array.');if("list"!==e.type&&e.name&&t&&t.allows){var r=[];l.default.isArray(e.name)?r=e.name:r.push(e.name),l.default.each(r,function(n){if(!t.allows(n))throw new Error("field not allowed: "+e.name)})}l.default.isArray(e.input)&&"list"!==e.type&&l.default.each(e.input,function(e){a(e,t)});var o=(0,F.default)(n=l.default).call(n,e),i=l.default.intersection(o,b);if(l.default.size(i)!==l.default.size(e)){var s=l.default.clone(b);s.unshift(o),c.default.warn("Invalid input parameters",l.default.without.apply(null,s),e)}}function s(e,t,n){var r;if(e=l.default.clone(e),l.default.contains(["list","group"],e.type)){var o;e.params=l.default.defaults({create:n,inputs:(0,O.default)(o=l.default).call(o,l.default.isArray(e.input)?e.input:[e.input],function(e){return l.default.first(s(e,t,n))})},e.params||{}),delete e.input}var i=l.default.isArray(e.input)?l.default.clone(e.input):[e];return(0,O.default)(r=l.default).call(r,i,function(n){var r=l.default.defaults({model:t.model},n,l.default.omit(e,"input","inputs"),t.options,{id:l.default.uniqueId("input"),readOnly:t.isReadOnly(),read:t.hasReadMode()});return t.isReadOnly()&&(r.read=r.readOnly=!0),r})}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(8)),c=r(n(7)),f=r(n(4)),d=r(n(25)),p=r(n(1)),h=["model","id","inputId","type","label","sublabel","tooltip","name"],m=["wide","multi","input","label-top","explain","explain-top","customExplain","model","name","type","autoRender"],v=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen"],g=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params","autoComplete"],y=["errorField"],b=l.default.uniq(l.default.union(h,m,v,g,y)),_=["•         ","•  •      ","•  •  •   ","•  •  •  •","   •  •  •","      •  •","         •","          ","          ","          "],w={LABEL_OPTIONS:h,CONTAINER_OPTIONS:m,WRAPPER_OPTIONS:v,INPUT_OPTIONS:g,generateInputOptions:s,changeEventString:function(e){return"change:"+e.join(" change:")},createReadFormButton:function(e){var t,n,r;return"cancel"===e.type?(n=r=f.default.localize("oform.cancel","courage"),t=function(){this.model.trigger("form:cancel")}):(n=f.default.localize("oform.edit","courage"),r=n+" "+e.formTitle,t=function(){this.model.set("__edit__",!0)}),p.default.extend({tagName:"a",className:e.className,attributes:{href:"#","aria-label":r},template:function(){return l.default.escape(n)},events:{click:function(e){e.preventDefault(),t.call(this)}}})},createButton:function(e){switch(e=l.default.clone(e),e.type){case"save":l.default.defaults(e,{className:"button-primary"});break;case"cancel":l.default.defaults(e,{className:"button-clear",text:f.default.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":l.default.defaults(e,{text:f.default.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return i(e)},validateInput:a,applyShowWhen:function(e,t){var n=function(t){return function(){e.$el.toggle(t),e.model.trigger("form:resize")}};d.default.applyDoWhen(e,o(t),function(t,r){r.animate?e.$el["slide"+(t?"Down":"Up")](200,n(t)):e.$el.toggle(t)})},applyToggleWhen:function(e,t){d.default.applyDoWhen(e,o(t),function(t,n){e.$el.toggle(t),e.model.trigger("form:resize"),n.animate&&e.render()})}};t.default=w,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(39)),a=i.default.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},constructor:function(){this.local=o.default.defaults({},o.default.result(this,"local"),this._builtInLocalProps),o.default.result(this,"secureJSON")&&(this.sync=o.default.wrap(this.sync,function(e,t,n,r){return e.call(this,t,n,o.default.extend({dataType:"secureJSON"},r))})),i.default.apply(this,arguments)}});t.default=a,e.exports=t.default},function(e,t){e.exports=n(326)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(4)),a=i.default.localize,s={STRING:"string",NUMBER:"number",INTEGER:"integer",BOOLEAN:"boolean",OBJECT:"object",FORMATDISPLAYTYPE:{"date-time":"date",uri:"uri",email:"email","country-code":"country-code","language-code":"language-code",country_code:"country_code",language_code:"language_code",locale:"locale",timezone:"timezone","ref-id":"reference"},ARRAYDISPLAYTYPE:{arrayofobject:"arrayofobject",arrayofstring:"arrayofstring",arrayofnumber:"arrayofnumber",arrayofinteger:"arrayofinteger","arrayofref-id":"arrayofref-id"},DISPLAYTYPES:{date:{type:"string",format:"date-time"},uri:{type:"string",format:"uri"},email:{type:"string",format:"email"},"country-code":{type:"string",format:"country-code"},"language-code":{type:"string",format:"language-code"},country_code:{type:"string"},language_code:{type:"string"},locale:{type:"string",format:"locale"},timezone:{type:"string",format:"timezone"},string:{type:"string"},number:{type:"number"},boolean:{type:"boolean"},integer:{type:"integer"},reference:{type:"string",format:"ref-id"},arrayofobject:{type:"array",items:{type:"object"}},arrayofstring:{type:"array",items:{type:"string"}},arrayofnumber:{type:"array",items:{type:"number"}},arrayofinteger:{type:"array",items:{type:"integer"}},"arrayofref-id":{type:"array",items:{type:"string",format:"ref-id"}},image:{type:"image"},password:{type:"string"}},SUPPORTSMINMAX:["string","number","integer","password"],SUPPORTENUM:["string","number","integer","object","arrayofstring","arrayofnumber","arrayofinteger","arrayofobject"],DATATYPE:{string:"string",number:"number",boolean:"boolean",integer:"integer",date:"datetime",object:"object",arrayofobject:"object array",arrayofstring:"string array",arrayofnumber:"number array",arrayofinteger:"integer array","arrayofref-id":"reference array","country-code":"country code","language-code":"language code",country_code:"country code",language_code:"language code",reference:"reference",timezone:"timezone",image:"image"},MUTABILITY:{READONLY:"READ_ONLY",WRITEONLY:"WRITE_ONLY",READWRITE:"READ_WRITE",IMMUTABLE:"IMMUTABLE"},SCOPE:{NONE:"NONE",SELF:"SELF",SYSTEM:"SYSTEM"},DISPLAYSCOPE:{SELF:"User personal",SYSTEM:"System",NA:"None"},UNION:{DISABLE:"DISABLE",ENABLE:"ENABLE"},UNION_OPTIONS:{DISABLE:a("universal-directory.profiles.attribute.form.union.enable.display","courage"),ENABLE:a("universal-directory.profiles.attribute.form.union.disable.display","courage")},PERMISSION:{HIDE:"HIDE",READ_ONLY:"READ_ONLY",WRITE_ONLY:"WRITE_ONLY",READ_WRITE:"READ_WRITE"},ENDUSER_ATTRIBUTE_PERMISSION_OPTIONS:{HIDE:a("universal-directory.profiles.attribute.enduser.permission.hide","courage"),READ_ONLY:a("universal-directory.profiles.attribute.enduser.permission.readonly","courage"),READ_WRITE:a("universal-directory.profiles.attribute.enduser.permission.readwrite","courage")},ATTRIBUTE_LEVEL_MASTERING_OPTIONS:{INHERIT:a("universal-directory.profiles.attribute.source.inherit","courage"),OKTA_MASTERED:a("universal-directory.profiles.attribute.source.oktamastered","courage"),OVERRIDE:a("universal-directory.profiles.attribute.source.override","courage")},USERNAMETYPE:{NONE:"non-username",OKTA_TO_APP:"okta-to-app-username",OKTA_TO_AD:"okta-to-ad-username",APP_TO_OKTA:"app-to-okta-username",IDP_TO_OKTA:"idp-to-okta-username"},LOGINPATTERNFORMAT:{EMAIL:"EMAIL",CUSTOM:"CUSTOM",NONE:"NONE"},UNIQUENESS:{NOT_UNIQUE:"NOT_UNIQUE",PENDING_UNIQUENESS:"PENDING_UNIQUENESS",UNIQUE_VALIDATED:"UNIQUE_VALIDATED"},getDisplayType:function(e,t,n,r){var o;return e&&(o=t?this.FORMATDISPLAYTYPE[t]:n?this.ARRAYDISPLAYTYPE[e+"of"+n]:e),o||(o=void 0===r?"":r),o},getSourceUsernameType:function(e,t,n){var r=this.USERNAMETYPE.NONE;return"oktaToApp"===e?"userName"===t?r=this.USERNAMETYPE.OKTA_TO_APP:"cn"===t&&(r=this.USERNAMETYPE.OKTA_TO_AD):"appToOkta"===e&&"login"===t&&(r="saml_idp"===n?this.USERNAMETYPE.IDP_TO_OKTA:this.USERNAMETYPE.APP_TO_OKTA),r},isArrayDataType:function(e){var t;return o.default.contains((0,k.default)(t=o.default).call(t,this.ARRAYDISPLAYTYPE),e)},isObjectDataType:function(e){return this.DATATYPE.object===e}},l=s;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){for(var n=0;n<e[c].length;n++)if(t.cid===e[c][n].cid)return n}function i(){}function a(e){e[f]=!0;var t=e.renderTemplate(e.template);t?e.$el.html(t):e.length&&e.$el.empty(),e.each(function(e){e[p]()})}function s(e){var t=/^(?!(?:delegate|undelegate|_))([a-zA-Z0-9]+)(?:Events)$/;l.default.each(l.default.allKeys(e),function(n){var r=n.match(t);if(r){var o=l.default.result(e,n),i=e.options[r[1]]||e[r[1]];i&&l.default.isObject(o)&&l.default.isFunction(i.trigger)&&l.default.each(o,function(t,n){var r,o=l.default.isFunction(t)?[t]:(0,S.default)(r=l.default).call(r,t.split(/\s+/),function(t,n){return l.default.isFunction(e[n])&&t.push(e[n]),t},[]);l.default.each(o,function(t){e.listenTo(i,n,t)})})}})}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(6)),c="__children__",f="__rendered__",d="__parent__",p="__add_to_container__",h=u.default.View.extend({constructor:function(e){this.options=e||{},l.default.extend(this,l.default.pick(this.options,"state","settings")),this[c]=[],this[f]=!1,this[d]=null,this.__children_definitions__=this.children;var t=this.initialize;if(this.initialize=i,u.default.View.apply(this,arguments),l.default.each(l.default.result(this,"__children_definitions__"),function(e){this.add.apply(this,l.default.isArray(e)?e:[e])},this),delete this.__children_definitions__,this.autoRender&&this.model){var n,r=l.default.isArray(this.autoRender)?(0,O.default)(n=l.default).call(n,this.autoRender,function(e){return"change:"+e}).join(" "):"change";this.listenTo(this.model,r,function(){this.render()})}this.initialize=t,this.initialize.apply(this,arguments),s(this)},unregister:function(e){this.stopListening(e);var t=o(this,e);if(l.default.isNumber(t)){var n;(0,T.default)(n=this[c]).call(n,t,1)}},autoRender:!1,template:null,children:[],add:function(e,t,n,r,i){var a={},s=l.default.toArray(arguments);if(l.default.isFunction(e)&&(!e.prototype||!e.prototype.render))throw new Error("Type passed to add() is not a View");if(l.default.isObject(t)?(a=t,t=a.selector,n=a.bubble,r=a.prepend,i=a.options):l.default.isObject(n)&&(a=n,n=a.bubble,r=a.prepend,i=a.options),l.default.isString(e)&&(e=function(e){return h.extend({constructor:function(){try{var t=u.default.$(e);if(1!=t.length)throw"invalid Element";var n=/&(\w+|#x\d+);/g;if(t.prop("outerHTML").replace(n," ").length!==e.replace(n," ").length)throw"invalid Element";this.template=t.html(),this.el=t.empty()[0]}catch(t){this.template=e}h.apply(this,arguments)}})}(e)),e.prototype&&e.prototype instanceof h){var f=l.default.omit(l.default.extend({},this.options,i),"el");return s[0]=new e(f),this.add.apply(this,s)}if(l.default.isNumber(o(this,e)))throw new Error("Duplicate child");return e[d]=this,e[p]=function(t){return function(){if(t&&1!=e[d].$(t).length)throw new Error("Invalid selector: "+t);var n=t?this[d].$(t):this[d].$el;this.render(),this.delegateEvents(),r?n.prepend(this.el):n.append(this.el)}}.call(e,t),n&&this.listenTo(e,"all",function(){this.trigger.apply(this,arguments)}),this.rendered()&&e[p](),this[c].push(e),this},removeChildren:function(){return this.each(function(e){e.remove()}),this},remove:function(){return this.removeChildren(),this[d]&&this[d].unregister(this),u.default.View.prototype.remove.apply(this,arguments)},compileTemplate:function(e){return l.default.template(e)},renderTemplate:function(e){if(l.default.isString(e)&&(e=this.compileTemplate(e)),l.default.isFunction(e))return e(this.getTemplateData())},getTemplateData:function(){var e=this.model&&this.model.toJSON({verbose:!0})||{},t=l.default.omit(this.options,["state","settings","model","collection"]);return l.default.defaults({},e,t)},render:function(){return this.preRender(),a(this),this.postRender(),this},preRender:i,postRender:i,rendered:function(){return this[f]},getChildren:function(){return this.toArray()},at:function(e){return this.getChildren()[e]},invoke:function(e){var t=l.default.toArray(arguments);return this.each(function(n){n.size()&&n.invoke.apply(n,t),l.default.isFunction(n[e])&&n[e].apply(n,(0,D.default)(t).call(t,1))}),this}}),m=["each","map","reduce","reduceRight","find","filter","reject","every","some","contains","toArray","size","first","initial","rest","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain","where","findWhere"];l.default.each(m,function(e){h.prototype[e]=function(){var t=l.default.toArray(arguments);return t.unshift(l.default.toArray(this[c])),l.default[e].apply(l.default,t)}},void 0);var v=h;t.default=v,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(38)),a=i.default.extend({secureJSON:!1,constructor:function(){o.default.result(this,"secureJSON")&&(this.sync=o.default.wrap(this.sync,function(e,t,n,r){return e.call(this,t,n,o.default.extend({dataType:"secureJSON"},r))})),i.default.apply(this,arguments)}});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),a=r(n(11)),s=function(e){var t,n=i.default.omit(e.local,(0,F.default)(t=i.default).call(t,e._builtInLocalProps));return i.default.size(e.props)+i.default.size(n)>0},l=a.default.extend({flat:!1,constructor:function(){a.default.apply(this,arguments),this.on("sync",this._setSynced)},allows:function(){return!s(this)||a.default.prototype.allows.apply(this,arguments)},set:function(e,t){var n;return"object"===o(e)?n=e:(n={})[e]=t,(0,i.default)(n).each(function(e,t){e&&i.default.isArray(e.__attributes)&&this.on("change:"+e.__attributes.join(" change:"),function(){var e=this.get(t);e!==this.__schema__.computedProperties[t]&&(this.__schema__.computedProperties[t]=e,this.trigger("change:"+t,e))},this)},this),a.default.prototype.set.apply(this,arguments)},get:function(){var e=a.default.prototype.get.apply(this,arguments);if(i.default.isFunction(e)){var t;return e.apply(this,(0,O.default)(t=i.default).call(t,e.__attributes||[],this.get,this))}return e},toJSON:function(e){e||(e={});var t=a.default.prototype.toJSON.apply(this,arguments);return(0,i.default)(t).each(function(n,r){"function"==typeof n&&(e.verbose?t[r]=this.get(r):delete t[r])},this),e.verbose||(0,i.default)(t).each(function(e,n){/^__\w+__$/.test(n)&&delete t[n]}),t},sanitizeAttributes:function(e){var t={};return i.default.each(e,function(e,n){i.default.isFunction(e)||(t[n]=e)}),t},reset:function(e){this.clear(e),this.set(this.sanitizeAttributes(this.defaults),e)},clear:function(e){var t={};return i.default.each(this.sanitizeAttributes(this.attributes),function(e,n){t[n]=void 0}),this.set(t,i.default.extend({},e,{unset:!0}))},_setSynced:function(e){this._syncedData=e&&i.default.isFunction(e.toJSON)?e.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return i.default.isEqual(this._getSynced(),this.toJSON())}},{ComputedProperty:function(){var e=i.default.toArray(arguments),t=e.pop();return t.__attributes=e.pop(),t}}),u=l;t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(11)),a=i.default.extend({local:function(){var e=window.okta&&window.okta.settings||{},t=window.okta&&window.okta.theme||"";return{orgId:["string",!1,e.orgId],orgName:["string",!1,e.orgName],serverStatus:["string",!1,e.serverStatus],persona:["string",!1,e.persona],isDeveloperConsole:["boolean",!1,e.isDeveloperConsole],isPreview:["boolean",!1,e.isPreview],permissions:["array",!0,e.permissions||[]],theme:["string",!1,t]}},extraProperties:!0,constructor:function(){this.features=window._features||[],i.default.apply(this,arguments)},hasFeature:function(e){return o.default.contains(this.features,e)},hasAnyFeature:function(e){var t;return(0,E.default)(t=o.default).call(t,e,this.hasFeature,this)},hasPermission:function(e){return o.default.contains(this.get("permissions"),e)},isDsTheme:function(){return"dstheme"===this.get("theme")}});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=i.default.extend(e.click?{click:e.click}:{},e.events||{}),n={};return i.default.each(t,function(t,r){n[r]=function(n){e.href||(n.preventDefault(),n.stopPropagation()),this.disabled&&"click"===r||t.apply(this,arguments)}}),n}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),a=r(n(45)),s={create:function(e){return e=i.default.clone(e),e.attrs=e.attributes,delete e.attributes,a.default.extend(i.default.extend(e,{events:o(e)}))}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(1)),a={redirect:function(e){window.location=e},reloadPage:function(){window.location.reload()},constantError:function(e){return function(){throw new Error(e)}},getUrlQueryString:function(e){var t;o.default.isObject(e)||(e={});var n=o.default.without((0,O.default)(t=o.default).call(t,e,function(e,t){if(void 0!==e&&null!==e)return t+"="+encodeURIComponent(e)}),void 0).join("&");return o.default.isEmpty(n)?"":"?"+n},isABaseView:function(e){return e instanceof i.default||e.prototype instanceof i.default||e===i.default}};t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=r(n(0)),a=r(n(15)),s=r(n(16)),l=r(n(7)),u=r(n(13)),c=r(n(4)),f=r(n(21)),d=c.default.localize,p=u.default.STRING,h=u.default.NUMBER,m=u.default.INTEGER,v=u.default.OBJECT,g=function(e,t){return e+"of"+t},y=s.default.extend({defaults:{description:void 0,minLength:void 0,maxLength:void 0,format:void 0},parse:function(e){if(i.default.isString(e.format)){var t=/^\/(.+)\/$/.exec(e.format);t&&(e.format=t[1])}return e}}),b=a.default.extend({model:y}),_=b.extend({_type:"allOf"}),w=b.extend({_type:"oneOf"}),E=b.extend({_type:"noneOf"}),T={string:d("schema.validation.field.value.must.string","courage"),number:d("schema.validation.field.value.must.number","courage"),integer:d("schema.validation.field.value.must.integer","courage"),object:d("schema.validation.field.value.must.object","courage")},k=/[^a-zA-Z0-9-]/,A=s.default.extend({constraintHandlers:{between:"_checkBetweenConstraints",greaterThan:"_checkGreaterThanConstraint",lessThan:"_checkLessThanConstraint",equals:"_checkEqualsConstraint"},idAttribute:"name",local:{__oneOf__:{type:"array",minItems:1}},defaults:{name:"",title:void 0,type:void 0,description:void 0,required:!1,format:void 0,union:void 0,subSchemas:void 0,settings:{permissions:{SELF:u.default.PERMISSION.READ_ONLY}},unique:void 0,__metadata__:void 0,__isSensitive__:s.default.ComputedProperty(["settings"],function(e){return!(!e||!e.sensitive)}),__unique__:!1,__isUniqueValidated__:s.default.ComputedProperty(["unique"],function(e){return e===u.default.UNIQUENESS.UNIQUE_VALIDATED}),__isPendingUniqueness__:s.default.ComputedProperty(["unique"],function(e){return e===u.default.UNIQUENESS.PENDING_UNIQUENESS}),__isUniqueness__:s.default.ComputedProperty(["__isUniqueValidated__","__isPendingUniqueness__"],function(e,t){return e||t}),__canBeSensitive__:s.default.ComputedProperty(["__metadata__"],function(e){return!(!e||!e.sensitivizable)}),__userPermission__:u.default.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:s.default.ComputedProperty(["__displayType__"],function(e){return u.default.DATATYPE[e]||e}),__supportsMinMax__:!1,__isReadOnly__:s.default.ComputedProperty(["mutability"],function(e){return e===u.default.MUTABILITY.READONLY}),__isWriteOnly__:s.default.ComputedProperty(["mutability"],function(e){return e===u.default.MUTABILITY.WRITEONLY}),__displayScope__:void 0,__isScopeSelf__:s.default.ComputedProperty(["scope"],function(e){return e===u.default.SCOPE.SELF}),__isNoneScopeArrayType__:s.default.ComputedProperty(["__isScopeSelf__","__displayType__"],function(e,t){return!e&&u.default.isArrayDataType(t)}),__isImported__:s.default.ComputedProperty(["externalName"],function(e){return!!e}),__isFromBaseSchema__:s.default.ComputedProperty(["__schemaMeta__"],function(e){return e&&"base"===e.name}),__enumDefined__:!1,__supportEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return i.default.contains(u.default.SUPPORTENUM,e)}),__isNumberTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return i.default.contains([u.default.NUMBER,u.default.ARRAYDISPLAYTYPE.arrayofnumber],e)}),__isIntegerTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return i.default.contains([u.default.INTEGER,u.default.ARRAYDISPLAYTYPE.arrayofinteger],e)}),__isObjectTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return i.default.contains([u.default.OBJECT,u.default.ARRAYDISPLAYTYPE.arrayofobject],e)}),__isStringTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return i.default.contains([u.default.STRING,u.default.ARRAYDISPLAYTYPE.arrayofstring],e)}),__enumConstraintType__:s.default.ComputedProperty(["__isStringTypeEnum__","__isNumberTypeEnum__","__isIntegerTypeEnum__","__isObjectTypeEnum__"],function(e,t,n,r){return e?p:t?h:n?m:r?v:void 0}),__isEnumDefinedAndSupported__:s.default.ComputedProperty(["__enumDefined__","__supportEnum__"],function(e,t){return e&&t}),__isLoginOfBaseSchema__:s.default.ComputedProperty(["__isFromBaseSchema__","name"],function(e,t){return e&&"login"===t}),__isLoginFormatRestrictionToEmail__:s.default.ComputedProperty(["__loginFormatRestriction__"],function(e){return e===u.default.LOGINPATTERNFORMAT.EMAIL})},initialize:function(){s.default.prototype.initialize.apply(this,arguments),this.listenTo(this,"change:__displayType__",this._updateTypeFormatConstraints),this.listenTo(this,"change:type change:format change:items",this._updateDisplayType),this.listenTo(this,"change:__minVal__ change:__maxVal__",this._updateMinMax),this.listenTo(this,"change:__equals__",this._convertEqualsToMinMax),this.listenTo(this,"change:__constraint__",this._setConstraintText),this._setConstraintText(),this._setLoginPattern()},parse:function(e){var t;return e=i.default.clone(e),"object"===e.type&&"image"===e.extendedType&&(e.type="image"),e.__displayType__=u.default.getDisplayType(e.type,e.format,e.items?e.items.format?e.items.format:e.items.type:void 0),this._setRangeConstraints(e),e.__supportsMinMax__=-1!==(0,x.default)(t=u.default.SUPPORTSMINMAX).call(t,e.__displayType__),e.__displayScope__=u.default.DISPLAYSCOPE[e.scope]||u.default.DISPLAYSCOPE.NA,e.settings&&e.settings.permissions&&e.settings.permissions.SELF&&(e.__userPermission__=e.settings.permissions.SELF),this._setMasterOverride(e),this._setSubSchemas(e),this._setUniqueness(e),e},validate:function(){var e=this._validateEnumOneOf();if(e)return e;if(this.get("__supportsMinMax__")&&this.get("__constraint__")){var t=this.get("__constraint__"),n=this[this.constraintHandlers[t]];return i.default.isFunction(n)?n.call(this):void l.default.warn("No constraint handler found for: "+t)}},_checkBetweenConstraints:function(){var e=this.get("__minVal__"),t=this.get("__maxVal__");if(e||t){if(!e)return{__minVal__:"Min value is required"};if(!t)return{__maxVal__:"Max value is required"};var n=this._checkIntegerConstraints("__minVal__","Min value");return n||((n=this._checkIntegerConstraints("__maxVal__","Max value"))||(+e>=+t?{__maxVal__:"Max val must be greater than min val"}:void 0))}},_checkGreaterThanConstraint:function(){if(this.get("__minVal__")){var e=this._checkIntegerConstraints("__minVal__","Min value");return e||void 0}},_checkLessThanConstraint:function(){if(this.get("__maxVal__")){var e=this._checkIntegerConstraints("__maxVal__","Max value");return e||void 0}},_checkEqualsConstraint:function(){if(this.get("__equals__")){var e=this._checkIntegerConstraints("__equals__","Constraint");return e||void 0}},_checkIntegerConstraints:function(e,t){var n=this.get(e),r={};return isNaN(n)?(r[e]=t+" must be a number",r):+n<0?(r[e]=t+" must be greater than 0",r):void 0},_setMasterOverride:function(e){if(e.settings&&e.settings.masterOverride&&e.settings.masterOverride){var t=e.settings.masterOverride.value;i.default.isArray(t)&&!i.default.isEmpty(t)?(e.__masterOverrideType__="OVERRIDE",e.__masterOverrideValue__=t||[]):e.__masterOverrideType__=e.settings.masterOverride.type}else e.__masterOverrideType__="INHERIT"},_setRangeConstraints:function(e){e.__displayType__===p?(e.__minVal__=e.minLength,e.__maxVal__=e.maxLength):e.__displayType__!==m&&e.__displayType__!==h||(e.__minVal__=e.minimum,e.__maxVal__=e.maximum),e.__minVal__&&e.__maxVal__?e.__minVal__===e.__maxVal__?(e.__constraint__="equals",e.__equals__=e.__minVal__):e.__constraint__="between":!e.__minVal__&&e.__maxVal__?e.__constraint__="lessThan":!e.__maxVal__&&e.__minVal__&&(e.__constraint__="greaterThan")},_setSubSchemas:function(e){e.allOf?e.subSchemas=new _(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new w(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new E(e.noneOf,{parse:!0}))},_setUniqueness:function(e){var t=e&&e.unique;e.__unique__=!(!t||t!==u.default.UNIQUENESS.UNIQUE_VALIDATED&&t!==u.default.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(this.get("__isLoginOfBaseSchema__")){var e=this.get("pattern");".+"===e?this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.NONE):e?(this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(e))):this.set("__loginFormatRestriction__",u.default.LOGINPATTERNFORMAT.EMAIL)}},_updateDisplayType:function(){var e=this.get("type");if(e===p&&this.get("format"))this.set("__displayType__",u.default.FORMATDISPLAYTYPE[this.get("format")]);else{var t=this.get("items"),n=t&&(t.format?t.format:t.type);e&&n?this.set("__displayType__",u.default.ARRAYDISPLAYTYPE[g(e,n)]):this.set("__displayType__",e)}},_validateEnumOneOf:function(){if(this.get("__isEnumDefinedAndSupported__")){var e=this.get("__oneOf__")||[];if(i.default.isEmpty(e))return{__oneOf__:d("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(e)){var t=this.get("__enumConstraintType__");return{__oneOf__:T[t]}}}},_isValidateOneOfConstraint:function(e){var t=this.get("__enumConstraintType__");return i.default.all(e,function(e){return f.default.isConstraintValueMatchType(e.const,t)})},toJSON:function(){var e=s.default.prototype.toJSON.apply(this,arguments);return e.settings={permissions:{}},e.settings.permissions.SELF=this.get("__userPermission__"),this.get("__isSensitive__")&&(e.settings.sensitive=this.get("__isSensitive__")),"image"===this.get("type")&&(e.type="object",e.extendedType="image"),e=this._enumAssignment(e),e=this._attributeOverrideToJson(e),e=this._normalizeUnionValue(e),e=this._patternAssignment(e),e=this._uniquenessAssignment(e)},_attributeOverrideToJson:function(e){var t=this.get("__masterOverrideType__"),n=this.get("__masterOverrideValue__");return"OKTA_MASTERED"===t?e.settings.masterOverride={type:"OKTA_MASTERED"}:"OVERRIDE"===t&&(e.settings.masterOverride={type:"ORDERED_LIST",value:[]},n instanceof a.default?i.default.each(n.toJSON(),function(t){e.settings.masterOverride.value.push(t.id)}):n instanceof Array&&(e.settings.masterOverride.value=n),i.default.isEmpty(e.settings.masterOverride.value)&&delete e.settings.masterOverride),"INHERIT"===t&&delete e.settings.masterOverride,e},_normalizeUnionValue:function(e){return this.get("__isNoneScopeArrayType__")||(e.union=void 0),e},_enumAssignment:function(e){if(!this.get("__isEnumDefinedAndSupported__"))return e;var t=this._getEnumOneOfWithTitleCheck();return"array"===this.get("type")?(delete e.items.enum,e.items.oneOf=t):(delete e.enum,e.oneOf=t),e},_patternAssignment:function(e){if(!this.get("__isLoginOfBaseSchema__")||!this.get("__loginFormatRestriction__"))return e;switch(this.get("__loginFormatRestriction__")){case u.default.LOGINPATTERNFORMAT.EMAIL:delete e.pattern;break;case u.default.LOGINPATTERNFORMAT.CUSTOM:e.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case u.default.LOGINPATTERNFORMAT.NONE:e.pattern=".+"}return e},_uniquenessAssignment:function(e){return this.get("__unique__")?this.get("__isUniqueness__")||(e.unique=u.default.UNIQUENESS.UNIQUE_VALIDATED):delete e.unique,e},_escapedRegexChar:function(e,t){var n=e.charAt(t);return k.test(n)?"\\"+n:n},_buildLoginPattern:function(e){for(var t="",n=0;n<e.length;n++)t+=this._escapedRegexChar(e,n);return"["+t+"]+"},_extractLoginPattern:function(e){var t=/^\[(.*)\]\+/,n=e.match(t);return n?n[1].replace(/\\(.)/g,"$1"):e},_getEnumOneOfWithTitleCheck:function(){var e,t=this.get("__oneOf__");return(0,O.default)(e=i.default).call(e,t,function(e){var t;return""!==(0,N.default)(t=o.default).call(t,e.title)?e:(e.title=i.default.isString(e.const)?e.const:(0,L.default)(e.const),e)})},_updateTypeFormatConstraints:function(){var e,t=this.get("__displayType__");this.unset("format",{silent:!0}),this.unset("items",{silent:!0}),this.set(u.default.DISPLAYTYPES[t]),t!==h&&t!==m&&(this.unset("minimum"),this.unset("maximum")),t!==p&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==(0,x.default)(e=u.default.SUPPORTSMINMAX).call(e,this.get("__displayType__")))},_updateMinMax:function(){var e,t,n=this.get("__displayType__");n===p?(e="minLength",t="maxLength"):n!==m&&n!==h||(e="minimum",t="maximum"),this.get("__minVal__")?this.set(e,(0,M.default)(this.get("__minVal__"),10)):this.unset(e),this.get("__maxVal__")?this.set(t,(0,M.default)(this.get("__maxVal__"),10)):this.unset(t)},_convertEqualsToMinMax:function(){var e=this.get("__equals__");e&&(this.set("__minVal__",e),this.set("__maxVal__",e))},_setConstraintText:function(){var e=this.get("__constraint__"),t=this.get("__minVal__"),n=this.get("__maxVal__"),r=this.get("__equals__");switch(e){case"between":this.set("__constraintText__","Between "+t+" and "+n);break;case"greaterThan":this.set("__constraintText__","Greater than "+t);break;case"lessThan":this.set("__constraintText__","Less than "+n);break;case"equals":this.set("__constraintText__","Equals "+r);break;default:this.set("__constraintText__","")}},cleanup:function(){"lessThan"===this.get("__constraint__")?this.unset("__minVal__"):"greaterThan"===this.get("__constraint__")&&this.unset("__maxVal__"),this.get("scope")!==u.default.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:u.default.SCOPE.SELF},{silent:!0}):this.unset("scope")),this.get("__unique__")||this.unset("unique")},isEnumType:function(){return!!this.getEnumValues()},getEnumValues:function(){return this.get("oneOf")||this.get("enum")||this.get("items")&&this.get("items").oneOf||this.get("items")&&this.get("items").enum},detectHasEnumDefined:function(){var e=this.getEnumValues();e&&(this.set("__oneOf__",f.default.convertToOneOf(e)),this.set("__enumDefined__",!0))}}),C=a.default.extend({model:A,clone:function(){return new this.constructor(this.toJSON({verbose:!0}),{parse:!0})},areAllReadOnly:function(){return i.default.all(this.pluck("__isReadOnly__"))},createModelProperties:function(){var e;return(0,S.default)(e=this).call(e,function(e,t){var n,r=t.get("type");return e[t.id]=i.default.clone(u.default.DISPLAYTYPES[r]),-1!==(0,x.default)(n=u.default.SUPPORTSMINMAX).call(n,r)&&(e[t.id].minLength=t.get("minLength"),e[t.id].maxLength=t.get("maxLength")),"string"===r&&(e[t.id].format=t.get("format")),e},{})}}),R={Model:A,Collection:C};t.default=R,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=s(e.enumValues),n={name:e.name,label:e.title,readOnly:e.readOnly,customExplain:e.explain,params:{enumOneOf:t},options:a(t)};return C.default.isArrayDataType(e.displayType)?(n.type="checkboxset",n.to=m,n.from=v):(n.type="select",n.to=h,n.from=p),n.input=null,n}function i(e){return A.default.isArray(e)?a(s(e)):{}}function a(e){var t;return l(e)?(0,S.default)(t=A.default).call(t,e,function(e,t,n){return e[d(n)]=t.title,e},{}):{}}function s(e){return A.default.all(e,k.default.isPlainObject)?l(e)?e:f(e):u(e)}function l(e){return A.default.isArray(e)&&A.default.all(e,function(e){return A.default.has(e,"const")&&A.default.has(e,"title")})}function u(e){var t;return(0,O.default)(t=A.default).call(t,e,function(e){return{const:e,title:c(e)}})}function c(e){return A.default.isObject(e)?(0,L.default)(e):A.default.isNumber(e)?e+"":e}function f(e){var t=A.default.partial(A.default.has,A.default,I);if(A.default.all(e,t)){var n,r;return(0,O.default)(n=(0,w.default)(r=A.default.chain(e)).call(r,function(e){return k.default.isPlainObject(e)&&A.default.has(e,I)})).call(n,function(e){return{const:e,title:e[I]}}).value()}return u(e)}function d(e){var t;return(0,j.default)(t="".concat(M)).call(t,e)}function p(e){var t,n=(0,_.default)(t=A.default).call(t,this.options.params.enumOneOf,function(t){return A.default.isObject(e)?A.default.isEqual(t.const,e):t.const===e});return n>-1?d(n):e}function h(e){if(!A.default.isString(e)||0!==(0,x.default)(e).call(e,M))return e;var t=e.replace(M,""),n=this.options.params&&A.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return A.default.has(n,"const")?n.const:n}function m(e){var t;return(0,O.default)(t=A.default).call(t,e,(0,U.default)(h).call(h,this))}function v(e){var t;return(0,O.default)(t=A.default).call(t,e,(0,U.default)(p).call(p,this))}function g(e){var t;return A.default.isString(e)&&""!==(0,N.default)(t=k.default).call(t,e)}function y(e){var t;return A.default.isNumber(e)||A.default.isNumber(R.default.parseFloat((0,N.default)(t=k.default).call(t,e)))}function b(e){var t,n=A.default.isNumber(e)?e:R.default.parseInt((0,N.default)(t=k.default).call(t,e));return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}function E(e){var t;if(A.default.isObject(e)&&!A.default.isArray(e))return!0;var n=R.default.parseObject((0,N.default)(t=k.default).call(t,e));return A.default.isObject(n)&&!A.default.isArray(n)}function T(e,t){switch(t){case C.default.STRING:return g(e);case C.default.NUMBER:return y(e);case C.default.INTEGER:return b(e);case C.default.OBJECT:return E(e)}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var k=r(n(3)),A=r(n(0)),C=r(n(13)),R=r(n(4)),I="name",M="_enum_",P={getEnumInputOptions:o,getDropdownOptions:i,convertToOneOf:s,isConstraintValueMatchType:T};t.default=P,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=s.default.result(e,"root")||"";return n&&s.default.isString(t)?[n,t].join("/").replace(/\/{2,}/g,"/"):t}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(6)),a=r(n(3)),s=r(n(0)),l=r(n(7)),u=r(n(17)),c=r(n(23)),f=r(n(24)),d=i.default.Router.extend({root:"",listen:f.default.prototype.listen,constructor:function(e){e||(e={}),this.el=e.el,this.settings=new u.default(s.default.omit(e,"el")),e.root&&(this.root=e.root),i.default.Router.apply(this,arguments),this.listen("notification",this._notify),this.listen("confirmation",this._confirm)},_confirm:function(e){e||(e={});var t=c.default.extend(s.default.pick(e,"title","subtitle","save","ok","cancel","cancelFn","noCancelButton","noSubmitButton","content","danger","type","closeOnOverlayClick","buttonOrder")),n=new t({model:this.settings});return n.render(),n},_notify:function(e){var t=new f.default(e);return(0,a.default)("#content").prepend(t.render().el),t},render:function(e,t){this.unload(),t=s.default.extend(s.default.pick(this,"settings","el"),t||{}),this.controller=new e(t),this.controller.render()},start:function(){var e=arguments;(0,a.default)(function(){if(i.default.History.started)return void l.default.error("History has already been started");i.default.history.start.apply(i.default.history,e)})},unload:function(){this.controller&&(this.stopListening(this.controller),this.stopListening(this.controller.state),this.controller.remove())},route:function(e,t,n){return i.default.Router.prototype.route.call(this,o(this,e),t,n)},navigate:function(e,t){return i.default.Router.prototype.navigate.call(this,o(this,e),t)}});t.default=d,e.exports=t.default},function(e,t,n){var r;void 0!==(r=function(){}.call(t,n,t,e))&&(e.exports=r)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0)),s=r(n(1)),l={level:"success",message:"Great Success!",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1},u=s.default.extend({className:"infobox infobox-confirm infobox-confirm-fixed",events:{"click .infobox-dismiss-link":function(e){e.preventDefault(),this.fadeOut()}},template:i.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:108}}}))+'" href="#"><span class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:229}}}):i))+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=f(n,"if").call(l,null!=t?f(t,"dismissable"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:164}}}))?a:"")+'<span class="icon '+c((s=null!=(s=f(n,"level")||(null!=t?f(t,"level"):t))?s:u,"function"===o(s)?s.call(l,{name:"level",hash:{},data:i,loc:{start:{line:1,column:182},end:{line:1,column:191}}}):s))+'-16"></span>'+(null!=(a=f(n,"if").call(l,null!=t?f(t,"title"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:203},end:{line:1,column:241}}}))?a:"")+"<p>"+c((s=null!=(s=f(n,"message")||(null!=t?f(t,"message"):t))?s:u,"function"===o(s)?s.call(l,{name:"message",hash:{},data:i,loc:{start:{line:1,column:244},end:{line:1,column:255}}}):s))+"</p>"},useData:!0}),initialize:function(){this.options=a.default.defaults({},this.options,l),this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width)},getTemplateData:function(){return a.default.extend(a.default.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){if(this.options.hide){var e;a.default.delay((0,U.default)(e=a.default).call(e,this.fadeOut,this),this.options.delay)}},fadeOut:function(){var e;this.$el.fadeOut(this.options.fade,(0,U.default)(e=a.default).call(e,this.remove,this))}});t.default=u,e.exports=t.default},function(e,t,n){function r(e){var t;return"change:"+(0,F.default)(t=a.default).call(t,e).join(" change:")}function o(e,t){var n=this.model.get(t);return a.default.isFunction(e)?e.call(this,n):e===n}function i(e,t,n){var o,i=(0,U.default)(o=a.default).call(o,n,e,e,t);e.render=a.default.wrap(e.render,function(t){var n=t.call(e);return i({animate:!1}),n}),e.listenTo(e.model,r(t),function(){i({animate:!0})})}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),s={applyDoWhen:function(e,t,n){e.model&&a.default.isObject(t)&&a.default.size(t)&&a.default.isFunction(n)&&i(e,t,function(e,t,r){var i,s,l=(0,b.default)(i=a.default).call(i,(0,O.default)(s=a.default).call(s,t,o,e));n.call(e,l,r)})}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){this.options=a.default.clone(e||{}),this.cid=a.default.uniqueId("class"),this.initialize.apply(this,arguments)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(6)),a=r(n(0));a.default.extend(o.prototype,i.default.Events,{initialize:function(){}}),o.extend=i.default.Model.extend;var s=o;t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(1)),a=r(n(10)),s=i.default.extend({className:"o-form-button-bar",buttonOrder:["previous","save","cancel"],initialize:function(e){var t,n=this,r={previous:{type:"previous"},save:{type:"save",text:o.default.resultCtx(e,"save",this),id:o.default.resultCtx(e,"saveId",this),className:o.default.resultCtx(e,"saveClassName",this)},cancel:{type:"cancel",text:o.default.resultCtx(e,"cancel",this)}};(0,y.default)(t=this.__getButtonOrder(e)).call(t,function(e){n.addButton(r[e])})},addButton:function(e,t){return this.add(a.default.createButton(e),t)},__getButtonOrder:function(e){var t,n=o.default.resultCtx(e,"buttonOrder",this,this.buttonOrder),r=[];return e.noSubmitButton&&r.push("save"),e.noCancelButton&&r.push("cancel"),e.hasPrevStep||r.push("previous"),o.default.without.apply(o.default,(0,j.default)(t=[n]).call(t,r))}});t.default=s,e.exports=t.default},function(e,t,n){function r(e){return o.default.isFunction(e)?o.default.isFunction(e.prototype.editMode)&&o.default.isFunction(e.prototype.readMode):o.default.isObject(e)&&o.default.isFunction(e.editMode)&&o.default.isFunction(e.readMode)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),i={},a={isBaseInput:r,register:function(e,t){i[e]=t},get:function(e){var t=i[e.type];return t&&(r(t)?t:t(e))},unregister:function(e){delete i[e]}};t.default=a,e.exports=t.default},function(e,t){e.exports=n(237)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}function i(e){if(this.params.autoWidth)return e.call(this);var t;return f.default.defer((0,U.default)(t=f.default).call(t,e,this))}function a(e){e.$select.hide();var t=(0,c.default)(e.$select[0]).hide();(0,c.default)("body").append(t);var n=e.params.width=1.2*t.width()+"px";return e.$el.append(t.show()),n}function s(e,t,n){var r=n.offset();e.css({left:r.left,top:r.top});var o=(0,c.default)(window),i=t.outerHeight(),a=i+t.offset().top-o.scrollTop(),s=o.height()-v,l=Math.min(i+s-a,g);t.css("max-height",l)}function l(e){var t=e.next(".chzn-container"),n=t.clone(),r=(0,I.default)(t).call(t,".chzn-results");n.css("visibility","hidden"),n.removeAttr("id"),(0,I.default)(n).call(n,"li").removeAttr("id");var o={left:t.css("left"),top:t.css("top"),position:t.css("position"),float:t.css("float"),"z-index":t.css("z-index")};r.hide();var i=f.default.debounce(function(){s(t,r,n)},10);e.off(".fixChosen"),e.on("liszt:showing_dropdown.fixChosen",function(){t.width(t.width()),e.after(n),t.css({position:"absolute",float:"none","z-index":y,top:-999999}),(0,c.default)("body").append(t),r.show(),s(t,r,n),e.parents().scroll(i),(0,c.default)(window).on("resize scroll",i)}),e.on("liszt:hiding_dropdown.fixChosen remove.fixChosen",function(){e.parents().off("scroll",i),(0,c.default)(window).off("resize scroll",i),t.css(o),r.hide(),r.css("max-height",g),n.remove(),e.after(t)})}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(2)),c=r(n(3)),f=r(n(0)),d=r(n(8));n(78);var p=r(n(9)),h=u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="'+u((a=null!=(a=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?a:l,"function"===o(a)?a.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:12},end:{line:1,column:23}}}):a))+'" name="'+u((a=null!=(a=c(n,"name")||(null!=t?c(t,"name"):t))?a:l,"function"===o(a)?a.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):a))+'"></select>'},useData:!0}),m=u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+u((a=null!=(a=c(n,"key")||(null!=t?c(t,"key"):t))?a:l,"function"===o(a)?a.call(s,{name:"key",hash:{},data:i,loc:{start:{line:1,column:15},end:{line:1,column:22}}}):a))+'">'+u((a=null!=(a=c(n,"value")||(null!=t?c(t,"value"):t))?a:l,"function"===o(a)?a.call(s,{name:"value",hash:{},data:i,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):a))+"</option>"},useData:!0}),v=20,g=240,y=5e4,b=p.default.extend({className:"o-form-select",events:{"change select":"update","keyup .chzn-search > :text":function(e){d.default.isEsc(e)&&(this.$(".chzn-search > :text").val(""),e.stopPropagation())}},constructor:function(){this.template=h,this.option=m,p.default.apply(this,arguments),this.params=this.options.params||{}},editMode:function(){this.$el.html(h(this.options)),this.$select=this.$("select");var e=this.getOptions();f.default.each(e,function(e,t){this.$select.append(m({key:t,value:e}))},this);var t=this.getModelValue();return t?this.$select.val(t):this.$("option:first-child").prop("selected",!0),this.$el.addClass("o-form-control"),!1!==this.params.chosen&&this.__applyChosen(),this},__applyChosen:function(e){var t=this.options.wide?"100%":this.params.width||"62%";this.params.autoWidth&&(t=a(this)),i.call(this,function(){var n=this.getParam("searchThreshold",10);f.default.result(this.options,"autoRender")||!1===e||this.update(),this.$select.chosen({width:t,disable_search_threshold:n,placeholder_text:this.options.placeholder,search_contains:!0}),l(this.$select),this.params.autoWidth&&this.$el.width(0),this.model.trigger("form:resize")})},val:function(){return this.$select&&this.$select.val()},focus:function(){if(this.$select)return this.$select.focus()},toStringValue:function(){var e=this.getModelValue(),t=e,n=this.getOptions();return f.default.isEmpty(n)||(t=n[e]),f.default.isUndefined(t)&&(t=this.defaultValue()),t||""},getOptions:function(){var e=this.options.options;return f.default.isFunction(e)&&(e=e.call(this)),f.default.isObject(e)?e:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),p.default.prototype.remove.apply(this,arguments)}});t.default=b,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return s.default.resultCtx(e.options,t,e)||s.default.result(e,t)}function i(e){var t="infobox clearfix infobox-"+o(e,"type");switch(o(e,"size")){case"standard":t+="";break;case"slim":t+=" infobox-slim";break;case"compact":t+=" infobox-compact";break;case"large":t+=" infobox-md"}return o(e,"dismissible")&&(t+=" infobox-dismiss"),t}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(2)),s=r(n(0)),l=r(n(32)),u=r(n(1)),c={"click .infobox-dismiss-link":function(e){var t=this;e.preventDefault(),this.$el.fadeOut(l.default.UNLOADING_FADE,function(){t.trigger("dismissed"),t.remove()})}},f=a.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a data-se="dismiss-link" class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:81},end:{line:1,column:131}}}))+'" href="#"><span data-se="icon" class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 data-se="header">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:286},end:{line:1,column:295}}}):i))+"</h3>"},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="sub-header">'+e.escapeExpression((i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:347},end:{line:1,column:359}}}):i))+"</p>"},7:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul data-se="list" class="bullets">'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"bullets"):t,{name:"each",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:420},end:{line:1,column:483}}}))?i:"")+"</ul>"},8:function(e,t,n,r,o){return'<li data-se="list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"dismissible"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:202}}}))?i:"")+'<span data-se="icon" class="icon '+e.escapeExpression((a=null!=(a=l(n,"icon")||(null!=t?l(t,"icon"):t))?a:e.hooks.helperMissing,"function"==typeof a?a.call(s,{name:"icon",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:243}}}):a))+'"></span>'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:252},end:{line:1,column:307}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:307},end:{line:1,column:370}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"bullets"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:370},end:{line:1,column:495}}}))?i:"")},useData:!0}),d=u.default.extend({attributes:{"data-se":"callout"},content:null,size:"standard",type:"info",dismissible:!1,title:null,subtitle:null,bullets:null,constructor:function(){this.events=s.default.defaults(this.events||{},c),u.default.apply(this,arguments),this.$el.addClass(i(this)),this.template=f;var e=o(this,"content");e&&this.add(e)},getTemplateData:function(){var e=o(this,"type"),t=o(this,"size");switch("tip"===e&&(e="light-bulb"),t){case"slim":e="";break;case"large":e=[e,"-","24"].join("");break;default:e=[e,"-","16"].join("")}return{icon:e,title:o(this,"title"),subtitle:o(this,"subtitle"),bullets:o(this,"bullets"),dismissible:o(this,"dismissible")}}}),p={create:function(e){return new d(e)}};t.default=p,e.exports=t.default},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r={DEBOUNCE_DELAY:200,LOADING_FADE:400,UNLOADING_FADE:400,ROW_EXPANDER_TRANSITION:150,HIDE_ADD_MAPPING_FORM:300};t.default=r,e.exports=t.default},function(e,t,n){var r,o;r=[n(12)],void 0!==(o=function(e){var t=e;e.fn.customInput=function(){return t(this).each(function(){if(t(this).is("[type=checkbox],[type=radio]")){var e=t(this),n=e.siblings('label[for="'+e.attr("id")+'"]:first');n.length||(n=e.closest('label[for="'+e.attr("id")+'"]:first')),e.add(n).wrapAll('<div class="custom-'+e.attr("type")+'"></div>'),n.hover(function(){t(this).addClass("hover")},function(){t(this).removeClass("hover")}),(0,U.default)(e).call(e,"updateState",function(){e.is(":checked")?n.addClass("checked"):n.removeClass("checked checkedHover checkedFocus")}).trigger("updateState").click(function(){t('input[name="'+t(this).attr("name")+'"]').trigger("updateState")}).focus(function(){n.addClass("focus"),e.is(":checked")&&t(this).addClass("checkedFocus")}).blur(function(){n.removeClass("focus checkedFocus")})}})}}.apply(t,r))&&(e.exports=o)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}function i(e){var t=e.title,n=e.text;return t&&n&&t!==n}function a(e){return i(e)?e:{text:e.text||e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(2)),l=r(n(3));n(29);var u=r(n(8));n(83);var c=r(n(9)),f="okta-form-input-field input-fix",d=c.default.extend({template:s.default.template({1:function(e,t,n,r,o){return'<span class="input-tooltip icon form-help-16"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon input-icon '+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"params"):t)?a(i,"icon"):i,t))+'"></span>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"autoComplete")||(null!=t?a(t,"autoComplete"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"autoComplete",hash:{},data:o,loc:{start:{line:1,column:333},end:{line:1,column:349}}}):i))},7:function(e,t,n,r,o){return"off"},9:function(e,t,n,r,o){return'<span class="input-icon-divider"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",f=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=d(n,"if").call(l,null!=(a=null!=t?d(t,"params"):t)?d(a,"innerTooltip"):a,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:87}}}))?a:"")+(null!=(a=d(n,"if").call(l,null!=(a=null!=t?d(t,"params"):t)?d(a,"icon"):a,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:87},end:{line:1,column:166}}}))?a:"")+'<input type="'+f((s=null!=(s=d(n,"type")||(null!=t?d(t,"type"):t))?s:u,o(s)===c?s.call(l,{name:"type",hash:{},data:i,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):s))+'" placeholder="'+f((s=null!=(s=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?s:u,o(s)===c?s.call(l,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):s))+'" name="'+f((s=null!=(s=d(n,"name")||(null!=t?d(t,"name"):t))?s:u,o(s)===c?s.call(l,{name:"name",hash:{},data:i,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):s))+'" id="'+f((s=null!=(s=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?s:u,o(s)===c?s.call(l,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):s))+'" value="'+f((s=null!=(s=d(n,"value")||(null!=t?d(t,"value"):t))?s:u,o(s)===c?s.call(l,{name:"value",hash:{},data:i,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):s))+'" aria-label="'+f((s=null!=(s=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?s:u,o(s)===c?s.call(l,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:282},end:{line:1,column:297}}}):s))+'" autocomplete="'+(null!=(a=d(n,"if").call(l,null!=t?d(t,"autoComplete"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i,loc:{start:{line:1,column:313},end:{line:1,column:367}}}))?a:"")+'" />'+(null!=(a=d(n,"if").call(l,null!=(a=null!=t?d(t,"params"):t)?d(a,"iconDivider"):a,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:371},end:{line:1,column:444}}}))?a:"")},useData:!0}),events:{"input input":"update","change input":"update","keydown input":"update","keyup input":function(e){u.default.isEnter(e)?this.model.trigger("form:save"):u.default.isEsc(e)&&this.model.trigger("form:cancel")}},constructor:function(){c.default.apply(this,arguments),this.$el.addClass("o-form-control")},editMode:function(){this.$el.addClass(f),c.default.prototype.editMode.apply(this,arguments),this.$("input").placeholder()},readMode:function(){c.default.prototype.readMode.apply(this,arguments),"password"===this.options.type&&this.$el.text("********"),this.$el.removeClass(f)},val:function(){var e=this.$('input[type="'+this.options.type+'"]').val();if("password"!==this.options.type){var t;e=(0,N.default)(t=l.default).call(t,e)}return e},focus:function(){return this.$("input").focus()},postRender:function(){var e=this.options.params;if(e&&e.innerTooltip){var t=a(e.innerTooltip);this.$(".input-tooltip").qtip({content:t,style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse",adjust:{method:"flip",mouse:!0,y:-5,x:5},viewport:(0,l.default)("body")}})}}});t.default=d,e.exports=t.default},function(e,t,n){e.exports=n(36)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(15)),i=r(n(16)),a=r(n(40)),s=r(n(11)),l=r(n(20)),u=r(n(42)),c=r(n(22)),f=r(n(18)),d=r(n(26)),p=r(n(46)),h=r(n(48)),m=r(n(8)),v=r(n(7)),g=r(n(4)),y=r(n(19)),b=r(n(57)),_=r(n(3)),w=r(n(0)),x=r(n(65)),E=r(n(1)),T=r(n(67)),S=r(n(24)),k=r(n(68)),O=r(n(27)),A=r(n(10)),C=r(n(28)),R=r(n(76)),I=r(n(81)),N=r(n(82)),M=r(n(84)),P=r(n(30)),L=r(n(85)),D=r(n(34)),j=r(n(31)),F=r(n(6)),U=r(n(14));n(86),U.default.prototype.compileTemplate=function(e){return function(){return e}};var B={"input input":"update","change input":"update","keydown input":"update","keyup input":function(e){m.default.isEsc(e)&&this.model.trigger("form:cancel")}},V=D.default.extend({events:B}),H=N.default.extend({events:B}),W=k.default.extend({scrollOnError:function(){return!1!==this.options.settings.get("features.scrollOnError")}}),z={Backbone:F.default,$:_.default,_:w.default,Handlebars:b.default,loc:g.default.localize,createButton:f.default.create,createCallout:j.default.create,registerInput:C.default.register,Model:s.default,BaseModel:i.default,Collection:o.default,FrameworkView:U.default,View:E.default,ListView:x.default,Router:c.default,Controller:u.default,Form:W,internal:{util:{Util:y.default,Cookie:p.default,Clipboard:h.default,Logger:v.default,Class:d.default,Keys:m.default},views:{components:{BaseDropDown:T.default,Notification:S.default},forms:{helpers:{FormUtil:A.default,SchemaFormFactory:R.default},components:{Toolbar:O.default},inputs:{TextBox:V,PasswordBox:H,CheckBox:I.default,Radio:M.default,Select:P.default,InputGroup:L.default}}},models:{BaseSchema:a.default,SchemaProperty:l.default}}};z.registerInput("text",V),z.registerInput("password",H),z.registerInput("checkbox",I.default),z.registerInput("radio",M.default),z.registerInput("select",P.default),z.registerInput("group",L.default);var K=z;t.default=K,e.exports=t.default},function(e,t){e.exports=n(229)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){try{var n=s(t.getResponseHeader("link"));e[c].set(f,!0),e.setPagination(n.next.href)}catch(t){e[c].get(f)&&e.setPagination(null)}}function i(e){for(var t={},n=e&&e.split("?")[1],r=n&&decodeURIComponent(n.split("#")[0]).replace(/\+/g," "),o=r?r.split("&"):[],i=0;i<o.length;i++){var a=o[i].split("=");t[a.shift()]=a.join("=")}return t}function a(e){return'"'==e.charAt(0)&&'"'==e.charAt(e.length-1)?e.substring(1,e.length-1):e}function s(e){for(var t=/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*")))*(,|$)/g,n=/[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*"))/g,r=e.match(t),o={},i=0;i<r.length;i++){var s=r[i].split(">"),l=s[0].substring(1),u={};u.href=l;for(var c=s[1].match(n),f=0;f<c.length;f++){var d=c[f].split("=");u[d[0]]=a(d[1])}void 0!==u.rel&&(o[u.rel]=u)}return o}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(6)),c="__STATE__",f="LINK_BY_HEADER",d=u.default.Collection.extend({params:{},constructor:function(e,t){(this[c]=new u.default.Model).set("DEFAULT_PARAMS",l.default.defaults(t&&t.params||{},this.params||{})),u.default.Collection.apply(this,arguments)},sync:function(e,t,n){var r=this,i=n.success;return n.success=function(e,t,n){o(r,n),i.apply(null,arguments)},u.default.Collection.prototype.sync.call(this,e,t,n)},fetch:function(e){e||(e={});var t=this[c],n=t.get("XHR");return e.data=l.default.extend({},t.get("DEFAULT_PARAMS"),e.data||{}),e.fromFetch=!0,t.set("FETCH_DATA",e.data),n&&n.abort&&!1!==e.abort&&n.abort(),n=u.default.Collection.prototype.fetch.call(this,e),t.set("XHR",n),n},setPagination:function(e,t){l.default.isString(e)&&e&&(e=i(e)),l.default.isObject(e)&&!l.default.isArray(e)&&l.default.size(e)?t&&t.fromFetch&&(e=l.default.extend({},this.getFetchData(),e)):e=null,this[c].set("PAGINATION_DATA",e)},getFetchData:function(){return this[c].get("FETCH_DATA")||{}},getPaginationData:function(){return this[c].get("PAGINATION_DATA")||{}},hasMore:function(){return l.default.size(this.getPaginationData())>0},fetchMore:function(){if(!this.hasMore())throw new Error("Invalid Request");return this.fetch({data:this.getPaginationData(),add:!0,remove:!1,update:!0})},reset:function(e,t){return t||(t={}),t.fromFetch||this.setPagination(null),u.default.Collection.prototype.reset.apply(this,arguments)},where:function(e,t){return l.default.isEmpty(e)?t?void 0:[]:this[t?"find":"filter"](function(t){for(var n in e)if(e[n]!==t.get(n))return!1;return!0})},create:function(e,t){return t||(t={}),l.default.result(e,"urlRoot")||(t.url=l.default.result(this,"url")),u.default.Collection.prototype.create.call(this,e,t)}});t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}function i(e,t,n,r){var o=_.default.contains(t,n);return r||(r={}),o||!_.default.isObject(e)||_.default.isArray(e)||_.default.isFunction(e)?void 0!==n&&(r[n]=e):_.default.each(e,function(e,o){i(e,t,n?n+"."+o:o,r)}),r}function a(e){return _.default.each(e,function(e,t,n){if(-1!=(0,x.default)(t).call(t,".")){for(var r,o=n,i=t.split(".");void 0!==(r=i.shift());)o[r]||(o[r]=i.length?{}:e),o=o[r];delete n[t]}}),e}function s(e,t){var n={};return n[e.name]=t,n}function l(e,t){var n;return n=_.default.isString(e)?{type:e}:_.default.isArray(e)?{type:e[0],required:e[1],value:e[2]}:_.default.clone(e),_.default.defaults(n,{required:!1,name:t}),n}function u(e){return e.toLowerCase().replace(/\b[a-z]/g,function(e){return e.toUpperCase()})}function c(e,t,n){if(!t.test(e))return n}function f(e,t){var n=T[e.format];if(e.format&&!n)throw new TypeError(e.format+" is not a supported string format");return n&&n(t)}function d(e,t){var n=_.default.partial(s,e),r=f(e,t);return r?n(r):t&&e.minLength&&t.length<e.minLength?n(b.ERROR_STRING_STRING_MIN_LENGTH,t.length):t&&e.maxLength&&t.length>e.maxLength?n(b.ERROR_STRING_STRING_MAX_LENGTH,t.length):void 0}function p(e,t){var n,r,o=_.default.partial(s,e),i=!_.default.isUndefined(t)&&!_.default.isNull(t);{if(!(0,g.default)(e.validate)){if(e.required&&(!i||_.default.isNull(t)||""===t))return o(b.ERROR_BLANK);if(n=_.default["is"+u(e.type)],i&&"any"!=e.type&&(!_.default.isFunction(n)||!n(t)))return o(b.ERROR_WRONG_TYPE);if(t&&"string"==e.type){var a=d(e,t);if(a)return a}if(i&&(0,k.default)(e)&&!_.default.contains((0,k.default)(e),t))return o(b.ERROR_NOT_ALLOWED);if(_.default.isFunction(e.validate)){var l=e.validate(t);if(_.default.isString(l)&&l)return o(l);if(!1===l)return o(b.ERROR_INVALID)}return i&&"array"==e.type&&(r=h(e,t))?o(r):void 0}var c,f,p=[],m=!1;if((0,y.default)(c=e.validate).call(c,function(e){if(t)switch(e.type.toLowerCase()){case"regex":f=new RegExp(e.value.pattern,(0,v.default)(e.value)||"").test(t);break;default:f=!1}else f=!1;m=m||!f,p.push({message:e.hasOwnProperty("message")?e.message:"",passed:f})}),m)return o(p)}}function h(e,t){if(e.minItems&&t.length<e.minItems)return"model.validation.field.array.minItems";if(e.maxItems&&t.length>e.maxItems)return"model.validation.field.array.maxItems";if(e.uniqueItems&&t.length>_.default.uniq(t).length)return b.ERROR_IARRAY_UNIQUE;if(e.items)for(var n=l(e.items,"placeholder"),r=0;r<t.length;r++){var o=t[r],i=p(n,o);if(i)return i.placeholder}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var b,_=r(n(0)),w=r(n(6)),E=r(n(7)),T={email:function(e){return c(e,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,b.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return c(e,/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,b.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return c(e,/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,b.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return c(e,/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/,b.ERROR_INVALID_FORMAT_HOSTNAME)}};b=w.default.Model.extend({props:{},derived:{},local:{},flat:!0,defaults:{},constructor:function(e){this.options=e||{};var t=this.__schema__={},n=[];t.computedProperties={},t.props=_.default.clone(_.default.result(this,"props")||{}),t.derived=_.default.clone(_.default.result(this,"derived")||{}),t.local=_.default.clone(_.default.result(this,"local")||{});var r={};if(_.default.each(_.default.extend({},t.props,t.local),function(e,t){var o=l(e,t);_.default.isUndefined(o.value)||(r[t]=o.value),"object"===o.type&&n.push(t)},this),_.default.size(r)){var o=_.default.result(this,"defaults");this.defaults=function(){return _.default.defaults({},r,o)}}this.validate=_.default.wrap(this.validate,function(e){var t=_.default.rest(arguments),n=_.default.extend(this._validateSchema.apply(this,t),e.apply(this,t));return _.default.size(n)&&n||void 0}),this.parse=_.default.wrap(this.parse,function(e){var t=e.apply(this,_.default.rest(arguments));return(0,m.default)(this)&&(t=i(t,n)),t}),w.default.Model.apply(this,arguments),_.default.each(t.derived,function(e,n){t.computedProperties[n]=this.__getDerivedValue(n);var r=e.deps||[];r.length&&this.on("cache:clear change:"+r.join(" change:"),function(){var e=this.__getDerivedValue(n);e!==t.computedProperties[n]&&(t.computedProperties[n]=e,this.trigger("change:"+n,this,e))},this)},this),this.on("sync",function(){this.__syncedData=this.toJSON()},this)},validate:function(){},allows:function(e){var t=this.__schema__,n=_.default.extend({},t.props,t.local);return _.default.has(n,e)||E.default.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var t,n=this.__schema__;return(0,S.default)(t=_.default).call(t,[n.props,n.local],function(t,n){return t||l(n[e],e)},null)},set:function(e,t){var n;"object"===o(e)?n=e:(n={})[e]=t,_.default.each(n,function(e,t){if(_.default.has(this.__schema__.derived,t))throw"overriding derived properties is not supported: "+t},this);var r=[];if(_.default.each(n,function(e,t){this.allows(t)||r.push(t)},this),r.length)throw"field not allowed: "+r.join(", ");return w.default.Model.prototype.set.apply(this,arguments)},get:function(e){var t=this.__schema__;return _.default.has(t.derived,e)?!1!==t.derived[e].cache?t.computedProperties[e]:this.__getDerivedValue(e):w.default.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var t=_.default.clone(w.default.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;if(e.verbose)_.default.each(n.derived,function(e,n){t[n]=this.get(n)},this);else{var r;t=_.default.omit(t,(0,F.default)(r=_.default).call(r,n.local))}return(0,m.default)(this)&&(t=a(t)),t},reset:function(e){this.clear(e),this.set(_.default.result(this,"defaults"),e)},isSynced:function(){return _.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var t=e&&this.getPropertySchema(e);return t&&p(t,this.get(e))},_validateSchema:function(){var e,t=this.__schema__;return(0,S.default)(e=_.default).call(e,_.default.extend({},t.props,t.local),function(e,t,n){return _.default.extend(e,this.validateField(n)||{})},{},this)},__getDerivedValue:function(e){var t,n=this.__schema__.derived[e];if(_.default.isString(n)){var r=n;n={deps:[r],fn:function(){return this.get(r)}}}var o=n.deps||[];return n.fn.apply(this,(0,O.default)(t=_.default).call(t,o,this.get,this))}},{ERROR_BLANK:"model.validation.field.blank",ERROR_WRONG_TYPE:"model.validation.field.wrong.type",ERROR_NOT_ALLOWED:"model.validation.field.value.not.allowed",ERROR_INVALID:"model.validation.field.invalid",ERROR_IARRAY_UNIQUE:"model.validation.field.array.unique",ERROR_INVALID_FORMAT_EMAIL:"model.validation.field.invalid.format.email",ERROR_INVALID_FORMAT_URI:"model.validation.field.invalid.format.uri",ERROR_INVALID_FORMAT_IPV4:"model.validation.field.invalid.format.ipv4",ERROR_INVALID_FORMAT_HOSTNAME:"model.validation.field.invalid.format.hostname",ERROR_STRING_STRING_MIN_LENGTH:"model.validation.field.string.minLength",ERROR_STRING_STRING_MAX_LENGTH:"model.validation.field.string.maxLength"});var A=b;t.default=A,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(15)),a=r(n(16)),s=r(n(20)),l=function(e){var t,n=o.default.pick(e,"id","name","displayName"),r=(0,O.default)(t=o.default).call(t,e.schema.properties,function(e,t){return o.default.extend({name:t},e)});return o.default.each(r,function(e){e.__schemaMeta__=n,e.__metadata&&(e.__metadata__=e.__metadata,delete e.__metadata)}),r},u=a.default.extend({defaults:{id:void 0,displayName:void 0,name:void 0},constructor:function(){this.properties=new s.default.Collection,a.default.apply(this,arguments)},getProperties:function(){return this.properties},clone:function(){var e=a.default.prototype.clone.apply(this,arguments);return e.getProperties().set(this.getProperties().toJSON({verbose:!0})),e},parse:function(e){var t=l(e);return this.properties.set(t,{parse:!0}),o.default.omit(e,"schema")},trimProperty:function(e){return o.default.omit(e,"name")},toJSON:function(){var e=a.default.prototype.toJSON.apply(this,arguments);return e.schema={properties:{}},this.getProperties().each(function(t){var n=t.toJSON();e.schema.properties[n.name]=this.trimProperty(n)},this),e},save:function(){return this.getProperties().each(function(e){e.cleanup()}),a.default.prototype.save.apply(this,arguments)}}),c=i.default.extend({model:u}),f={parseProperties:l,Model:u,Collection:c};t.default=f,e.exports=t.default},function(e,t){e.exports=n(156)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t={};return a.default.each(e,function(e,n){a.default.isNull(e)||(t[n]=e)}),t}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),a=r(n(0)),s=r(n(22)),l=r(n(17)),u=r(n(44)),c=r(n(1)),f=c.default.extend({constructor:function(e){if(e||(e={}),e.state instanceof u.default||this.state instanceof u.default)this.state=e.state||this.state;else{var t=a.default.defaults(o(e.state),this.state||{});this.state=new u.default(t),delete e.state}e.settings?this.settings=e.settings:(this.settings=e.settings=new l.default(a.default.omit(e||{},"el")),this.listen("notification",s.default.prototype._notify),this.listen("confirmation",s.default.prototype._confirm)),c.default.call(this,e),this.listenTo(this.state,"__invoke__",function(){var e=a.default.toArray(arguments),t=e.shift();a.default.isFunction(this[t])&&this[t].apply(this,e)}),this.View&&this.add(new this.View(this.toJSON()))},state:{},View:null,render:function(){var e=arguments,t=this;return(0,i.default)(function(){c.default.prototype.render.apply(t,e)}),this},toJSON:function(e){return a.default.extend(a.default.pick(this,"state","settings","collection","model"),e||{})},remove:function(){return this.removeChildren(),this.stopListening(),this.$el.empty(),this}});t.default=f,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(0)),a={tpl:i.default.memoize(function(e){return function(t){return o.default.compile(e)(t)}})};t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(11)),a=i.default.extend({extraProperties:!0,invoke:function(){var e=o.default.toArray(arguments);e.unshift("__invoke__"),this.trigger.apply(this,e)}});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(0)),a=r(n(25)),s=r(n(1)),l={click:function(e){e.preventDefault(),e.stopPropagation()}},u=s.default.extend({attributes:function(){var e={"data-se":"button"},t=this.__getAttribute("attrs");return i.default.extend(e,t)},tagName:"a",template:o.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:30},end:{line:1,column:38}}}):i))+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:67},end:{line:1,column:76}}}):i))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:54},end:{line:1,column:83}}}))?i:"")},useData:!0}),visible:!0,enabled:!0,enableWhen:{},showWhen:{},constructor:function(e){this.options=e||{};var t=this.getTemplateData();this.disabled=!1,s.default.apply(this,arguments),this.$el.addClass("link-button"),t.icon&&(this.$el.addClass("link-button-icon"),t.title||this.$el.addClass("icon-only"))},getTemplateData:function(){return{href:this.__getAttribute("href"),title:this.__getAttribute("title"),icon:this.__getAttribute("icon")}},initialize:function(){a.default.applyDoWhen(this,i.default.resultCtx(this,"enableWhen",this),this.toggle),a.default.applyDoWhen(this,i.default.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){s.default.prototype.render.apply(this,arguments),i.default.result(this,"enabled")||this.toggle(!1),i.default.result(this,"visible")||this.toggleVisible(!1);var e=this.getTemplateData();return this.$el.attr("href",e.href||"#"),this},__getAttribute:function(e,t){var n=i.default.resultCtx(this.options,e,this);return i.default.isUndefined(n)&&(n=i.default.result(this,e)),i.default.isUndefined(n)?t:n},enable:function(){this.toggle(!0)},disable:function(){this.toggle(!1)},show:function(){this.toggleVisible(!0)},hide:function(){this.toggleVisible(!1)},toggle:function(e){var t=!!e&&i.default.result(this,"enabled");this.disabled=!t,this.$el.toggleClass("link-button-disabled btn-disabled disabled",this.disabled),this.delegateEvents(this.disabled?l:null)},toggleVisible:function(e){var t=!e||!i.default.result(this,"visible");this.$el.toggleClass("hide",t)}});t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(47)),a=/^https/.test(window.location.href),s={setCookie:function(e,t,n){i.default.set(e,t,o.default.defaults(n||{},{secure:a,path:"/"}))},getCookie:function(){return i.default.get.apply(i.default,arguments)},removeCookie:function(){return i.default.remove.apply(i.default,arguments)}};t.default=s,e.exports=t.default},function(e,t,n){var r,o;/*!
   * JavaScript Cookie v2.1.0
   * https://github.com/js-cookie/js-cookie
   *
   * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
   * Released under the MIT license
   */
!function(i){r=i,void 0!==(o="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=o)}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(n){function r(t,o,i){var a;if(arguments.length>1){if(i=e({path:"/"},r.defaults,i),"number"==typeof i.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}try{a=(0,L.default)(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)),t=t.replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent),t=t.replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,i.expires&&"; expires="+i.expires.toUTCString(),i.path&&"; path="+i.path,i.domain&&"; domain="+i.domain,i.secure?"; secure":""].join("")}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,c=0;c<l.length;c++){var f=l[c].split("="),d=f[0].replace(u,decodeURIComponent),p=(0,D.default)(f).call(f,1).join("=");'"'===p.charAt(0)&&(p=(0,D.default)(p).call(p,1,-1));try{if(p=n.read?n.read(p,d):n(p,d)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(t===d){a=p;break}t||(a[d]=p)}catch(e){}}return a}return r.get=r.set=r,r.getJSON=function(){return r.apply({json:!0},(0,D.default)([]).call(arguments))},r.defaults={},r.remove=function(t,n){r(t,"",e(n,{expires:-1}))},r.withConverter=t,r}return t(function(){})})},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(49)),i=r(n(3)),a=r(n(0)),s=r(n(14)),l=r(n(26)),u=o.default,c=["success","error","target","text"],f=l.default.extend({initialize:function(e,t){t=a.default.pick(t||{},c);var n,r,o;a.default.isString(e)&&(n=e),a.default.isElement(e)&&(n=e),e instanceof i.default&&(n=e.selector),e instanceof s.default&&(n=e.el),a.default.isFunction(t.target)&&(r=t.target),a.default.isElement(t.target)&&(r=a.default.constant(t.target)),a.default.isString(t.text)?o=a.default.constant(t.text):a.default.isFunction(t.text)&&(o=t.text),this.__instance=new u(n,{target:r,text:o}),this.done=a.default.partial(this.__setCallback,"success"),this.error=a.default.partial(this.__setCallback,"error"),this.done(t.success),this.error(t.error)},__setCallback:function(e,t){if(a.default.isFunction(t))return this.__instance.on(e,t),this.__instance}}),d={attach:function(e,t){return new f(e,t)}};t.default=d,e.exports=t.default},function(e,t,n){var r,o,i;!function(a,s){o=[e,n(50),n(52),n(53)],r=s,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t,n,r){function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(0,h.default)(t)&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(0,h.default)(t));e.prototype=(0,p.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(d.default?(0,d.default)(e,t):e.__proto__=t)}function l(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var u=o(t),c=o(n),m=o(r),v="function"==typeof V.default&&"symbol"===(0,h.default)(B.default)?function(e){return(0,h.default)(e)}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":(0,h.default)(e)},g=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,q.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),b=function(e){function t(e,n){i(this,t);var r=a(this,(t.__proto__||(0,f.default)(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return s(t,e),g(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===v(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,m.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new u.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return l("action",e)}},{key:"defaultTarget",value:function(e){var t=l("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return l("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return(0,y.default)(t).call(t,function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}(c.default);e.exports=b})},function(e,t,n){var r,o,i;!function(a,s){o=[e,n(51)],r=s,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(e,t){function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(e){return e&&e.__esModule?e:{default:e}}(t),o="function"==typeof V.default&&"symbol"===(0,h.default)(B.default)?function(e){return(0,h.default)(e)}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":(0,h.default)(e)},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,q.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=function(){function e(t){n(this,e),this.resolveOptions(t),this.initSelection()}return i(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){var t;this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:(0,U.default)(t=this.clearSelection).call(t,this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},function(e,t){function n(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}e.exports=n},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){var t,n=(0,D.default)([]).call(arguments,1),r=(0,D.default)(t=(this.e||(this.e={}))[e]||[]).call(t),o=0,i=r.length;for(o;o<i;o++)r[o].fn.apply(r[o].ctx,n);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n,e.exports.TinyEmitter=n},function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return o(e,t,n);if(s.nodeList(e))return i(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function o(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function i(e,t,n){return(0,y.default)(Array.prototype).call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){(0,y.default)(Array.prototype).call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return l(document.body,e,t,n)}var s=n(54),l=n(55);e.exports=r},function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function o(e,t,n,o,i){return"function"==typeof e.addEventListener?r.apply(null,arguments):"function"==typeof n?(0,U.default)(r).call(r,null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),(0,O.default)(Array.prototype).call(e,function(e){return r(e,t,n,o,i)}))}function i(e,t,n,r){return function(n){n.delegateTarget=a(n.target,t),n.delegateTarget&&r.call(e,n)}}var a=n(56);e.exports=o},function(e,t){function n(e,t){for(;e&&e.nodeType!==r;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}var r=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}e.exports=n},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(5));n(58),n(59),n(60),n(61),n(62),n(64);var o=r.default;t.default=o,e.exports=t.default},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(5)),o=r.default.Utils.escapeExpression;r.default.Utils.escapeExpression=function(e){return o(e).replace(/&#x3D;/g,"=")};var i=r.default;t.default=i,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return a.default.utc(t).utcOffset("-07:00").format(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),a=r(n(23)),s=r(n(0));i.default.registerHelper("shortDate",s.default.partial(o,"MMM Do")),i.default.registerHelper("mediumDate",s.default.partial(o,"MMMM DD, YYYY")),i.default.registerHelper("longDate",s.default.partial(o,"MMMM DD, YYYY, h:mma")),i.default.registerHelper("formatDate",o);var l=i.default;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return h(e)||p(e,t)||f(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function f(e,t){var n;if(e){if("string"==typeof e)return d(e,t);var r=(0,D.default)(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?(0,c.default)(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(void 0!==V.default&&(0,u.default)(Object(e))){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=(0,l.default)(e);!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}function h(e){if((0,g.default)(e))return e}function m(e){return e&&e.replace(/^\s+|\s+$/g,"")}function v(e,t,n){var r=T("<".concat(t,">")),i=T("</".concat(t,">")),a=n.split(t),l=o(a,2),u=l[0],c=l[1];if(!(0,s.default)(e).call(e,r)&&!(0,s.default)(e).call(e,i)){var f;throw Error((0,j.default)(f='Parsed tag "'.concat(t,'" is not present in "')).call(f,e,'"'))}if(!(0,s.default)(n).call(n,t)){var d;throw Error((0,j.default)(d='Parsed tag "'.concat(t,'" is not present in "')).call(d,n,'"'))}if(!u||!c)throw Error('Template value "'.concat(n,'" must contain beginning and closing tags'));return e.replace(r,u).replace(i,c)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var b=r(n(5)),_=r(n(0)),x=r(n(7)),E=r(n(4)),T=b.default.Utils.escapeExpression;b.default.registerHelper("i18n",function(e){var t,n,r,o=m(e.hash.code),i=m(e.hash.bundle),s=m(e.hash.arguments),l=(0,O.default)(t=(0,w.default)(n=(0,a.default)(e.hash)).call(n,function(e){return e.match(/^\$\d+/)})).call(t,function(t){return{tag:t,value:e.hash[t]}});if(s){var u;r=(0,O.default)(u=_.default).call(u,m(s).split(";"),function(e){e=m(e);var t,n=this;return _.default.each(e.split("."),function(e){t=t?t[e]:n[e]}),t},this)}var c=E.default.localize(o,i,r);if(l.length<1)return c;var f=T(c);try{return(0,y.default)(l).call(l,function(e){f=v(f,e.tag,e.value)}),new b.default.SafeString(f)}catch(e){return x.default.error(e.toString()),c}});var S=b.default;t.default=S,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return 0===(0,x.default)(e).call(e,s)?e:s+e}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),a=r(n(0)),s="/assets";i.default.registerHelper("img",function(e){var t,n="undefined"!=typeof okta&&okta.cdnUrlHostname||"",r=a.default.pick(e.hash,["src","alt","width","height","class","title"]);r.src=""+n+o(r.src);var s=(0,O.default)(t=a.default).call(t,r,function(e,t){return t+'="'+("src"===t?encodeURI(e):i.default.Utils.escapeExpression(e))+'"'});return new i.default.SafeString("<img "+s.join(" ")+"/>")});var l=i.default;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(63));o.default.registerHelper("markdown",function(e){return(0,i.default)(o.default,e)});var a=o.default;t.default=a,e.exports=t.default},function(e,t,n){function r(e,t){var n,r=e.compile('<a href="{{href}}">{{text}}</a>');return n=o.default.isString(t)?e.Utils.escapeExpression(t).replace(l,"").replace(i,function(e){return r({href:e.match(a)[1],text:e.match(s)[1]})}):"",new e.SafeString(n)}(0,q.default)(t,"__esModule",{value:!0}),t.default=r;var o=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),i=/\[[^\]]*\]\([^)]*\)/gi,a=/\]\(([^)]*)\)/i,s=/\[([^\]]*)\]/i,l=/javascript:/gi;e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(3));o.default.registerHelper("xsrfTokenInput",function(){return new o.default.SafeString('<input type="hidden" class="hide" name="_xsrfToken" value="'+(0,i.default)("#_xsrfToken").text()+'">')});var a=o.default;t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(66)),i=r(n(1)),a=i.default.decorate(o.default);t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(0)),a=o.default.extend({constructor:function(){if(o.default.apply(this,arguments),!this.collection)throw new Error("Missing collection");this.listenTo(this.collection,"reset sort",this.reset),this.listenTo(this.collection,"add",this.addItem),this.fetchCollection?this.collection.fetch():this.collection.each(this.addItem,this)},item:null,itemSelector:null,reset:function(){var e=this;return this.removeChildren(),this.collection.each(function(t,n){e.addItem(t,n)}),this},addItem:function(e){var t=this.add(this.item,this.itemSelector,{options:{model:e}}).last();return this.state&&this.state.get("trackItemAdded")&&this.state.trigger("itemAdded",t),t.listenTo(e,"destroy remove",t.remove),this},addShowMore:i.default.noop});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(3)),s=r(n(0)),l=r(n(1)),u=i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:96},end:{line:1,column:104}}}):i))+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:133},end:{line:1,column:142}}}):i))},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="option-subtitle">'+e.escapeExpression((i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:192},end:{line:1,column:204}}}):i))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="" class="icon-16 '+c((s=null!=(s=f(n,"className")||(null!=t?f(t,"className"):t))?s:u,"function"===o(s)?s.call(l,{name:"className",hash:{},data:i,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):s))+'" data-se="'+c((s=null!=(s=f(n,"seleniumId")||(null!=t?f(t,"seleniumId"):t))?s:u,"function"===o(s)?s.call(l,{name:"seleniumId",hash:{},data:i,loc:{start:{line:1,column:50},end:{line:1,column:64}}}):s))+'">'+(null!=(a=f(n,"if").call(l,null!=t?f(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:66},end:{line:1,column:120}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"title"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:120},end:{line:1,column:149}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:149},end:{line:1,column:215}}}))?a:"")+"</a>"},useData:!0}),c=l.default.extend({tagName:"li",events:{click:function(e){e.preventDefault(),this.action&&this.action.call(this)}},constructor:function(){l.default.apply(this,arguments),this.$el.addClass("okta-dropdown-option option")},render:function(){return this.$el.html(u({icon:s.default.result(this,"icon"),className:s.default.result(this,"className")||"",title:s.default.result(this,"title"),subtitle:s.default.result(this,"subtitle"),seleniumId:s.default.result(this,"seleniumId")})),s.default.result(this,"disabled")&&this.disable(),this},disable:function(){var e;this.$el.addClass("option-disabled"),(0,I.default)(e=this.$el).call(e,"a").attr("tabindex","-1")}}),f=l.default.extend({events:{"click a.option-selected":function(e){e.preventDefault(),s.default.result(this,"disabled")&&e.stopPropagation()},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},items:[],constructor:function(){var e=this.className;this.className=null,l.default.apply(this,arguments),this.className=e,this.$el.addClass("dropdown more-actions float-l"),s.default.each(s.default.result(this,"items"),function(e){this.addOption(e,this.options)},this)},template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:176},end:{line:1,column:184}}}):i))+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="off-screen">'+e.escapeExpression((i=null!=(i=a(n,"screenReaderText")||(null!=t?a(t,"screenReaderText"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"screenReaderText",hash:{},data:o,loc:{start:{line:1,column:249},end:{line:1,column:269}}}):i))+"</span>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link-button '+c((s=null!=(s=f(n,"className")||(null!=t?f(t,"className"):t))?s:u,"function"===o(s)?s.call(l,{name:"className",hash:{},data:i,loc:{start:{line:1,column:31},end:{line:1,column:44}}}):s))+' link-button-icon option-selected center" aria-expanded="false" aria-controls="okta-dropdown-options">'+(null!=(a=f(n,"if").call(l,null!=t?f(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:146},end:{line:1,column:200}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"screenReaderText"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:200},end:{line:1,column:283}}}))?a:"")+'<span class="option-selected-text">'+c((s=null!=(s=f(n,"title")||(null!=t?f(t,"title"):t))?s:u,"function"===o(s)?s.call(l,{name:"title",hash:{},data:i,loc:{start:{line:1,column:318},end:{line:1,column:327}}}):s))+'</span><span class="icon-dm"></span></a><div id="okta-dropdown-options" class="options clearfix" style="display: none;"><ul class="okta-dropdown-list options-wrap clearfix"></ul></div>'},useData:!0}),getTemplateData:function(){var e,t=[s.default.result(this,"className")||"",s.default.result(this,"disabled")?"dropdown-disabled":""];return{icon:s.default.result(this,"icon"),className:(0,N.default)(e=a.default).call(e,t.join(" ")),title:s.default.result(this,"title"),screenReaderText:s.default.result(this,"screenReaderText")}},addOption:function(e,t){this.add(c.extend(e),"ul.options-wrap",{options:t||{}})}});t.default=f,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(!k&&this.$el.hasClass("o-form-saving")){var t=(0,s.default)(e.currentTarget);t.css("display","none");var n=document.elementFromPoint(e.clientX,e.clientY);return t.css("display","block"),e.target=n,(0,s.default)(n).trigger(e),!1}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(2)),s=r(n(3)),l=r(n(0)),u=r(n(4)),c=r(n(1)),f=r(n(69)),d=r(n(27)),p=r(n(70)),h=r(n(71)),m=r(n(10)),v=r(n(72)),y=r(n(73)),b=r(n(74)),_=r(n(75)),x=r(n(17)),E=a.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-title-bar" data-se="o-form-title-bar">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:75},end:{line:1,column:84}}}):i))+"</h2>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"title"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:192},end:{line:1,column:288}}}))?i:""},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:267},end:{line:1,column:276}}}):i))+"</h2>"},6:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="okta-form-subtitle o-form-explain" data-se="o-form-explain">'+e.escapeExpression((i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:385},end:{line:1,column:397}}}):i))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"hasReadMode"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:96}}}))?i:"")+'<div data-se="o-form-content" class="o-form-content '+e.escapeExpression((a=null!=(a=l(n,"layout")||(null!=t?l(t,"layout"):t))?a:e.hooks.helperMissing,"function"==typeof a?a.call(s,{name:"layout",hash:{},data:o,loc:{start:{line:1,column:148},end:{line:1,column:158}}}):a))+' clearfix">'+(null!=(i=l(n,"unless").call(s,null!=t?l(t,"hasReadMode"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:169},end:{line:1,column:299}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:299},end:{line:1,column:408}}}))?i:"")+'<div class="o-form-error-container" data-se="o-form-error-container"></div><div class="o-form-fieldset-container" data-se="o-form-fieldset-container"></div></div>'},useData:!0}),T=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-head">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i))+"</h2>"},useData:!0}),k="auto"===(0,s.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents,A={submit:function(e){e.preventDefault(),this.__save()}};l.default.each(["click","dblclick","mousedown","mouseup"],function(e){A[e+" .o-form-input"]=o});var C=function(e){e||(e={});var t=e&&e.collection||{};return{method:"POST",action:l.default.result(e,"urlRoot")||l.default.result(t,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}},R=function(e,t){e||(e="");var n=[];return l.default.isString(e)&&(n=e.split(" ")),n=l.default.union(n,t),n.join(" ")},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,g.default)(e.errorCauses)&&e.errorCauses.length>0?e.errorCauses[0].errorSummary:e.errorSummary},N=c.default.extend({constructor:function(e){e||(e={}),this.options=e,e.settings?this.settings=e.settings:this.settings=e.settings=new x.default,this.id=l.default.uniqueId("form"),this.tagName="form",l.default.defaults(this.events,A),l.default.defaults(this.attributes,C(e.model)),this.__buttons=[],this.__errorFields={},this.__saveModelState(e.model),this.step&&(this.save||(this.save=this.totalSteps&&this.step!==this.totalSteps?"Next":"Finish"),this.className+=" wizard"),this.className+=" o-form",this.__toolbar=this.__createToolbar(e),c.default.call(this,e),l.default.each(l.default.result(this,"inputs")||[],function(e){this.__addLayoutItem(e)},this),this.add(this.__toolbar,""),this.listenTo(this.model,"change:__edit__",this.__applyMode),this.listenTo(this.model,"invalid error",l.default.throttle(function(e,t,n){this.__showErrors(e,t,!1!==n)},100,{trailing:!1})),this.listenTo(this.model,"form:resize",function(){this.trigger("resize")}),this.listenTo(this.model,"form:cancel",l.default.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",l.default.throttle(this.__previous,100,{trailing:!1})),this.__save=l.default.throttle(this.__save,200,{trailing:!1}),this.listenTo(this.model,"form:save",function(){this.$el.submit()}),this.listenTo(this.model,"sync",function(){this.model.get("__edit__")&&this.model.set("__edit__",!1,{silent:!0}),this.__saveModelState(this.model),this.render()});var t=this.getAttribute("hasSavingState");if(this.getAttribute("autoSave")&&(this.listenTo(this,"save",function(e){var t=this,n=e.save();n&&n.done&&n.done(function(){t.trigger("saved",e)})}),l.default.isUndefined(t)&&(t=!0)),t){var n=this.getAttribute("customSavingState",{});this.listenTo(this.model,R(n.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,R(n.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){var t=this.getAttribute("danger"),n=!0===t?"button-error":"button-primary",r=new d.default(l.default.extend({save:this.save||u.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:n,cancel:this.cancel||u.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,buttonOrder:this.buttonOrder,hasPrevStep:this.step&&this.step>1},e||this.options));return l.default.each(this.__buttons,function(e){r.addButton.apply(r,e)}),r},className:"",attributes:{},events:{},inputs:[],template:null,read:!1,readOnly:!1,noButtonBar:!1,noCancelButton:!1,noSubmitButton:!1,buttonOrder:["previous","save","cancel"],save:null,cancel:null,danger:!1,layout:"",step:void 0,totalSteps:void 0,title:null,subtitle:null,autoSave:!1,scrollOnError:!0,showErrors:!0,resizeSelector:".o-form-content",getAttribute:function(e,t){var n=l.default.resultCtx(this.options,e,this);return l.default.isUndefined(n)&&(n=l.default.result(this,e)),l.default.isUndefined(n)?t:n},hasReadMode:function(){return!!this.getAttribute("read")},isReadOnly:function(){return!!this.getAttribute("readOnly")},hasButtonBar:function(){return!(this.getAttribute("noButtonBar")||this.isReadOnly())},render:function(){if(this.__readModeBar&&this.__readModeBar.remove(),this.hasReadMode()&&!this.isReadOnly()){var e=f.default.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(e,".o-form-title-bar").last()}var t=E({layout:this.getAttribute("layout",""),title:this.getAttribute("title","",!0),subtitle:this.getAttribute("subtitle","",!0),hasReadMode:this.hasReadMode()});return this.$el.html(t),delete this.template,c.default.prototype.render.apply(this,arguments),this.__applyMode(),this},__setSavingState:function(){this.model.trigger("form:set-saving-state"),this.$el.addClass("o-form-saving")},__clearSavingState:function(){this.model.trigger("form:clear-saving-state"),this.$el.removeClass("o-form-saving")},__toggleToolbar:function(){this.__toolbar&&this.__toolbar.remove(),this.hasButtonBar()&&this._editMode()&&(this.__toolbar=this.__createToolbar(),this.add(this.__toolbar,"")),this.trigger("resize")},__cancel:function(){var e=this.model.get("__edit__");this.model.clear({silent:!0});var t;t=this.model.sanitizeAttributes?this.model.sanitizeAttributes(this.__originalModel):l.default.clone(this.__originalModel),this.model.set(t,{silent:!0}),this.trigger("cancel",this.model),this.model.trigger("cache:clear"),e&&(this.model.set("__edit__",!1,{silent:!0}),this.model.trigger("change:__edit__",this.model,!1)),this.clearErrors()},isValid:function(){function e(e){var t;return(0,S.default)(t=l.default).call(t,e,function(e,t){return l.default.extend(e,n.model.validateField(t))},{})}var t,n=this;if(l.default.isUndefined(this.validate))return this.model.isValid();if(l.default.isFunction(this.validate))t=this.validate();else if(l.default.isArray(this.validate))t=e(this.validate);else if("local"===this.validate){var r;t=e((0,O.default)(r=this.getInputs()).call(r,function(e){return e.options.name}))}return!!l.default.isEmpty(t)||(this.model.trigger("invalid",this.model,t),!1)},__save:function(){this.clearErrors(),this.isValid()&&this.trigger("save",this.model)},__previous:function(){this.trigger("previous",this.model)},__applyMode:function(){this.clearErrors(),this.__toggleToolbar(),this._editMode()?(this.$el.addClass("o-form-edit-mode"),this.$el.removeClass("o-form-read-mode"),this.$(".o-form-content").removeClass("rounded-btm-4"),this.focus()):(this.$el.removeClass("o-form-edit-mode"),this.$el.addClass("o-form-read-mode"),this.$(".o-form-content").addClass("rounded-btm-4"))},_editMode:function(){return this.model.get("__edit__")||!this.hasReadMode()},parseErrorMessage:l.default.identity,_handleErrorScroll:function(){if(this.getAttribute("scrollOnError")){var e=(0,s.default)("#"+this.id+" .o-form-error-container");if(e.length){var t,n=e.scrollParent();n[0]===document?(n=(0,s.default)("html, body"),t=e.offset().top):t=n.scrollTop()+e.offset().top-n.offset().top,n.animate({scrollTop:t},400)}}},__showErrors:function(e,t,n){if(this.trigger("error",e),this.getAttribute("showErrors")){var r,o=h.default.getResponseJSON(t),i=h.default.parseFieldErrors(t);l.default.size(i)?l.default.each(i,function(e,t){var n;this.model.trigger("form:field-error",this.__errorFields[t]||t,(0,O.default)(n=l.default).call(n,e,function(e){return/^model\.validation/.test(e)?u.default.localize(e,"courage"):e}))},this):(o=this.parseErrorMessage(o),r=I(o)),n&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(p.default,".o-form-error-container",{options:{errorSummary:r}})),this._handleErrorScroll(),this.model.trigger("form:resize")}},clearErrors:function(){this.$(".o-form-error-container").removeClass("o-form-has-errors"),this.model.trigger("form:clear-errors"),this.model.trigger("form:resize")},toggle:function(){return this.model.set("__edit__",!this.hasReadMode()||!this.model.get("__edit__")),this},__addLayoutItem:function(e){y.default.supports(e)?this.addInput(e):this.__addNonInputLayoutItem(e)},__addNonInputLayoutItem:function(e){var t=l.default.omit(e,"type");switch(e.type){case"sectionTitle":this.addSectionTitle(e.title,l.default.omit(t,"title"));break;case"divider":this.addDivider(t);break;default:throw new Error("unknown input: "+e.type)}},addButton:function(e,t){this.__toolbar&&this.__toolbar.addButton(e,t),this.__buttons.push([e,t])},addDivider:function(e){return this.add('<div class="okta-form-divider form-divider"></div>'),m.default.applyShowWhen(this.last(),e&&e.showWhen),m.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,t){return this.add(T({title:e})),m.default.applyShowWhen(this.last(),t&&t.showWhen),m.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addInput:function(e){var t,n,r;e=l.default.clone(e),m.default.validateInput(e,this.model);var o=(0,i.default)(t=m.default.generateInputOptions(e,this,this.__createInput)).call(t);l.default.isEmpty(this.getInputs().toArray())&&l.default.extend(o[0],{validateOnlyIfDirty:!0});var a=(0,O.default)(n=l.default).call(n,o,this.__createInput,this);l.default.each(o,function(e){e.errorField&&(this.__errorFields[e.errorField]=e.name)},this);var s={inputId:l.default.last(a).options.inputId,input:a,multi:o.length>1?o.length:void 0};l.default.extend(s,l.default.omit(this.options,"input"),l.default.omit(e,"input"));var u=this.__createWrapper(s);!1!==s.label&&u.add(this.__createLabel(s)),u.add(this._createContainer(s)),u.type=s.type||s.input.type||"custom";var c=(0,j.default)(r=[u]).call(r,l.default.rest(arguments));return this.add.apply(this,c)},__createInput:function(e){return e=l.default.pick(e,m.default.INPUT_OPTIONS),y.default.create(e)},__createWrapper:function(e){return e=l.default.pick(e,m.default.WRAPPER_OPTIONS),new _.default(e)},__createLabel:function(e){return e=l.default.pick(e,m.default.LABEL_OPTIONS),new b.default(e)},_createContainer:function(e){return e=l.default.pick(e,m.default.CONTAINER_OPTIONS),new v.default(e)},__saveModelState:function(e){this.__originalModel=s.default.extend(!0,{},e.attributes)},add:function(){var e=l.default.toArray(arguments);return void 0===e[1]&&(e[1]="> div.o-form-content > .o-form-fieldset-container"),c.default.prototype.add.apply(this,e)},focus:function(){var e=this.getInputs().first();return e&&e.focus&&e.focus(),this},disable:function(){return this.invoke("disable"),this},enable:function(){this.invoke("enable")},contentHeight:function(e){var t=this.$(".o-form-content");if(!l.default.isNumber(e))return t.height();t.css("max-height",e)},getInputs:function(){var e;return(0,l.default)((0,w.default)(e=this).call(e,function(e){return e instanceof _.default}))}});t.default=N,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1)),i=r(n(10)),a=o.default.extend({el:'<span class="o-form-toggle" data-type="header-btn"></span>',formTitle:"",modelEvents:{"change:__edit__":"toggle"},initialize:function(){this.addButton()},addButton:function(){this.model.get("__edit__")?this.add(i.default.createReadFormButton({type:"cancel"})):this.add(i.default.createReadFormButton({type:"edit",formTitle:this.formTitle,className:"ajax-form-edit-link"}))},toggle:function(){this.removeChildren(),this.addButton()}});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(1)),a=i.default.extend({template:o.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i=null!=(i=a(n,"errorSummary")||(null!=t?a(t,"errorSummary"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"errorSummary",hash:{},data:o,loc:{start:{line:1,column:130},end:{line:1,column:146}}}):i))+"</p>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.errorbanner.title"},data:o,loc:{start:{line:1,column:161},end:{line:1,column:217}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span>'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"errorSummary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:107},end:{line:1,column:228}}}))?i:"")+"</div>"},useData:!0}),modelEvents:{"form:clear-errors":"remove"}});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(4)),a=/^([\S]+): (.+)$/,s={getResponseJSON:function(e){try{return e.responseJSON||JSON.parse(e.responseText)}catch(e){return}},parseErrorSummary:function(e){var t=e.match(a);if(t)return[t[1],t[2]]},parseErrorCauseObject:function(e){if(e.property&&e.errorSummary){var t=i.default.localize(e.reason),n=e.errorSummary;return[e.property,-1===(0,x.default)(t).call(t,"L10N_ERROR[")?t:n]}},parseErrors:function(e){var t,n=this.getResponseJSON(e);return(0,O.default)(t=o.default).call(t,n&&n.errorCauses||[],function(e){return(""+e.errorSummary).replace(a,"$2")})},parseFieldErrors:function(e){var t=this.getResponseJSON(e),n={};return t?o.default.each(t.errorCauses||[],function(e){var t=[];if(t=e.property&&e.errorSummary?this.parseErrorCauseObject(e):e.location&&e.errorSummary?[e.location,e.errorSummary]:this.parseErrorSummary(e&&e.errorSummary||"")){var r=t[0],o=t[1];n[r]||(n[r]=[]),n[r].push(o)}},this):o.default.isObject(e)&&o.default.size(e)&&o.default.each(e,function(e,t){n[t]=[e]}),o.default.size(n)?n:void 0}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0)),s=r(n(7)),l=r(n(19)),u=r(n(4)),c=r(n(1)),f=l.default.isABaseView,d=c.default.extend({attributes:function(){return{"data-se":"o-form-input-container"}},className:function(){var e="o-form-input";if(this.options.wide&&(e+=" o-form-wide"),a.default.contains([1,2,3,4],this.options.multi)&&(e+=" o-form-multi-input-"+this.options.multi,a.default.isArray(this.options.input))){var t;(0,I.default)(t=a.default).call(t,this.options.input,function(e){return a.default.contains(["text+select","select+text"],e.options.type)})&&(e+=" o-form-multi-input-group-"+this.options.multi)}return e},_getNames:function(){var e=a.default.isArray(this.options.name)?this.options.name:[this.options.name];return"group"===this.options.type?e.push.apply(e,a.default.pluck(this.options.input[0].options.params.inputs,"name")):a.default.isArray(this.options.name)?this.options.input&&this.options.input.options&&this.options.input.options.name&&e.push(this.options.input.options.name):this.options.input&&(a.default.isArray(this.options.input)?a.default.each(this.options.input,function(t){e.push(t.options.name)}):e.push(this.options.input.options.name)),a.default.uniq(a.default.compact(e))},_getInputElement:function(){var e=(0,g.default)(this.options.input)?a.default.last(this.options.input):this.options.input,t=e&&e.options&&e.options.inputId,n=t?this.$("#"+t):null;return n&&n.length?n:null},constructor:function(){c.default.apply(this,arguments);var e=this.options["explain-top"]&&this.options["label-top"];this.options.input&&(a.default.isArray(this.options.input)?a.default.each(this.options.input,function(t){this.add(t,{prepend:!e})},this):this.add(this.options.input,{prepend:!e})),this.__setExplain(this.options);var t=this._getNames();this.listenTo(this.model,"form:field-error",function(n,r){a.default.contains(t,n)&&this.__setError(r,e)}),this.listenTo(this.model,"form:clear-errors change:"+t.join(" change:"),this.__clearError),this.listenTo(this.model,"form:clear-error:"+t.join(" form:clear-error:"),this.__clearError),a.default.resultCtx(this.options,"autoRender",this)&&this.listenTo(this.model,"change:"+this.options.name,this.render),this.__errorState=!1},__setExplain:function(e){var t;if(e.customExplain)return s.default.warn("Deprecated - use explain instead of customExplain"),void this.add(this.options.customExplain);t=e.explain,a.default.isFunction(t)&&!f(t)&&(t=a.default.resultCtx(this.options,"explain",this)),t&&(f(t)?(this.template=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<p class="o-form-explain"></p>'},useData:!0}),this.add(t," > .o-form-explain")):this.template=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="o-form-explain">'+e.escapeExpression((i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:37}}}):i))+"</p>"},useData:!0}))},__setError:function(e,t){this.__errorState=!0,this.$el.addClass("o-form-has-errors");var n=a.default.uniqueId("input-container-error"),r=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p id="'+u((a=null!=(a=c(n,"errorId")||(null!=t?c(t,"errorId"):t))?a:l,"function"===o(a)?a.call(s,{name:"errorId",hash:{},data:i,loc:{start:{line:1,column:7},end:{line:1,column:18}}}):a))+'" class="okta-form-input-error o-form-input-error o-form-explain" role="alert"><span class="icon icon-16 error-16-small" role="img" aria-label="'+u((a=null!=(a=c(n,"iconLabel")||(null!=t?c(t,"iconLabel"):t))?a:l,"function"===o(a)?a.call(s,{name:"iconLabel",hash:{},data:i,loc:{start:{line:1,column:162},end:{line:1,column:175}}}):a))+'"></span>'+u((a=null!=(a=c(n,"text")||(null!=t?c(t,"text"):t))?a:l,"function"===o(a)?a.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:184},end:{line:1,column:192}}}):a))+"</p>"},useData:!0}),s=u.default.localize("oform.error.icon.ariaLabel","courage"),l=r({errorId:n,iconLabel:s,text:e.join(", ")}),c=this.$(".o-form-explain").not(".o-form-input-error").first();c.length&&!t?c.before(l):this.$el.append(l);var f=this._getInputElement()||this.$el;f.attr("aria-describedby",n),f.attr("aria-invalid",!0)},__clearError:function(){var e=this;if(this.__errorState){this.$(".o-form-input-error").remove();var t=this._getInputElement()||this.$el;t.attr("aria-describedby",null),t.attr("aria-invalid",null),this.$el.removeClass("o-form-has-errors"),this.__errorState=!1,a.default.defer(function(){e.model.trigger("form:resize")})}},focus:function(){return this.each(function(e){if(e.focus)return e.focus()}),this}});t.default=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){return l.default.isBaseInput(e)&&e.prototype?new e(s.default.omit(t,"input")):e}function i(e){if(e=s.default.clone(e),e.input)return o(e.input,e);var t=l.default.get(e);if(!t)throw new Error("unknown input: "+e.type);return o(t,e)}function a(e){return!!e.input||!!l.default.get(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(0)),l=r(n(28)),u={create:i,supports:a};t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0));n(29);var s=r(n(1)),l=s.default.extend({className:"okta-form-label o-form-label",attributes:{"data-se":"o-form-label"},constructor:function(e){a.default.defaults(e,{inputId:e.id}),delete e.id,s.default.apply(this,arguments)},template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+e.escapeExpression((i=null!=(i=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:33},end:{line:1,column:44}}}):i))+'"></label>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:88},end:{line:1,column:97}}}):i))},5:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+u((a=null!=(a=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?a:l,"function"===o(a)?a.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:139},end:{line:1,column:150}}}):a))+'">'+u((a=null!=(a=c(n,"label")||(null!=t?c(t,"label"):t))?a:l,"function"===o(a)?a.call(s,{name:"label",hash:{},data:i,loc:{start:{line:1,column:152},end:{line:1,column:161}}}):a))+"&nbsp;</label>"},7:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression((i=null!=(i=a(n,"sublabel")||(null!=t?a(t,"sublabel"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"sublabel",hash:{},data:o,loc:{start:{line:1,column:228},end:{line:1,column:240}}}):i))+"</span>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-tooltip icon-16 icon-only form-help-16" title="'+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"tooltip"):t)?a(i,"text"):i,t))+'"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isLabelView"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:61}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isRadioOrCheckbox"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:61},end:{line:1,column:104}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_standardLabel"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:104},end:{line:1,column:182}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"sublabel"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:182},end:{line:1,column:254}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:254},end:{line:1,column:369}}}))?i:"")},useData:!0}),getTemplateData:function(){var e={label:""};return a.default.each(["inputId","label","sublabel","tooltip"],function(t){e[t]=a.default.resultCtx(this.options,t,this)},this),this._isLabelView(e.label)?e._isLabelView=!0:a.default.contains(["radio","checkbox"],this.options.type)||!e.label?e._isRadioOrCheckbox=!0:e._standardLabel=!0,e.tooltip&&a.default.isString(e.tooltip)&&(e.tooltip={text:e.tooltip}),e},_isLabelView:function(e){return!a.default.isUndefined(e)&&e instanceof s.default},postRender:function(){var e=this.getTemplateData();this._isLabelView(e.label)&&(this.removeChildren(),this.add(e.label,"label")),e.tooltip&&this.$(".o-form-tooltip").qtip(a.default.extend({style:{classes:"qtip-custom qtip-shadow"},position:{my:window.okta&&"dstheme"===window.okta.theme?"bottom center":"bottom left",at:"top center"},hide:{fixed:!0},show:{delay:0}},e.tooltip.options))}});t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n;e.apply(this,(0,O.default)(n=a.default).call(n,t.split(/\s+/),function(e){return this.model.get(e)},this))}function i(e,t){a.default.isFunction(e)&&e.call(t)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),s=r(n(1)),l=r(n(10)),u=s.default.extend({className:function(){var e="o-form-fieldset";return this.options["label-top"]&&(e+=" o-form-label-top"),this.options.readOnly&&(e+=" o-form-read-mode"),e},attributes:function(){return{"data-se":this.options["data-se"]||"o-form-fieldset"}},constructor:function(e){e.className&&(this.inputWrapperClassName=this.className,this.optionsClassName=e.className,e.className=function(){return a.default.result(this,"inputWrapperClassName","")+" "+a.default.result(this,"optionsClassName")}),s.default.apply(this,arguments),a.default.each(e.events||{},function(e,t){this.listenTo(this.model,t,e)},this),a.default.each(e.bindings||{},function(e,t){var n;this.listenTo(this.model,l.default.changeEventString(t.split(/\s+/)),(0,U.default)(n=a.default).call(n,o,this,e,t))},this),l.default.applyShowWhen(this,e.showWhen),l.default.applyToggleWhen(this,e.toggleWhen),i(e.initialize,this)},postRender:function(){a.default.each(this.options.bindings||{},o,this),i(this.options.render,this)},getLabel:function(){return this.size()>1?this.at(0):null},getInput:function(){return this.getInputContainer()},getInputContainer:function(){return this.at(this.size()>1?1:0)},getInputs:function(){return this.getInputContainer().toArray()},focus:function(){return this.getInput().focus()}});t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t=e.get("__displayType__"),n=e.get("__possibleValues__"),r=e.get("name"),o=e.get("title"),i={type:"text",name:r,label:o||r};switch(t){case"arrayofstring":i.input=g.default,i.params={itemType:"string"};break;case"arrayofnumber":i.input=g.default,i.params={itemType:"number"};break;case"arrayofinteger":i.input=g.default,i.params={itemType:"integer"};break;case"arrayofobject":i.input=g.default,i.params={itemType:e.get("items").type};break;case"arrayofref-id":i.input=g.default,i.params={itemType:e.get("items").format};break;case"boolean":i.input=v.default;break;case"integer":case"number":i.to=a;break;case"reference":i.type="select",i.options=l(n);break;case"image":i.readOnly=!0,i.from=function(e){return h.default.isEmpty(e)?"":m.default.localize("user.profile.image.image_set","courage")};break;case"password":i.type="password";break;case"date":i.type="date";break;case"uri":case"country-code":case"country_code":case"language-code":case"language_code":case"email":case"locale":case"timezone":case"string":case"object":break;default:throw new Error("unknown type: "+t)}return i}function i(e){var t={},n=e.get("name"),r=e.get("__displayType__"),o=e.get("__possibleValues__"),i=e.get("__fieldNamePrefix__");if(i&&(t.name=i+n,t.errorField=n),e.isEnumType()){var a={displayType:r,title:e.get("title"),enumValues:e.getEnumValues()};t=h.default.extend({},y.default.getEnumInputOptions(a),t)}else s(r)&&o&&(t.type="checkboxset",t.input=null,t.options=l(o));return t}function a(e){var t=m.default.parseFloat(e);return""===e?null:t}function s(e){return e&&(0,x.default)(e).call(e,"array")>=0}function l(e){return h.default.object(e,e)}function u(e){var t=e.get("items");return t?t.objectName:e.get("objectName")}function c(e,t,n){var r,o,i=e.get("name"),a=n.__nestedProperty__,s=t[i],l=n.get(i);a&&e.set("__fieldNamePrefix__",a),r=t[u(e)],s&&l&&(s=h.default.union(s,l)),r&&r.length?o=r:s&&s.length&&(o=s),e.set("__possibleValues__",o)}function f(e,t,n){return e.each(function(e){c(e,t,n)}),e}function d(e,t){return(0,w.default)(e).call(e,function(e){return p(e,t)})}function p(e,t){var n=u(e),r=t[n];return!n||!(0,h.default)(r).isEmpty()}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var h=r(n(0)),m=r(n(4)),v=r(n(77)),g=r(n(79)),y=r(n(21)),b={createInputOptions:function(e){var t=i(e),n=o(e);return t.params&&n.params&&(t.params=h.default.defaults(t.params,n.params)),h.default.defaults(t,n)},hasValidSchemaProps:function(e,t){return!h.default.isEmpty(e)&&!!d(e,t).length},prepareSchema:function(e,t,n){return e.reset(d(e,t)),f(e,t,n)},augmentSchemaProps:f,augmentSchemaProp:c};t.default=b,e.exports=t.default},function(e,t,n){(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(30)),o={undefined:"undefined",true:"true",false:"false"},i=function(e){return e?"true":!1===e?"false":"undefined"},a=function(e){switch(e){case"undefined":return null;case"true":return!0;case"false":return!1;default:return null}},s=r.default.extend({initialize:function(){this.options.options=o,this.options.from=i,this.options.to=a}});t.default=s,e.exports=t.default},function(e,t,n){var r,i;r=[n(12)],void 0!==(i=function(e){(function(){var e;e=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,r,o,i,a;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,children:0,disabled:e.disabled}),i=e.childNodes,a=[],r=0,o=i.length;r<o;r++)n=i[r],a.push(this.add_option(n,t,e.disabled));return a},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}(),e.select_to_array=function(t){var n,r,o,i,a;for(r=new e,a=t.childNodes,o=0,i=a.length;o<i;o++)n=a[o],r.add_node(n);return r.parsed},this.SelectParser=e}).call(this),function(){var e,t;t=this,e=function(){function e(t,n){this.form_field=t,this.options=null!=n?n:{},e.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.finish_setup())}return e.prototype.set_default_values=function(){var e=this;return this.click_test_action=function(t){return e.test_active_click(t)},this.activate_action=function(t){return e.activate_field(t)},this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null,this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=this.options.single_backstroke_delete||!1,this.max_selected_options=this.options.max_selected_options||1/0,this.inherit_select_classes=this.options.inherit_select_classes||!1},e.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||e.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||e.default_single_text,this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||e.default_no_result_text},e.prototype.mouse_enter=function(){return this.mouse_on_container=!0},e.prototype.mouse_leave=function(){return this.mouse_on_container=!1},e.prototype.input_focus=function(e){var t=this;if(this.is_multiple){if(!this.active_field)return(0,C.default)(function(){return t.container_mousedown()},50)}else if(!this.active_field)return this.activate_field()},e.prototype.input_blur=function(e){var t=this;if(!this.mouse_on_container)return this.active_field=!1,(0,C.default)(function(){return t.blur_test()},100)},e.prototype.result_add_option=function(e){var t,n;return e.dom_id=this.container_id+"_o_"+e.array_index,t=[],e.disabled||e.selected&&this.is_multiple||t.push("active-result"),!e.disabled||e.selected&&this.is_multiple||t.push("disabled-result"),e.selected&&t.push("result-selected"),null!=e.group_array_index&&t.push("group-option"),""!==e.classes&&t.push(e.classes),n=""!==e.style.cssText?' style="'+e.style+'"':"",'<li id="'+e.dom_id+'" class="'+t.join(" ")+'"'+n+">"+e.html+"</li>"},e.prototype.results_update_field=function(){return this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.result_single_selected=null,this.results_build()},e.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},e.prototype.results_search=function(e){return this.results_showing?this.winnow_results():this.results_show()},e.prototype.choices_count=function(){var e,t,n,r;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,r=this.form_field.options,t=0,n=r.length;t<n;t++)e=r[t],e.selected&&(this.selected_option_count+=1);return this.selected_option_count},e.prototype.choices_click=function(e){if(e.preventDefault(),!this.results_showing&&!this.is_disabled)return this.results_show()},e.prototype.keyup_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),t){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0)return this.keydown_backstroke();if(!this.pending_backstroke)return this.result_clear_highlight(),this.results_search();break;case 13:if(e.preventDefault(),this.results_showing)return this.result_select(e);break;case 27:return this.results_showing&&this.results_hide(),!0;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},e.prototype.generate_field_id=function(){var e;return e=this.generate_random_id(),this.form_field.id=e,e},e.prototype.generate_random_char=function(){var e,t;return e="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ",t=Math.floor(Math.random()*e.length),e.substring(t,t+1)},e.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},e.browser_is_supported=function(){var e;return"Microsoft Internet Explorer"!==window.navigator.appName||null!==(e=document.documentMode)&&e>=8},e.default_multiple_text="Select Some Options",e.default_single_text="Select an Option",e.default_no_result_text="No results match",e}(),t.AbstractChosen=e}.call(this),function(){var t,n,r,i,a={}.hasOwnProperty,s=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};r=this;var l=r.AbstractChosen;t=e,t.fn.extend({chosen:function(e){return l.browser_is_supported()?this.each(function(r){var o;if(o=t(this),!o.hasClass("chzn-done"))return o.data("chosen",new n(this,e))}):this}}),n=function(e){function n(){return i=n.__super__.constructor.apply(this,arguments)}return s(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},n.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},n.prototype.set_up_html=function(){var e,n,r,o,i,a;if(this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",i=["chzn-container"],i.push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&i.push(this.form_field.className),this.is_rtl&&i.push("chzn-rtl"),a={id:this.container_id,class:i.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.container=t("<div></div>",a),this.is_multiple?this.container.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop"><ul class="chzn-results"></ul></div>'):this.container.html('<a href="javascript:void(0)" class="chzn-single chzn-default" tabindex="-1"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(this.container),this.dropdown=(0,I.default)(e=this.container).call(e,"div.chzn-drop").first(),this.search_field=(0,I.default)(n=this.container).call(n,"input").first(),this.search_results=(0,I.default)(r=this.container).call(r,"ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=(0,I.default)(o=this.container).call(o,"li.no-results").first(),this.is_multiple){var s,l;this.search_choices=(0,I.default)(s=this.container).call(s,"ul.chzn-choices").first(),this.search_container=(0,I.default)(l=this.container).call(l,"li.search-field").first()}else{var u,c;this.search_container=(0,I.default)(u=this.container).call(u,"div.chzn-search").first(),this.selected_item=(0,I.default)(c=this.container).call(c,".chzn-single").first()}return this.results_build(),this.set_tab_index(),this.set_label_behavior(),this.form_field_jq.trigger("liszt:ready",{chosen:this})},n.prototype.register_observers=function(){var e,t,n,r,o=this;return this.container.mousedown(function(e){o.container_mousedown(e)}),this.container.mouseup(function(e){o.container_mouseup(e)}),this.container.mouseenter(function(e){o.mouse_enter(e)}),this.container.mouseleave(function(e){o.mouse_leave(e)}),this.search_results.mouseup(function(e){o.search_results_mouseup(e)}),this.search_results.mouseover(function(e){o.search_results_mouseover(e)}),this.search_results.mouseout(function(e){o.search_results_mouseout(e)}),(0,U.default)(e=this.search_results).call(e,"mousewheel DOMMouseScroll",function(e){o.search_results_mousewheel(e)}),(0,U.default)(t=this.form_field_jq).call(t,"liszt:updated",function(e){o.results_update_field(e)}),(0,U.default)(n=this.form_field_jq).call(n,"liszt:activate",function(e){o.activate_field(e)}),(0,U.default)(r=this.form_field_jq).call(r,"liszt:open",function(e){o.container_mousedown(e)}),this.search_field.blur(function(e){o.input_blur(e)}),this.search_field.keyup(function(e){o.keyup_checker(e)}),this.search_field.keydown(function(e){o.keydown_checker(e)}),this.search_field.focus(function(e){o.input_focus(e)}),this.is_multiple?this.search_choices.click(function(e){o.choices_click(e)}):this.container.click(function(e){e.preventDefault()})},n.prototype.search_field_disabled=function(){if(this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled)return this.container.addClass("chzn-disabled"),this.search_field[0].disabled=!0,this.is_multiple||this.selected_item.unbind("focus",this.activate_action),this.close_field();if(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,!this.is_multiple){var e;return(0,U.default)(e=this.selected_item).call(e,"focus",this.activate_action)}},n.prototype.container_mousedown=function(e){if(!this.is_disabled&&(e&&"mousedown"===e.type&&!this.results_showing&&e.preventDefault(),null==e||!t(e.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chzn-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(document).click(this.click_test_action),this.results_show()),this.activate_field()},n.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},n.prototype.search_results_mousewheel=function(e){var t,n,r;if(null!=(t=-(null!=(n=e.originalEvent)?n.wheelDelta:void 0)||(null!=(r=e.originialEvent)?r.detail:void 0)))return e.preventDefault(),"DOMMouseScroll"===e.type&&(t*=40),this.search_results.scrollTop(t+this.search_results.scrollTop())},n.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(document).unbind("click",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale()},n.prototype.activate_field=function(){return this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){return t(e.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){var e,t,n,o,i;if(this.parsing=!0,this.selected_option_count=null,this.results_data=r.SelectParser.select_to_array(this.form_field),this.is_multiple){var a;(0,I.default)(a=this.search_choices).call(a,"li.search-choice").remove()}else if(!this.is_multiple){var s;(0,I.default)(s=this.selected_item.addClass("chzn-default")).call(s,"span").text(this.default_text),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chzn-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chzn-container-single-nosearch"))}for(e="",i=this.results_data,n=0,o=i.length;n<o;n++)if(t=i[n],t.group)e+=this.result_add_group(t);else if(!t.empty)if(e+=this.result_add_option(t),t.selected&&this.is_multiple)this.choice_build(t);else if(t.selected&&!this.is_multiple){var l;(0,I.default)(l=this.selected_item.removeClass("chzn-default")).call(l,"span").text(t.text),this.allow_single_deselect&&this.single_deselect_control_build()}return this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.search_results.html(e),this.parsing=!1},n.prototype.result_add_group=function(e){return e.dom_id=this.container_id+"_g_"+e.array_index,'<li id="'+e.dom_id+'" class="group-result">'+t("<div></div>").text(e.label).html()+"</li>"},n.prototype.result_do_highlight=function(e){var t,n,r,o,i;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),r=(0,M.default)(this.search_results.css("maxHeight"),10),i=this.search_results.scrollTop(),o=r+i,n=this.result_highlight.position().top+this.search_results.scrollTop(),(t=n+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(t-r>0?t-r:0);if(n<i)return this.search_results.scrollTop(n)}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.container.addClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:showing_dropdown",{chosen:this}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val()),this.winnow_results())},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chzn-with-drop"),this.form_field_jq.trigger("liszt:hiding_dropdown",{chosen:this})),this.results_showing=!1},n.prototype.set_tab_index=function(e){var t;if(this.form_field_jq.attr("tabindex"))return t=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1),this.search_field.attr("tabindex",t)},n.prototype.set_label_behavior=function(){var e=this;if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.click(function(t){return e.is_multiple?e.container_mousedown(t):e.activate_field()})},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var n;if(n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first(),n.length)return this.result_highlight=n,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var n;if(n=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(n)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result"))return this.result_clear_highlight()},n.prototype.choice_build=function(e){var n,r,o=this;return n=t("<li></li>",{class:"search-choice"}).html("<span>"+e.html+"</span>"),e.disabled?n.addClass("search-choice-disabled"):(r=t("<a></a>",{href:"#",class:"search-choice-close",rel:e.array_index}),r.click(function(e){return o.choice_destroy_link_click(e)}),n.append(r)),this.search_container.before(n)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(e){if(this.result_deselect(e.attr("rel")))return this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.search_field.val().length<1&&this.results_hide(),e.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){var e;if(this.form_field.options[0].selected=!0,this.selected_option_count=null,(0,I.default)(e=this.selected_item).call(e,"span").text(this.default_text),this.is_multiple||this.selected_item.addClass("chzn-default"),this.show_search_field_default(),this.results_reset_cleanup(),this.form_field_jq.trigger("change"),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){var e;return this.current_selectedIndex=this.form_field.selectedIndex,(0,I.default)(e=this.selected_item).call(e,"abbr").remove()},n.prototype.result_select=function(e){var t,n,r,i;if(this.result_highlight){if(t=this.result_highlight,n=t.attr("id"),this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count())return this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1;if(this.is_multiple)t.removeClass("active-result");else{var a;(0,I.default)(a=this.search_results).call(a,".result-selected").removeClass("result-selected"),this.result_single_selected=t,this.selected_item.removeClass("chzn-default")}if(t.addClass("result-selected"),i=n.substr((0,o.default)(n).call(n,"_")+1),r=this.results_data[i],r.selected=!0,this.form_field.options[r.options_index].selected=!0,this.selected_option_count=null,this.is_multiple)this.choice_build(r);else{var s;(0,I.default)(s=this.selected_item).call(s,"span").first().text(r.text),this.allow_single_deselect&&this.single_deselect_control_build()}return(e.metaKey||e.ctrlKey)&&this.is_multiple||this.results_hide(),this.search_field.val(""),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.form_field_jq.trigger("change",{selected:this.form_field.options[r.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,this.search_field_scale()}},n.prototype.result_activate=function(e,t){return t.disabled?e.addClass("disabled-result"):this.is_multiple&&t.selected?e.addClass("result-selected"):e.addClass("active-result")},n.prototype.result_deactivate=function(e){return e.removeClass("active-result result-selected disabled-result")},n.prototype.result_deselect=function(e){var n,r;return r=this.results_data[e],!this.form_field.options[r.options_index].disabled&&(r.selected=!1,this.form_field.options[r.options_index].selected=!1,this.selected_option_count=null,n=t("#"+this.container_id+"_o_"+e),n.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change",{deselected:this.form_field.options[r.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){var e;if(this.allow_single_deselect){if(!(0,I.default)(e=this.selected_item).call(e,"abbr").length){var t;(0,I.default)(t=this.selected_item).call(t,"span").first().after('<abbr class="search-choice-close"></abbr>')}return this.selected_item.addClass("chzn-single-with-deselect")}},n.prototype.winnow_results=function(){var e,n,r,o,i,a,s,l,u,c,f,d,p,h,m,v,g,y;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":t("<div></div>").text((0,N.default)(t).call(t,this.search_field.val())).html(),a=this.search_contains?"":"^",i=new RegExp(a+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),p=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),y=this.results_data,h=0,v=y.length;h<v;h++)if(n=y[h],!n.empty)if(n.group)t("#"+n.dom_id).css("display","none");else{var b,_;if(e=!1,l=n.dom_id,s=t("#"+l),i.test(n.html))e=!0,u+=1;else if(this.enable_split_word_search&&((0,x.default)(b=n.html).call(b," ")>=0||0===(0,x.default)(_=n.html).call(_,"["))&&(o=n.html.replace(/\[|\]/g,"").split(" "),o.length))for(m=0,g=o.length;m<g;m++)r=o[m],i.test(r)&&(e=!0,u+=1);e?(c.length?(f=n.html.search(p),d=n.html.substr(0,f+c.length)+"</em>"+n.html.substr(f+c.length),d=d.substr(0,f)+"<em>"+d.substr(f)):d=n.html,s.html(d),this.result_activate(s,n),null!=n.group_array_index&&t("#"+this.results_data[n.group_array_index].dom_id).css("display","list-item")):(this.result_highlight&&l===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(s))}return u<1&&c.length?this.no_results(c):this.winnow_results_set_highlight()},n.prototype.winnow_results_set_highlight=function(){var e,t;if(!this.result_highlight){var n,r;if(t=this.is_multiple?[]:(0,I.default)(n=this.search_results).call(n,".result-selected.active-result"),null!=(e=t.length?t.first():(0,I.default)(r=this.search_results).call(r,".active-result").first()))return this.result_do_highlight(e)}},n.prototype.no_results=function(e){var n;return n=t('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>'),(0,I.default)(n).call(n,"span").first().html(e),this.search_results.append(n)},n.prototype.no_results_clear=function(){var e;return(0,I.default)(e=this.search_results).call(e,".no-results").remove()},n.prototype.keydown_arrow=function(){var e;return this.results_showing&&this.result_highlight?(e=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(e):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result"),e.length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight())):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var e;if(this.pending_backstroke){var t;return this.choice_destroy((0,I.default)(t=this.pending_backstroke).call(t,"a").first()),this.clear_backstroke()}if(e=this.search_container.siblings("li.search-choice").last(),e.length&&!e.hasClass("search-choice-disabled"))return this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.keydown_checker=function(e){var t,n;switch(t=null!=(n=e.which)?n:e.keyCode,this.search_field_scale(),8!==t&&this.pending_backstroke&&this.clear_backstroke(),t){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(e),this.mouse_on_container=!1;break;case 13:e.preventDefault();break;case 38:e.preventDefault(),this.keyup_arrow();break;case 40:e.preventDefault(),this.keydown_arrow()}},n.prototype.search_field_scale=function(){var e,n,r,o,i,a,s;if(this.is_multiple){for(0,i=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],a=0,s=o.length;a<s;a++)n=o[a],r+=n+":"+this.search_field.css(n)+";";return e=t("<div></div>",{style:r}),e.text(this.search_field.val()),t("body").append(e),i=e.width()+25,e.remove(),this.f_width||(this.f_width=this.container.outerWidth()),i>this.f_width-10&&(i=this.f_width-10),this.search_field.css({width:i+"px"})}},n.prototype.generate_random_id=function(){var e;for(e="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();t("#"+e).length>0;)e+=this.generate_random_char();return e},n}(l),r.Chosen=n}.call(this)}.apply(t,r))&&(e.exports=i)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(0)),a=r(n(13)),s=r(n(9)),l=r(n(80)),u=s.default.extend({className:"array-input",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="array-inputs-button link-button">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.add.another"},data:o,loc:{start:{line:1,column:52},end:{line:1,column:102}}}))+"</a>"},useData:!0}),params:{itemType:"string"},events:{"click .array-inputs-button":function(e){e.preventDefault(),this.isEditMode()&&this.addNewElement()}},initialize:function(e){e||(e={}),this.params=i.default.defaults(e.params||{},this.params),this.uniqueIdPrefix="array"},from:function(e){return i.default.isArray(e)?e:[]},editMode:function(){var e;return this._setArrayObject(),this.$el.html(this.template),i.default.each(this.arrayObject,(0,U.default)(e=i.default).call(e,this._addDeletableBox,this)),this},readMode:function(){this.editMode(),this.$(".array-inputs-button").addClass("link-button-disabled")},val:function(){var e,t=(0,k.default)(e=i.default).call(e,this.arrayObject);if(i.default.contains([a.default.DATATYPE.number,a.default.DATATYPE.integer],this.params.itemType)){var n;t=(0,w.default)(n=i.default).call(n,t,i.default.isNumber)}return t},focus:function(){},addNewElement:function(){var e=i.default.uniqueId(this.uniqueIdPrefix);this.arrayObject[e]="",this._addDeletableBox("",e),this.update()},_addDeletableBox:function(e,t){var n=new l.default(i.default.extend(i.default.pick(this.options,"read","readOnly","model"),{key:t,value:e,itemType:this.params.itemType}));return this.listenTo(n,"updateArray",function(e){i.default.isNull(e)?(delete this.arrayObject[t],this.stopListening(n)):this.arrayObject[t]=e,this.update()}),n.render().$el.hide(),this.$(".array-inputs-button").before(n.el),n.$el.slideDown(),n},_setArrayObject:function(){var e=this.model.get(this.options.name);if(this.arrayObject={},i.default.isArray(e)&&!i.default.isEmpty(e)){var t=[],n=this;(0,i.default)(e.length).times(function(){t.push(i.default.uniqueId(n.uniqueIdPrefix))}),this.arrayObject=i.default.object(t,e)}}});t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0)),s=r(n(13)),l=r(n(4)),u=r(n(32)),c=r(n(1)),f=function(e){return/^[aeiou]/.test(e)},d=function(e){return f(e)?"an":"a"},p=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="o-form-input-group-controls"><span class="input-fix o-form-control"><input type="text" class="o-form-text" name="'+c((a=null!=(a=f(n,"key")||(null!=t?f(t,"key"):t))?a:l,o(a)===u?a.call(s,{name:"key",hash:{},data:i,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):a))+'" id="'+c((a=null!=(a=f(n,"key")||(null!=t?f(t,"key"):t))?a:l,o(a)===u?a.call(s,{name:"key",hash:{},data:i,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):a))+'" value="'+c((a=null!=(a=f(n,"value")||(null!=t?f(t,"value"):t))?a:l,o(a)===u?a.call(s,{name:"value",hash:{},data:i,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):a))+'" placeholder="'+c((a=null!=(a=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?a:l,o(a)===u?a.call(s,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:178},end:{line:1,column:193}}}):a))+'"/></span><a href="#" class="link-button link-button-icon icon-only"><span class="icon clear-input-16 "></span></a></div><p class="o-form-input-error o-form-explain"><span class="icon icon-16 error-16-small"></span>'+c((a=null!=(a=f(n,"errorExplain")||(null!=t?f(t,"errorExplain"):t))?a:l,o(a)===u?a.call(s,{name:"errorExplain",hash:{},data:i,loc:{start:{line:1,column:408},end:{line:1,column:424}}}):a))+"</p>"},useData:!0}),h=c.default.extend({tagName:"div",className:"o-form-input-group",events:{"click a":function(e){e.preventDefault(),this.remove()},"keyup input":function(){this.update()}},isEditMode:function(){return!this.options.readOnly&&(!0!==this.options.read||!0===this.model.get("__edit__"))},initialize:function(){this.template=p(a.default.extend(this.options,{placeholder:this.getPlaceholderText(),errorExplain:this.getErrorExplainText()})),this.update=a.default.debounce(this.update,this.options.debounceDelay||u.default.DEBOUNCE_DELAY)},render:function(){return this.isEditMode()?this.$el.html(this.template):(this.$el.text(this.options.value),this.$("a").hide()),this},remove:function(){var e=arguments,t=this;this.trigger("updateArray",null),this.$el.slideUp(function(){c.default.prototype.remove.call(t,e)})},update:function(){var e=this.$("input").val(),t=a.default.object([s.default.DATATYPE.number,s.default.DATATYPE.integer],[l.default.parseFloat,this.parseInt]);a.default.has(t,this.options.itemType)&&(e=t[this.options.itemType](e),a.default.isNumber(e)?this.clearInvalid():this.markInvalid()),this.trigger("updateArray",e)},markInvalid:function(){this.$el.addClass("o-form-has-errors")},clearInvalid:function(){this.$el.removeClass("o-form-has-errors")},getPlaceholderText:function(){var e=["Enter"];return e.push(d(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},getErrorExplainText:function(){var e=["Value must be"];return e.push(d(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},parseInt:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){if(/^-?\d+$/.test(e)){var t=(0,M.default)(e,10);return a.default.isNaN(t)?e:t}return e})});t.default=h,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0)),s=r(n(8));n(33);var l=r(n(9)),u=l.default.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c((a=null!=(a=f(n,"name")||(null!=t?f(t,"name"):t))?a:l,o(a)===u?a.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):a))+'" id="'+c((a=null!=(a=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?a:l,o(a)===u?a.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):a))+'"/><label for="'+c((a=null!=(a=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?a:l,o(a)===u?a.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):a))+'" data-se-for-name="'+c((a=null!=(a=f(n,"name")||(null!=t?f(t,"name"):t))?a:l,o(a)===u?a.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):a))+'">'+c((a=null!=(a=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?a:l,o(a)===u?a.call(s,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:110},end:{line:1,column:125}}}):a))+"</label>"},useData:!0}),events:{"change :checkbox":"update",keyup:function(e){e.preventDefault(),s.default.isSpaceBar(e)?this.$(":checkbox").click():s.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=a.default.resultCtx(this.options,"placeholder",this);return""===e?e=a.default.resultCtx(this.options,"label",this):!1===e&&(e=""),this.$el.html(this.template(a.default.extend(a.default.omit(this.options,"placeholder"),{placeholder:e}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),this},readMode:function(){return this.editMode(),this.$(":checkbox").prop("disabled",!0),this},val:function(){return this.$(":checkbox").prop("checked")},focus:function(){return this.$(":checkbox").focus()}});t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(0)),a=r(n(34)),s=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<span class="password-toggle"><span class="eyeicon visibility-16 button-show"></span><span class="eyeicon visibility-off-16 button-hide"></span></span>'},useData:!0}),l=a.default.extend({initialize:function(){this.__showPasswordToggle()&&(this.events["click .password-toggle .button-show"]="__showPassword",this.events["click .password-toggle .button-hide"]="__hidePassword"),this.delegateEvents()},postRender:function(){if(this.isEditMode()&&this.__showPasswordToggle()){var e;this.$el.append(s),(0,I.default)(e=this.$el).call(e,'input[type="password"]').addClass("password-with-toggle")}a.default.prototype.postRender.apply(this,arguments)},__showPasswordToggle:function(){return this.options.params&&this.options.params.showPasswordToggle},__showPassword:function(){var e=this;a.default.prototype.changeType.apply(this,["text"]),this.$(".password-toggle .button-show").hide(),this.$(".password-toggle .button-hide").show(),this.passwordToggleTimer=i.default.delay(function(){e.__hidePassword()},3e4)},__hidePassword:function(){a.default.prototype.changeType.apply(this,["password"]),this.$(".password-toggle .button-show").show(),this.$(".password-toggle .button-hide").hide(),this.passwordToggleTimer&&clearTimeout(this.passwordToggleTimer)}});t.default=l,e.exports=t.default},function(e,t,n){var r,o;r=[n(12)],void 0!==(o=function(e){function t(t){var n={},r=/^jQuery\d+$/;return e.each(t.attributes,function(e,t){t.specified&&!r.test(t.name)&&(n[t.name]=t.value)}),n}function n(t,n){var r=this,o=e(r);if(r.value==o.attr("placeholder")&&o.hasClass("placeholder"))if(o.data("placeholder-password")){if(o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id")),!0===t)return o[0].value=n;o.focus()}else r.value="",o.removeClass("placeholder"),r==document.activeElement&&r.select()}function r(){var r,o=this,i=e(o),a=this.id;if(""==o.value){if("password"==o.type){if(!i.data("placeholder-textinput")){var s;try{r=i.clone().attr({type:"text"})}catch(n){r=e("<input>").attr(e.extend(t(this),{type:"text"}))}(0,U.default)(s=r.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":a})).call(s,"focus.placeholder",n),i.data({"placeholder-textinput":r,"placeholder-id":a}).before(r)}i=i.removeAttr("id").hide().prev().attr("id",a).show()}i.addClass("placeholder"),i[0].value=i.attr("placeholder")}else i.removeClass("placeholder")}var o,i,a="placeholder"in document.createElement("input"),s="placeholder"in document.createElement("textarea"),l=e.fn,u=e.valHooks;if(a&&s)i=l.placeholder=function(){return this},i.input=i.textarea=!0;else{var c;i=l.placeholder=function(){var e,t=this;return(0,U.default)(e=(0,w.default)(t).call(t,(a?"textarea":":input")+"[placeholder]").not(".placeholder")).call(e,{"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder"),t},i.input=a,i.textarea=s,o={get:function(t){var n=e(t);return n.data("placeholder-enabled")&&n.hasClass("placeholder")?"":t.value},set:function(t,o){var i=e(t);return i.data("placeholder-enabled")?(""==o?(t.value=o,t!=document.activeElement&&r.call(t)):i.hasClass("placeholder")?n.call(t,!0,o)||(t.value=o):t.value=o,i):t.value=o}},a||(u.input=o),s||(u.textarea=o),e(function(){e(document).delegate("form","submit.placeholder",function(){var t=e(".placeholder",this).each(n);(0,C.default)(function(){t.each(r)},10)})}),(0,U.default)(c=e(window)).call(c,"beforeunload.placeholder",function(){e(".placeholder").each(function(){this.value=""})})}}.apply(t,r))&&(e.exports=o)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof V.default&&"symbol"==typeof B.default?function(e){return typeof e}:function(e){return e&&"function"==typeof V.default&&e.constructor===V.default&&e!==V.default.prototype?"symbol":typeof e})(e)}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(3)),s=r(n(0)),l=r(n(8)),u=r(n(19)),c=r(n(1));n(33);var f=r(n(9)),d=u.default.isABaseView,p=c.default.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="radio" name="'+c((a=null!=(a=f(n,"name")||(null!=t?f(t,"name"):t))?a:l,o(a)===u?a.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:26},end:{line:1,column:34}}}):a))+'" data-se-name="'+c((a=null!=(a=f(n,"realName")||(null!=t?f(t,"realName"):t))?a:l,o(a)===u?a.call(s,{name:"realName",hash:{},data:i,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):a))+'" value="'+c((a=null!=(a=f(n,"value")||(null!=t?f(t,"value"):t))?a:l,o(a)===u?a.call(s,{name:"value",hash:{},data:i,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):a))+'" id="'+c((a=null!=(a=f(n,"optionId")||(null!=t?f(t,"optionId"):t))?a:l,o(a)===u?a.call(s,{name:"optionId",hash:{},data:i,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):a))+'"><label for="'+c((a=null!=(a=f(n,"optionId")||(null!=t?f(t,"optionId"):t))?a:l,o(a)===u?a.call(s,{name:"optionId",hash:{},data:i,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):a))+'" data-se-for-name="'+c((a=null!=(a=f(n,"realName")||(null!=t?f(t,"realName"):t))?a:l,o(a)===u?a.call(s,{name:"realName",hash:{},data:i,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):a))+'" class="radio-label">'+c((a=null!=(a=f(n,"label")||(null!=t?f(t,"label"):t))?a:l,o(a)===u?a.call(s,{name:"label",hash:{},data:i,loc:{start:{line:1,column:178},end:{line:1,column:187}}}):a))+"</label>"},useData:!0}),initialize:function(e){var t;t=e.explain,s.default.isFunction(t)&&!d(t)&&(t=s.default.resultCtx(this.options,"explain",this)),t&&(d(t)?(this.add('<p class="o-form-explain"></p>',".radio-label"),this.add(t,".o-form-explain")):this.add(c.default.extend({className:"o-form-explain",tagName:"p",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i))},useData:!0})}),".radio-label"))}}),h=f.default.extend({events:{"change :radio":"update",keyup:function(e){l.default.isSpaceBar(e)?(0,a.default)(e.target).click():l.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=[];this.$el.empty(),s.default.each(this.options.options,function(t,n){var r={optionId:s.default.uniqueId("option"),name:this.options.inputId,realName:this.options.name,value:n};s.default.isObject(t)||(t={label:t}),s.default.extend(r,t),e.push(new p(r).render().el)},this),this.$el.append(e);var t=this.getModelValue();return t&&this.$(":radio[value="+t+"]").prop("checked",!0),this.$("input").customInput(),this.model.trigger("form:resize"),!0===this.getParam("inline")&&this.$("div.custom-radio").addClass("inline"),this},readMode:function(){return this.editMode(),this.$(":radio").prop("disabled",!0),this},val:function(){return this.$(":radio:checked").val()},focus:function(){return this.$("label:eq(0)").focus()}});t.default=h,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){var t;return(0,w.default)(t=a.default).call(t,e||[],function(e){return!a.default.contains(["label","button","select"],e.type)}).length}function i(e){return s.default.create(a.default.defaults({getReadModeString:a.default.constant(" "),focus:a.default.noop},a.default.pick(e,"click","title","href","icon")))}(0,q.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),s=r(n(18)),l=r(n(1)),u=r(n(9)),c=u.default.extend({tagName:"span",initialize:function(){this.$el.text(this.getModelValue())},editMode:function(){this.toggle(!0)},readMode:function(){this.toggle(!1)},getModelValue:function(){return this.options.label},toggle:function(e){this.$el.toggleClass("o-form-label-inline",e),this.$el.toggleClass("o-form-control",!e)},focus:a.default.noop}),f=l.default.extend({getParams:u.default.prototype.getParams,getParam:u.default.prototype.getParam,className:function(){var e;return e="text"===this.getParam("display")?"o-form-input-group-subtle":"o-form-input-group",o(this.getParam("inputs"))>1&&(e+=" o-form-input-group-2"),e},initialize:function(){a.default.each(this.getParam("inputs"),function(e){switch(e.type){case"label":this.add(c,{options:e});break;case"button":this.add(i(e));break;default:e=a.default.defaults({model:this.model,params:a.default.extend({autoWidth:!0},e.params||{})},e),this.add(this.getParams().create(e))}},this)},focus:function(){this.first().focus()}}),d=u.default.extend({constructor:function(e){this.inputGroupView=new f(e),u.default.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new f(this.options),this.$el.html(this.inputGroupView.render().el)},toStringValue:function(){var e,t,n=(0,O.default)(e=this.inputGroupView).call(e,function(e){return e.getReadModeString()});return n.length&&(0,b.default)(t=a.default).call(t,n)?n.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:c,InputGroupView:f});t.default=d,e.exports=t.default},function(e,t,n){var r=function(e){return e&&e.__esModule?e:{default:e}}(n(3));r.default.fn.scrollParent=function(e){var t,n=this.css("position"),o="absolute"===n,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,a=(0,w.default)(t=this.parents()).call(t,function(){var e=(0,r.default)(this);return(!o||"static"!==e.css("position"))&&i.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==n&&a.length?a:(0,r.default)(this[0].ownerDocument||document)}}])},function(e,t,n){var r=n(9),o=n(48).f,i=n(50),a=n(51),s=n(261),l=n(362),u=n(172);e.exports=function(e,t){var n,c,f,d,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],e.noTargetGet?(p=o(n,c),f=p&&p.value):f=n[c],!u(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(){var e=new s.HandlebarsEnvironment;return p.extend(e,s),e.SafeString=u.default,e.Exception=f.default,e.Utils=p,e.escapeExpression=p.escapeExpression,e.VM=m,e.template=function(t){return m.template(t,e)},e}t.__esModule=!0;var a=n(501),s=o(a),l=n(1091),u=r(l),c=n(141),f=r(c),d=n(98),p=o(d),h=n(1092),m=o(h),v=n(1094),g=r(v),y=i();y.create=i,g.default(y),y.default=y,t.default=y,e.exports=t.default},function(e,t,n){"use strict";var r=n(1),o=n(0);o(t,"__esModule",{value:!0}),o(t,"BaseHeader",{enumerable:!0,get:function(){return i.default}}),o(t,"BaseFooter",{enumerable:!0,get:function(){return a.default}}),o(t,"BaseForm",{enumerable:!0,get:function(){return s.default}}),o(t,"BaseFormWithPolling",{enumerable:!0,get:function(){return l.default}}),o(t,"BaseModel",{enumerable:!0,get:function(){return u.default}}),o(t,"BaseView",{enumerable:!0,get:function(){return c.default}}),o(t,"addCustomButton",{enumerable:!0,get:function(){return f.addCustomButton}}),o(t,"createCustomButtons",{enumerable:!0,get:function(){return f.createCustomButtons}}),o(t,"createIdpButtons",{enumerable:!0,get:function(){return f.createIdpButtons}});var i=r(n(597)),a=r(n(598)),s=r(n(206)),l=r(n(601)),u=r(n(602)),c=r(n(1338)),f=n(599)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";var r=n(34),o=n(128).f,i=n(401),a=n(22),s=n(115),l=n(85),u=n(59),c=function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t};e.exports=function(e,t){var n,f,d,p,h,m,v,g,y,b=e.target,_=e.global,w=e.stat,x=e.proto,E=_?r:w?r[b]:(r[b]||{}).prototype,T=_?a:a[b]||(a[b]={}),S=T.prototype;for(p in t)n=i(_?p:b+(w?".":"#")+p,e.forced),f=!n&&E&&u(E,p),m=T[p],f&&(e.noTargetGet?(y=o(E,p),v=y&&y.value):v=E[p]),h=f&&v?v:t[p],f&&typeof m==typeof h||(g=e.bind&&f?s(h,r):e.wrap&&f?c(h):x&&"function"==typeof h?s(Function.call,h):h,(e.sham||h&&h.sham||m&&m.sham)&&l(g,"sham",!0),T[p]=g,x&&(d=b+"Prototype",u(a,d)||l(a,d,{}),a[d][p]=h,e.real&&S&&!S[p]&&l(S,p,h)))}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(198)),a=r(n(157)),s=r(n(12)),l=o.internal.views.forms.components.Toolbar,u=o.internal.views.forms.helpers.FormUtil,c=o.Form.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(e){o.Form.call(this,e),o._.each(o._.result(this,"formChildren")||[],function(e){switch(e.type){case s.default.INPUT:this.addInput(o._.extend({label:!1,"label-top":!0},e.viewOptions));break;case s.default.BUTTON:this.add((0,o.createButton)(o._.extend({model:this.model},e.viewOptions)),e.addOptions),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case s.default.DIVIDER:this.addDivider(e.viewOptions);break;case s.default.TOOLBAR:this.add(l,{options:e.viewOptions}),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case s.default.VIEW:this.add(e.viewOptions.View,e.addOptions),u.applyShowWhen(this.last(),e.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+e.type)}},this)}}),f=a.default.extend({constructor:function(){var e=this.initialize;if(this.initialize=function(){},a.default.apply(this,arguments),this.Model&&this.Form){var t=i.default.extend(o._.extend({parse:function(e){return this.settings=e.settings,this.appState=e.appState,o._.omit(e,["settings","appState"])}},o._.result(this,"Model")));this.model=new t({settings:this.settings,appState:this.options.appState},{parse:!0});var n=c.extend(o._.result(this,"Form",this));this.form=new n(this.toJSON()),this.add(this.form)}this.Footer&&this.addFooter(this.Footer),this.addListeners(),e.apply(this,arguments)},addFooter:function(e,t){this.footer=new e(o._.extend(this.toJSON(),t||{})),this.add(this.footer)},toJSON:function(){var e=a.default.prototype.toJSON.apply(this,arguments);return o._.extend(o._.pick(this.options,"appState"),e)},back:function(){this.footer&&this.footer.back&&this.footer.back()}});t.default=f},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(t,n(108))},function(e,t,n){e.exports=n(863)},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r={API_RATE_LIMIT:3e4,WIDGET_LOGIN_CONTAINER_ID:"okta-login-container",WIDGET_CONTAINER_ID:"okta-sign-in",WIDGET_CONFIG_COLORS_ID:"okta-sign-in-config-colors",DIRECTION_BACK:"DIRECTION_BACK",RECOVERY_TYPE_PASSWORD:"PASSWORD",RECOVERY_TYPE_UNLOCK:"UNLOCK",RECOVERY_FACTOR_TYPE_SMS:"SMS",RECOVERY_FACTOR_TYPE_EMAIL:"EMAIL",RECOVERY_FACTOR_TYPE_CALL:"CALL",IOS:"ios",ANDROID:"android",ODA:"oda",MDM:"mdm",SUCCESS:"SUCCESS",FORGOT_PASSWORD_EMAIL_SENT:"FORGOT_PASSWORD_EMAIL_SENT",UNLOCK_ACCOUNT_EMAIL_SENT:"UNLOCK_ACCOUNT_EMAIL_SENT",CONFIG_ERROR:"CONFIG_ERROR",UNSUPPORTED_BROWSER_ERROR:"UNSUPPORTED_BROWSER_ERROR",OAUTH_ERROR:"OAUTH_ERROR",AUTH_STOP_POLL_INITIATION_ERROR:"AUTH_STOP_POLL_INITIATION_ERROR",U2F_ERROR:"U2F_ERROR",WEB_AUTHN_ERROR:"WEB_AUTHN_ERROR",WEBAUTHN_ABORT_ERROR:"WEBAUTHN_ABORT_ERROR",ALL_OPTIONAL_NONE_ENROLLED:"ALL_OPTIONAL_NONE_ENROLLED",ALL_OPTIONAL_SOME_ENROLLED:"ALL_OPTIONAL_SOME_ENROLLED",HAS_REQUIRED_NONE_ENROLLED:"HAS_REQUIRED_NONE_ENROLLED",HAS_REQUIRED_SOME_REQUIRED_ENROLLED:"HAS_REQUIRED_SOME_REQUIRED_ENROLLED",HAS_REQUIRED_ALL_REQUIRED_ENROLLED:"HAS_REQUIRED_ALL_REQUIRED_ENROLLED",PRIMARY_AUTH:"PRIMARY_AUTH",FORGOT_PASSWORD:"FORGOT_PASSWORD",UNLOCK_ACCOUNT:"UNLOCK_ACCOUNT",SESSION_SSO:"SESSION_SSO",SESSION_STEP_UP:"SESSION_STEP_UP",ACTIVATION_EMAIL_SENT:"ACTIVATION_EMAIL_SENT",REGISTRATION_COMPLETE:"REGISTRATION_COMPLETE",REGISTRATION_FAILED:"REGISTRATION_FAILED",IDP_DISCOVERY:"IDP_DISCOVERY",OKTA_VERIFY_APPLE_APP_STORE_URL:"https://apps.apple.com/us/app/okta-verify/id490179405",OKTA_VERIFY_GOOGLE_PLAY_STORE_URL:"https://play.google.com/store/apps/details?id=com.okta.android.auth",LOOPBACK_CHALLENGE:"LOOPBACK",CUSTOM_URI_CHALLENGE:"CUSTOM_URI",UNIVERSAL_LINK_CHALLENGE:"UNIVERSAL_LINK",APP_LINK_CHALLENGE:"APP_LINK"};t.default=r},function(e,t,n){"use strict";function r(e){return function(t,n){return{type:e,viewOptions:t,addOptions:n}}}n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o={Input:r("INPUT"),Button:r("BUTTON"),Divider:r("DIVIDER"),Toolbar:r("TOOLBAR"),View:r("VIEW"),INPUT:"INPUT",BUTTON:"BUTTON",DIVIDER:"DIVIDER",TOOLBAR:"TOOLBAR",VIEW:"VIEW"};t.default=o},function(e,t,n){e.exports=n(494)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=t.BaseAuthenticatorBeacon=void 0;var o=n(2),i=n(5),a=r(n(358)),s=r(n(608)),l=n(204),u=s.default.extend({authenticatorKey:function(){return this.options.appState.get("authenticatorKey")},getBeaconClassName:function(){var e=o._.result(this,"authenticatorKey");return(0,l.getIconClassNameForBeacon)(e)}});t.BaseAuthenticatorBeacon=u;var c=i.BaseView.extend({Header:i.BaseHeader.extend({HeaderBeacon:u}),Footer:a.default});t.default=c},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){e.exports=n(487)},function(e,t,n){e.exports=n(499)},function(e,t,n){var r=n(6);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){var r=n(9),o=n(264),i=n(37),a=n(168),s=n(268),l=n(364),u=o("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";var r,o=n(285),i=n(19),a=n(9),s=n(15),l=n(37),u=n(178),c=n(50),f=n(51),d=n(25).f,p=n(73),h=n(111),m=n(20),v=n(168),g=a.Int8Array,y=g&&g.prototype,b=a.Uint8ClampedArray,_=b&&b.prototype,w=g&&p(g),x=y&&p(y),E=Object.prototype,T=E.isPrototypeOf,S=m("toStringTag"),k=v("TYPED_ARRAY_TAG"),O=o&&!!h&&"Opera"!==u(a.opera),A=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},R={BigInt64Array:8,BigUint64Array:8},I=function(e){if(!s(e))return!1;var t=u(e);return"DataView"===t||l(C,t)||l(R,t)},N=function(e){if(!s(e))return!1;var t=u(e);return l(C,t)||l(R,t)},M=function(e){if(N(e))return e;throw TypeError("Target is not a typed array")},P=function(e){if(h){if(T.call(w,e))return e}else for(var t in C)if(l(C,r)){var n=a[t];if(n&&(e===n||T.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},L=function(e,t,n){if(i){if(n)for(var r in C){var o=a[r];o&&l(o.prototype,e)&&delete o.prototype[e]}x[e]&&!n||f(x,e,n?t:O&&y[e]||t)}},D=function(e,t,n){var r,o;if(i){if(h){if(n)for(r in C)(o=a[r])&&l(o,e)&&delete o[e];if(w[e]&&!n)return;try{return f(w,e,n?t:O&&g[e]||t)}catch(e){}}for(r in C)!(o=a[r])||o[e]&&!n||f(o,e,t)}};for(r in C)a[r]||(O=!1);if((!O||"function"!=typeof w||w===Function.prototype)&&(w=function(){throw TypeError("Incorrect invocation")},O))for(r in C)a[r]&&h(a[r],w);if((!O||!x||x===E)&&(x=w.prototype,O))for(r in C)a[r]&&h(a[r].prototype,x);if(O&&p(_)!==x&&h(_,x),i&&!l(x,S)){A=!0,d(x,S,{get:function(){return s(this)?this[k]:void 0}});for(r in C)a[r]&&c(a[r],k,r)}e.exports={NATIVE_ARRAY_BUFFER_VIEWS:O,TYPED_ARRAY_TAG:A&&k,aTypedArray:M,aTypedArrayConstructor:P,exportTypedArrayMethod:L,exportTypedArrayStaticMethod:D,isView:I,isTypedArray:N,TypedArray:w,TypedArrayPrototype:x}},function(e,t){e.exports={}},function(e,t,n){var r=n(72),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.INTERSTITIAL_REDIRECT_VIEW=t.IDP_FORM_TYPE=t.TERMINAL_FORMS=t.HINTS=t.FORM_NAME_TO_OPERATION_MAP=t.AUTHENTICATOR_METHODS=t.AUTHENTICATOR_KEY=t.FORMS_FOR_VERIFICATION=t.FORMS_WITH_STATIC_BACK_LINK=t.FORMS_WITHOUT_SIGNOUT=t.FORMS=t.ACTIONS=void 0;var o,i=r(n(88)),a=r(n(11)),s={IDENTIFY:"identify",SELECT_IDENTIFY:"select-identify",IDENTIFY_RECOVERY:"identify-recovery",SELECT_ENROLL_PROFILE:"select-enroll-profile",ENROLL_PROFILE:"enroll-profile",ENROLL_PROFILE_UPDATE:"profile-update",UNLOCK_ACCOUNT:"unlock-account",REQUEST_ACTIVATION:"request-activation-email",CONSENT_ADMIN:"admin-consent",CONSENT_ENDUSER:"consent",CONSENT_EMAIL_CHALLENGE:"email-challenge-consent",SELECT_AUTHENTICATOR_AUTHENTICATE:"select-authenticator-authenticate",SELECT_AUTHENTICATOR_UNLOCK:"select-authenticator-unlock-account",AUTHENTICATOR_VERIFICATION_DATA:"authenticator-verification-data",CHALLENGE_AUTHENTICATOR:"challenge-authenticator",CHALLENGE_POLL:"challenge-poll",RESEND:"resend",SELECT_AUTHENTICATOR_ENROLL:"select-authenticator-enroll",SELECT_AUTHENTICATOR_ENROLL_DATA:"select-authenticator-enroll-data",AUTHENTICATOR_ENROLLMENT_DATA:"authenticator-enrollment-data",ENROLL_AUTHENTICATOR:"enroll-authenticator",SELECT_ENROLLMENT_CHANNEL:"select-enrollment-channel",ENROLLMENT_CHANNEL_DATA:"enrollment-channel-data",ENROLL_POLL:"enroll-poll",REENROLL_AUTHENTICATOR:"reenroll-authenticator",REENROLL_AUTHENTICATOR_WARNING:"reenroll-authenticator-warning",RESET_AUTHENTICATOR:"reset-authenticator",SKIP:"skip",POLL:"poll",FAILURE_REDIRECT:"failure-redirect",SUCCESS_REDIRECT:"success-redirect",REDIRECT_IDP:"redirect-idp",PIV_IDP:"piv-idp",DEVICE_CHALLENGE_POLL:"device-challenge-poll",DEVICE_APPLE_SSO_EXTENSION:"device-apple-sso-extension",CANCEL_TRANSACTION:"cancel-transaction",LAUNCH_AUTHENTICATOR:"launch-authenticator",DEVICE_ENROLLMENT_TERMINAL:"device-enrollment-terminal",USER_CODE:"user-code",TERMINAL:"terminal"};t.FORMS=s;var l=[s.IDENTIFY,s.SUCCESS_REDIRECT,s.ENROLL_PROFILE,s.DEVICE_ENROLLMENT_TERMINAL,s.CONSENT_ADMIN,s.CONSENT_ENDUSER,s.CONSENT_EMAIL_CHALLENGE,s.USER_CODE];t.FORMS_WITHOUT_SIGNOUT=l;var u=[s.SELECT_AUTHENTICATOR_ENROLL,s.SELECT_AUTHENTICATOR_AUTHENTICATE];t.FORMS_WITH_STATIC_BACK_LINK=u;var c=[s.SELECT_AUTHENTICATOR_AUTHENTICATE,s.CHALLENGE_AUTHENTICATOR,s.CHALLENGE_POLL,s.RESEND];t.FORMS_FOR_VERIFICATION=c;var f={EMAIL:"okta_email",PASSWORD:"okta_password",PHONE:"phone_number",WEBAUTHN:"webauthn",SECURITY_QUESTION:"security_question",OV:"okta_verify",GOOGLE_OTP:"google_otp",ON_PREM:"onprem_mfa",RSA:"rsa_token",DUO:"duo",IDP:"external_idp",CUSTOM_OTP:"custom_otp",SYMANTEC_VIP:"symantec_vip",YUBIKEY:"yubikey_token",CUSTOM_APP:"custom_app"};t.AUTHENTICATOR_KEY=f;var d={PUSH:"push"};t.AUTHENTICATOR_METHODS=d;var p=(o={},(0,i.default)(o,s.SELECT_AUTHENTICATOR_UNLOCK,a.default.UNLOCK_ACCOUNT),(0,i.default)(o,s.IDENTIFY,a.default.PRIMARY_AUTH),(0,i.default)(o,s.IDENTIFY_RECOVERY,a.default.FORGOT_PASSWORD),o);t.FORM_NAME_TO_OPERATION_MAP=p;var h={ENROLLED_PASSWORD_RECOVERY_LINK:"currentAuthenticatorEnrollment-recover",ORG_PASSWORD_RECOVERY_LINK:"currentAuthenticator-recover"};t.ACTIONS=h;var m={CAPTCHA:"captcha"};t.HINTS=m;var v=[s.TERMINAL,s.DEVICE_ENROLLMENT_TERMINAL];t.TERMINAL_FORMS=v;var g={X509:"X509"};t.IDP_FORM_TYPE=g;var y={DEFAULT:"DEFAULT",NONE:"NONE"};t.INTERSTITIAL_REDIRECT_VIEW=y},function(e,t,n){var r=n(19),o=n(360),i=n(16),a=n(81),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){function r(t){"@babel/helpers - typeof";return e.exports=r="function"==typeof i&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof i&&e.constructor===i&&e!==i.prototype?"symbol":typeof e},r(t)}var o=n(968),i=n(316);e.exports=r},function(e,t,n){e.exports=n(1073)},function(e,t,n){"use strict";function r(e){for(var t=[e],n=e.split("-");n.pop()&&n.length>0;)t.push(n.join("-"));return t}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(239)),a=o(n(78)),s=o(n(40)),l=o(n(77)),u=o(n(17)),c=n(2),f=o(n(11)),d=o(n(79)),p=o(n(56)),h={},m=function(e,t){var n=document.createElement("input");return n.name=e,n.value=decodeURIComponent(t),n.type="hidden",n},v=function(){var e=document.createElement("input");return e.type="submit",e},g=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=e.split("#"),r=n[1],o=(n[0]||"").split("?"),i=o[1],a=o[0];r&&(a+="#"+r);var s=document.createElement("form");if(s.method=t,s.setAttribute("style","display: none;"),s.action=a,i&&i.length){var l=i.split("&");(0,u.default)(l).call(l,function(e){var t=e.split("="),n=m(t[0],t[1]);s.appendChild(n)})}return s.appendChild(v()),s};h.transformErrorXHR=function(e){if(0===e.status&&c._.isEmpty(e.responseJSON))return e.responseJSON={errorSummary:(0,c.loc)("error.network.connection","login")},e;if(!e.responseJSON){if(!e.responseText)return e.responseJSON={errorSummary:(0,c.loc)("oform.error.unexpected","login")},e;e.responseJSON=e.responseText}if(e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&(e.responseJSON.errorSummary=e.responseJSON.errorCauses[0].errorSummary),!c._.isEmpty(e.responseJSON)){var t=(0,c.loc)("errors."+e.responseJSON.errorCode,"login");-1===(0,l.default)(t).call(t,"L10N_ERROR[")&&(e.responseJSON.errorSummary=t,e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&delete e.responseJSON.errorCauses)}return e},h.toLower=function(e){return(0,s.default)(c._).call(c._,e,function(e){return e.toLowerCase()})},h.expandLanguages=function(e){var t;return(0,s.default)(t=c._.chain(e)).call(t,r).flatten().uniq().value()},h.callAfterTimeout=function(e,t){return(0,a.default)(e,t)},h.debugMessage=function(e){d.default.warn("\n".concat(e.replace(/^(\s)+/gm,"")))},h.triggerAfterError=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!t.statusCode&&t.xhr&&t.xhr.status&&(t.statusCode=t.xhr.status);var n=c._.isFunction(e.className)?e.className():e.className,r=c._.pick(t,"name","message","statusCode","xhr");e.trigger("afterError",{controller:n},r),d.default.warn("controller: "+n+", error: "+r)},h.redirect=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e)return void d.default.error("Cannot redirect to empty URL: (".concat(e,")"));p.default.isAndroid()&&!n?h.redirectWithFormGet(e):t.location.href=e},h.redirectWithFormGet=function(e){h.redirectWithForm(e,"get")},h.redirectWithForm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"post";if(!e)return void d.default.error("Cannot redirect to empty URL: (".concat(e,")"));var n=document.getElementById(f.default.WIDGET_CONTAINER_ID);if(!n)return void d.default.error("Cannot find okta-sign-in container append to which a form");var r=g(e,t);n.appendChild(r),r.querySelector('input[type="submit"]').click()},h.createInputExplain=function(e,t,n,r,o){var i=r?(0,c.loc)(e,n,r):(0,c.loc)(e,n);return i!==(o?(0,c.loc)(t,n,o):(0,c.loc)(t,n))&&i},h.isV1StateToken=function(e){return!!(e&&c._.isString(e)&&(0,i.default)(e).call(e,"00"))},h.removeNils=function(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];null!==r&&void 0!==r&&(t[n]=r)}return t};var y=h;t.default=y},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(22);e.exports=function(e){return r[e+"Prototype"]}},function(e,t,n){"use strict";(function(e){n.d(t,"e",function(){return r}),n.d(t,"p",function(){return o}),n.d(t,"a",function(){return i}),n.d(t,"c",function(){return a}),n.d(t,"d",function(){return s}),n.d(t,"o",function(){return l}),n.d(t,"q",function(){return u}),n.d(t,"t",function(){return c}),n.d(t,"i",function(){return f}),n.d(t,"r",function(){return d}),n.d(t,"s",function(){return p}),n.d(t,"k",function(){return h}),n.d(t,"m",function(){return m}),n.d(t,"j",function(){return v}),n.d(t,"l",function(){return g}),n.d(t,"g",function(){return y}),n.d(t,"f",function(){return b}),n.d(t,"h",function(){return _}),n.d(t,"n",function(){return w}),n.d(t,"b",function(){return x});var r="1.13.1",o="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||Function("return this")()||{},i=Array.prototype,a=Object.prototype,s="undefined"!=typeof Symbol?Symbol.prototype:null,l=i.push,u=i.slice,c=a.toString,f=a.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,h=Array.isArray,m=Object.keys,v=Object.create,g=d&&ArrayBuffer.isView,y=isNaN,b=isFinite,_=!{toString:null}.propertyIsEnumerable("toString"),w=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1}).call(t,n(108))},function(e,t,n){e.exports=n(485)},function(e,t,n){var r=n(49);e.exports=function(e){return Object(r(e))}},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(t,n(108))},function(e,t,n){var r=n(34),o=n(291),i=n(59),a=n(228),s=n(292),l=n(403),u=o("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(s&&i(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);n(237);var i=r(n(56)),a=o.internal.views.forms.inputs.TextBox,s=a.extend({postRender:function(){if("number"===this.options.type){this.$("input").attr({pattern:"[0-9]*",inputmode:"numeric"})}a.prototype.postRender.apply(this,arguments)},focus:function(){if(!i.default.isIE())return a.prototype.focus.apply(this,arguments)}});t.default=s},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=n(488)},function(e,t,n){e.exports=n(491)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(140)),i=r(n(322)),a=r(n(77)),s=r(n(40)),l=n(2),u=r(n(1115)),c={},f={OKTA_VERIFY:{label:"factor.totpSoft.oktaVerify",description:"factor.totpSoft.description",iconClassName:"mfa-okta-verify",sortOrder:1},OKTA_VERIFY_PUSH:{label:"factor.oktaVerifyPush",description:"factor.push.description",iconClassName:"mfa-okta-verify",sortOrder:1},U2F:{label:"factor.u2f",description:function(e){return e?"factor.u2f.description.specific":"factor.u2f.description.generic"},iconClassName:"mfa-u2f",sortOrder:2},WEBAUTHN:{label:"factor.webauthn.biometric",description:"factor.webauthn.biometric.description",iconClassName:"mfa-webauthn",sortOrder:2},WINDOWS_HELLO:{label:"factor.windowsHello",description:function(e){return e?"factor.windowsHello.signin.description.specific":"factor.windowsHello.signin.description.generic"},iconClassName:"mfa-windows-hello",sortOrder:3},YUBIKEY:{label:"factor.totpHard.yubikey",description:"factor.totpHard.yubikey.description",iconClassName:"mfa-yubikey",sortOrder:4},GOOGLE_AUTH:{label:"factor.totpSoft.googleAuthenticator",description:"factor.totpSoft.description",iconClassName:"mfa-google-auth",sortOrder:5},CUSTOM_HOTP:{label:"",description:"factor.hotp.description",iconClassName:"mfa-hotp",sortOrder:6},SMS:{label:"factor.sms",description:"factor.sms.description",iconClassName:"mfa-okta-sms",sortOrder:7},CALL:{label:"factor.call",description:"factor.call.description",iconClassName:"mfa-okta-call",sortOrder:8},EMAIL:{label:"factor.email",description:"factor.email.description",iconClassName:"mfa-okta-email",sortOrder:9},QUESTION:{label:"factor.securityQuestion",description:"factor.securityQuestion.description",iconClassName:"mfa-okta-security-question",sortOrder:10},DUO:{label:"factor.duo",description:"factor.duo.description",iconClassName:"mfa-duo",sortOrder:11},SYMANTEC_VIP:{label:"factor.totpHard.symantecVip",description:"factor.totpHard.description",iconClassName:"mfa-symantec",sortOrder:12},RSA_SECURID:{label:"factor.totpHard.rsaSecurId",description:"factor.totpHard.description",iconClassName:"mfa-rsa",sortOrder:13},ON_PREM:{label:"",description:"factor.totpHard.description",iconClassName:"mfa-onprem",sortOrder:14},PASSWORD:{label:"factor.password",description:"",iconClassName:"mfa-okta-password",sortOrder:15},CUSTOM_CLAIMS:{label:"",description:"factor.customFactor.description",iconClassName:"mfa-custom-factor",sortOrder:16},GENERIC_SAML:{label:"",description:function(e){return e?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:17},GENERIC_OIDC:{label:"",description:function(e){return e?"factor.customFactor.description.specific":"factor.customFactor.description.generic"},iconClassName:"mfa-custom-factor",sortOrder:18}},d=function(e,t){if(e.complexity){var n=t.complexity,r=function(e){var t=e.excludeAttributes;return e.excludeFirstName=l._.contains(t,"firstName"),e.excludeLastName=l._.contains(t,"lastName"),l._.omit(e,"excludeAttributes")}(e.complexity),o=(0,s.default)(l._).call(l._,r,function(e,t){if(!(e<=0)){var r=n[t];return r.args?(0,l.loc)(r.i18n,"login",[e]):(0,l.loc)(r.i18n,"login")}});return l._.compact(o)}return[]},p=function(e,t){return e.age&&e.age.historyCount>0?(0,l.loc)(t.history.i18n,"login",[e.age.historyCount]):null},h=function(e,t){if(e.age&&e.age.minAgeMinutes>0){var n=u.default.getTimeInHighestRelevantUnit(e.age.minAgeMinutes,"MINUTE");return function(e){var n;switch(e.unit){case"DAY":n=t.age.days.i18n;break;case"HOUR":n=t.age.hours.i18n;break;case"MINUTE":n=t.age.minutes.i18n}return(0,l.loc)(n,"login",[e.time])}(n)}return null},m=function(e,t){var n={complexity:[],history:[],age:[]};n.complexity=d(e,t);var r=p(e,t);r&&n.history.push(r);var o=h(e,t);return o&&n.age.push(o),n};c.getFactorName=function(e,t){return"OKTA"===e&&"token:software:totp"===t?"OKTA_VERIFY":"OKTA"===e&&"push"===t?"OKTA_VERIFY_PUSH":"GOOGLE"===e?"GOOGLE_AUTH":"SYMANTEC"===e&&"token"===t?"SYMANTEC_VIP":"RSA"===e&&"token"===t?"RSA_SECURID":"DEL_OATH"===e&&"token"===t?"ON_PREM":"DUO"===e&&"web"===t?"DUO":"YUBICO"===e&&"token:hardware"===t?"YUBIKEY":"OKTA"===e&&"sms"===t?"SMS":"OKTA"===e&&"call"===t?"CALL":"OKTA"===e&&"question"===t?"QUESTION":"OKTA"===e&&"email"===t?"EMAIL":"OKTA"===e&&"password"===t?"PASSWORD":"GENERIC_SAML"===e&&"assertion:saml2"===t?"GENERIC_SAML":"GENERIC_OIDC"===e&&"assertion:oidc"===t?"GENERIC_OIDC":c.getFactorNameForFactorType.call(this,t)},c.getFactorNameForFactorType=function(e){return"u2f"===e?"U2F":"token:software:totp"===e?"OKTA_VERIFY":"webauthn"===e?this.settings.get("features.webauthn")?"WEBAUTHN":"WINDOWS_HELLO":"token:hotp"===e?"CUSTOM_HOTP":"claims_provider"===e?"CUSTOM_CLAIMS":void 0},c.isOktaVerify=function(e,t){return"OKTA"===e&&("token:software:totp"===t||"push"===t)},c.getFactorLabel=function(e,t){var n=f[c.getFactorName.apply(this,[e,t])].label;return(0,l.loc)(n,"login")},c.getFactorDescription=function(e,t){var n=f[c.getFactorName.apply(this,[e,t])].description;if(l._.isFunction(n)){var r=this.settings.get("brandName"),o=n(r);return r?(0,l.loc)(o,"login",[r]):(0,l.loc)(o,"login")}return(0,l.loc)(n,"login")},c.getFactorIconClassName=function(e,t){return f[c.getFactorName.apply(this,[e,t])].iconClassName},c.getFactorSortOrder=function(e,t){return f[c.getFactorName.apply(this,[e,t])].sortOrder},c.getRememberDeviceValue=function(e){return e&&e.get("rememberDeviceByDefault")},c.getSecurityQuestionLabel=function(e){var t=(0,l.loc)("security."+e.question);return(0,a.default)(t).call(t,"L10N_ERROR")<0?t:e.questionText},c.removeRequirementsFromError=function(e,t){var n=this.getPasswordComplexityDescription(t);if(e.errorCauses&&e.errorCauses.length>0&&l._.isString(e.errorCauses[0].errorSummary)){var r;e.errorCauses[0].errorSummary=(0,i.default)(r=e.errorCauses[0].errorSummary.replace(n,"")).call(r)}return e},c.getPasswordComplexityDescriptionForHtmlList=function(e){var t={complexity:{minLength:{i18n:"password.complexity.length.description",args:!0},minLowerCase:{i18n:"password.complexity.lowercase.description"},minUpperCase:{i18n:"password.complexity.uppercase.description"},minNumber:{i18n:"password.complexity.number.description"},minSymbol:{i18n:"password.complexity.symbol.description"},excludeUsername:{i18n:"password.complexity.no_username.description"},excludeFirstName:{i18n:"password.complexity.no_first_name.description"},excludeLastName:{i18n:"password.complexity.no_last_name.description"}},history:{i18n:"password.complexity.history.description"},age:{minutes:{i18n:"password.complexity.minAgeMinutes.description"},hours:{i18n:"password.complexity.minAgeHours.description"},days:{i18n:"password.complexity.minAgeDays.description"}}},n=m(e,t);return l._.union(n.complexity,n.history,n.age)},c.getPasswordComplexityDescription=function(e){var t={complexity:{minLength:{i18n:"password.complexity.length",args:!0},minLowerCase:{i18n:"password.complexity.lowercase"},minUpperCase:{i18n:"password.complexity.uppercase"},minNumber:{i18n:"password.complexity.number"},minSymbol:{i18n:"password.complexity.symbol"},excludeUsername:{i18n:"password.complexity.no_username"},excludeFirstName:{i18n:"password.complexity.no_first_name"},excludeLastName:{i18n:"password.complexity.no_last_name"}},history:{i18n:"password.complexity.history"},age:{minutes:{i18n:"password.complexity.minAgeMinutes"},hours:{i18n:"password.complexity.minAgeHours"},days:{i18n:"password.complexity.minAgeDays"}}},n=[],r=m(e,t),i=r.complexity;return i.length>0&&(i=(0,o.default)(l._).call(l._,i,function(e,t){return e?e+(0,l.loc)("password.complexity.list.element","login",[t]):t}),n.push((0,l.loc)("password.complexity.requirements","login",[i]))),n.push(r.history[0]),n.push(r.age[0]),l._.compact(n).join(" ")},c.getCardinalityText=function(e,t,n){if(n){if(e)return 1===n.enrolled?"":(0,l.loc)("enroll.choices.cardinality.setup","login",[n.enrolled]);if(t&&n.maximum>1)return(0,l.loc)("enroll.choices.cardinality.setup.remaining","login",[n.enrolled,n.minimum])}return""},c.findFactorInFactorsArray=function(e,t,n){var r=e.findWhere({provider:t,factorType:n});return void 0===r&&(r=e.findWhere({factorType:n})),r};var v=c;t.default=v},function(e,t,n){var r=n(22),o=n(59),i=n(315),a=n(86).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){/*!
 *
 * Copyright 2009-2012 Kris Kowal under the terms of the MIT
 * license found at http://github.com/kriskowal/q/raw/master/LICENSE
 *
 * With parts by Tyler Close
 * Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
 * at http://www.opensource.org/licenses/mit-license.html
 * Forked at ref_send.js version: 2009-05-11
 *
 * With parts by Mark Miller
 * Copyright (C) 2011 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
!function(t){"use strict";if("function"==typeof bootstrap)bootstrap("promise",t);else{e.exports=t()}}(function(){"use strict";function e(e){return function(){return K.apply(e,arguments)}}function t(e){return e===Object(e)}function n(e){return"[object StopIteration]"===ee(e)||e instanceof q}function r(e,t){if(B&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(te)){for(var n=[],r=t;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(e.stack);var i=n.join("\n"+te+"\n");e.stack=o(i)}}function o(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;++r){var o=t[r];s(o)||i(o)||!o||n.push(o)}return n.join("\n")}function i(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function a(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(e);return r?[r[1],Number(r[2])]:void 0}function s(e){var t=a(e);if(!t)return!1;var n=t[0],r=t[1];return n===V&&r>=H&&r<=ae}function l(){if(B)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=e[0].indexOf("@")>0?e[1]:e[2],n=a(t);if(!n)return;return V=n[0],n[1]}}function u(e){return e instanceof p?e:g(e)?k(e):S(e)}function c(){function e(e){t=e,i.source=e,G(n,function(t,n){u.nextTick(function(){e.promiseDispatch.apply(e,n)})},void 0),n=void 0,r=void 0}var t,n=[],r=[],o=Q(c.prototype),i=Q(p.prototype);if(i.promiseDispatch=function(e,o,i){var a=$(arguments);n?(n.push(a),"when"===o&&i[1]&&r.push(i[1])):u.nextTick(function(){t.promiseDispatch.apply(t,a)})},i.valueOf=function(){if(n)return i;var e=m(t);return v(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},u.longStackSupport&&B)try{throw new Error}catch(e){i.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return o.promise=i,o.resolve=function(n){t||e(u(n))},o.fulfill=function(n){t||e(S(n))},o.reject=function(n){t||e(T(n))},o.notify=function(e){t||G(r,function(t,n){u.nextTick(function(){n(e)})},void 0)},o}function f(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=c();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function d(e){return f(function(t,n){for(var r=0,o=e.length;r<o;r++)u(e[r]).then(t,n)})}function p(e,t,n){void 0===t&&(t=function(e){return T(new Error("Promise does not support operation: "+e))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=Q(p.prototype);if(r.promiseDispatch=function(n,o,i){var a;try{a=e[o]?e[o].apply(r,i):t.call(r,o,i)}catch(e){a=T(e)}n&&n(a)},r.inspect=n,n){var o=n();"rejected"===o.state&&(r.exception=o.reason),r.valueOf=function(){var e=n();return"pending"===e.state||"rejected"===e.state?r:e.value}}return r}function h(e,t,n,r){return u(e).then(t,n,r)}function m(e){if(v(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function v(e){return e instanceof p}function g(e){return t(e)&&"function"==typeof e.then}function y(e){return v(e)&&"pending"===e.inspect().state}function b(e){return!v(e)||"fulfilled"===e.inspect().state}function _(e){return v(e)&&"rejected"===e.inspect().state}function w(){ne.length=0,re.length=0,ie||(ie=!0)}function x(e,t){ie&&("object"==typeof process&&"function"==typeof process.emit&&u.nextTick.runAfter(function(){-1!==Y(re,e)&&(process.emit("unhandledRejection",t,e),oe.push(e))}),re.push(e),t&&void 0!==t.stack?ne.push(t.stack):ne.push("(no stack) "+t))}function E(e){if(ie){var t=Y(re,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&u.nextTick.runAfter(function(){var n=Y(oe,e);-1!==n&&(process.emit("rejectionHandled",ne[t],e),oe.splice(n,1))}),re.splice(t,1),ne.splice(t,1))}}function T(e){var t=p({when:function(t){return t&&E(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return x(t,e),t}function S(e){return p({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},delete:function(t){delete e[t]},post:function(t,n){return null===t||void 0===t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return Z(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function k(e){var t=c();return u.nextTick(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}function O(e){return p({isDef:function(){}},function(t,n){return M(e,t,n)},function(){return u(e).inspect()})}function A(e,t,n){return u(e).spread(t,n)}function C(e){return function(){function t(e,t){var a;if("undefined"==typeof StopIteration){try{a=r[e](t)}catch(e){return T(e)}return a.done?u(a.value):h(a.value,o,i)}try{a=r[e](t)}catch(e){return n(e)?u(e.value):T(e)}return h(a,o,i)}var r=e.apply(this,arguments),o=t.bind(t,"next"),i=t.bind(t,"throw");return o()}}function R(e){u.done(u.async(e)())}function I(e){throw new q(e)}function N(e){return function(){return A([this,P(arguments)],function(t,n){return e.apply(t,n)})}}function M(e,t,n){return u(e).dispatch(t,n)}function P(e){return h(e,function(e){var t=0,n=c();return G(e,function(r,o,i){var a;v(o)&&"fulfilled"===(a=o.inspect()).state?e[i]=a.value:(++t,h(o,function(r){e[i]=r,0==--t&&n.resolve(e)},n.reject,function(e){n.notify({index:i,value:e})}))},void 0),0===t&&n.resolve(e),n.promise})}function L(e){if(0===e.length)return u.resolve();var t=u.defer(),n=0;return G(e,function(r,o,i){function a(e){t.resolve(e)}function s(){0===--n&&t.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}function l(e){t.notify({index:i,value:e})}var u=e[i];n++,h(u,a,s,l)},void 0),t.promise}function D(e){return h(e,function(e){return e=J(e,u),h(P(J(e,function(e){return h(e,W,W)})),function(){return e})})}function j(e){return u(e).allSettled()}function F(e,t){return u(e).then(void 0,void 0,t)}function U(e,t){return u(e).nodeify(t)}var B=!1;try{throw new Error}catch(e){B=!!e.stack}var V,q,H=l(),W=function(){},z=function(){function e(){for(var e,r;n.next;)n=n.next,e=n.task,n.task=void 0,r=n.domain,r&&(n.domain=void 0,r.enter()),t(e,r);for(;s.length;)e=s.pop(),t(e);o=!1}function t(t,n){try{t()}catch(t){if(a)throw n&&n.exit(),setTimeout(e,0),n&&n.enter(),t;setTimeout(function(){throw t},0)}n&&n.exit()}var n={task:void 0,next:null},r=n,o=!1,i=void 0,a=!1,s=[];if(z=function(e){r=r.next={task:e,domain:a&&process.domain,next:null},o||(o=!0,i())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)a=!0,i=function(){process.nextTick(e)};else if("function"==typeof setImmediate)i="undefined"!=typeof window?setImmediate.bind(window,e):function(){setImmediate(e)};else if("undefined"!=typeof MessageChannel){var l=new MessageChannel;l.port1.onmessage=function(){i=u,l.port1.onmessage=e,e()};var u=function(){l.port2.postMessage(0)};i=function(){setTimeout(e,0),u()}}else i=function(){setTimeout(e,0)};return z.runAfter=function(e){s.push(e),o||(o=!0,i())},z}(),K=Function.call,$=e(Array.prototype.slice),G=e(Array.prototype.reduce||function(e,t){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){t=this[n++];break}if(++n>=r)throw new TypeError}for(;n<r;n++)n in this&&(t=e(t,this[n],n));return t}),Y=e(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),J=e(Array.prototype.map||function(e,t){var n=this,r=[];return G(n,function(o,i,a){r.push(e.call(t,i,a,n))},void 0),r}),Q=Object.create||function(e){function t(){}return t.prototype=e,new t},X=e(Object.prototype.hasOwnProperty),Z=Object.keys||function(e){var t=[];for(var n in e)X(e,n)&&t.push(n);return t},ee=e(Object.prototype.toString);q="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var te="From previous event:";u.resolve=u,u.nextTick=z,u.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(u.longStackSupport=!0),u.defer=c,c.prototype.makeNodeResolver=function(){var e=this;return function(t,n){t?e.reject(t):arguments.length>2?e.resolve($(arguments,1)):e.resolve(n)}},u.Promise=f,u.promise=f,f.race=d,f.all=P,f.reject=T,f.resolve=u,u.passByCopy=function(e){return e},p.prototype.passByCopy=function(){return this},u.join=function(e,t){return u(e).join(t)},p.prototype.join=function(e){return u([this,e]).spread(function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)})},u.race=d,p.prototype.race=function(){return this.then(u.race)},u.makePromise=p,p.prototype.toString=function(){return"[object Promise]"},p.prototype.then=function(e,t,n){function o(t){try{return"function"==typeof e?e(t):t}catch(e){return T(e)}}function i(e){if("function"==typeof t){r(e,s);try{return t(e)}catch(e){return T(e)}}return T(e)}function a(e){return"function"==typeof n?n(e):e}var s=this,l=c(),f=!1;return u.nextTick(function(){s.promiseDispatch(function(e){f||(f=!0,l.resolve(o(e)))},"when",[function(e){f||(f=!0,l.resolve(i(e)))}])}),s.promiseDispatch(void 0,"when",[void 0,function(e){var t,n=!1;try{t=a(e)}catch(e){if(n=!0,!u.onerror)throw e;u.onerror(e)}n||l.notify(t)}]),l.promise},u.tap=function(e,t){return u(e).tap(t)},p.prototype.tap=function(e){return e=u(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},u.when=h,p.prototype.thenResolve=function(e){return this.then(function(){return e})},u.thenResolve=function(e,t){return u(e).thenResolve(t)},p.prototype.thenReject=function(e){return this.then(function(){throw e})},u.thenReject=function(e,t){return u(e).thenReject(t)},u.nearer=m,u.isPromise=v,u.isPromiseAlike=g,u.isPending=y,p.prototype.isPending=function(){return"pending"===this.inspect().state},u.isFulfilled=b,p.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},u.isRejected=_,p.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ne=[],re=[],oe=[],ie=!0;u.resetUnhandledRejections=w,u.getUnhandledReasons=function(){return ne.slice()},u.stopUnhandledRejectionTracking=function(){w(),ie=!1},w(),u.reject=T,u.fulfill=S,u.master=O,u.spread=A,p.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},u.async=C,u.spawn=R,u.return=I,u.promised=N,u.dispatch=M,p.prototype.dispatch=function(e,t){var n=this,r=c();return u.nextTick(function(){n.promiseDispatch(r.resolve,e,t)}),r.promise},u.get=function(e,t){return u(e).dispatch("get",[t])},p.prototype.get=function(e){return this.dispatch("get",[e])},u.set=function(e,t,n){return u(e).dispatch("set",[t,n])},p.prototype.set=function(e,t){return this.dispatch("set",[e,t])},u.del=u.delete=function(e,t){return u(e).dispatch("delete",[t])},p.prototype.del=p.prototype.delete=function(e){return this.dispatch("delete",[e])},u.mapply=u.post=function(e,t,n){return u(e).dispatch("post",[t,n])},p.prototype.mapply=p.prototype.post=function(e,t){return this.dispatch("post",[e,t])},u.send=u.mcall=u.invoke=function(e,t){return u(e).dispatch("post",[t,$(arguments,2)])},p.prototype.send=p.prototype.mcall=p.prototype.invoke=function(e){return this.dispatch("post",[e,$(arguments,1)])},u.fapply=function(e,t){return u(e).dispatch("apply",[void 0,t])},p.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},u.try=u.fcall=function(e){return u(e).dispatch("apply",[void 0,$(arguments,1)])},p.prototype.fcall=function(){return this.dispatch("apply",[void 0,$(arguments)])},u.fbind=function(e){var t=u(e),n=$(arguments,1);return function(){return t.dispatch("apply",[this,n.concat($(arguments))])}},p.prototype.fbind=function(){var e=this,t=$(arguments);return function(){return e.dispatch("apply",[this,t.concat($(arguments))])}},u.keys=function(e){return u(e).dispatch("keys",[])},p.prototype.keys=function(){return this.dispatch("keys",[])},u.all=P,p.prototype.all=function(){return P(this)},u.any=L,p.prototype.any=function(){return L(this)},u.allResolved=function(e,t,n){return function(){return"undefined"!=typeof console&&console.warn,e.apply(e,arguments)}}(D,"allResolved","allSettled"),p.prototype.allResolved=function(){return D(this)},u.allSettled=j,p.prototype.allSettled=function(){return this.then(function(e){return P(J(e,function(e){function t(){return e.inspect()}return e=u(e),e.then(t,t)}))})},u.fail=u.catch=function(e,t){return u(e).then(void 0,t)},p.prototype.fail=p.prototype.catch=function(e){return this.then(void 0,e)},u.progress=F,p.prototype.progress=function(e){return this.then(void 0,void 0,e)},u.fin=u.finally=function(e,t){return u(e).finally(t)},p.prototype.fin=p.prototype.finally=function(e){return e=u(e),this.then(function(t){return e.fcall().then(function(){return t})},function(t){return e.fcall().then(function(){throw t})})},u.done=function(e,t,n,r){return u(e).done(t,n,r)},p.prototype.done=function(e,t,n){var o=function(e){u.nextTick(function(){if(r(e,i),!u.onerror)throw e;u.onerror(e)})},i=e||t||n?this.then(e,t,n):this;"object"==typeof process&&process&&process.domain&&(o=process.domain.bind(o)),i.then(void 0,o)},u.timeout=function(e,t,n){return u(e).timeout(t,n)},p.prototype.timeout=function(e,t){var n=c(),r=setTimeout(function(){t&&"string"!=typeof t||(t=new Error(t||"Timed out after "+e+" ms"),t.code="ETIMEDOUT"),n.reject(t)},e);return this.then(function(e){clearTimeout(r),n.resolve(e)},function(e){clearTimeout(r),n.reject(e)},n.notify),n.promise},u.delay=function(e,t){return void 0===t&&(t=e,e=void 0),u(e).delay(t)},p.prototype.delay=function(e){return this.then(function(t){var n=c();return setTimeout(function(){n.resolve(t)},e),n.promise})},u.nfapply=function(e,t){return u(e).nfapply(t)},p.prototype.nfapply=function(e){var t=c(),n=$(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},u.nfcall=function(e){var t=$(arguments,1);return u(e).nfapply(t)},p.prototype.nfcall=function(){var e=$(arguments),t=c();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},u.nfbind=u.denodeify=function(e){var t=$(arguments,1);return function(){var n=t.concat($(arguments)),r=c();return n.push(r.makeNodeResolver()),u(e).fapply(n).fail(r.reject),r.promise}},p.prototype.nfbind=p.prototype.denodeify=function(){var e=$(arguments);return e.unshift(this),u.denodeify.apply(void 0,e)},u.nbind=function(e,t){var n=$(arguments,2);return function(){function r(){return e.apply(t,arguments)}var o=n.concat($(arguments)),i=c();return o.push(i.makeNodeResolver()),u(r).fapply(o).fail(i.reject),i.promise}},p.prototype.nbind=function(){var e=$(arguments,0);return e.unshift(this),u.nbind.apply(void 0,e)},u.nmapply=u.npost=function(e,t,n){return u(e).npost(t,n)},p.prototype.nmapply=p.prototype.npost=function(e,t){var n=$(t||[]),r=c();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},u.nsend=u.nmcall=u.ninvoke=function(e,t){var n=$(arguments,2),r=c();return n.push(r.makeNodeResolver()),u(e).dispatch("post",[t,n]).fail(r.reject),r.promise},p.prototype.nsend=p.prototype.nmcall=p.prototype.ninvoke=function(e){var t=$(arguments,1),n=c();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},u.nodeify=U,p.prototype.nodeify=function(e){if(!e)return this;this.then(function(t){u.nextTick(function(){e(null,t)})},function(t){u.nextTick(function(){e(t)})})},u.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var ae=l();return u})},function(e,t,n){var r=n(29);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.options.appState.trigger("backToFactors"),this.back()}},back:function(){this.state.set("navigateDir",a.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s},function(e,t,n){var r=n(110),o=n(167),i=n(33),a=n(23),s=n(175),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,d=7==e,p=5==e||f;return function(h,m,v,g){for(var y,b,_=i(h),w=o(_),x=r(m,v,3),E=a(w.length),T=0,S=g||s,k=t?S(h,E):n||d?S(h,0):void 0;E>T;T++)if((p||T in w)&&(y=w[T],b=x(y,T,_),e))if(t)k[T]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return T;case 2:l.call(k,y)}else switch(e){case 4:return!1;case 7:l.call(k,y)}return f?-1:u||c?c:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterOut:u(7)}},function(e,t,n){"use strict";function r(e){if(!Object(o.a)(e))return[];if(i.m)return Object(i.m)(e);var t=[];for(var n in e)Object(a.a)(e,n)&&t.push(n);return i.h&&Object(s.a)(e,t),t}t.a=r;var o=n(132),i=n(31),a=n(116),s=n(416)},function(e,t,n){var r=n(19),o=n(207),i=n(99),a=n(62),s=n(81),l=n(37),u=n(360),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(19),o=n(25),i=n(99);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(9),o=n(50),i=n(37),a=n(261),s=n(262),l=n(57),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;if("function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e===r)return void(d?e[t]=n:a(t,n));u?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:o(e,t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s(this)})},function(e,t,n){e.exports=n(855)},function(e,t,n){var r=n(38);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";function r(e){var t="[object "+e+"]";return function(e){return o.t.call(e)===t}}t.a=r;var o=n(31)},function(e,t,n){"use strict";function r(e){this.name=p.default.CONFIG_ERROR,this.message=e||(0,d.loc)("error.config")}function o(e){this.name=p.default.UNSUPPORTED_BROWSER_ERROR,this.message=e||(0,d.loc)("error.unsupported.browser")}function i(e){this.name=p.default.OAUTH_ERROR,this.message=e}function a(e){this.name=p.default.REGISTRATION_FAILED,this.message=e}function s(){this.name=p.default.AUTH_STOP_POLL_INITIATION_ERROR}function l(e){this.name=p.default.U2F_ERROR,this.message=e.xhr.responseJSON.errorSummary,this.xhr=e.xhr}function u(e){this.name=p.default.WEB_AUTHN_ERROR,this.message=e.xhr.responseJSON.errorSummary,this.xhr=e.xhr}function c(){this.name=p.default.WEBAUTHN_ABORT_ERROR}var f=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var d=n(2),p=f(n(11));r.prototype=new Error,o.prototype=new Error,i.prototype=new Error,a.prototype=new Error,s.prototype=new Error,l.prototype=new Error,u.prototype=new Error,c.prototype=new Error;var h={ConfigError:r,UnsupportedBrowserError:o,OAuthError:i,RegistrationError:a,AuthStopPollInitiationError:s,U2FError:l,WebAuthnError:u,WebauthnAbortError:c};t.default=h},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(77)),a={},s="withCredentials"in new window.XMLHttpRequest,l="undefined"!=typeof XDomainRequest;a.corsIsNotSupported=function(){return!(s||l)},a.corsIsNotEnabled=function(e){return 0===e.status},a.localStorageIsNotSupported=function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!1}catch(e){return!0}},a.supportsPushState=function(e){return e=e||window,!(!e.history||!e.history.pushState)},a.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},a.isFirefox=function(){var e;return(0,i.default)(e=navigator.userAgent.toLowerCase()).call(e,"firefox")>-1},a.isEdge=function(){var e;return(0,i.default)(e=navigator.userAgent.toLowerCase()).call(e,"edge")>-1},a.isSafari=function(){var e,t;return(0,i.default)(e=navigator.userAgent.toLowerCase()).call(e,"safari")>-1&&-1===(0,i.default)(t=navigator.userAgent.toLowerCase()).call(t,"chrome")},a.isMac=function(){var e;return(0,i.default)(e=navigator.platform.toUpperCase()).call(e,"MAC")>=0},a.isAndroid=function(){return/android/i.test(navigator.userAgent)&&!/windows phone/i.test(navigator.userAgent)},a.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},a.getUserLanguages=function(){var e,t;return navigator.languages?navigator.languages:(e=[],t=["language","userLanguage","browserLanguage","systemLanguage"],(0,o.default)(t).call(t,function(t){navigator[t]&&e.push(navigator[t])}),e)};var u=a;t.default=u},function(e,t,n){var r,o,i,a=n(361),s=n(9),l=n(15),u=n(50),c=n(37),f=n(263),d=n(208),p=n(169),h=s.WeakMap,m=function(e){return i(e)?o(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var g=f.state||(f.state=new h),y=g.get,b=g.has,_=g.set;r=function(e,t){return t.facade=e,_.call(g,e,t),t},o=function(e){return y.call(g,e)||{}},i=function(e){return b.call(g,e)}}else{var w=d("state");p[w]=!0,r=function(e,t){return t.facade=e,u(e,w,t),t},o=function(e){return c(e,w)?e[w]:{}},i=function(e){return c(e,w)}}e.exports={set:r,get:o,has:i,enforce:m,getterFor:v}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(170),o=n(37),i=n(367),a=n(25).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){"use strict";function r(e,t,n){return o.a.iteratee!==a.a?o.a.iteratee(e,t):Object(i.a)(e,t,n)}t.a=r;var o=n(69),i=n(426),a=n(427)},function(e,t,n){var r=n(167),o=n(49);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(170),o=n(9),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(49),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+a+"</"+t+">"}},function(e,t,n){var r=n(6);e.exports=function(e){return r(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}},function(e,t,n){var r=n(148),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(44),o=n(29),i=n(59),a=Object.defineProperty,s={},l=function(e){throw e};e.exports=function(e,t){if(i(s,e))return s[e];t||(t={});var n=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,c=i(t,0)?t[0]:l,f=i(t,1)?t[1]:void 0;return s[e]=!!n&&!o(function(){if(u&&!r)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,n.call(e,c,f)})}},function(e,t,n){"use strict";function r(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}t.a=r},function(e,t,n){"use strict";function r(e){return e instanceof r?e:this instanceof r?void(this._wrapped=e):new r(e)}t.a=r;var o=n(31);r.VERSION=o.e,r.prototype.value=function(){return this._wrapped},r.prototype.valueOf=r.prototype.toJSON=r.prototype.value,r.prototype.toString=function(){return String(this._wrapped)}},function(e,t,n){"use strict";var r=n(414),o=n(76);t.a=Object(r.a)(o.a)},function(e,t){e.exports=!1},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(37),o=n(33),i=n(208),a=n(270),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(131);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r=n(54),o=n(31),i=Object(r.a)("Function"),a=o.p.document&&o.p.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof a&&(i=function(e){return"function"==typeof e||!1}),t.a=i},function(e,t,n){"use strict";var r=n(415);t.a=Object(r.a)("length")},function(e,t,n){e.exports=n(489)},function(e,t,n){e.exports=n(1042)},function(e,t,n){"use strict";function r(e,t){"error"===e&&window.console[e].apply(window.console,t)}n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o={trace:function(){return r("trace",arguments)},dir:function(){return r("dir",arguments)},time:function(){return r("time",arguments)},timeEnd:function(){return r("timeEnd",arguments)},group:function(){return r("group",arguments)},groupEnd:function(){return r("groupEnd",arguments)},assert:function(){return r("assert",arguments)},log:function(){return r("log",arguments)},info:function(){return r("info",arguments)},warn:function(){return r("warn",arguments)},error:function(){return r("error",arguments)},deprecate:function(e){return r("warn",["[okta-signin-widget] DEPRECATED:",e])}};t.default=o},function(e,t,n){e.exports=n(454)},function(e,t,n){var r=n(15);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(25).f,o=n(37),i=n(20),a=i("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,a)&&r(e,a,{configurable:!0,value:t})}},function(e,t,n){var r=n(226),o=n(131);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var r=n(44),o=n(86),i=n(129);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(44),o=n(400),i=n(53),a=n(227),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t){e.exports=!0},function(e,t,n){function r(e,t,n){return t in e?o(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(516);e.exports=r},function(e,t,n){"use strict";function r(e,t){var n;if(t.recoveryType===u.default.RECOVERY_TYPE_UNLOCK)return void e.navigate("signin/account-unlocked",{trigger:!0});if(s._.contains(E,null===(n=t._embedded)||void 0===n?void 0:n.deviceActivationStatus))return void e.navigate("signin/device-activate-complete",{trigger:!0});if(e.settings.get("oauth2Enabled"))return void d.default.getTokens(e.settings,{sessionToken:t.sessionToken},e.controller);var r={user:t._embedded.user,type:t.type||u.default.SESSION_SSO};t.relayState&&(r.relayState=t.relayState);var o=e.settings.get("redirectUtilFn"),i=t._links&&(t._links.original&&t._links.original.href||t._links.next&&t._links.next.href);if(t.type===u.default.SESSION_STEP_UP){var a=t._links&&t._links.next&&t._links.next.href;r.stepUp={url:a,finish:function(){o(a)}}}else i?r.next=function(){o(i)}:(r.type=u.default.SESSION_SSO,r.session={token:t.sessionToken,setCookieAndRedirect:function(n){if(n&&p.default.debugMessage('\n            Passing a "redirectUri" to "setCookieAndRedirect" is strongly discouraged.\n            It is recommended to set a "redirectUri" option in the config object passed to the widget constructor.\n          '),!(n=n||e.settings.get("redirectUri")))throw new f.default.ConfigError('"redirectUri" is required');o(x({baseUrl:e.settings.get("baseUrl"),token:encodeURIComponent(t.sessionToken),redirectUrl:encodeURIComponent(n)}))}});h.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",function t(){h.isDocumentVisible()&&(document.removeEventListener("visibilitychange",t),e.settings.callGlobalSuccess(u.default.SUCCESS,r))}):e.settings.callGlobalSuccess(u.default.SUCCESS,r)}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(26)),a=o(n(4)),s=n(2),l=o(n(56)),u=o(n(11)),c=o(n(1129)),f=o(n(55)),d=o(n(327)),p=o(n(28)),h={},m=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u((a=null!=(a=c(n,"provider")||(null!=t?c(t,"provider"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):a))+"/"+u((a=null!=(a=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):a))},useData:!0}),v=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u((a=null!=(a=c(n,"provider")||(null!=t?c(t,"provider"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):a))+"/"+u((a=null!=(a=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):a))+"/"+u((a=null!=(a=c(n,"factorIndex")||(null!=t?c(t,"factorIndex"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorIndex",hash:{},data:o,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):a))},useData:!0}),g=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+e.escapeExpression((i=null!=(i=a(n,"factorType")||(null!=t?a(t,"factorType"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:28}}}):i))},useData:!0}),y=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll/"+u((a=null!=(a=c(n,"provider")||(null!=t?c(t,"provider"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):a))+"/"+u((a=null!=(a=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):a))},useData:!0}),b=a.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression((i=null!=(i=a(n,"step")||(null!=t?a(t,"step"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"step",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:71}}}):i))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll-activate/"+c((s=null!=(s=f(n,"provider")||(null!=t?f(t,"provider"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:23},end:{line:1,column:35}}}):s))+"/"+c((s=null!=(s=f(n,"factorType")||(null!=t?f(t,"factorType"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):s))+(null!=(a=f(n,"if").call(l,null!=t?f(t,"step"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:50},end:{line:1,column:78}}}))?a:"")},useData:!0}),_=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/recovery/"+e.escapeExpression((i=null!=(i=a(n,"recoveryToken")||(null!=t?a(t,"recoveryToken"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"recoveryToken",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:33}}}):i))},useData:!0}),w=a.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression((i=null!=(i=a(n,"token")||(null!=t?a(t,"token"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"token",hash:{},data:o,loc:{start:{line:1,column:39},end:{line:1,column:48}}}):i))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/refresh-auth-state"+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"token"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:25},end:{line:1,column:55}}}))?i:"")},useData:!0}),x=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((s=null!=(s=c(n,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):s))+"/login/sessionCookieRedirect?checkAccountSetupComplete=true&token="+(null!=(s=null!=(s=c(n,"token")||(null!=t?c(t,"token"):t))?s:u,a="function"===(0,i.default)(s)?s.call(l,{name:"token",hash:{},data:o,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):s)?a:"")+"&redirectUrl="+(null!=(s=null!=(s=c(n,"redirectUrl")||(null!=t?c(t,"redirectUrl"):t))?s:u,a="function"===(0,i.default)(s)?s.call(l,{name:"redirectUrl",hash:{},data:o,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):s)?a:"")},useData:!0}),E=["DEVICE_ACTIVATED","DEVICE_NOT_ACTIVATED_CONSENT_DENIED","DEVICE_NOT_ACTIVATED"];h.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},h.isDocumentVisible=function(){return"visible"===document.visibilityState},h.createVerifyUrl=function(e,t,n){return e&&n?v({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),factorIndex:encodeURIComponent(n)}):e?m({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)}):g({factorType:encodeURIComponent(t)})},h.createEnrollFactorUrl=function(e,t){return y({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)})},h.createActivateFactorUrl=function(e,t,n){return b({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),step:!!n&&encodeURIComponent(n)})},h.createRecoveryUrl=function(e){return _({recoveryToken:encodeURIComponent(e)})},h.createRefreshUrl=function(e){var t=e?encodeURIComponent(e):null;return w({token:t})},h.routeAfterAuthStatusChangeError=function(e,t){if(t)return t.xhr&&l.default.corsIsNotEnabled(t.xhr)?void e.settings.callGlobalError(new f.default.UnsupportedBrowserError((0,s.loc)("error.enabled.cors"))):t.errorCode===c.default.INVALID_TOKEN_EXCEPTION?(e.appState.set("flashError",t),e.controller.state.set("navigateDir",u.default.DIRECTION_BACK),void(e.settings.get("features.mfaOnlyFlow")?e.navigate("signin/error",{trigger:!0}):e.navigate("",{trigger:!0}))):void p.default.triggerAfterError(e.controller,t)},h.routeAfterAuthStatusChange=function(e,t){if(!t||!t.status)return void e.appState.clearLastAuthResponse();e.appState.setAuthResponse(t),e.controller&&e.controller.trapAuthResponse(t)||h.handleResponseStatus(e,t)},h.handleResponseStatus=function(e,t){switch(t.status){case"SUCCESS":return void r(e,t);case"ADMIN_CONSENT_REQUIRED":return void e.navigate("signin/admin-consent",{trigger:!0});case"CONSENT_REQUIRED":return void e.navigate("signin/consent",{trigger:!0});case"DEVICE_ACTIVATE":return void e.navigate("signin/device-activate",{trigger:!0});case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":var n=e.appState.get("lastFailedChallengeFactorData");n&&n.factor&&(e.appState.get("factors").lastUsedFactor=n.factor);var o=e.appState.get("factors").getDefaultFactor(),i=h.createVerifyUrl(o.get("provider"),o.get("factorType"));return e.navigate(i,{trigger:!0}),void e.appState.clearLastFailedChallengeFactorData();case"POLL":;return void e.navigate("signin/poll",{trigger:!0});case"MFA_CHALLENGE":return e.appState.get("isFactorResultFailed")&&e.appState.setLastFailedChallengeFactorData(),void e.appState.get("transaction").prev().then(function(t){e.appState.set("transaction",t)});case"MFA_ENROLL":case"FACTOR_ENROLL":return void e.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":var a=h.createActivateFactorUrl(e.appState.get("activatedFactorProvider"),e.appState.get("activatedFactorType"));return void e.navigate(a,{trigger:!0});case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(e.settings.get("features.customExpiredPassword")&&!e.appState.get("isPwdManagedByOkta")?e.navigate("signin/custom-password-expired",{trigger:!0}):e.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":var l=t.factorType.toLowerCase()===u.default.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),c=t.recoveryType===u.default.RECOVERY_TYPE_PASSWORD,f=t.recoveryType===u.default.RECOVERY_TYPE_UNLOCK;return void(c&&l?e.navigate("signin/recovery-emailed",{trigger:!0}):f&&l?e.navigate("signin/unlock-emailed",{trigger:!0}):e.navigate("signin/recovery-challenge",{trigger:!0}));case"RECOVERY":return void e.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void e.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":if(e.settings.get("features.selfServiceUnlock"))e.navigate("signin/unlock",{trigger:!0});else{var d=(0,s.loc)("error.auth.lockedOut","login"),m={responseJSON:{errorCauses:[],errorSummary:d,errorCode:"E0000119"}},v={name:"AuthApiError",message:d,xhr:m};e.controller.model.appState.trigger("removeLoading"),e.controller.model.trigger("error",e.controller.model,m),p.default.triggerAfterError(e.controller,v)}return;case"PROFILE_REQUIRED":return void e.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(e.appState.get("promptForFactorInUnauthenticated")){var g=e.appState.get("factors").getDefaultFactor(),y=h.createVerifyUrl(g.get("provider"),g.get("factorType"));return void e.navigate(y,{trigger:!0})}return void e.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+t.status)}};var T=h;t.default=T},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(t,n(108))},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r,o=n(16),i=n(269),a=n(266),s=n(169),l=n(365),u=n(260),c=n(208),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(p("document.F=Object")),e.close(),e.F},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=r?h(r):m();for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=v(),void 0===t?n:i(n,t)}},function(e,t,n){var r,o,i,a=n(461),s=n(34),l=n(38),u=n(85),c=n(59),f=n(233),d=n(184),p=s.WeakMap,h=function(e){return i(e)?o(e):r(e,{})},m=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var v=new p,g=v.get,y=v.has,b=v.set;r=function(e,t){return b.call(v,e,t),t},o=function(e){return g.call(v,e)||{}},i=function(e){return y.call(v,e)}}else{var _=f("state");d[_]=!0,r=function(e,t){return u(e,_,t),t},o=function(e){return c(e,_)?e[_]:{}},i=function(e){return c(e,_)}}e.exports={set:r,get:o,has:i,enforce:h,getterFor:m}},function(e,t,n){var r=n(22),o=n(34),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(115),o=n(226),i=n(74),a=n(66),s=n(235),l=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,c=4==e,f=6==e,d=5==e||f;return function(p,h,m,v){for(var g,y,b=i(p),_=o(b),w=r(h,m,3),x=a(_.length),E=0,T=v||s,S=t?T(p,x):n?T(p,0):void 0;x>E;E++)if((d||E in _)&&(g=_[E],y=w(g,E,b),e))if(t)S[E]=y;else if(y)switch(e){case 3:return!0;case 5:return g;case 6:return E;case 2:l.call(S,g)}else if(c)return!1;return f?-1:u||c?c:S}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){e.exports=n(495)},function(e,t,n){"use strict";function r(e){return f[e]}function o(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}function i(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function a(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}return p.test(e)?e.replace(d,r):e}function s(e){return!e&&0!==e||!(!v(e)||0!==e.length)}function l(e){var t=o({},e);return t._parent=e,t}function u(e,t){return e.path=t,e}function c(e,t){return(e?e+".":"")+t}t.__esModule=!0,t.extend=o,t.indexOf=i,t.escapeExpression=a,t.isEmpty=s,t.createFrame=l,t.blockParams=u,t.appendContextPath=c;var f={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},d=/[&<>"'`=]/g,p=/[&<>"'`=]/,h=Object.prototype.toString;t.toString=h;var m=function(e){return"function"==typeof e};m(/x/)&&(t.isFunction=m=function(e){return"function"==typeof e&&"[object Function]"===h.call(e)}),t.isFunction=m;var v=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===h.call(e)};t.isArray=v},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(16),o=n(58),i=n(20),a=i("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(19),a=n(286),s=n(21),l=n(224),u=n(114),c=n(99),f=n(50),d=n(23),p=n(394),h=n(395),m=n(81),v=n(37),g=n(178),y=n(15),b=n(93),_=n(111),w=n(123).f,x=n(396),E=n(46).forEach,T=n(144),S=n(25),k=n(48),O=n(57),A=n(220),C=O.get,R=O.set,I=S.f,N=k.f,M=Math.round,P=o.RangeError,L=l.ArrayBuffer,D=l.DataView,j=s.NATIVE_ARRAY_BUFFER_VIEWS,F=s.TYPED_ARRAY_TAG,U=s.TypedArray,B=s.TypedArrayPrototype,V=s.aTypedArrayConstructor,q=s.isTypedArray,H=function(e,t){for(var n=0,r=t.length,o=new(V(e))(r);r>n;)o[n]=t[n++];return o},W=function(e,t){I(e,t,{get:function(){return C(this)[t]}})},z=function(e){var t;return e instanceof L||"ArrayBuffer"==(t=g(e))||"SharedArrayBuffer"==t},K=function(e,t){return q(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},$=function(e,t){return K(e,t=m(t,!0))?c(2,e[t]):N(e,t)},G=function(e,t,n){return!(K(e,t=m(t,!0))&&y(n)&&v(n,"value"))||v(n,"get")||v(n,"set")||n.configurable||v(n,"writable")&&!n.writable||v(n,"enumerable")&&!n.enumerable?I(e,t,n):(e[t]=n.value,e)};i?(j||(k.f=$,S.f=G,W(B,"buffer"),W(B,"byteOffset"),W(B,"byteLength"),W(B,"length")),r({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:$,defineProperty:G}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,c="set"+e,m=o[s],v=m,g=v&&v.prototype,S={},k=function(e,t){var n=C(e);return n.view[l](t*i+n.byteOffset,!0)},O=function(e,t,r){var o=C(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[c](t*i+o.byteOffset,r,!0)},N=function(e,t){I(e,t,{get:function(){return k(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};j?a&&(v=t(function(e,t,n,r){return u(e,v,s),A(function(){return y(t)?z(t)?void 0!==r?new m(t,h(n,i),r):void 0!==n?new m(t,h(n,i)):new m(t):q(t)?H(v,t):x.call(v,t):new m(p(t))}(),e,v)}),_&&_(v,U),E(w(m),function(e){e in v||f(v,e,m[e])}),v.prototype=g):(v=t(function(e,t,n,r){u(e,v,s);var o,a,l,c=0,f=0;if(y(t)){if(!z(t))return q(t)?H(v,t):x.call(v,t);o=t,f=h(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw P("Wrong length");if((a=m-f)<0)throw P("Wrong length")}else if((a=d(r)*i)+f>m)throw P("Wrong length");l=a/i}else l=p(t),a=l*i,o=new L(a);for(R(e,{buffer:o,byteOffset:f,byteLength:a,length:l,view:new D(o)});c<l;)N(e,c++)}),_&&_(v,U),g=v.prototype=b(B)),g.constructor!==v&&f(g,"constructor",v),F&&f(g,F,s),S[s]=v,r({global:!0,forced:v!=m,sham:!j},S),"BYTES_PER_ELEMENT"in v||f(v,"BYTES_PER_ELEMENT",i),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",i),T(s)}):e.exports=function(){}},function(e,t,n){n(191);var r=n(952),o=n(34),i=n(118),a=n(85),s=n(137),l=n(35),u=l("toStringTag");for(var c in r){var f=o[c],d=f&&f.prototype;d&&i(d)!==u&&a(d,u,c),s[c]=s.Array}},function(e,t,n){var r=n(312),o=n(86).f,i=n(85),a=n(59),s=n(950),l=n(35),u=l("toStringTag");e.exports=function(e,t,n,l){if(e){var c=n?e:e.prototype;a(c,u)||o(c,u,{configurable:!0,value:t}),l&&!r&&i(c,"toString",s)}}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon error-24"></span><h4><strong>'+(null!=(a=null!=(a=s(n,"message")||(null!=t?s(t,"message"):t))?a:e.hooks.helperMissing,i="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:60}}}):a)?i:"")+"</strong></h4>"},useData:!0}),s=i.View.extend({template:a,className:"okta-infobox-error infobox infobox-error infobox-md margin-btm-25",attributes:{"data-se":"o-form-error-html"},message:"",initialize:function(e){e&&e.message&&(this.message=e.message)},getTemplateData:function(){return{message:this.message}}});t.default=s},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.WIDGET_FOOTER_CLASS=t.CANCEL_POLLING_ACTION=t.UNIVERSAL_LINK_POST_DELAY=t.MS_PER_SEC=t.CHALLENGE_TIMEOUT=t.WARNING_TIMEOUT=t.SHOW_RESEND_TIMEOUT=void 0;t.SHOW_RESEND_TIMEOUT=3e4;t.WARNING_TIMEOUT=3e4;t.CHALLENGE_TIMEOUT=3e5;t.MS_PER_SEC=1e3;t.UNIVERSAL_LINK_POST_DELAY=500;t.CANCEL_POLLING_ACTION="authenticatorChallenge-cancel";t.WIDGET_FOOTER_CLASS="siw-main-footer"},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(72),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(58);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(16),o=n(368);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){var r=n(16),o=n(271),i=n(23),a=n(110),s=n(177),l=n(369),u=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var c,f,d,p,h,m,v,g=n&&n.that,y=!(!n||!n.AS_ENTRIES),b=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),w=a(t,g,1+y+_),x=function(e){return c&&l(c),new u(!0,e)},E=function(e){return y?(r(e),_?w(e[0],e[1],x):w(e[0],e[1])):_?w(e,x):w(e)};if(b)c=e;else{if("function"!=typeof(f=s(e)))throw TypeError("Target is not iterable");if(o(f)){for(d=0,p=i(e.length);p>d;d++)if((h=E(e[d]))&&h instanceof u)return h;return new u(!1)}c=f.call(e)}for(m=c.next;!(v=m.call(c)).done;){try{h=E(v.value)}catch(e){throw l(c),e}if("object"==typeof h&&h&&h instanceof u)return h}return new u(!1)}},function(e,t,n){var r=n(20),o=n(93),i=n(25),a=r("unscopables"),s=Array.prototype;void 0==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(84);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){"use strict";function r(e,t){return null!=e&&o.i.call(e,t)}t.a=r;var o=n(31)},function(e,t,n){e.exports=n(457)},function(e,t,n){var r=n(312),o=n(130),i=n(35),a=i("toStringTag"),s="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(e){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(53),o=n(475),i=n(66),a=n(115),s=n(193),l=n(474),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,f){var d,p,h,m,v,g,y,b=a(t,n,c?2:1);if(f)d=e;else{if("function"!=typeof(p=s(e)))throw TypeError("Target is not iterable");if(o(p)){for(h=0,m=i(e.length);m>h;h++)if((v=c?b(r(y=e[h])[0],y[1]):b(e[h]))&&v instanceof u)return v;return new u(!1)}d=p.call(e)}for(g=d.next;!(y=g.call(d)).done;)if("object"==typeof(v=l(d,b,y.value,c))&&v&&v instanceof u)return v;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){e.exports=n(1216)},function(e,t,n){function r(e,t,n,r,o,a,s){try{var l=e[a](s),u=l.value}catch(e){return void n(e)}l.done?t(u):i.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new i(function(o,i){function a(e){r(l,o,i,a,s,"next",e)}function s(e){r(l,o,i,a,s,"throw",e)}var l=e.apply(t,n);a(void 0)})}}var i=n(1217);e.exports=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.getReloadPageButtonLink=t.getSkipSetupLink=t.getBackToSignInLink=t.getSignOutLink=t.getSignUpLink=t.goBackLink=t.getForgotPasswordLink=t.getSwitchAuthenticatorLink=void 0;var o=r(n(10)),i=n(2),a=n(24),s=a.ACTIONS.ENROLLED_PASSWORD_RECOVERY_LINK,l=a.ACTIONS.ORG_PASSWORD_RECOVERY_LINK,u=function(e){return e.getRemediationAuthenticationOptions(a.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE).length>1?[{type:"link",label:(0,i.loc)("oie.verification.switch.authenticator","login"),name:"switchAuthenticator",formName:a.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE}]:e.getRemediationAuthenticationOptions(a.FORMS.SELECT_AUTHENTICATOR_ENROLL).length>1?[{type:"link",label:(0,i.loc)("oie.enroll.switch.authenticator","login"),name:"switchAuthenticator",formName:a.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.getSwitchAuthenticatorLink=u;var c=function(e,t){var n={type:"link",label:(0,i.loc)("forgotpassword","login"),name:"forgot-password"},r=t.get("helpLinks.forgotPassword");return r?[(0,o.default)({},{href:r,label:(0,i.loc)("forgotpassword","login"),name:"forgot-password"})]:e.getActionByPath(l)?[(0,o.default)({},n,{actionPath:l})]:e.getActionByPath(s)?[(0,o.default)({},n,{actionPath:s})]:[]};t.getForgotPasswordLink=c;var f=function(e){return e.hasRemediationObject(a.FORMS.SELECT_AUTHENTICATOR_ENROLL)?[{type:"link",label:(0,i.loc)("oie.go.back","login"),name:"go-back",formName:a.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.goBackLink=f;var d=function(e,t){return e.hasRemediationObject(a.FORMS.SKIP)?[{type:"link",label:null!==t&&void 0!==t?t:(0,i.loc)("oie.enroll.skip.setup","login"),name:"skip-setup",actionPath:a.FORMS.SKIP}]:[]};t.getSkipSetupLink=d;var p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(null===e||void 0===e?void 0:e.get("signOutLink"))?[{label:(0,i.loc)("signout","login"),name:"cancel",href:e.get("signOutLink")}]:[{actionPath:"cancel",label:t.label?t.label:(0,i.loc)("goback","login"),name:"cancel",type:"link"}]};t.getSignOutLink=p;var h=function(e){return[{type:"link",label:(0,i.loc)("goback","login"),name:"go-back",href:null===e||void 0===e?void 0:e.get("baseUrl")}]};t.getBackToSignInLink=h;var m=function(){return[{type:"link",label:(0,i.loc)("oie.try.again","login"),name:"try-again",href:window.location,className:"button button-primary text-align-c"}]};t.getReloadPageButtonLink=m;var v=function(e,t){var n=[];if(e.hasRemediationObject(a.FORMS.SELECT_ENROLL_PROFILE)){var r={type:"link",label:(0,i.loc)("oie.registration.form.title","login"),name:"enroll"};i._.isFunction(t.get("registration.click"))?r.clickHandler=t.get("registration.click"):r.actionPath=a.FORMS.SELECT_ENROLL_PROFILE,n.push(r)}return n};t.getSignUpLink=v},function(e,t,n){var r=n(363),o=n(266),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(100),o=n(9);e.exports="process"==r(o.process)},function(e,t,n){var r=n(100);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(81),o=n(25),i=n(99);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(169),o=n(15),i=n(37),a=n(25).f,s=n(168),l=n(180),u=s("meta"),c=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[u].objectID},h=function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[u].weakData},m=function(e){return l&&v.REQUIRED&&f(e)&&!i(e,u)&&d(e),e},v=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:m};r[u]=!0},function(e,t,n){var r=n(44),o=n(225),i=n(129),a=n(83),s=n(227),l=n(59),u=n(400),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";function r(e){var t=typeof e;return"function"===t||"object"===t&&!!e}t.a=r},function(e,t,n){"use strict";var r=n(31),o=n(54);t.a=r.k||Object(o.a)("Array")},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);var r,s;if(Object(i.a)(e))for(r=0,s=e.length;r<s;r++)t(e[r],r,e);else{var l=Object(a.a)(e);for(r=0,s=l.length;r<s;r++)t(e[l[r]],l[r],e)}return e}t.a=r;var o=n(188),i=n(70),a=n(47)},function(e,t,n){"use strict";var r=n(29);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){var r=n(130);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t){e.exports={}},function(e,t,n){var r=n(85);e.exports=function(e,t,n,o){o&&o.enumerable?e[t]=n:r(e,t,n)}},function(e,t,n){"use strict";var r=n(468).charAt,o=n(94),i=n(463),a=o.set,s=o.getterFor("String Iterator");i(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})})},function(e,t,n){e.exports=n(1029)},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,i=void 0,a=void 0,s=void 0,l=void 0;n&&(i=n.start.line,a=n.end.line,s=n.start.column,l=n.end.column,e+=" - "+i+":"+s);for(var u=Error.prototype.constructor.call(this,e),c=0;c<o.length;c++)this[o[c]]=u[o[c]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=s,this.endColumn=l))}catch(e){}}t.__esModule=!0;var o=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];r.prototype=new Error,t.default=r,e.exports=t.default},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.getMessageFromBrowserError=t.isCustomizedI18nKey=t.doesI18NKeyExist=t.getI18NParams=t.getMessageKey=t.getMessage=t.default=void 0;var o,i=r(n(39)),a=r(n(536)),s=r(n(239)),l=r(n(32)),u=r(n(97)),c=r(n(18)),f=r(n(77)),d=r(n(17)),p=r(n(88)),h=n(2),m=r(n(156)),v=r(n(79)),g=n(204),y=n(24),b=["enroll-authenticator.security_question.credentials.questionKey.","challenge-authenticator.security_question.credentials.questionKey."],_={"identify.identifier":"primaryauth.username.placeholder","select-authenticator-unlock-account.identifier":"primaryauth.username.placeholder","identify.credentials.passcode":"primaryauth.password.placeholder","identify.rememberMe":"oie.remember","identify-recovery.identifier":"password.forgot.email.or.username.placeholder","select-authenticator-enroll.authenticator.duo":"factor.duo","select-authenticator-enroll.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-enroll.authenticator.okta_email":"oie.email.label","select-authenticator-enroll.authenticator.okta_password":"oie.password.label","select-authenticator-enroll.authenticator.okta_verify":"oie.okta_verify.label","select-authenticator-enroll.authenticator.phone_number":"oie.phone.label","select-authenticator-enroll.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-enroll.authenticator.security_question":"oie.security.question.label","select-authenticator-enroll.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-enroll.authenticator.webauthn":"oie.webauthn.label","select-authenticator-enroll.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-authenticate.authenticator.duo":"factor.duo","select-authenticator-authenticate.authenticator.google_otp":"oie.google_authenticator.label","select-authenticator-authenticate.authenticator.okta_email":"oie.email.label","select-authenticator-authenticate.authenticator.okta_password":"oie.password.label","select-authenticator-authenticate.authenticator.okta_verify.push":"oie.okta_verify.push.title","select-authenticator-authenticate.authenticator.okta_verify.signed_nonce":"oie.okta_verify.signed_nonce.label","select-authenticator-authenticate.authenticator.okta_verify.totp":"oie.okta_verify.totp.title","select-authenticator-authenticate.authenticator.phone_number":"oie.phone.label","select-authenticator-authenticate.authenticator.rsa_token":"factor.totpHard.rsaSecurId","select-authenticator-authenticate.authenticator.security_question":"oie.security.question.label","select-authenticator-authenticate.authenticator.symantec_vip":"factor.totpHard.symantecVip","select-authenticator-authenticate.authenticator.webauthn":"oie.webauthn.label","select-authenticator-authenticate.authenticator.yubikey_token":"oie.yubikey.label","select-authenticator-unlock-account.authenticator.okta_email":"oie.email.label","select-authenticator-unlock-account.authenticator.phone_number":"oie.phone.label","select-authenticator-unlock-account.authenticator.okta_verify.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.signed_nonce":"oie.okta_verify.signed_nonce.label","authenticator-verification-data.okta_verify.authenticator.methodType.push":"oie.okta_verify.push.title","authenticator-verification-data.okta_verify.authenticator.methodType.totp":"oie.okta_verify.totp.title","authenticator-enrollment-data.phone_number.authenticator.phoneNumber":"mfa.phoneNumber.placeholder","authenticator-enrollment-data.phone_number.authenticator.methodType.sms":"oie.phone.enroll.sms.label","authenticator-enrollment-data.phone_number.authenticator.methodType.voice":"oie.phone.enroll.voice.label","enroll-authenticator.okta_password.credentials.passcode":"oie.password.passwordLabel","enroll-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","enroll-authenticator.security_question.sub_schema_local_credentials.0":"oie.security.question.questionKey.label","enroll-authenticator.security_question.sub_schema_local_credentials.1":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","enroll-authenticator.security_question.credentials.question":"oie.security.question.createQuestion.label","enroll-authenticator.security_question.credentials.questionKey":"oie.security.question.questionKey.label","enroll-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","enroll-authenticator.onprem_mfa.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.onprem_mfa.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.rsa_token.credentials.clientData":"enroll.onprem.username.placeholder","enroll-authenticator.rsa_token.credentials.passcode":"enroll.onprem.passcode.placeholder","enroll-authenticator.symantec_vip.credentials.credentialId":"enroll.symantecVip.credentialId.placeholder","enroll-authenticator.symantec_vip.credentials.passcode":"enroll.symantecVip.passcode1.placeholder","enroll-authenticator.symantec_vip.credentials.nextPasscode":"enroll.symantecVip.passcode2.placeholder","enroll-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","enrollment-channel-data.email":"oie.enroll.okta_verify.channel.email.label","select-enrollment-channel.authenticator.channel.qrcode":"oie.enroll.okta_verify.select.channel.qrcode.label","select-enrollment-channel.authenticator.channel.email":"oie.enroll.okta_verify.select.channel.email.label","select-enrollment-channel.authenticator.channel.sms":"oie.enroll.okta_verify.select.channel.sms.label","challenge-authenticator.okta_email.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.okta_password.credentials.passcode":"mfa.challenge.password.placeholder","challenge-authenticator.phone_number.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder","challenge-authenticator.okta_verify.credentials.totp":"oie.okta_verify.totp.enterCodeText","challenge-authenticator.google_otp.credentials.passcode":"oie.google_authenticator.otp.enterCodeText","challenge-authenticator.onprem_mfa.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.rsa_token.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.custom_otp.credentials.passcode":"oie.custom_otp.verify.passcode.label","challenge-authenticator.symantec_vip.credentials.passcode":"oie.symantecVip.verify.passcode.label","challenge-authenticator.yubikey_token.credentials.passcode":"oie.yubikey.passcode.label","challenge-authenticator.credentials.passcode":"oie.password.label","reset-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator.okta_password.credentials.passcode":"oie.password.newPasswordLabel","reenroll-authenticator-warning.okta_password.credentials.passcode":"oie.password.newPasswordLabel",incorrectPassword:"oie.password.incorrect.message","enroll-profile.userProfile.lastName":"oie.user.profile.lastname","enroll-profile.userProfile.firstName":"oie.user.profile.firstname","enroll-profile.userProfile.email":"oie.user.profile.primary.email","user-code.userCode":"device.code.activate.label","api.authn.poll.error.push_rejected":"oktaverify.rejected","oie.authenticator.duo.method.duo.verification_timeout":"oie.authenticator.duo.error","oie.authenticator.duo.method.duo.verification_failed":"oie.authenticator.duo.error","idx.email.verification.required":"registration.complete.confirm.text",tooManyRequests:"oie.tooManyRequests","api.users.auth.error.POST_PASSWORD_UPDATE_AUTH_FAILURE":"oie.post.password.update.auth.failure.error","security.access_denied":"errors.E0000006",E0000009:"errors.E0000009","api.factors.error.sms.invalid_phone":"oie.phone.invalid","app.ldap.password.reset.failed":"errors.E0000017","oie.selfservice.unlock_user.challenge.failed.permissions":"errors.E0000006"},w=(0,p.default)({},y.FORMS.ENROLL_AUTHENTICATOR,(o={},(0,p.default)(o,y.AUTHENTICATOR_KEY.ON_PREM,{getParam:g.getAuthenticatorDisplayName}),(0,p.default)(o,y.AUTHENTICATOR_KEY.RSA,{getParam:g.getAuthenticatorDisplayName}),o)),x={"registration.error.invalidLoginEmail":{Email:"Email"},"registration.error.doesNotMatchPattern":{Email:"Email"},"registration.error.notUniqueWithinOrg":{Email:"Email"}},E=function(e,t){var n=e;return x[n][t]?n+=".".concat(t):n+=".custom",n},T=function(e,t){var n=[],r=e.name;if(w[r]&&w[r][t]){var o=w[r][t],i=o.getParam(e);n.push(i)}return n};t.getI18NParams=T;var S=function(e){var t;if((0,d.default)(b).call(b,function(n){if(0===(0,f.default)(e).call(e,n)){var r=e.replace(n,"");t="security.".concat(r)}}),_[e]&&(t=_[e]),t&&!m.default.login[t]){var n;v.default.warn((0,c.default)(n="expect i18n key ".concat(t," for ")).call(n,e," but not found in 'login' bundle.")),t=null}return t},k=function(e){return!!m.default.login[e]};t.doesI18NKeyExist=k;var O=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r=S(e);return r?(0,h.loc)(r,"login",n):(v.default.warn("Avoid rendering unlocalized text sent from the API: ".concat(t)),t)},A=function e(t,n){var r,o,i,a,s,p;if(!(!1===n.mutable&&(0,f.default)(r=n.name).call(r,"questionKey")<0)){v.default.info("i18n label transformer"),v.default.info("\t remediationName: ",t.name),v.default.info("\t uiSchema: ",(0,u.default)(n));var m=null===(o=t.relatesTo)||void 0===o?void 0:null===(i=o.value)||void 0===i?void 0:i.key,g=m?".".concat(t.relatesTo.value.key):"",b=(0,c.default)(a="".concat(t.name)).call(a,g,"."),_=(0,c.default)(s="".concat(b)).call(s,n.name);if("text"===n.type&&(0,f.default)(p=n.name).call(p,"questionKey")>=0&&"custom"!==n.value){var w;_=(0,c.default)(w="".concat(_,".")).call(w,n.value)}if("checkbox"===n.type&&n.placeholder&&(v.default.info("\t 1: ",_),n.placeholder=O(_,n.placeholder)),n.label){v.default.info("\t 2: ",_);var x=T(t,m);n.label=O(_,n.label,x)}if(h.$.isPlainObject(n.options)&&(n.options=h._.mapObject(n.options,function(e,t){var n,r=(0,c.default)(n="".concat(_,".")).call(n,t);return v.default.info("\t 3: ",r),O(r,e)})),(0,l.default)(n.options)){var E;(0,d.default)(E=n.options).call(E,function(e){if(e.label){var t;if(e.authenticatorKey){var n,r;t=(0,c.default)(n="".concat(_,".")).call(n,e.authenticatorKey);var o=null===(r=e.value)||void 0===r?void 0:r.methodType;if(e.authenticatorKey===y.AUTHENTICATOR_KEY.OV&&o){var i;t=(0,c.default)(i="".concat(t,".")).call(i,o)}}else if(void 0!==e.value){var a;t=(0,c.default)(a="".concat(_,".")).call(a,e.value)}v.default.info("\t 4: ",t),e.label=O(t,e.label)}})}if((0,l.default)(n.optionsUiSchemas)){var S;(0,d.default)(S=n.optionsUiSchemas).call(S,function(n){(0,d.default)(n).call(n,function(n){return e(t,n)})})}}},C=function(e){return(0,s.default)(e).call(e,"authfactor.webauthn.error")},R=function(e){var t;if(null===(t=e.i18n)||void 0===t?void 0:t.key){var n,r=e.i18n.key,o=e.i18n.params||[];if(1===o.length&&""===o[0]&&(o=[]),_[null===(n=e.i18n)||void 0===n?void 0:n.key]){var i;r=_[null===(i=e.i18n)||void 0===i?void 0:i.key]}else if(x[r]){var s,l=null===(s=e.i18n.params)||void 0===s?void 0:s[0];r=E(r,l),o=(0,a.default)(r).call(r,"custom")?[l]:[]}if(m.default.login[r])return v.default.info("Override messages using i18n key ".concat(r)),(0,h.loc)(r,"login",o);if(C(r))return(0,h.loc)("authfactor.webauthn.error","login")}return v.default.warn("Avoid rendering unlocalized text sent from the API: ".concat(e.message)),e.message};t.getMessage=R;var I=function(e){if(e.name){var t="oie.browser.error.".concat(e.name);if(m.default.login[t])return v.default.info("Override messages using i18n key ".concat(t)),(0,h.loc)(t,"login")}return e.message};t.getMessageFromBrowserError=I;var N=function(e){var t;return(null===e||void 0===e?void 0:null===(t=e.i18n)||void 0===t?void 0:t.key)||""};t.getMessageKey=N;var M=function(e){var t;if((0,l.default)(e.remediations)){var n,r;(0,d.default)(n=(0,i.default)(r=e.remediations).call(r,function(e){return(0,l.default)(e.uiSchema)&&e.uiSchema.length})).call(n,function(e){var t;(0,d.default)(t=e.uiSchema).call(t,function(t){return A(e,t)})})}if((0,l.default)(null===(t=e.messages)||void 0===t?void 0:t.value)){var o;(0,d.default)(o=e.messages.value).call(o,function(e){e.message=R(e)})}return e};t.default=M;var P=function(e,t){var n=t.get("languageCode"),r=t.get("i18n");return!!(r&&r[n]&&r[n][e])};t.isCustomizedI18nKey=P},function(e,t,n){var r,o,i=n(9),a=n(173),s=i.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),o=r[0]+r[1]):a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(63),o=n(25),i=n(20),a=n(19),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){"use strict";var r=n(16);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(49),o=n(219),i="["+o+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},function(e,t,n){var r=n(51);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){"use strict";function r(e){for(var t=Object(o.a)(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r}t.a=r;var o=n(47)},function(e,t,n){"use strict";function r(e,t,n,l){if(l=l||[],t||0===t){if(t<=0)return l.concat(e)}else t=1/0;for(var u=l.length,c=0,f=Object(o.a)(e);c<f;c++){var d=e[c];if(Object(i.a)(d)&&(Object(a.a)(d)||Object(s.a)(d)))if(t>1)r(d,t-1,n,l),u=l.length;else for(var p=0,h=d.length;p<h;)l[u++]=d[p++];else n||(l[u++]=d)}return l}t.a=r;var o=n(76),i=n(70),a=n(133),s=n(299)},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);for(var r=!Object(i.a)(e)&&Object(a.a)(e),s=(r||e).length,l=Array(s),u=0;u<s;u++){var c=r?r[u]:u;l[u]=t(e[c],c,e)}return l}t.a=r;var o=n(61),i=n(70),a=n(47)},function(e,t,n){"use strict";var r=n(227),o=n(86),i=n(129);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){e.exports=n(1012)},function(e,t,n){e.exports=n(1025)},function(e,t,n){e.exports=n(1041)},function(e,t,n){"use strict";function r(e){if(!e)return{};var t={};return g.default.each((0,f.default)(g.default).call(g.default,e),function(n){t[n.toLowerCase()]=e[n]}),g.default.mapObject(t,function(e){var t={login:{},country:{}};if(!g.default.isObject(e))throw new Error('Invalid format for "i18n"');return g.default.each(e,function(e,n){var r=n.split(/^country\./);r.length>1?t.country[r[1]]=e:t.login[r[0]]=e}),t})}function o(){var e=JSON.parse(localStorage.getItem(_));return e&&e.version===d.default.version||(e={version:d.default.version}),e}function i(e,t,n){var r=o();r[e]={login:t,country:n},localStorage.setItem(_,(0,c.default)(r))}function a(e,t,n){var r,o,i;o=t.replace("-","_"),i=n.rewrite(encodeURI((0,u.default)(r="/labels/json/".concat(e,"_")).call(r,o,".json")));var a={Accept:"application/json","Content-Type":"text/plain"};return(0,p.default)(n.baseUrl+i,{method:"GET",headers:a,mode:"no-cors"}).then(function(e){return e.text()}).then(function(e){return JSON.parse(e)})}function s(e,t){if("en"===e||!g.default.contains(d.default.supportedLanguages,e))return(0,v.default)({});var n=!y.default.localStorageIsNotSupported();if(n){var r=o();if(r[e])return(0,v.default)(r[e])}return v.default.all([a("login",e,t),a("country",e,t)]).spread(function(t,r){return n&&i(e,t,r),{login:t,country:r}}).catch(function(){return b.default.warn("Unable to load language: "+e),{}})}var l=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var u=l(n(18)),c=l(n(97)),f=l(n(325)),d=l(n(238)),p=l(n(505)),h=l(n(1098)),m=l(n(1099)),v=l(n(43)),g=l(n(229)),y=l(n(56)),b=l(n(79)),_="osw.languages",w={login:m.default,country:h.default,courage:m.default,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:function(e,t,n){var o=this,i=r(t),a=e.toLowerCase();return s(e,n).then(function(t){o.login=g.default.extend({},m.default,t.login),o.country=g.default.extend({},h.default,t.country),o.courage=g.default.extend({},m.default,t.login),i[a]&&(g.default.extend(o.login,i[a].login),g.default.extend(o.country,i[a].country),g.default.extend(o.courage,i[a].login)),o.currentLanguage=e})}};t.default=w},function(e,t,n){"use strict";function r(e){return(0,i.default)(a._).call(a._,e.getChildren(),function(e){return e instanceof a.Form})}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(13)),a=n(2),s=o(n(43)),l=a.Controller.extend({addListeners:function(){this.listenTo(this.model,"save",function(){var e=r(this);e.disableSubmitButton&&!e.disableSubmitButton()||this.toggleButtonState(!0)}),this.listenTo(this.model,"error",function(){this.toggleButtonState(!1)}),this.addModelListeners(this.model)},addModelListeners:function(e){var t=this,n=function(e){t.options.appState.set("transaction",e)},r=function(e){t.options.appState.set("transactionError",e)};this.listenTo(e,"setTransaction",n),this.listenTo(e,"setTransactionError",r);var o=e.get("backupFactor");o&&(this.listenTo(o,"setTransaction",n),this.listenTo(o,"setTransactionError",r))},fetchInitialData:function(){return(0,s.default)()},trapAuthResponse:function(){return!1},toJSON:function(){var e=a.Controller.prototype.toJSON.apply(this,arguments);return a._.extend(a._.pick(this.options,"appState"),e)},toggleButtonState:function(e){var t;(0,i.default)(t=this.$el).call(t,".button").toggleClass("link-button-disabled",e).prop("disabled",e)},postRenderAnimation:function(){this.trigger("pageRendered",{page:this.className}),this.trigger("afterRender",{controller:this.className})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(40)),i=n(2),a=r(n(156)),s=r(n(1140)),l={};l.getCountries=function(){var e=i._.omit(a.default.country,"HM","BV","TF"),t=(0,o.default)(i._).call(i._,e,function(e,t){return{name:e,code:t}});t=i._.sortBy(t,"name");var n={};return i._.each(t,function(e){n[e.code]=e.name}),n},l.getCallingCodeForCountry=function(e){return s.default[e]};var u=l;t.default=u},function(e,t,n){"use strict";function r(e){return new u.default(e)}function o(e,t,n){return t=(0,l.default)(t).call(t,function(e){return{type:"FIDO_2_0",algorithm:e.algorithm}}),r(window.msCredentials.makeCredential(e,t,n).then(function(e){return(0,s.default)({credential:{id:e.id},publicKey:JSON.parse(e.publicKey),attestation:e.attestation})}))}function i(e,t){var n=(0,l.default)(t).call(t,function(e){return{type:"FIDO_2_0",id:e.id}}),o={accept:n};return r(window.msCredentials.getAssertion(e,o).then(function(e){var t=e.signature;return(0,s.default)({credential:{id:e.id},clientData:t.clientData,authenticatorData:t.authnrData,signature:t.signature})}))}var a=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(1163)),l=a(n(40)),u=a(n(43)),c=a(n(329)),f={makeCredential:o,getAssertion:i,isAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||c.default.isU2fAvailable()}};t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(26)),a=r(n(4)),s=r(n(246)),l=s.default.extend({template:a.default.template({1:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+u((a=null!=(a=c(n,"factorPageCustomLinkHref")||(null!=t?c(t,"factorPageCustomLinkHref"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorPageCustomLinkHref",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:68}}}):a))+'" data-se="factor-page-custom-link" class="link js-factor-page-custom-link" rel="noopener noreferrer" target="_blank">'+u((a=null!=(a=c(n,"factorPageCustomLinkText")||(null!=t?c(t,"factorPageCustomLinkText"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"factorPageCustomLinkText",hash:{},data:o,loc:{start:{line:1,column:186},end:{line:1,column:214}}}):a))+"</a>"},3:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link '+u((a=null!=(a=c(n,"linkClassName")||(null!=t?c(t,"linkClassName"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:265},end:{line:1,column:282}}}):a))+'" data-se="signout-link">'+u((a=null!=(a=c(n,"linkText")||(null!=t?c(t,"linkText"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:307},end:{line:1,column:319}}}):a))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"hasFactorPageCustomLink"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:225}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"showLink"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:225},end:{line:1,column:330}}}))?i:"")},useData:!0}),className:"auth-footer clearfix",getTemplateData:function(){var e=s.default.prototype.getTemplateData.apply(this,arguments),t=this.settings.get("helpLinks.factorPage.href"),n=this.settings.get("helpLinks.factorPage.text"),r=!this.settings.get("features.hideSignOutLinkInMFA")&&!this.settings.get("features.mfaOnlyFlow");return(0,o.default)({},e,{hasFactorPageCustomLink:n&&t,factorPageCustomLinkHref:t,factorPageCustomLinkText:n,showLink:r})}});t.default=l},function(e,t,n){function r(e){return o(e)||i(e)||a(e)||s()}var o=n(1237),i=n(1238),a=n(521),s=n(1239);e.exports=r},function(e,t,n){e.exports=n(1242)},function(e,t,n){var r=n(92);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){var r=n(566),o={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return o.call(r(e),t)}},function(e,t,n){var r=n(251);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){function r(e,t,n,r,o,a,s){try{var l=e[a](s),u=l.value}catch(e){return void n(e)}l.done?t(u):i.resolve(u).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new i(function(o,i){function a(e){r(l,o,i,a,s,"next",e)}function s(e){r(l,o,i,a,s,"throw",e)}var l=e.apply(t,n);a(void 0)})}}var i=n(1278);e.exports=o},function(e,t,n){var r=n(6),o=n(100),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(9);e.exports=r},function(e,t,n){var r=n(62),o=n(23),i=n(109),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(6),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(63);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(363),o=n(266);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(15),o=n(125),i=n(20),a=i("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t){e.exports={}},function(e,t,n){var r=n(178),o=n(176),i=n(20),a=i("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(272),o=n(100),i=n(20),a=i("toStringTag"),s="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(e){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){var r=n(6),o=n(20),i=n(143),a=o("species");e.exports=function(e){return i>=51||!r(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){var r=n(6);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){var r=n(15),o=n(100),i=n(20),a=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(){}},function(e,t,n){var r=n(405),o=n(294);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports={}},function(e,t,n){"use strict";n.d(t,"a",function(){return i}),n.d(t,"b",function(){return a});var r=n(31),o=n(872),i=r.s&&Object(o.a)(new DataView(new ArrayBuffer(8))),a="undefined"!=typeof Map&&Object(o.a)(new Map)},function(e,t,n){"use strict";function r(e){if(!Object(o.a)(e))return[];var t=[];for(var n in e)t.push(n);return i.h&&Object(a.a)(e,t),t}t.a=r;var o=n(132),i=n(31),a=n(416)},function(e,t,n){"use strict";function r(e){return o.a.toPath(e)}t.a=r;var o=n(69);n(425)},function(e,t,n){"use strict";function r(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){var r=[];return t=Object(o.a)(t,n),Object(i.a)(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r}t.a=r;var o=n(61),i=n(134)},function(e,t,n){"use strict";function r(e,t,n,r){return Object(o.a)(e)||(e=Object(i.a)(e)),("number"!=typeof n||r)&&(n=0),Object(a.a)(e,t,n)>=0}t.a=r;var o=n(70),i=n(149),a=n(441)},function(e,t,n){"use strict";var r=n(83),o=n(182),i=n(137),a=n(94),s=n(463),l=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r,o=n(53),i=n(311),a=n(294),s=n(184),l=n(467),u=n(287),c=n(233),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(p("document.F=Object")),e.close(),e.F},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=r?h(r):m();for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=v(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(118),o=n(137),i=n(35),a=i("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(29),o=n(35),i=n(317),a=o("species");e.exports=function(e){return i>=51||!r(function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},function(e,t,n){e.exports=n(507)},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){"use strict";var r=n(84),o=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};
// 25.4.1.5 NewPromiseCapability(C)
e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(77)),a=n(2),s=r(n(43)),l=r(n(11)),u=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"],c=a.Model.extend({doTransaction:function(e,t){var n=this;return e.call(this,this.appState.get("transaction")).then(function(e){return n.trigger("setTransaction",e),e}).catch(function(e){if("AuthPollStopError"!==e.name&&e.name!==l.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==l.default.WEBAUTHN_ABORT_ERROR&&(n.trigger("error",n,e.xhr),n.trigger("setTransactionError",e),t||-1===(0,i.default)(a._).call(a._,u,e.name)))throw e})},manageTransaction:function(e){var t=this,n=e.call(this,this.appState.get("transaction"),(0,o.default)(a._).call(a._,this.setTransaction,this));return s.default.isPromiseAlike(n)?n.catch(function(e){"AuthPollStopError"!==e.name&&e.name!==l.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==l.default.WEBAUTHN_ABORT_ERROR&&(t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e))}):s.default.resolve(n)},startTransaction:function(e){var t=this,n=e.call(this,this.settings.getAuthClient());return s.default.isPromiseAlike(n)?n.then(function(e){return t.trigger("setTransaction",e),e}).catch(function(e){throw t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e),e}):s.default.resolve(n)},setTransaction:function(e){this.appState.set("transaction",e)}});t.default=c},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o={};o.validateUsername=function(e){var t=e.get("username");if(t&&t.length>256)return{username:(0,r.loc)("model.validation.field.username","login")}},o.validateFieldsMatch=function(e,t,n,r){if(e.get(t)!==e.get(n)){var o={};return o[n]=r,o}},o.validatePasswordMatch=function(e){return o.validateFieldsMatch(e,"newPassword","confirmPassword",(0,r.loc)("password.error.match","login"))};var i=o;t.default=i},function(e,t,n){e.exports=n(507)},function(e,t,n){var r=n(163),o=n(252),i=n(563);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){e.exports=n(487)},function(e,t,n){var r=n(163),o=n(252).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";function r(e){return v(e)}function o(e){return v(e,!0)}function i(e){return v({authenticatorKey:e}).iconClassName}function a(e){var t;if((null===(t=e.errorCauses)||void 0===t?void 0:t.length)>0&&(0,u.default)(e.errorCauses[0].errorSummary)&&e.errorCauses[0].errorSummary.length>0){var n;e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary[0];"password.passwordRequirementsNotMet"===((null===(n=e.errorCauses[0].errorKey)||void 0===n?void 0:n.length)>0&&e.errorCauses[0].errorKey[0])&&(e.errorCauses[0].errorSummary=(0,f.loc)("registration.error.password.passwordRequirementsNotMet","login"))}return e}function s(e){var t,n;return null===(t=e.relatesTo)||void 0===t?void 0:null===(n=t.value)||void 0===n?void 0:n.displayName}var l=n(1);n(0)(t,"__esModule",{value:!0}),t.getAuthenticatorDataForEnroll=r,t.getAuthenticatorDataForVerification=o,t.getIconClassNameForBeacon=i,t.removeRequirementsFromError=a,t.getAuthenticatorDisplayName=s,t.getPasswordComplexityDescriptionForHtmlList=void 0;var u=l(n(32)),c=l(n(10)),f=n(2),d=l(n(41)),p=n(24),h=d.default.getPasswordComplexityDescriptionForHtmlList;t.getPasswordComplexityDescriptionForHtmlList=h;var m=function(e){if(e.authenticatorKey){var t,n,r=(null===(t=e.value)||void 0===t?void 0:t.methodType)?"-"+(null===(n=e.value)||void 0===n?void 0:n.methodType):"";return e.authenticatorKey+r}return""},v=function(e,t){var n,r,o=e.authenticatorKey,i=f._.isString(o)?o.toLowerCase():"",a={};switch(i){case p.AUTHENTICATOR_KEY.EMAIL:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.email.authenticator.description","login"),iconClassName:"mfa-okta-email",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.PASSWORD:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.password.authenticator.description","login"),iconClassName:"mfa-okta-password",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.PHONE:(0,c.default)(a,{description:t?null===(n=e.relatesTo)||void 0===n?void 0:null===(r=n.profile)||void 0===r?void 0:r.phoneNumber:(0,f.loc)("oie.phone.authenticator.description","login"),iconClassName:"mfa-okta-phone",noTranslateClassName:t?"no-translate":"",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.SECURITY_QUESTION:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.security.question.authenticator.description","login"),iconClassName:"mfa-okta-security-question",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.WEBAUTHN:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.webauthn.description","login"),iconClassName:"mfa-webauthn",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.OV:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.okta_verify.authenticator.description","login"),iconClassName:"mfa-okta-verify",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.GOOGLE_OTP:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.google_authenticator.authenticator.description","login"),iconClassName:"mfa-google-auth",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.ON_PREM:var s,l=(null===(s=e.relatesTo)||void 0===s?void 0:s.displayName)||(0,f.loc)("oie.on_prem.authenticator.default.vendorName","login");(0,c.default)(a,{description:t?"":(0,f.loc)("oie.on_prem.authenticator.description","login",[l]),iconClassName:"mfa-onprem",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.RSA:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.rsa.authenticator.description","login"),iconClassName:"mfa-rsa",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.DUO:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.duo.authenticator.description","login"),iconClassName:"mfa-duo",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.IDP:var u,d=null===(u=e.relatesTo)||void 0===u?void 0:u.displayName;(0,c.default)(a,{description:t?"":(0,f.loc)("oie.idp.authenticator.description","login",[d]),iconClassName:"mfa-custom-factor",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.CUSTOM_OTP:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.custom_otp.description","login"),iconClassName:"mfa-hotp",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.SYMANTEC_VIP:var h,v=null===(h=e.relatesTo)||void 0===h?void 0:h.displayName;(0,c.default)(a,{description:t?"":(0,f.loc)("oie.symantecVip.authenticator.description","login",[v]),iconClassName:"mfa-symantec",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.YUBIKEY:(0,c.default)(a,{description:t?"":(0,f.loc)("oie.yubikey.authenticator.description","login"),iconClassName:"mfa-yubikey",buttonDataSeAttr:m(e)});break;case p.AUTHENTICATOR_KEY.CUSTOM_APP:(0,c.default)(a,{description:"",iconClassName:"mfa-custom-app",buttonDataSeAttr:m(e)})}return a}},function(e,t,n){"use strict";var r=n(1),o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:9}}}):i))},useData:!0}),tagName:"a",attributes:function(){var e=this.options.href||"#";return{"data-se":this.options.name,href:e}},className:function(){var e=["link"];if(this.options.name){var t=this.options.name.replace(/[ ]/g,"-");e.push("js-".concat(t))}return e.join(" ")},postRender:function(){var e=this;this.options.href||this.$el.click(function(t){t.preventDefault();var n=e.options,r=n.appState,o=n.formName,i=n.actionPath,a=n.clickHandler;a?a():o?r.trigger("switchForm",o):i&&r.trigger("invokeAction",i)})}});e.exports=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(32)),a=r(n(13)),s=r(n(17)),l=r(n(40)),u=n(2),c=r(n(599)),f=u.internal.views.forms.helpers.FormUtil,d=u.Form.extend({layout:"o-form-theme",className:"ion-form",hasSavingState:!0,autoSave:!1,noCancelButton:!0,title:function(){return(0,u.loc)("oform.title.authenticate","login")},save:function(){return(0,u.loc)("oform.next","login")},modelEvents:{clearFormError:"handleClearFormError",error:"triggerAfterError"},initialize:function(){var e=this,t=this.getUISchema(),n=(0,l.default)(t).call(t,c.default.create);this.showMessages(),this.listenTo(this.options.appState,"onCaptchaLoaded",function(t){e.captchaObject=t}),(0,s.default)(n).call(n,function(t){e.addInputOrView(t)}),this.listenTo(this,"save",this.saveForm),this.listenTo(this,"cancel",this.cancelForm)},handleClearFormError:function(){this.$(".o-form-error-container").hasClass("o-form-has-errors")&&this.clearErrors()},triggerAfterError:function(e,t){this.options.appState.trigger("afterError",t)},saveForm:function(e){var t;(0,a.default)(t=this.$el).call(t,".o-form-error-container").empty(),this.captchaObject?this.captchaObject.execute():this.options.appState.trigger("saveForm",e)},cancelForm:function(){this.options.appState.trigger("invokeAction","cancel")},getUISchema:function(){return(0,i.default)(this.options.currentViewState.uiSchema)?this.options.currentViewState.uiSchema:[]},addInputOrView:function(e){if(!1!==e.visible&&!1!==e.mutable&&(e.View?(this.add(e.View,u._.omit(e,"View","showWhen")),e.showWhen&&f.applyShowWhen(this.last(),e.showWhen)):this.addInput(e),(0,i.default)(e.optionsUiSchemas)&&this.options.optionUiSchemaConfig[e.name])){var t,n=Number(this.options.optionUiSchemaConfig[e.name]),r=e.optionsUiSchemas[n]||[];(0,s.default)(r).call(r,(0,o.default)(t=this.addInputOrView).call(t,this))}},isErrorCalloutCustomized:function(){return!1},showCustomErrorCallout:function(){this.$(".o-form-error-container").addClass("o-form-has-errors")},showMessages:function(){var e=this.options.appState.get("messages");if(null===e||void 0===e?void 0:e.value.length){var t,n=(0,l.default)(t=e.value).call(t,function(e){return e.message});this.add('<div class="ion-messages-container">'.concat(n.join(" "),"</div>"),".o-form-error-container")}}});t.default=d},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(264),o=n(168),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(20),o=r("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},function(e,t,n){var r=n(58),o=n(33),i=n(167),a=n(23),s=function(e){return function(t,n,s,l){r(n);var u=o(t),c=i(u),f=a(u.length),d=e?f-1:0,p=e?-1:1;if(s<2)for(;;){if(d in c){l=c[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in c&&(l=n(l,c[d],d,u));return l}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(62),o=n(113),i=n(176),a=n(57),s=n(274),l=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",function(e,t){l(this,{type:"Array Iterator",target:r(e),index:0,kind:t})},function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){"use strict";var r=n(71),o=n(9),i=n(6);e.exports=r||!i(function(){var e=Math.random();__defineSetter__.call(null,e,function(){}),delete o[e]})},function(e,t,n){var r=n(72),o=n(49),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";n(278);var r=n(51),o=n(6),i=n(20),a=n(215),s=n(50),l=i("species"),u=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),c=function(){return"$0"==="a".replace(/./,"$0")}(),f=i("replace"),d=function(){return!!/./[f]&&""===/./[f]("a","$0")}(),p=!o(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]});e.exports=function(e,t,n,f){var h=i(e),m=!o(function(){var t={};return t[h]=function(){return 7},7!=""[e](t)}),v=m&&!o(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t});if(!m||!v||"replace"===e&&(!u||!c||d)||"split"===e&&!p){var g=/./[h],y=n(h,""[e],function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:g.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}},{REPLACE_KEEPS_$0:c,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),b=y[0],_=y[1];r(String.prototype,e,b),r(RegExp.prototype,h,2==t?function(e,t){return _.call(e,this,t)}:function(e){return _.call(e,this)})}f&&s(RegExp.prototype[h],"sham",!0)}},function(e,t,n){"use strict";var r=n(145),o=n(216),i=RegExp.prototype.exec,a=String.prototype.replace,s=i,l=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),u=o.UNSUPPORTED_Y||o.BROKEN_CARET,c=void 0!==/()??/.exec("")[1];(l||c||u)&&(s=function(e){var t,n,o,s,f=this,d=u&&f.sticky,p=r.call(f),h=f.source,m=0,v=e;return d&&(p=p.replace("y",""),-1===p.indexOf("g")&&(p+="g"),v=String(e).slice(f.lastIndex),f.lastIndex>0&&(!f.multiline||f.multiline&&"\n"!==e[f.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),n=new RegExp("^(?:"+h+")",p)),c&&(n=new RegExp("^"+h+"$(?!\\s)",p)),l&&(t=f.lastIndex),o=i.call(d?n:f,v),d?o?(o.input=o.input.slice(m),o[0]=o[0].slice(m),o.index=f.lastIndex,f.lastIndex+=o[0].length):f.lastIndex=0:l&&o&&(f.lastIndex=f.global?o.index+o[0].length:t),c&&o&&o.length>1&&a.call(o[0],n,function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(o[s]=void 0)}),o}),e.exports=s},function(e,t,n){"use strict";function r(e,t){return RegExp(e,t)}var o=n(6);t.UNSUPPORTED_Y=o(function(){var e=r("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),t.BROKEN_CARET=o(function(){var e=r("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},function(e,t,n){"use strict";var r=n(213).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(100),o=n(215);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t,n){var r=n(15),o=n(111);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},function(e,t,n){"use strict";var r=n(58),o=function(e){var t,n;this.promise=new e(function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r}),this.resolve=r(t),this.reject=r(n)};
// 25.4.1.5 NewPromiseCapability(C)
e.exports.f=function(e){return new o(e)}},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(172),a=n(51),s=n(127),l=n(112),u=n(114),c=n(15),f=n(6),d=n(209),p=n(82),h=n(220);e.exports=function(e,t,n){var m=-1!==e.indexOf("Map"),v=-1!==e.indexOf("Weak"),g=m?"set":"add",y=o[e],b=y&&y.prototype,_=y,w={},x=function(e){var t=b[e];a(b,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return v&&!c(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(v||b.forEach&&!f(function(){(new y).entries().next()}))))_=n.getConstructor(t,e,m,g),s.REQUIRED=!0;else if(i(e,!0)){var E=new _,T=E[g](v?{}:-0,1)!=E,S=f(function(){E.has(1)}),k=d(function(e){new y(e)}),O=!v&&f(function(){for(var e=new y,t=5;t--;)e[g](t,t);return!e.has(-0)});k||(_=t(function(t,n){u(t,_,e);var r=h(new y,t,_);return void 0!=n&&l(n,r[g],{that:r,AS_ENTRIES:m}),r}),_.prototype=b,b.constructor=_),(S||O)&&(x("delete"),x("has"),m&&x("get")),(O||T)&&x(g),v&&b.clear&&delete b.clear}return w[e]=_,r({global:!0,forced:_!=y},w),p(_,e),v||n.setStrong(_,e,m),_}},function(e,t,n){"use strict";var r=n(9),o=n(19),i=n(285),a=n(50),s=n(147),l=n(6),u=n(114),c=n(72),f=n(23),d=n(394),p=n(790),h=n(73),m=n(111),v=n(123).f,g=n(25).f,y=n(273),b=n(82),_=n(57),w=_.get,x=_.set,E=r.ArrayBuffer,T=E,S=r.DataView,k=S&&S.prototype,O=Object.prototype,A=r.RangeError,C=p.pack,R=p.unpack,I=function(e){return[255&e]},N=function(e){return[255&e,e>>8&255]},M=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},P=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},L=function(e){return C(e,23,4)},D=function(e){return C(e,52,8)},j=function(e,t){g(e.prototype,t,{get:function(){return w(this)[t]}})},F=function(e,t,n,r){var o=d(n),i=w(e);if(o+t>i.byteLength)throw A("Wrong index");var a=w(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},U=function(e,t,n,r,o,i){var a=d(n),s=w(e);if(a+t>s.byteLength)throw A("Wrong index");for(var l=w(s.buffer).bytes,u=a+s.byteOffset,c=r(+o),f=0;f<t;f++)l[u+f]=c[i?f:t-f-1]};if(i){if(!l(function(){E(1)})||!l(function(){new E(-1)})||l(function(){return new E,new E(1.5),new E(NaN),"ArrayBuffer"!=E.name})){T=function(e){return u(this,T),new E(d(e))};for(var B,V=T.prototype=E.prototype,q=v(E),H=0;q.length>H;)(B=q[H++])in T||a(T,B,E[B]);V.constructor=T}m&&h(k)!==O&&m(k,O);var W=new S(new T(2)),z=k.setInt8;W.setInt8(0,2147483648),W.setInt8(1,2147483649),!W.getInt8(0)&&W.getInt8(1)||s(k,{setInt8:function(e,t){z.call(this,e,t<<24>>24)},setUint8:function(e,t){z.call(this,e,t<<24>>24)}},{unsafe:!0})}else T=function(e){u(this,T,"ArrayBuffer");var t=d(e);x(this,{bytes:y.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},S=function(e,t,n){u(this,S,"DataView"),u(e,T,"DataView");var r=w(e).byteLength,i=c(t);if(i<0||i>r)throw A("Wrong offset");if(n=void 0===n?r-i:f(n),i+n>r)throw A("Wrong length");x(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(j(T,"byteLength"),j(S,"buffer"),j(S,"byteLength"),j(S,"byteOffset")),s(S.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return P(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return P(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return R(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return R(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,I,t)},setUint8:function(e,t){U(this,1,e,I,t)},setInt16:function(e,t){U(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,N,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,M,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,L,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,D,t,arguments.length>2?arguments[2]:void 0)}});b(T,"ArrayBuffer"),b(S,"DataView"),e.exports={ArrayBuffer:T,DataView:S}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(29),o=n(130),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(38);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(866);n.d(t,"default",function(){return r.a});var o=n(296);n.d(t,"VERSION",function(){return o.VERSION}),n.d(t,"restArguments",function(){return o.restArguments}),n.d(t,"isObject",function(){return o.isObject}),n.d(t,"isNull",function(){return o.isNull}),n.d(t,"isUndefined",function(){return o.isUndefined}),n.d(t,"isBoolean",function(){return o.isBoolean}),n.d(t,"isElement",function(){return o.isElement}),n.d(t,"isString",function(){return o.isString}),n.d(t,"isNumber",function(){return o.isNumber}),n.d(t,"isDate",function(){return o.isDate}),n.d(t,"isRegExp",function(){return o.isRegExp}),n.d(t,"isError",function(){return o.isError}),n.d(t,"isSymbol",function(){return o.isSymbol}),n.d(t,"isArrayBuffer",function(){return o.isArrayBuffer}),n.d(t,"isDataView",function(){return o.isDataView}),n.d(t,"isArray",function(){return o.isArray}),n.d(t,"isFunction",function(){return o.isFunction}),n.d(t,"isArguments",function(){return o.isArguments}),n.d(t,"isFinite",function(){return o.isFinite}),n.d(t,"isNaN",function(){return o.isNaN}),n.d(t,"isTypedArray",function(){return o.isTypedArray}),n.d(t,"isEmpty",function(){return o.isEmpty}),n.d(t,"isMatch",function(){return o.isMatch}),n.d(t,"isEqual",function(){return o.isEqual}),n.d(t,"isMap",function(){return o.isMap}),n.d(t,"isWeakMap",function(){return o.isWeakMap}),n.d(t,"isSet",function(){return o.isSet}),n.d(t,"isWeakSet",function(){return o.isWeakSet}),n.d(t,"keys",function(){return o.keys}),n.d(t,"allKeys",function(){return o.allKeys}),n.d(t,"values",function(){return o.values}),n.d(t,"pairs",function(){return o.pairs}),n.d(t,"invert",function(){return o.invert}),n.d(t,"functions",function(){return o.functions}),n.d(t,"methods",function(){return o.methods}),n.d(t,"extend",function(){return o.extend}),n.d(t,"extendOwn",function(){return o.extendOwn}),n.d(t,"assign",function(){return o.assign}),n.d(t,"defaults",function(){return o.defaults}),n.d(t,"create",function(){return o.create}),n.d(t,"clone",function(){return o.clone}),n.d(t,"tap",function(){return o.tap}),n.d(t,"get",function(){return o.get}),n.d(t,"has",function(){return o.has}),n.d(t,"mapObject",function(){return o.mapObject}),n.d(t,"identity",function(){return o.identity}),n.d(t,"constant",function(){return o.constant}),n.d(t,"noop",function(){return o.noop}),n.d(t,"toPath",function(){return o.toPath}),n.d(t,"property",function(){return o.property}),n.d(t,"propertyOf",function(){return o.propertyOf}),n.d(t,"matcher",function(){return o.matcher}),n.d(t,"matches",function(){return o.matches}),n.d(t,"times",function(){return o.times}),n.d(t,"random",function(){return o.random}),n.d(t,"now",function(){return o.now}),n.d(t,"escape",function(){return o.escape}),n.d(t,"unescape",function(){return o.unescape}),n.d(t,"templateSettings",function(){return o.templateSettings}),n.d(t,"template",function(){return o.template}),n.d(t,"result",function(){return o.result}),n.d(t,"uniqueId",function(){return o.uniqueId}),n.d(t,"chain",function(){return o.chain}),n.d(t,"iteratee",function(){return o.iteratee}),n.d(t,"partial",function(){return o.partial}),n.d(t,"bind",function(){return o.bind}),n.d(t,"bindAll",function(){return o.bindAll}),n.d(t,"memoize",function(){return o.memoize}),n.d(t,"delay",function(){return o.delay}),n.d(t,"defer",function(){return o.defer}),n.d(t,"throttle",function(){return o.throttle}),n.d(t,"debounce",function(){return o.debounce}),n.d(t,"wrap",function(){return o.wrap}),n.d(t,"negate",function(){return o.negate}),n.d(t,"compose",function(){return o.compose}),n.d(t,"after",function(){return o.after}),n.d(t,"before",function(){return o.before}),n.d(t,"once",function(){return o.once}),n.d(t,"findKey",function(){return o.findKey}),n.d(t,"findIndex",function(){return o.findIndex}),n.d(t,"findLastIndex",function(){return o.findLastIndex}),n.d(t,"sortedIndex",function(){return o.sortedIndex}),n.d(t,"indexOf",function(){return o.indexOf}),n.d(t,"lastIndexOf",function(){return o.lastIndexOf}),n.d(t,"find",function(){return o.find}),n.d(t,"detect",function(){return o.detect}),n.d(t,"findWhere",function(){return o.findWhere}),n.d(t,"each",function(){return o.each}),n.d(t,"forEach",function(){return o.forEach}),n.d(t,"map",function(){return o.map}),n.d(t,"collect",function(){return o.collect}),n.d(t,"reduce",function(){return o.reduce}),n.d(t,"foldl",function(){return o.foldl}),n.d(t,"inject",function(){return o.inject}),n.d(t,"reduceRight",function(){return o.reduceRight}),n.d(t,"foldr",function(){return o.foldr}),n.d(t,"filter",function(){return o.filter}),n.d(t,"select",function(){return o.select}),n.d(t,"reject",function(){return o.reject}),n.d(t,"every",function(){return o.every}),n.d(t,"all",function(){return o.all}),n.d(t,"some",function(){return o.some}),n.d(t,"any",function(){return o.any}),n.d(t,"contains",function(){return o.contains}),n.d(t,"includes",function(){return o.includes}),n.d(t,"include",function(){return o.include}),n.d(t,"invoke",function(){return o.invoke}),n.d(t,"pluck",function(){return o.pluck}),n.d(t,"where",function(){return o.where}),n.d(t,"max",function(){return o.max}),n.d(t,"min",function(){return o.min}),n.d(t,"shuffle",function(){return o.shuffle}),n.d(t,"sample",function(){return o.sample}),n.d(t,"sortBy",function(){return o.sortBy}),n.d(t,"groupBy",function(){return o.groupBy}),n.d(t,"indexBy",function(){return o.indexBy}),n.d(t,"countBy",function(){return o.countBy}),n.d(t,"partition",function(){return o.partition}),n.d(t,"toArray",function(){return o.toArray}),n.d(t,"size",function(){return o.size}),n.d(t,"pick",function(){return o.pick}),n.d(t,"omit",function(){return o.omit}),n.d(t,"first",function(){return o.first}),n.d(t,"head",function(){return o.head}),n.d(t,"take",function(){return o.take}),n.d(t,"initial",function(){return o.initial}),n.d(t,"last",function(){return o.last}),n.d(t,"rest",function(){return o.rest}),n.d(t,"tail",function(){return o.tail}),n.d(t,"drop",function(){return o.drop}),n.d(t,"compact",function(){return o.compact}),n.d(t,"flatten",function(){return o.flatten}),n.d(t,"without",function(){return o.without}),n.d(t,"uniq",function(){return o.uniq}),n.d(t,"unique",function(){return o.unique}),n.d(t,"union",function(){return o.union}),n.d(t,"intersection",function(){return o.intersection}),n.d(t,"difference",function(){return o.difference}),n.d(t,"unzip",function(){return o.unzip}),n.d(t,"transpose",function(){return o.transpose}),n.d(t,"zip",function(){return o.zip}),n.d(t,"object",function(){return o.object}),n.d(t,"range",function(){return o.range}),n.d(t,"chunk",function(){return o.chunk}),n.d(t,"mixin",function(){return o.mixin})},function(e,t,n){"use strict";function r(e){return e=Object(o.a)({},e),function(t){return Object(i.a)(t,e)}}t.a=r;var o=n(303),i=n(417)},function(e,t,n){"use strict";var r=n(68),o=n(433),i=n(69),a=Object(r.a)(function(e,t){var n=a.placeholder,r=function(){for(var i=0,a=t.length,s=Array(a),l=0;l<a;l++)s[l]=t[l]===n?arguments[i++]:t[l];for(;i<arguments.length;)s.push(arguments[i++]);return Object(o.a)(e,r,this,this,s)};return r});a.placeholder=i.a,t.a=a},function(e,t,n){"use strict";function r(e,t){return function(n,r,a){var s=t?[[],[]]:{};return r=Object(o.a)(r,a),Object(i.a)(n,function(t,o){var i=r(t,o,n);e(s,t,i)}),s}}t.a=r;var o=n(61),i=n(134)},function(e,t,n){var r=n(291),o=n(228),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(59),o=n(74),i=n(233),a=n(466),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},function(e,t,n){var r=n(38),o=n(136),i=n(35),a=i("species");e.exports=function(e,t){var n;return o(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[a])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},function(e,t,n){var r,o,i;/* @okta/qtip2 v3.0.3-5-g | Plugins: tips modal viewport svg imagemap ie6 | Styles: core basic css3 | qtip2.com | Licensed MIT | Wed May 24 2017 01:22:57 */
!function(a,s,l){!function(a){"use strict";o=[n(326)],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(function(e){"use strict";function t(t,n,r,o){this.id=r,this.target=t,this.tooltip=I,this.elements={target:t},this._id=W+"-"+r,this.timers={img:{}},this.options=n,this.plugins={},this.cache={event:{},target:e(),disabled:R,attr:o,onTooltip:R,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=R}function n(t){return t===I||"object"!==e.type(t)}function r(t){return!(e.isFunction(t)||t&&t.attr||t.length||"object"===e.type(t)&&(t.jquery||t.then))}function o(t){var o,i,a,s;return n(t)?R:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(o=t.content,n(o)||o.jquery||o.done?(i=r(o)?R:o,o=t.content={text:i}):i=o.text,"ajax"in o&&(a=o.ajax,s=a&&a.once!==R,delete o.ajax,o.text=function(t,n){var r=i||e(this).attr(n.options.content.attr)||"Loading...",o=e.ajax(e.extend({},a,{context:n})).then(a.success,I,a.error).then(function(e){return e&&s&&n.set("content.text",e),e},function(e,t,r){n.destroyed||0===e.status||n.set("content.text",t+": "+r)});return s?r:(n.set("content.text",r),o)}),"title"in o&&(e.isPlainObject(o.title)&&(o.button=o.title.button,o.title=o.title.text),r(o.title||R)&&(o.title=R))),"position"in t&&n(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&n(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===C?{ready:C}:{event:t.show}),"hide"in t&&n(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&n(t.style)&&(t.style={classes:t.style}),e.each(H,function(){this.sanitize&&this.sanitize(t)}),t)}function i(e,t){for(var n,r=0,o=e,i=t.split(".");o=o[i[r++]];)r<i.length&&(n=o);return[n||e,i.pop()]}function u(e,t){var n,r,o;for(n in this.checks)if(this.checks.hasOwnProperty(n))for(r in this.checks[n])this.checks[n].hasOwnProperty(r)&&(o=new RegExp(r,"i").exec(e))&&(t.push(o),("builtin"===n||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,t))}function c(e){return $.concat("").join(e?"-"+e+" ":" ")}function f(t,n){return n>0?setTimeout(e.proxy(t,this),n):void t.call(this)}function d(e){this.tooltip.hasClass(ee)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=f.call(this,function(){this.toggle(C,e)},this.options.show.delay))}function p(t){if(!this.tooltip.hasClass(ee)&&!this.destroyed){var n=e(t.relatedTarget),r=n.closest(G)[0]===this.tooltip[0],o=n[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==n[0]&&"mouse"===this.options.position.target&&r||this.options.hide.fixed&&/mouse(out|leave|move)/.test(t.type)&&(r||o))try{t.preventDefault(),t.stopImmediatePropagation()}catch(e){}else this.timers.hide=f.call(this,function(){this.toggle(R,t)},this.options.hide.delay,this)}}function h(e){!this.tooltip.hasClass(ee)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=f.call(this,function(){this.hide(e)},this.options.hide.inactive))}function m(e){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}function v(t,n,r){e(s.body).delegate(t,(n.split?n:n.join("."+W+" "))+"."+W,function(){var t=T.api[e.attr(this,K)];t&&!t.disabled&&r.apply(t,arguments)})}function g(n,r,i){var a,l,u,c,f,d=e(s.body),p=n[0]===s?d:n,h=n.metadata?n.metadata(i.metadata):I,m="html5"===i.metadata.type&&h?h[i.metadata.name]:I,v=n.data(i.metadata.name||"qtipopts");try{v="string"==typeof v?e.parseJSON(v):v}catch(e){}if(c=e.extend(C,{},T.defaults,i,"object"==typeof v?o(v):I,o(m||h)),l=c.position,c.id=r,"boolean"==typeof c.content.text){if(u=n.attr(c.content.attr),c.content.attr===R||!u)return R;c.content.text=u}if(l.container.length||(l.container=d),l.target===R&&(l.target=p),c.show.target===R&&(c.show.target=p),c.show.solo===C&&(c.show.solo=l.container.closest("body")),c.hide.target===R&&(c.hide.target=p),c.position.viewport===C&&(c.position.viewport=l.container),l.container=l.container.eq(0),l.at=new k(l.at,C),l.my=new k(l.my),n.data(W))if(c.overwrite)n.qtip("destroy",!0);else if(c.overwrite===R)return R;return n.attr(z,r),c.suppress&&(f=n.attr("title"))&&n.removeAttr("title").attr(ne,f).attr("title",""),a=new t(n,c,r,!!u),n.data(W,a),a}function y(e){return e.charAt(0).toUpperCase()+e.slice(1)}function b(e,t){var n,r,o=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+we.join(o+" ")+o).split(" "),a=0;if(_e[t])return e.css(_e[t]);for(;n=i[a++];)if((r=e.css(n))!==l)return _e[t]=n,r}function _(e,t){return Math.ceil(parseFloat(b(e,t)))}function w(e,t){this._ns="tip",this.options=t,this.offset=t.offset,this.size=[t.width,t.height],this.qtip=e,this.init(e)}function x(e,t){this.options=t,this._ns="-modal",this.qtip=e,this.init(e)}function E(e){this._ns="ie6",this.qtip=e,this.init(e)}var T,S,k,O,A,C=!0,R=!1,I=null,N="x",M="y",P="width",L="height",D="top",j="left",F="bottom",U="right",B="center",V="flipinvert",q="shift",H={},W="qtip",z="data-hasqtip",K="data-qtip-id",$=["ui-widget","ui-tooltip"],G="."+W,Y="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),J=W+"-fixed",Q=W+"-default",X=W+"-focus",Z=W+"-hover",ee=W+"-disabled",te="_replacedByqTip",ne="oldtitle",re={ie:function(){var e,t;for(e=4,t=s.createElement("div");(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e")&&t.getElementsByTagName("i")[0];e+=1);return e>4?e:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||R};S=t.prototype,S._when=function(t){return e.when.apply(e,t)},S.render=function(t){if(this.rendered||this.destroyed)return this;var n=this,r=this.options,o=this.cache,i=this.elements,a=r.content.text,s=r.content.title,l=r.content.button,u=r.position,c=[];return e.attr(this.target[0],"aria-describedby",this._id),o.posClass=this._createPosClass((this.position={my:u.my,at:u.at}).my),this.tooltip=i.tooltip=e("<div/>",{id:this._id,class:[W,Q,r.style.classes,o.posClass].join(" "),width:r.style.width||"",height:r.style.height||"",tracking:"mouse"===u.target&&u.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":R,"aria-describedby":this._id+"-content","aria-hidden":C}).toggleClass(ee,this.disabled).attr(K,this.id).data(W,this).appendTo(u.container).append(i.content=e("<div />",{class:W+"-content",id:this._id+"-content","aria-atomic":C})),this.rendered=-1,this.positioning=C,s&&(this._createTitle(),e.isFunction(s)||c.push(this._updateTitle(s,R))),l&&this._createButton(),e.isFunction(a)||c.push(this._updateContent(a,R)),this.rendered=C,this._setWidget(),e.each(H,function(e){var t;"render"===this.initialize&&(t=this(n))&&(n.plugins[e]=t)}),this._unassignEvents(),this._assignEvents(),this._when(c).then(function(){n._trigger("render"),n.positioning=R,n.hiddenDuringWait||!r.show.ready&&!t||n.toggle(C,o.event,R),n.hiddenDuringWait=R}),T.api[this.id]=this,this},S.destroy=function(t){function n(){if(!this.destroyed){this.destroyed=C;var t,n=this.target,r=n.attr(ne);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),e.each(this.plugins,function(){this.destroy&&this.destroy()});for(t in this.timers)this.timers.hasOwnProperty(t)&&clearTimeout(this.timers[t]);n.removeData(W).removeAttr(K).removeAttr(z).removeAttr("aria-describedby"),this.options.suppress&&r&&n.attr("title",r).removeAttr(ne),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=I,delete T.api[this.id]}}return this.destroyed?this.target:(t===C&&"hide"!==this.triggering||!this.rendered?n.call(this):(this.tooltip.one("tooltiphidden",e.proxy(n,this)),!this.triggering&&this.hide()),this.target)},O=S.checks={builtin:{"^id$":function(t,n,r,o){var i=r===C?T.nextid:r,a=W+"-"+i;i!==R&&i.length>0&&!e("#"+a).length?(this._id=a,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):t[n]=o},"^prerender":function(e,t,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.text$":function(e,t,n){this._updateContent(n)},"^content.attr$":function(e,t,n,r){this.options.content.text===this.target.attr(r)&&this._updateContent(this.target.attr(n))},"^content.title$":function(e,t,n){return n?(n&&!this.elements.title&&this._createTitle(),void this._updateTitle(n)):this._removeTitle()},"^content.button$":function(e,t,n){this._updateButton(n)},"^content.title.(text|button)$":function(e,t,n){this.set("content."+t,n)},"^position.(my|at)$":function(e,t,n){"string"==typeof n&&(this.position[t]=e[t]=new k(n,"at"===t))},"^position.container$":function(e,t,n){this.rendered&&this.tooltip.appendTo(n)},"^show.ready$":function(e,t,n){n&&(!this.rendered&&this.render(C)||this.toggle(C))},"^style.classes$":function(e,t,n,r){this.rendered&&this.tooltip.removeClass(r).addClass(n)},"^style.(width|height)":function(e,t,n){this.rendered&&this.tooltip.css(t,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(e,t,n){this.rendered&&this.tooltip.toggleClass(Q,!!n)},"^events.(render|show|move|hide|focus|blur)$":function(t,n,r){this.rendered&&this.tooltip[(e.isFunction(r)?"":"un")+"bind"]("tooltip"+n,r)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var e=this.options.position;this.tooltip.attr("tracking","mouse"===e.target&&e.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},S.get=function(e){if(this.destroyed)return this;var t=i(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var oe=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,ie=/^prerender|show\.ready/i;S.set=function(t,n){if(this.destroyed)return this;var r,a=this.rendered,s=R,l=this.options;return"string"==typeof t?(r=t,t={},t[r]=n):t=e.extend({},t),e.each(t,function(n,r){if(a&&ie.test(n))return void delete t[n];var o,u=i(l,n.toLowerCase());o=u[0][u[1]],u[0][u[1]]=r&&r.nodeType?e(r):r,s=oe.test(n)||s,t[n]=[u[0],u[1],r,o]}),o(l),this.positioning=C,e.each(t,e.proxy(u,this)),this.positioning=R,this.rendered&&this.tooltip[0].offsetWidth>0&&s&&this.reposition("mouse"===l.position.target?I:this.cache.event),this},S._update=function(t,n){var r=this,o=this.cache;return this.rendered&&t?(e.isFunction(t)&&(t=t.call(this.elements.target,o.event,this)||""),e.isFunction(t.then)?(o.waiting=C,t.then(function(e){return o.waiting=R,r._update(e,n)},I,function(e){return r._update(e,n)})):t===R||!t&&""!==t?R:(t.jquery&&t.length>0?n.empty().append(t.css({display:"block",visibility:"visible"})):n.html(t),this._waitForContent(n).then(function(e){r.rendered&&r.tooltip[0].offsetWidth>0&&r.reposition(o.event,!e.length)}))):R},S._waitForContent=function(t){var n=this.cache;return n.waiting=C,(e.fn.imagesLoaded?t.imagesLoaded():(new e.Deferred).resolve([])).done(function(){n.waiting=R}).promise()},S._updateContent=function(e,t){this._update(e,this.elements.content,t)},S._updateTitle=function(e,t){this._update(e,this.elements.title,t)===R&&this._removeTitle(R)},S._createTitle=function(){var t=this.elements,n=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=e("<div />",{class:W+"-titlebar "+(this.options.style.widget?c("header"):"")}).append(t.title=e("<div />",{id:n,class:W+"-title","aria-atomic":C})).insertBefore(t.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(t){e(this).toggleClass("ui-state-active ui-state-focus","down"===t.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(t){e(this).toggleClass("ui-state-hover","mouseover"===t.type)}),this.options.content.button&&this._createButton()},S._removeTitle=function(e){var t=this.elements;t.title&&(t.titlebar.remove(),t.titlebar=t.title=t.button=I,e!==R&&this.reposition())},S._createPosClass=function(e){return W+"-pos-"+(e||this.options.position.my).abbrev()},S.reposition=function(t,n){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=C;var r,o,i,l,u=this.cache,c=this.tooltip,f=this.options.position,d=f.target,p=f.my,h=f.at,m=f.viewport,v=f.container,g=f.adjust,y=g.method.split(" "),b=c.outerWidth(R),_=c.outerHeight(R),w=0,x=0,E=c.css("position"),T={left:0,top:0},S=c[0].offsetWidth>0,k=t&&"scroll"===t.type,O=e(a),A=v[0].ownerDocument,I=this.mouse;if(e.isArray(d)&&2===d.length)h={x:j,y:D},T={left:d[0],top:d[1]};else if("mouse"===d)h={x:j,y:D},(!g.mouse||this.options.hide.distance)&&u.origin&&u.origin.pageX?t=u.origin:!t||t&&("resize"===t.type||"scroll"===t.type)?t=u.event:I&&I.pageX&&(t=I),"static"!==E&&(T=v.offset()),A.body.offsetWidth!==(a.innerWidth||A.documentElement.clientWidth)&&(o=e(s.body).offset()),T={left:t.pageX-T.left+(o&&o.left||0),top:t.pageY-T.top+(o&&o.top||0)},g.mouse&&k&&I&&(T.left-=(I.scrollX||0)-O.scrollLeft(),T.top-=(I.scrollY||0)-O.scrollTop());else{if("event"===d?t&&t.target&&"scroll"!==t.type&&"resize"!==t.type?u.target=e(t.target):t.target||(u.target=this.elements.target):"event"!==d&&(u.target=e(d.jquery?d:this.elements.target)),d=u.target,d=e(d).eq(0),0===d.length)return this;d[0]===s||d[0]===a?(w=re.iOS?a.innerWidth:d.width(),x=re.iOS?a.innerHeight:d.height(),d[0]===a&&(T={top:(m||d).scrollTop(),left:(m||d).scrollLeft()})):H.imagemap&&d.is("area")?r=H.imagemap(this,d,h,H.viewport?y:R):H.svg&&d&&d[0].ownerSVGElement?r=H.svg(this,d,h,H.viewport?y:R):(w=d.outerWidth(R),x=d.outerHeight(R),T=d.offset()),r&&(w=r.width,x=r.height,o=r.offset,T=r.position),T=this.reposition.offset(d,T,v),(re.iOS>3.1&&re.iOS<4.1||re.iOS>=4.3&&re.iOS<4.33||!re.iOS&&"fixed"===E)&&(T.left-=O.scrollLeft(),T.top-=O.scrollTop()),(!r||r&&r.adjustable!==R)&&(T.left+=h.x===U?w:h.x===B?w/2:0,T.top+=h.y===F?x:h.y===B?x/2:0)}return T.left+=g.x+(p.x===U?-b:p.x===B?-b/2:0),T.top+=g.y+(p.y===F?-_:p.y===B?-_/2:0),H.viewport?(i=T.adjusted=H.viewport(this,T,f,w,x,b,_),o&&i.left&&(T.left+=o.left),o&&i.top&&(T.top+=o.top),i.my&&(this.position.my=i.my)):T.adjusted={left:0,top:0},u.posClass!==(l=this._createPosClass(this.position.my))&&(u.posClass=l,c.removeClass(u.posClass).addClass(l)),this._trigger("move",[T,m.elem||m],t)?(delete T.adjusted,n===R||!S||isNaN(T.left)||isNaN(T.top)||"mouse"===d||!e.isFunction(f.effect)?c.css(T):e.isFunction(f.effect)&&(f.effect.call(c,this,e.extend({},T)),c.queue(function(t){e(this).css({opacity:"",height:""}),re.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=R,this):this},S.reposition.offset=function(t,n,r){function o(e,t){n.left+=t*e.scrollLeft(),n.top+=t*e.scrollTop()}if(!r[0])return n;var i,a,l,u,c=e(t[0].ownerDocument),f=!!re.ie&&"CSS1Compat"!==s.compatMode,d=r[0];do{"static"!==(a=e.css(d,"position"))&&("fixed"===a?(l=d.getBoundingClientRect(),o(c,-1)):(l=e(d).position(),l.left+=parseFloat(e.css(d,"borderLeftWidth"))||0,l.top+=parseFloat(e.css(d,"borderTopWidth"))||0),n.left-=l.left+(parseFloat(e.css(d,"marginLeft"))||0),n.top-=l.top+(parseFloat(e.css(d,"marginTop"))||0),i||"hidden"===(u=e.css(d,"overflow"))||"visible"===u||"BODY"===e.prop(d,"tagName")||(i=e(d)))}while(d=d.offsetParent);return i&&(i[0]!==c[0]||f)&&o(i,1),n};var ae=(k=S.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,B).toLowerCase(),this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!t;var n=e.charAt(0);this.precedance="t"===n||"b"===n?M:N}).prototype;ae.invert=function(e,t){this[e]=this[e]===j?U:this[e]===U?j:t||this[e]},ae.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===M||this.forceY)?[n,t]:[t,n]:[t];return!1!==e?r.join(" "):r},ae.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")},ae.clone=function(){return new k(this.string(),this.forceY)},S.toggle=function(t,n){var r=this.cache,o=this.options,i=this.tooltip;if(n){if(/over|enter/.test(n.type)&&r.event&&/out|leave/.test(r.event.type)&&o.show.target.add(n.target).length===o.show.target.length&&i.has(n.relatedTarget).length)return this;r.event=e.event.fix(n)}if(this.waiting&&!t&&(this.hiddenDuringWait=C),!this.rendered)return t?this.render(1):this;if(this.destroyed||this.disabled)return this;var a,l,u,c=t?"show":"hide",f=this.options[c],d=this.options.position,p=this.options.content,h=this.tooltip.css("width"),m=this.tooltip.is(":visible"),v=t||1===f.target.length,g=!n||f.target.length<2||r.target[0]===n.target;return(typeof t).search("boolean|number")&&(t=!m),a=!i.is(":animated")&&m===t&&g,l=a?I:!!this._trigger(c,[90]),this.destroyed?this:(l!==R&&t&&this.focus(n),!l||a?this:(e.attr(i[0],"aria-hidden",!t),t?(this.mouse&&(r.origin=e.event.fix(this.mouse)),e.isFunction(p.text)&&this._updateContent(p.text,R),e.isFunction(p.title)&&this._updateTitle(p.title,R),!A&&"mouse"===d.target&&d.adjust.mouse&&(e(s).bind("mousemove."+W,this._storeMouse),A=C),h||i.css("width",i.outerWidth(R)),this.reposition(n,arguments[2]),h||i.css("width",""),f.solo&&("string"==typeof f.solo?e(f.solo):e(G,f.solo)).not(i).not(f.target).qtip("hide",new e.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete r.origin,A&&!e(G+'[tracking="true"]:visible',f.solo).not(i).length&&(e(s).unbind("mousemove."+W),A=R),this.blur(n)),u=e.proxy(function(){t?(re.ie&&i[0].style.removeAttribute("filter"),i.css("overflow",""),"string"==typeof f.autofocus&&e(this.options.show.autofocus,i).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):i.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),f.effect===R||v===R?(i[c](),u()):e.isFunction(f.effect)?(i.stop(1,1),f.effect.call(i,this),i.queue("fx",function(e){u(),e()})):i.fadeTo(90,t?1:0,u),t&&f.target.trigger("qtip-"+this.id+"-inactive"),this))},S.show=function(e){return this.toggle(C,e)},S.hide=function(e){return this.toggle(R,e)},S.focus=function(t){if(!this.rendered||this.destroyed)return this;var n=e(G),r=this.tooltip,o=parseInt(r[0].style.zIndex,10),i=T.zindex+n.length;return r.hasClass(X)||this._trigger("focus",[i],t)&&(o!==i&&(n.each(function(){this.style.zIndex>o&&(this.style.zIndex=this.style.zIndex-1)}),n.filter("."+X).qtip("blur",t)),r.addClass(X)[0].style.zIndex=i),this},S.blur=function(e){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(X),this._trigger("blur",[this.tooltip.css("zIndex")],e),this)},S.disable=function(e){return this.destroyed?this:("toggle"===e?e=!(this.rendered?this.tooltip.hasClass(ee):this.disabled):"boolean"!=typeof e&&(e=C),this.rendered&&this.tooltip.toggleClass(ee,e).attr("aria-disabled",e),this.disabled=!!e,this)},S.enable=function(){return this.disable(R)},S._createButton=function(){var t=this,n=this.elements,r=n.tooltip,o=this.options.content.button,i="string"==typeof o,a=i?o:"Close tooltip";n.button&&n.button.remove(),o.jquery?n.button=o:n.button=e("<a />",{class:"qtip-close "+(this.options.style.widget?"":W+"-icon"),title:a,"aria-label":a}).prepend(e("<span />",{class:"ui-icon ui-icon-close",html:"&times;"})),n.button.appendTo(n.titlebar||r).attr("role","button").click(function(e){return r.hasClass(ee)||t.hide(e),R})},S._updateButton=function(e){if(!this.rendered)return R;var t=this.elements.button;e?this._createButton():t.remove()},S._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(ee);n.removeClass(ee),ee=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(ee,r),n.toggleClass("ui-helper-reset "+c(),e).toggleClass(Q,this.options.style.def&&!e),t.content&&t.content.toggleClass(c("content"),e),t.titlebar&&t.titlebar.toggleClass(c("header"),e),t.button&&t.button.toggleClass(W+"-icon",!e)},S._storeMouse=function(t){return(this.mouse=e.event.fix(t)).type="mousemove",this},S._bind=function(t,n,r,o,i){if(t&&r&&n.length){var a="."+this._id+(o?"-"+o:"");return e(t).bind((n.split?n:n.join(a+" "))+a,e.proxy(r,i||this)),this}},S._unbind=function(t,n){return t&&e(t).unbind("."+this._id+(n?"-"+n:"")),this},S._trigger=function(t,n,r){var o=new e.Event("tooltip"+t);return o.originalEvent=r&&e.extend({},r)||this.cache.event||I,this.triggering=t,this.tooltip.trigger(o,[this].concat(n||[])),this.triggering=R,!o.isDefaultPrevented()},S._bindEvents=function(t,n,r,o,i,a){var s=r.filter(o).add(o.filter(r)),l=[];s.length&&(e.each(n,function(n,r){var o=e.inArray(r,t);o>-1&&l.push(t.splice(o,1)[0])}),l.length&&(this._bind(s,l,function(e){(!!this.rendered&&this.tooltip[0].offsetWidth>0?a:i).call(this,e)}),r=r.not(s),o=o.not(s))),this._bind(r,t,i),this._bind(o,n,a)},S._assignInitialEvents=function(t){function n(t){return this.disabled||this.destroyed?R:(this.cache.event=t&&e.event.fix(t),this.cache.target=t&&e(t.target),clearTimeout(this.timers.show),void(this.timers.show=f.call(this,function(){this.render("object"==typeof t||r.show.ready)},r.prerender?0:r.show.delay)))}var r=this.options,o=r.show.target,i=r.hide.target,a=r.show.event?e.trim(""+r.show.event).split(" "):[],s=r.hide.event?e.trim(""+r.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(r.show.event)&&!/mouse(out|leave)/i.test(r.hide.event)&&s.push("mouseleave"),this._bind(o,"mousemove",function(e){this._storeMouse(e),this.cache.onTarget=C}),this._bindEvents(a,s,o,i,n,function(){return this.timers?void clearTimeout(this.timers.show):R}),(r.show.ready||r.prerender)&&n.call(this,t)},S._assignEvents=function(){var t=this,n=this.options,r=n.position,o=this.tooltip,i=n.show.target,l=n.hide.target,u=r.container,c=r.viewport,f=e(s),v=e(a),g=n.show.event?e.trim(""+n.show.event).split(" "):[],y=n.hide.event?e.trim(""+n.hide.event).split(" "):[];e.each(n.events,function(e,n){t._bind(o,"toggle"===e?["tooltipshow","tooltiphide"]:["tooltip"+e],n,null,o)}),/mouse(out|leave)/i.test(n.hide.event)&&"window"===n.hide.leave&&this._bind(f,["mouseout","blur"],function(e){/select|option/.test(e.target.nodeName)||e.relatedTarget||this.hide(e)}),n.hide.fixed?l=l.add(o.addClass(J)):/mouse(over|enter)/i.test(n.show.event)&&this._bind(l,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+n.hide.event).indexOf("unfocus")>-1&&this._bind(u.closest("html"),["mousedown","touchstart"],function(t){var n=e(t.target),r=this.rendered&&!this.tooltip.hasClass(ee)&&this.tooltip[0].offsetWidth>0,o=n.parents(G).filter(this.tooltip[0]).length>0;n[0]===this.target[0]||n[0]===this.tooltip[0]||o||this.target.has(n[0]).length||!r||this.hide(t)}),"number"==typeof n.hide.inactive&&(this._bind(i,"qtip-"+this.id+"-inactive",h,"inactive"),this._bind(l.add(o),T.inactiveEvents,h)),this._bindEvents(g,y,i,l,d,p),this._bind(i.add(o),"mousemove",function(e){if("number"==typeof n.hide.distance){var t=this.cache.origin||{},r=this.options.hide.distance,o=Math.abs;(o(e.pageX-t.pageX)>=r||o(e.pageY-t.pageY)>=r)&&this.hide(e)}this._storeMouse(e)}),"mouse"===r.target&&r.adjust.mouse&&(n.hide.event&&this._bind(i,["mouseenter","mouseleave"],function(e){return this.cache?void(this.cache.onTarget="mouseenter"===e.type):R}),this._bind(f,"mousemove",function(e){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(ee)&&this.tooltip[0].offsetWidth>0&&this.reposition(e)})),(r.adjust.resize||c.length)&&this._bind(e.event.special.resize?c:v,"resize",m),r.adjust.scroll&&this._bind(v.add(r.container),"scroll",m)},S._unassignEvents=function(){var t=this.options,n=t.show.target,r=t.hide.target,o=e.grep([this.elements.target[0],this.rendered&&this.tooltip[0],t.position.container[0],t.position.viewport[0],t.position.container.closest("html")[0],a,s],function(e){return"object"==typeof e});n&&n.toArray&&(o=o.concat(n.toArray())),r&&r.toArray&&(o=o.concat(r.toArray())),this._unbind(o)._unbind(o,"destroy")._unbind(o,"inactive")},e(function(){v(G,["mouseenter","mouseleave"],function(t){var n="mouseenter"===t.type,r=e(t.currentTarget),o=e(t.relatedTarget||t.target),i=this.options;n?(this.focus(t),r.hasClass(J)&&!r.hasClass(ee)&&clearTimeout(this.timers.hide)):"mouse"===i.position.target&&i.position.adjust.mouse&&i.hide.event&&i.show.target&&!o.closest(i.show.target[0]).length&&this.hide(t),r.toggleClass(Z,n)}),v("["+K+"]",Y,h)}),T=e.fn.qtip=function(t,n,r){var i=(""+t).toLowerCase(),a=I,s=e.makeArray(arguments).slice(1),u=s[s.length-1],c=this[0]?e.data(this[0],W):I;return!arguments.length&&c||"api"===i?c:"string"==typeof t?(this.each(function(){var t=e.data(this,W);if(!t)return C;if(u&&u.timeStamp&&(t.cache.event=u),!n||"option"!==i&&"options"!==i)t[i]&&t[i].apply(t,s);else{if(r===l&&!e.isPlainObject(n))return a=t.get(n),R;t.set(n,r)}}),a!==I?a:this):"object"!=typeof t&&arguments.length?void 0:(c=o(e.extend(C,{},t)),this.each(function(t){var n,r;return r=e.isArray(c.id)?c.id[t]:c.id,r=!r||r===R||r.length<1||T.api[r]?T.nextid++:r,n=g(e(this),r,c),n===R?C:(T.api[r]=n,e.each(H,function(){"initialize"===this.initialize&&this(n)}),void n._assignInitialEvents(u))}))},e.qtip=t,T.api={},e.each({attr:function(t,n){if(this.length){var r=this[0],o="title",i=e.data(r,"qtip");if(t===o&&i&&i.options&&"object"==typeof i&&"object"==typeof i.options&&i.options.suppress)return arguments.length<2?e.attr(r,ne):(i&&i.options.content.attr===o&&i.cache.attr&&i.set("content.text",n),this.attr(ne,n))}return e.fn["attr"+te].apply(this,arguments)},clone:function(t){var n=e.fn["clone"+te].apply(this,arguments);return t||n.filter("["+ne+"]").attr("title",function(){return e.attr(this,ne)}).removeAttr(ne),n}},function(t,n){if(!n||e.fn[t+te])return C;var r=e.fn[t+te]=e.fn[t];e.fn[t]=function(){return n.apply(this,arguments)||r.apply(this,arguments)}}),e.ui||(e["cleanData"+te]=e.cleanData,e.cleanData=function(t){for(var n,r=0;(n=e(t[r])).length;r++)if(n.attr(z))try{n.triggerHandler("removeqtip")}catch(e){}e["cleanData"+te].apply(this,arguments)}),T.version="3.0.3-5-g",T.nextid=0,T.inactiveEvents=Y,T.zindex=15e3,T.defaults={prerender:R,id:R,overwrite:C,suppress:C,content:{text:C,attr:"title",title:R,button:R},position:{my:"top left",at:"bottom right",target:R,container:R,viewport:R,adjust:{x:0,y:0,mouse:C,scroll:C,resize:C,method:"flipinvert flipinvert"},effect:function(t,n){e(this).animate(n,{duration:200,queue:R})}},show:{target:R,event:"mouseenter",effect:C,delay:90,solo:R,ready:R,autofocus:R},hide:{target:R,event:"mouseleave",effect:C,delay:0,fixed:R,inactive:R,leave:"window",distance:R},style:{classes:"",widget:R,width:R,height:R,def:C},events:{render:I,move:I,show:I,hide:I,toggle:I,visible:I,hidden:I,focus:I,blur:I}};var se,le,ue,ce,fe,de="margin",pe="border",he="color",me="background-color",ve="transparent",ge=" !important",ye=!!s.createElement("canvas").getContext,be=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,_e={},we=["Webkit","O","Moz","ms"];ye?(ce=a.devicePixelRatio||1,fe=function(){var e=s.createElement("canvas").getContext("2d");return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}(),ue=ce/fe):le=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'},e.extend(w.prototype,{init:function(t){var n,r;r=this.element=t.elements.tip=e("<div />",{class:W+"-tip"}).prependTo(t.tooltip),ye?(n=e("<canvas />").appendTo(this.element)[0].getContext("2d"),n.lineJoin="miter",n.miterLimit=1e5,n.save()):(n=le("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(n+n),t._bind(e("*",r).add(r),["click","mousedown"],function(e){e.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(e){var t=this.qtip.elements.titlebar;return t&&(e.y===D||e.y===B&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(C))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===R||t===R?e=R:e===C?e=new k(t.string()):e.string||(e=new k(e),e.fixed=C),e},_parseWidth:function(e,t,n){var r=this.qtip.elements,o=pe+y(t)+"Width";return(n?_(n,o):_(r.content,o)||_(this._useTitle(e)&&r.titlebar||r.content,o)||_(r.tooltip,o))||0},_parseRadius:function(e){var t=this.qtip.elements,n=pe+y(e.y)+y(e.x)+"Radius";return re.ie<9?0:_(this._useTitle(e)&&t.titlebar||t.content,n)||_(t.tooltip,n)||0},_invalidColour:function(e,t,n){var r=e.css(t);return!r||n&&r===e.css(n)||be.test(r)?R:r},_parseColours:function(t){var n=this.qtip.elements,r=this.element.css("cssText",""),o=pe+y(t[t.precedance])+y(he),i=this._useTitle(t)&&n.titlebar||n.content,a=this._invalidColour,s=[];return s[0]=a(r,me)||a(i,me)||a(n.content,me)||a(n.tooltip,me)||r.css(me),s[1]=a(r,o,he)||a(i,o,he)||a(n.content,o,he)||a(n.tooltip,o,he)||n.tooltip.css(o),e("*",r).add(r).css("cssText",me+":"+ve+ge+";"+pe+":0"+ge+";"),s},_calculateSize:function(e){var t,n,r,o=e.precedance===M,i=this.options.width,a=this.options.height,s="c"===e.abbrev(),l=(o?i:a)*(s?.5:1),u=Math.pow,c=Math.round,f=Math.sqrt(u(l,2)+u(a,2)),d=[this.border/l*f,this.border/a*f];return d[2]=Math.sqrt(u(d[0],2)-u(this.border,2)),d[3]=Math.sqrt(u(d[1],2)-u(this.border,2)),t=f+d[2]+d[3]+(s?0:d[0]),n=t/f,r=[c(n*i),c(n*a)],o?r:r.reverse()},_calculateTip:function(e,t,n){n=n||1,t=t||this.size;var r=t[0]*n,o=t[1]*n,i=Math.ceil(r/2),a=Math.ceil(o/2),s={br:[0,0,r,o,r,0],bl:[0,0,r,0,0,o],tr:[0,o,r,0,r,o],tl:[0,0,0,o,r,o],tc:[0,o,i,0,r,o],bc:[0,0,r,0,i,o],rc:[0,0,r,a,0,o],lc:[r,0,r,o,0,a]};return s.lt=s.br,s.rt=s.bl,s.lb=s.tr,s.rb=s.tl,s[e.abbrev()]},_drawCoords:function(e,t){e.beginPath(),e.moveTo(t[0],t[1]),e.lineTo(t[2],t[3]),e.lineTo(t[4],t[5]),e.closePath()},create:function(){var e=this.corner=(ye||re.ie)&&this._parseCorner(this.options.corner);return this.enabled=!!this.corner&&"c"!==this.corner.abbrev(),this.enabled&&(this.qtip.cache.corner=e.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,n){if(!this.enabled)return this;var r,o,i,s,l,u,c,f,d=this.qtip.elements,p=this.element,h=p.children(),m=this.options,v=this.size,g=m.mimic,y=Math.round;t||(t=this.qtip.cache.corner||this.corner),g===R?g=t:(g=new k(g),g.precedance=t.precedance,"inherit"===g.x?g.x=t.x:"inherit"===g.y?g.y=t.y:g.x===g.y&&(g[t.precedance]=t[t.precedance])),o=g.precedance,t.precedance===N?this._swapDimensions():this._resetDimensions(),r=this.color=this._parseColours(t),r[1]!==ve?(f=this.border=this._parseWidth(t,t[t.precedance]),m.border&&f<1&&!be.test(r[1])&&(r[0]=r[1]),this.border=f=m.border!==C?m.border:f):this.border=f=0,c=this.size=this._calculateSize(t),p.css({width:c[0],height:c[1],lineHeight:c[1]+"px"}),u=t.precedance===M?[y(g.x===j?f:g.x===U?c[0]-v[0]-f:(c[0]-v[0])/2),y(g.y===D?c[1]-v[1]:0)]:[y(g.x===j?c[0]-v[0]:0),y(g.y===D?f:g.y===F?c[1]-v[1]-f:(c[1]-v[1])/2)],ye?(i=h[0].getContext("2d"),i.restore(),i.save(),i.clearRect(0,0,6e3,6e3),s=this._calculateTip(g,v,ue),l=this._calculateTip(g,this.size,ue),h.attr(P,c[0]*ue).attr(L,c[1]*ue),h.css(P,c[0]).css(L,c[1]),this._drawCoords(i,l),i.fillStyle=r[1],i.fill(),i.translate(u[0]*ue,u[1]*ue),this._drawCoords(i,s),i.fillStyle=r[0],i.fill()):(s=this._calculateTip(g),s="m"+s[0]+","+s[1]+" l"+s[2]+","+s[3]+" "+s[4]+","+s[5]+" xe",u[2]=f&&/^(r|b)/i.test(t.string())?8===re.ie?2:1:0,h.css({coordsize:c[0]+f+" "+c[1]+f,antialias:""+(g.string().indexOf(B)>-1),left:u[0]-u[2]*Number(o===N),top:u[1]-u[2]*Number(o===M),width:c[0]+f,height:c[1]+f}).each(function(t){var n=e(this);n[n.prop?"prop":"attr"]({coordsize:c[0]+f+" "+c[1]+f,path:s,fillcolor:r[0],filled:!!t,stroked:!t}).toggle(!(!f&&!t)),!t&&n.html(le("stroke",'weight="'+2*f+'px" color="'+r[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){d.tip.css({display:"inline-block",visibility:"visible"})},1),n!==R&&this.calculate(t,c)},calculate:function(t,n){if(!this.enabled)return R;var r,o,i=this,a=this.qtip.elements,s=this.element,l=this.options.offset,u={};return t=t||this.corner,r=t.precedance,n=n||this._calculateSize(t),o=[t.x,t.y],r===N&&o.reverse(),e.each(o,function(e,o){var s,c,f;o===B?(s=r===M?j:D,u[s]="50%",u[de+"-"+s]=-Math.round(n[r===M?0:1]/2)+l):(s=i._parseWidth(t,o,a.tooltip),c=i._parseWidth(t,o,a.content),f=i._parseRadius(t),u[o]=Math.max(-i.border,e?c:l+(f>s?f:-s)))}),u[t[r]]-=n[r===N?0:1],s.css({margin:"",top:"",bottom:"",left:"",right:""}).css(u),u},reposition:function(e,t,n){function r(e,t,n,r,o){e===q&&u.precedance===t&&c[r]&&u[n]!==B?u.precedance=u.precedance===N?M:N:e!==q&&c[r]&&(u[t]=u[t]===B?c[r]>0?r:o:u[t]===r?o:r)}function o(e,t,r){u[e]===B?m[de+"-"+t]=h[e]=i[de+"-"+t]-c[t]:(a=i[r]!==l?[c[t],-i[t]]:[-c[t],i[t]],(h[e]=Math.max(a[0],a[1]))>a[0]&&(n[t]-=c[t],h[t]=R),m[i[r]!==l?r:t]=h[e])}if(this.enabled){var i,a,s=t.cache,u=this.corner.clone(),c=n.adjusted,f=t.options.position.adjust.method.split(" "),d=f[0],p=f[1]||f[0],h={left:R,top:R,x:0,y:0},m={};this.corner.fixed!==C&&(r(d,N,M,j,U),r(p,M,N,D,F),u.string()===s.corner.string()&&s.cornerTop===c.top&&s.cornerLeft===c.left||this.update(u,R)),i=this.calculate(u),i.right!==l&&(i.left=-i.right),i.bottom!==l&&(i.top=-i.bottom),i.user=this.offset,h.left=d===q&&!!c.left,h.left&&o(N,j,U),h.top=p===q&&!!c.top,h.top&&o(M,D,F),this.element.css(m).toggle(!(h.x&&h.y||u.x===B&&h.y||u.y===B&&h.x)),n.left-=i.left.charAt?i.user:d!==q||h.top||!h.left&&!h.top?i.left+this.border:0,n.top-=i.top.charAt?i.user:p!==q||h.left||!h.left&&!h.top?i.top+this.border:0,s.cornerLeft=c.left,s.cornerTop=c.top,s.corner=u.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),se=H.tip=function(e){return new w(e,e.options.style.tip)},se.initialize="render",se.sanitize=function(e){if(e.style&&"tip"in e.style){var t=e.style.tip;"object"!=typeof t&&(t=e.style.tip={corner:t}),/string|boolean/i.test(typeof t.corner)||(t.corner=C)}},O.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(e){this.size=[e.width,e.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},e.extend(C,T.defaults,{style:{tip:{corner:C,mimic:R,width:6,height:6,border:C,offset:0}}});var xe,Ee,Te="qtip-modal",Se="."+Te;Ee=function(){function t(t){if(e.expr[":"].focusable)return e.expr[":"].focusable;var n,r,o,i=!isNaN(e.attr(t,"tabindex")),a=t.nodeName&&t.nodeName.toLowerCase();return"area"===a?(n=t.parentNode,r=n.name,!(!t.href||!r||"map"!==n.nodeName.toLowerCase())&&!!(o=e("img[usemap=#"+r+"]")[0])&&o.is(":visible")):/input|select|textarea|button|object/.test(a)?!t.disabled:"a"===a?t.href||i:i}function n(e){u.length<1&&e.length?e.not("body").blur():u.first().focus()}function r(t){if(a.is(":visible")){var r=e(t.target),i=o.tooltip,s=r.closest(G);(s.length<1?R:parseInt(s[0].style.zIndex,10)>parseInt(i[0].style.zIndex,10))||r.closest(G)[0]===i[0]||n(r)}}var o,i,a,l=this,u={};e.extend(l,{init:function(){return a=l.elem=e("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return R}}).hide(),e(s.body).bind("focusin"+Se,r),e(s).bind("keydown"+Se,function(e){o&&o.options.show.modal.escape&&27===e.keyCode&&o.hide(e)}),a.bind("click"+Se,function(e){o&&o.options.show.modal.blur&&o.hide(e)}),l},update:function(e){o=e,u=e.options.show.modal.stealfocus!==R?e.tooltip.find("*").filter(function(){return t(this)}):[]},toggle:function(t,r,u){var c=t.tooltip,f=t.options.show.modal,d=f.effect,p=r?"show":"hide",h=a.is(":visible"),m=e(Se).filter(":visible:not(:animated)").not(c);return l.update(t),r&&f.stealfocus!==R&&n(e(":focus")),a.toggleClass("blurs",f.blur),r&&a.appendTo(s.body),a.is(":animated")&&h===r&&i!==R||!r&&m.length?l:(a.stop(C,R),e.isFunction(d)?d.call(a,r):d===R?a[p]():a.fadeTo(parseInt(u,10)||90,r?1:0,function(){r||a.hide()}),r||a.queue(function(t){a.css({left:"",top:""}),e(Se).length||a.detach(),t()}),i=r,o.destroyed&&(o=I),l)}}),l.init()},Ee=new Ee,e.extend(x.prototype,{init:function(t){var n=t.tooltip;return this.options.on?(t.elements.overlay=Ee.elem,n.addClass(Te).css("z-index",T.modal_zindex+e(Se).length),t._bind(n,["tooltipshow","tooltiphide"],function(t,r,o){var i=t.originalEvent;if(t.target===n[0])if(i&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(i.type)&&e(i.relatedTarget).closest(Ee.elem[0]).length)try{t.preventDefault()}catch(e){}else(!i||i&&"tooltipsolo"!==i.type)&&this.toggle(t,"tooltipshow"===t.type,o)},this._ns,this),t._bind(n,"tooltipfocus",function(t,r){if(!t.isDefaultPrevented()&&t.target===n[0]){var o=e(Se),i=T.modal_zindex+o.length,a=parseInt(n[0].style.zIndex,10);Ee.elem[0].style.zIndex=i-1,o.each(function(){this.style.zIndex>a&&(this.style.zIndex-=1)}),o.filter("."+X).qtip("blur",t.originalEvent),n.addClass(X)[0].style.zIndex=i,Ee.update(r);try{t.preventDefault()}catch(e){}}},this._ns,this),void t._bind(n,"tooltiphide",function(t){t.target===n[0]&&e(Se).filter(":visible").not(n).last().qtip("focus",t)},this._ns,this)):this},toggle:function(e,t,n){return e&&e.isDefaultPrevented()?this:void Ee.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(Te),this.qtip._unbind(this.qtip.tooltip,this._ns),Ee.toggle(this.qtip,R),delete this.qtip.elements.overlay}}),xe=H.modal=function(e){return new x(e,e.options.show.modal)},xe.sanitize=function(e){e.show&&("object"!=typeof e.show.modal?e.show.modal={on:!!e.show.modal}:void 0===e.show.modal.on&&(e.show.modal.on=C))},T.modal_zindex=T.zindex-200,xe.initialize="render",O.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},e.extend(C,T.defaults,{show:{modal:{on:R,effect:C,blur:C,stealfocus:C,escape:C}}}),H.viewport=function(e,t,n,r,o,i,l){function u(e,n,r,o,i,a,s,l,u){var c=t[i],y=_[e],b=w[e],x=r===q,E=y===i?u:y===a?-u:-u/2,T=b===i?l:b===a?-l:-l/2,S=v[i]+g[i]-(p?0:d[i]),k=S-c,O=c+u-(s===P?h:m)-S,A=E-(_.precedance===e||y===_[n]?T:0)-(b===B?l/2:0);return x?(A=(y===i?1:-1)*E,t[i]+=k>0?k:O>0?-O:0,t[i]=Math.max(-d[i]+g[i],c-A,Math.min(Math.max(-d[i]+g[i]+(s===P?h:m),c+A),t[i],"center"===y?c-E:1e9))):(o*=r===V?2:0,k>0&&(y!==i||O>0)?(t[i]-=A+o,f.invert(e,i)):O>0&&(y!==a||k>0)&&(t[i]-=(y===B?-A:A)+o,f.invert(e,a)),t[i]<v[i]&&-t[i]>O&&(t[i]=c,f=_.clone())),t[i]-c}var c,f,d,p,h,m,v,g,y=n.target,b=e.elements.tooltip,_=n.my,w=n.at,x=n.adjust,E=x.method.split(" "),T=E[0],S=E[1]||E[0],k=n.viewport,O=n.container,A={left:0,top:0};return k.jquery&&y[0]!==a&&y[0]!==s.body&&"none"!==x.method?(d=O.offset()||A,p="static"===O.css("position"),c="fixed"===b.css("position"),h=k[0]===a?k.width():k.outerWidth(R),m=k[0]===a?k.height():k.outerHeight(R),v={left:c?0:k.scrollLeft(),top:c?0:k.scrollTop()},g=k.offset()||A,"shift"===T&&"shift"===S||(f=_.clone()),A={left:"none"!==T?u(N,M,T,x.x,j,U,P,r,i):0,top:"none"!==S?u(M,N,S,x.y,D,F,L,o,l):0,my:f}):A},H.polys={polygon:function(e,t){var n,r,o,i={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:R},a=0,s=[],l=1,u=1,c=0,f=0;for(a=e.length;a--;)n=[parseInt(e[--a],10),parseInt(e[a+1],10)],n[0]>i.position.right&&(i.position.right=n[0]),n[0]<i.position.left&&(i.position.left=n[0]),n[1]>i.position.bottom&&(i.position.bottom=n[1]),n[1]<i.position.top&&(i.position.top=n[1]),s.push(n);if(r=i.width=Math.abs(i.position.right-i.position.left),o=i.height=Math.abs(i.position.bottom-i.position.top),"c"===t.abbrev())i.position={left:i.position.left+i.width/2,top:i.position.top+i.height/2};else{for(;r>0&&o>0&&l>0&&u>0;)for(r=Math.floor(r/2),o=Math.floor(o/2),t.x===j?l=r:t.x===U?l=i.width-r:l+=Math.floor(r/2),t.y===D?u=o:t.y===F?u=i.height-o:u+=Math.floor(o/2),a=s.length;a--&&!(s.length<2);)c=s[a][0]-i.position.left,f=s[a][1]-i.position.top,(t.x===j&&c>=l||t.x===U&&c<=l||t.x===B&&(c<l||c>i.width-l)||t.y===D&&f>=u||t.y===F&&f<=u||t.y===B&&(f<u||f>i.height-u))&&s.splice(a,1);i.position={left:s[0][0],top:s[0][1]}}return i},rect:function(e,t,n,r){return{width:Math.abs(n-e),height:Math.abs(r-t),position:{left:Math.min(e,n),top:Math.min(t,r)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:.25,bl:.75,rc:2,lc:1,c:0},ellipse:function(e,t,n,r,o){var i=H.polys._angles[o.abbrev()],a=0===i?0:n*Math.cos(i*Math.PI),s=r*Math.sin(i*Math.PI);return{width:2*n-Math.abs(a),height:2*r-Math.abs(s),position:{left:e+a,top:t+s},adjustable:R}},circle:function(e,t,n,r){return H.polys.ellipse(e,t,n,n,r)}},H.svg=function(t,n,r){for(var o,i,a,l,u,c,f,d,p,h=n[0],m=e(h.ownerSVGElement),v=h.ownerDocument,g=(parseInt(n.css("stroke-width"),10)||0)/2;!h.getBBox;)h=h.parentNode;if(!h.getBBox||!h.parentNode)return R;switch(h.nodeName){case"ellipse":case"circle":d=H.polys.ellipse(h.cx.baseVal.value,h.cy.baseVal.value,(h.rx||h.r).baseVal.value+g,(h.ry||h.r).baseVal.value+g,r);break;case"line":case"polygon":case"polyline":for(f=h.points||[{x:h.x1.baseVal.value,y:h.y1.baseVal.value},{x:h.x2.baseVal.value,y:h.y2.baseVal.value}],d=[],c=-1,l=f.numberOfItems||f.length;++c<l;)u=f.getItem?f.getItem(c):f[c],d.push.apply(d,[u.x,u.y]);d=H.polys.polygon(d,r);break;default:d=h.getBBox(),d={width:d.width,height:d.height,position:{left:d.x,top:d.y}}}return p=d.position,m=m[0],m.createSVGPoint&&(i=h.getScreenCTM(),f=m.createSVGPoint(),f.x=p.left,f.y=p.top,a=f.matrixTransform(i),p.left=a.x,p.top=a.y),v!==s&&"mouse"!==t.position.target&&(o=e((v.defaultView||v.parentWindow).frameElement).offset())&&(p.left+=o.left,p.top+=o.top),v=e(v),p.left+=v.scrollLeft(),p.top+=v.scrollTop(),d},H.imagemap=function(t,n,r){n.jquery||(n=e(n));var o,i,a,s,l,u=(n.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),c=e('img[usemap="#'+n.parent("map").attr("name")+'"]'),f=e.trim(n.attr("coords")),d=f.replace(/,$/,"").split(",");if(!c.length)return R;if("polygon"===u)s=H.polys.polygon(d,r);else{if(!H.polys[u])return R;for(a=-1,l=d.length,i=[];++a<l;)i.push(parseInt(d[a],10));s=H.polys[u].apply(this,i.concat(r))}return o=c.offset(),o.left+=Math.ceil((c.outerWidth(R)-c.width())/2),o.top+=Math.ceil((c.outerHeight(R)-c.height())/2),s.position.left+=o.left,s.position.top+=o.top,s};var ke;e.extend(E.prototype,{_scroll:function(){var t=this.qtip.elements.overlay;t&&(t[0].style.top=e(a).scrollTop()+"px")},init:function(t){var n=t.tooltip;e("select, object").length<1&&(this.bgiframe=t.elements.bgiframe=e('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(n),t._bind(n,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=e("<div/>",{id:W+"-rcontainer"}).appendTo(s.body),t.elements.overlay&&t.elements.overlay.addClass("qtipmodal-ie6fix")&&(t._bind(a,["scroll","resize"],this._scroll,this._ns,this),t._bind(n,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var e,t,n=this.qtip.tooltip,r={height:n.outerHeight(R),width:n.outerWidth(R)},o=this.qtip.plugins.tip,i=this.qtip.elements.tip;t=parseInt(n.css("borderLeftWidth"),10)||0,t={left:-t,top:-t},o&&i&&(e="x"===o.corner.precedance?[P,j]:[L,D],t[e[1]]-=i[e[0]]()),this.bgiframe.css(t).css(r)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var e,t,n,r,o=this.qtip.tooltip,i=this.qtip.options.style,a=this.qtip.options.position.container;return this.qtip.drawing=1,i.height&&o.css(L,i.height),i.width?o.css(P,i.width):(o.css(P,"").appendTo(this.redrawContainer),t=o.width(),t%2<1&&(t+=1),n=o.css("maxWidth")||"",r=o.css("minWidth")||"",e=(n+r).indexOf("%")>-1?a.width()/100:0,n=(n.indexOf("%")>-1?e:1*parseInt(n,10))||t,r=(r.indexOf("%")>-1?e:1*parseInt(r,10))||0,t=n+r?Math.min(Math.max(t,r),n):t,o.css(P,Math.round(t)).appendTo(a)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([a,this.qtip.tooltip],this._ns)}}),ke=H.ie6=function(e){return 6===re.ie?new E(e):R},ke.initialize="render",O.ie6={"^content|style$":function(){this.redraw()}}})}(window,document)},function(e,t){e.exports={version:"5.11.1",supportedLanguages:["en","cs","da","de","el","es","fi","fr","hu","id","in","it","ja","ko","ms","nb","nl-NL","ok-PL","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]}},function(e,t,n){e.exports=n(1100)},function(e,t,n){var r=n(138);e.exports=function(e,t,n){for(var o in t)n&&n.unsafe&&e[o]?e[o]=t[o]:r(e,o,t[o],n);return e}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(153)),i=r(n(140)),a=r(n(39)),s=n(2),l=r(n(43)),u=r(n(55)),c=r(n(41)),f=r(n(28)),d=r(n(198)),p=d.default.extend({extraProperties:!0,flat:!1,props:{id:"string",factorType:{type:"string",values:["sms","call","email","token","token:software:totp","token:hotp","token:hardware","question","push","u2f","password","assertion:saml2","assertion:oidc","claims_provider","webauthn"]},provider:{type:"string",values:["OKTA","RSA","DEL_OATH","SYMANTEC","GOOGLE","YUBICO","FIDO","CUSTOM","GENERIC_SAML","GENERIC_OIDC"]},enrollment:{type:"string",values:["OPTIONAL","REQUIRED"]},status:{type:"string",values:["NOT_SETUP","ACTIVE"]},profile:["object"],vendorName:"string",policy:["object"],profiles:["object"]},local:{answer:"string",password:"string",backupFactor:"object",showAnswer:"boolean",rememberDevice:"boolean",autoPush:["boolean",!0,!1]},derived:{isOktaFactor:{deps:["provider"],fn:function(e){return"OKTA"===e}},factorName:{deps:["provider","factorType"],fn:c.default.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(e,t,n){return s._.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],e)?n:c.default.getFactorLabel.apply(this,[e,t])}},factorDescription:{deps:["provider","factorType"],fn:c.default.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:c.default.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:c.default.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(e,t){return"question"!==t?null:e&&c.default.getSecurityQuestionLabel(e)}},phoneNumber:{deps:["profile","factorType"],fn:function(e,t){return s._.contains(["sms","call"],t)?e&&e.phoneNumber:null}},email:{deps:["profile","factorType"],fn:function(e,t){return"email"===t?e&&e.email:null}},deviceName:{deps:["profile","factorType"],fn:function(e,t){return"push"!==t?null:e&&e.name}},enrolled:{deps:["status"],fn:function(e){return"ACTIVE"===e}},cardinality:{deps:["policy","profiles"],fn:function(e,t){if(t&&t.length>0){var n=t[0],r=n._embedded.enrolledFactors.length,o=s._.findWhere(n._embedded.features,{type:"adoption"});return!(!o||!o.cardinality)&&{enrolled:r,minimum:o.cardinality.min,maximum:o.cardinality.max}}return!(!e||!e.enrollment)&&e.enrollment}},additionalEnrollment:{deps:["cardinality"],fn:function(e){return!!e&&(0!==e.enrolled&&e.enrolled<e.maximum)}},required:{deps:["enrollment"],fn:function(e){return"REQUIRED"===e}},canUseResend:{deps:["provider","factorType"],fn:function(e,t){return"OKTA"===e&&s._.contains(["push","sms","call","email"],t)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return s._.contains(["sms","call","email","token","token:software:totp","question"],e)}},isFactorTypeVerification:{deps:["provider","id"],fn:function(e,t){return void 0===e&&void 0===t}}},parse:function(e){return this.settings=e.settings,this.appState=e.appState,e.rememberDevice=c.default.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(e),s._.omit(e,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:(0,s.loc)("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:(0,s.loc)("error.password.required")}},needsPasscode:function(){return!(this.options.appState.get("isIdxStateToken")&&"email"===this.get("factorType"))},resend:function(){return this.trigger("form:clear-errors"),this.manageTransaction(function(e){var t=e.data._links.resend[0];return e.resend(t.name)})},save:function(){var e=!!this.get("rememberDevice"),t=this;return this.manageTransaction(function(n,r){var o={rememberDevice:e};"question"===this.get("factorType")?o.answer=this.get("answer"):"password"===this.get("factorType")?o.password=this.get("password"):this.needsPasscode()&&(o.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(o.autoPush=this.get("autoPush"));var i;if("MFA_REQUIRED"===n.status||"FACTOR_REQUIRED"===n.status||this.appState.get("promptForFactorInUnauthenticated")){i=this._findFactor(n).verify(o)}else if(this.get("canUseResend")&&!this.get("answer")&&n.resend){var a=n.data._links.resend[0];i=n.resend(a.name)}else i=n.verify(o);return this.trigger("save"),i.then(function(e){var n={delay:4e3,transactionCallBack:function(e){t.options.appState.set("lastAuthResponse",e)}};if(r(e),"MFA_CHALLENGE"===e.status&&e.poll||"FACTOR_CHALLENGE"===e.status&&e.poll){var o=l.default.defer(),i=f.default.callAfterTimeout(o.resolve,4e3);return t.listenToOnce(t.options.appState,"factorSwitched",function(){clearTimeout(i),o.reject(new u.default.AuthStopPollInitiationError)}),o.promise.then(function(){return t.stopListening(t.options.appState,"factorSwitched"),t.pushFactorHasAutoPush()&&(n.autoPush=function(){return t.get("autoPush")},n.rememberDevice=function(){return t.get("rememberDevice")}),e.poll(n).then(function(e){t.options.appState.set("lastAuthResponse",e.data),r(e)})})}})})},_findFactor:function(e){var t;return e.factorTypes&&(t=s._.findWhere(e.factorTypes,{factorType:this.get("factorType")})),t||(t=s._.findWhere(e.factors,{id:this.get("id")})),t},pushFactorHasAutoPush:function(){return this.settings.get("features.autoPush")&&"push"===this.get("factorType")},setCustomHotpVendorName:function(e){if("token:hotp"===e.factorType&&e.profiles)if("NOT_SETUP"===e.status)e.vendorName=e.profiles[0].name;else if("ACTIVE"===e.status){var t,n=(0,a.default)(t=e.profiles).call(t,function(e){return e._embedded.enrolledFactors.length>0});e.vendorName=n[0].name}return e}}),h=s.Collection.extend({model:p,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];var t,n=s._.findWhere(e,{provider:"OKTA",factorType:"push"});if(t=s._.where(e,{factorType:"push"}).length>1?s._.findWhere(e,{factorType:"token:software:totp"}):s._.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;var r=t===e[0],o=(0,i.default)(s._).call(s._,e,function(e,r){var o="OKTA"===r.provider,i=o&&"token:software:totp"===r.factorType,a=o&&"push"===r.factorType,s="ACTIVE"!==r.status,l=i&&(s||"ACTIVE"===n.status),u=a&&s&&"ACTIVE"===t.status;return l||u?e:(a&&(r.backupFactor=new p(t,{parse:!0})),e.push(r),e)},[]);return r&&(this.lastUsedFactor=n),o},getDefaultFactor:function(){var e=s._.pick(this.lastUsedFactor,"factorType","provider");return this.findWhere(e)},getFirstUnenrolledRequiredFactor:function(){return this.findWhere({required:!0,enrolled:!1})},_getFactorsOfType:function(e){return this.where({factorType:e})},getFactorIndex:function(e,t){var n;return(0,o.default)(n=this._getFactorsOfType(e)).call(n,function(e){return e.get("id")===t})},hasMultipleFactorsOfSameType:function(e){return this._getFactorsOfType(e).length>1},getFactorByTypeAndIndex:function(e,t){return this._getFactorsOfType(e)[t]}}),m={Model:p,Collection:h};t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(140)),i={};i.getStringHash=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},i.base64UrlSafeToBase64=function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},i.binToStr=function(e){var t;return btoa((0,o.default)(t=new Uint8Array(e)).call(t,function(e,t){return e+String.fromCharCode(t)},""))},i.strToBin=function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),function(e){return e.charCodeAt(0)})};var a=i;t.default=a},function(e,t,n){var r=n(184),o=n(38),i=n(59),a=n(86).f,s=n(228),l=n(540),u=s("meta"),c=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,u,{value:{objectID:"O"+ ++c,weakData:{}}})},p=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[u].objectID},h=function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[u].weakData},m=function(e){return l&&v.REQUIRED&&f(e)&&!i(e,u)&&d(e),e},v=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:m};r[u]=!0},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=r.internal.util.Cookie,i={};i.getCookieUsername=function(){return o.getCookie("ln")},i.setUsernameCookie=function(e){o.setCookie("ln",e,{expires:365,path:"/"})},i.removeUsernameCookie=function(){o.removeCookie("ln",{path:"/"})};var a=i;t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=r(n(11)),l=a.internal.util.Util,u=a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link '+u((a=null!=(a=c(n,"linkClassName")||(null!=t?c(t,"linkClassName"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"linkClassName",hash:{},data:i,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):a))+'" data-se="signout-link">'+u((a=null!=(a=c(n,"linkText")||(null!=t?c(t,"linkText"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"linkText",hash:{},data:i,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):a))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{'click a[data-se="signout-link"]':"handleSignout"},handleSignout:function(e){var t=this;e.preventDefault();var n=this.options.appState;n.trigger("signOut");var r=n.get("isSMSPasswordRecovery");this.model.doTransaction(function(e){return e.cancel()}).then(function(){t.settings.get("signOutLink")&&!r?l.redirect(t.settings.get("signOutLink")):(t.state.set("navigateDir",s.default.DIRECTION_BACK),n.trigger("navigate",""))})},getTemplateData:function(){return{linkClassName:a._.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||(0,a.loc)("goback","login")}}});t.default=u},function(e,t,n){"use strict";function r(e,t,n){var r=a.default.defer();return e.animate({"text-indent":1},{duration:200,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","scale("+r+", "+r+")")},always:function(){r.resolve(e)}}),r.promise}function o(e,t,n){var r=a.default.defer();return e.animate({"text-indent":1},{duration:150,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","rotate("+r+"deg)")},always:function(){r.resolve(e)}}),r.promise}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(43)),s=i(n(11)),l={};l.swapPages=function(e){var t=a.default.defer(),n=e.$parent,r=e.$oldRoot,o=e.$newRoot,i=e.success,l=e.ctx,u="transition-from-right";return e.dir&&e.dir===s.default.DIRECTION_BACK&&(u="transition-from-left"),o.addClass(u),n.append(o),n.addClass("animation-container-overflow"),o.animate({left:"0px",top:"0px",opacity:1},200,function(){n.removeClass("animation-container-overflow"),o.removeClass(u),o.removeAttr("style"),i.call(l),t.resolve()}),r.animate({height:o.height(),opacity:0},160),t.promise},l.swapBeacons=function(e){var t=e.$el,n=e.swap,r=e.ctx;return this.implode(t).then(function(){return n.call(r),t}).then(this.explode)},l.explode=function(e){return r(e,0,1)},l.implode=function(e){return r(e,1,0)},l.radialProgressBar=function(e){var t=e.$el,n=e.swap,r=t.children();return o(r,0,180).then(function(){t.css({clip:"auto"})}).then(function(){var e=r.eq(0);return n(),o(e,180,360)}).then(function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),r.css({transform:"rotate(0deg)","text-indent":"1px"})})};var u=l;t.default=u},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(){sessionStorage.removeItem("osw-oie-state-handle"),sessionStorage.removeItem("osw-oie-last-initiated-login-url")},o=function(e){sessionStorage.setItem("osw-oie-state-handle",e),sessionStorage.setItem("osw-oie-last-initiated-login-url",window.location.href)},i=function(){return sessionStorage.getItem("osw-oie-state-handle")},a=function(){return sessionStorage.getItem("osw-oie-last-initiated-login-url")},s=function(){sessionStorage.removeItem("osw-oie-resend-timestamp")},l=function(e){sessionStorage.setItem("osw-oie-resend-timestamp",e)},u=function(){return sessionStorage.getItem("osw-oie-resend-timestamp")},c={removeStateHandle:r,setStateHandle:o,getStateHandle:i,getLastInitiatedLoginUrl:a,removeResendTimestamp:s,setResendTimestamp:l,getResendTimestamp:u};t.default=c},function(e,t,n){var r=n(564),o=n(250);e.exports=function(e){return r(o(e))}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(163),o=n(567),i=n(165),a=n(565),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(91),o=n(338),i=n(164),a=n(572),s=n(575),l=n(1273),u=o("wks"),c=r.Symbol,f=l?c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)&&(s||"string"==typeof u[e])||(s&&i(c,e)?u[e]=c[e]:u[e]=f("Symbol."+e)),u[e]}},function(e,t,n){"use strict";function r(e,t){var n=a(e);if(s){var r=s(e);t&&(r=l(r).call(r,function(t){return u(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;c(o=r(Object(n),!0)).call(o,function(t){(0,g.default)(e,t,n[t])})}else if(f)d(e,f(n));else{var i;c(i=r(Object(n))).call(i,function(t){p(e,t,u(n,t))})}}return e}function i(){this.handlers=[],this.use=function(e){this.handlers.push({before:e})},this.clear=function(){this.handlers=[]}}var a=n(256),s=n(343),l=n(257),u=n(344),c=n(202),f=n(345),d=n(346),p=n(80),h=n(90);p(t,"__esModule",{value:!0}),t.request=t.HttpClient=void 0;var m=h(n(162)),v=h(n(202)),g=h(n(347)),y=h(n(166)),b=h(n(505)),_=n(1287),w={interceptors:{request:new i}};t.HttpClient=w;var x=function(){function e(e,n){return t.apply(this,arguments)}var t=(0,y.default)(m.default.mark(function e(t,n){var r,i,a,s,l,u,c,f,d,p;return m.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.method,i=void 0===r?"POST":r,a=n.headers,s=void 0===a?{}:a,l=n.credentials,u=void 0===l?"include":l,c=n.body,f={url:t,method:i,headers:o(o({},(0,_.userAgentHeaders)()),s),credentials:u,body:c},w.interceptors&&(0,v.default)(d=w.interceptors.request.handlers).call(d,function(e){e.before(f)}),p=f.url,delete f.url,e.abrupt("return",(0,b.default)(p,f));case 6:case"end":return e.stop()}},e)}));return e}();t.request=x},function(e,t,n){e.exports=n(457)},function(e,t,n){e.exports=n(488)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(155)),i=r(n(321)),a=n(2),s=n(107),l={startPolling:function(e){this.fixedPollingInterval=this.options.currentViewState.refresh,this.dynamicPollingInterval=e,this.countDownCounterValue=Math.ceil(this.pollingInterval/s.MS_PER_SEC),this.fixedPollingInterval?this._startRemediationPolling():this._startAuthenticatorPolling()},_startAuthenticatorPolling:function(){var e,t=this;(0,i.default)(e=["currentAuthenticator","currentAuthenticatorEnrollment"]).call(e,function(e){if(t.options.appState.has(e)){var n,r=t.options.appState.get(e),i="".concat(e,"-poll"),s=t.dynamicPollingInterval||(null===r||void 0===r?void 0:null===(n=r.poll)||void 0===n?void 0:n.refresh);return a._.isNumber(s)&&(t.polling=(0,o.default)(function(){t.options.appState.trigger("invokeAction",i)},s)),!0}return!1})},_startRemediationPolling:function(){var e=this,t=this.dynamicPollingInterval||this.fixedPollingInterval;a._.isNumber(t)&&(this.polling=(0,o.default)(function(){e.options.appState.trigger("saveForm",e.model)},t))},stopPolling:function(){this.polling&&(clearInterval(this.polling),this.polling=null)}};t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(18)),a=r(n(4)),s=n(2),l=n(5),u=r(n(14)),c=n(204),f=l.BaseForm.extend({title:function(){return(0,s.loc)("oie.password.enroll.title","login")},save:function(){return(0,s.loc)("oform.next","login")},initialize:function(){l.BaseForm.prototype.initialize.apply(this,arguments);var e=this.getPasswordPolicySettings();this.displayPasswordPolicy(e)},displayPasswordPolicy:function(e){if(e){var t=(0,c.getPasswordComplexityDescriptionForHtmlList)(e);this.add(s.View.extend({tagName:"section",template:a.default.template({1:function(e,t,n,r,o){return"<li>"+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="password-authenticator--heading">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:115}}}))+'</div><ul class="password-authenticator--list">'+(null!=(i=s(n,"each").call(a,null!=t?s(t,"rulesList"):t,{name:"each",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:162},end:{line:1,column:207}}}))?i:"")+"</ul>"},useData:!0}),getTemplateData:function(){return{rulesList:t}},attributes:{"data-se":"password-authenticator--rules"}}),{prepend:!0,selector:".o-form-fieldset-container"})}},triggerAfterError:function(e,t){t.responseJSON=(0,c.removeRequirementsFromError)(t.responseJSON),this.options.appState.trigger("afterError",t)},getPasswordPolicySettings:function(){var e,t=this.options.currentViewState.relatesTo;return null===t||void 0===t?void 0:null===(e=t.value)||void 0===e?void 0:e.settings},getUISchema:function(){var e=l.BaseForm.prototype.getUISchema.apply(this,arguments);return(0,i.default)(e).call(e,[{name:"confirmPassword",label:(0,s.loc)("oie.password.confirmPasswordLabel","login"),type:"password","label-top":!0,params:{showPasswordToggle:this.settings.get("showPasswordToggle")}}])}}),d=u.default.extend({Body:f,createModelClass:function(){var e=l.BaseView.prototype.createModelClass.apply(this,arguments),t=(0,o.default)({confirmPassword:{type:"string",required:!0}},e.prototype.local);return e.extend({local:t,validate:function(){if(this.get("credentials.passcode")!==this.get("confirmPassword")&&this.get("credential.value")!==this.get("confirmPassword")){return{confirmPassword:(0,s.loc)("password.error.match","login")}}return null}})}});t.default=d},function(e,t,n){var r=n(9),o=n(15),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(9),o=n(50);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(263),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(9),o=n(261),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(71),o=n(263);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(63),o=n(123),i=n(267),a=n(16);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(124),o=n(143),i=n(6);e.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!Symbol.sham&&(r?38===o:o>37&&o<41)})},function(e,t,n){var r=n(19),o=n(25),i=n(16),a=n(174);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(6);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(20),o=n(176),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(20),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},function(e,t,n){"use strict";var r=n(33),o=n(109),i=n(23);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:o(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(3),o=n(275),i=n(73),a=n(111),s=n(82),l=n(50),u=n(51),c=n(20),f=n(71),d=n(176),p=n(375),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g=function(){return this};e.exports=function(e,t,n,c,p,y,b){o(n,t,c);var _,w,x,E=function(e){if(e===p&&A)return A;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",S=!1,k=e.prototype,O=k[v]||k["@@iterator"]||p&&k[p],A=!m&&O||E(p),C="Array"==t?k.entries||O:O;if(C&&(_=i(C.call(new e)),h!==Object.prototype&&_.next&&(f||i(_)===h||(a?a(_,h):"function"!=typeof _[v]&&l(_,v,g)),s(_,T,!0,!0),f&&(d[T]=g))),"values"==p&&O&&"values"!==O.name&&(S=!0,A=function(){return O.call(this)}),f&&!b||k[v]===A||l(k,v,A),d[t]=A,p)if(w={values:E("values"),keys:y?A:E("keys"),entries:E("entries")},b)for(x in w)!m&&!S&&x in k||u(k,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){"use strict";var r=n(375).IteratorPrototype,o=n(93),i=n(99),a=n(82),s=n(176),l=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),s[u]=l,e}},function(e,t,n){var r=n(181);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(20),o=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(3),o=n(215);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(23),o=n(280),i=n(49),a=Math.ceil,s=function(e){return function(t,n,s){var l,u,c=String(i(t)),f=c.length,d=void 0===s?" ":String(s),p=r(n);return p<=f||""==d?c:(l=p-f,u=o.call(d,a(l/d.length)),u.length>l&&(u=u.slice(0,l)),e?c+u:u+c)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(72),o=n(49);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t,n){var r=n(6),o=n(219),i="​᠎";e.exports=function(e){return r(function(){return!!o[e]()||i[e]()!=i||o[e].name!==e})}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(9),s=n(6),l=n(110),u=n(365),c=n(260),f=n(389),d=n(124),p=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){w(e)}},E=function(e){w(e.data)},T=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},d?r=function(e){v.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:g&&!f?(o=new g,i=o.port2,o.port1.onmessage=E,r=l(i.postMessage,i,1)):a.addEventListener&&"function"==typeof postMessage&&!a.importScripts&&p&&"file:"!==p.protocol&&!s(T)?(r=T,a.addEventListener("message",E,!1)):r="onreadystatechange"in c("script")?function(e){u.appendChild(c("script")).onreadystatechange=function(){u.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}),e.exports={set:h,clear:m}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},function(e,t,n){var r=n(9),o=n(6),i=n(209),a=n(21).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o(function(){l(1)})||!o(function(){new l(-1)})||!i(function(e){new l,new l(null),new l(1.5),new l(e)},!0)||o(function(){return 1!==new l(new s(2),1,void 0).length})},function(e,t,n){var r=n(34),o=n(38),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(83),o=n(66),i=n(289),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(148),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(861);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(87),o=n(402);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(29);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r=n(35),o=r("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[o]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(31);n.d(t,"VERSION",function(){return r.e});var o=n(68);n.d(t,"restArguments",function(){return o.a});var i=n(132);n.d(t,"isObject",function(){return i.a});var a=n(867);n.d(t,"isNull",function(){return a.a});var s=n(406);n.d(t,"isUndefined",function(){return s.a});var l=n(407);n.d(t,"isBoolean",function(){return l.a});var u=n(868);n.d(t,"isElement",function(){return u.a});var c=n(297);n.d(t,"isString",function(){return c.a});var f=n(408);n.d(t,"isNumber",function(){return f.a});var d=n(869);n.d(t,"isDate",function(){return d.a});var p=n(870);n.d(t,"isRegExp",function(){return p.a});var h=n(871);n.d(t,"isError",function(){return h.a});var m=n(409);n.d(t,"isSymbol",function(){return m.a});var v=n(410);n.d(t,"isArrayBuffer",function(){return v.a});var g=n(298);n.d(t,"isDataView",function(){return g.a});var y=n(133);n.d(t,"isArray",function(){return y.a});var b=n(75);n.d(t,"isFunction",function(){return b.a});var _=n(299);n.d(t,"isArguments",function(){return _.a});var w=n(873);n.d(t,"isFinite",function(){return w.a});var x=n(411);n.d(t,"isNaN",function(){return x.a});var E=n(412);n.d(t,"isTypedArray",function(){return E.a});var T=n(875);n.d(t,"isEmpty",function(){return T.a});var S=n(417);n.d(t,"isMatch",function(){return S.a});var k=n(876);n.d(t,"isEqual",function(){return k.a});var O=n(878);n.d(t,"isMap",function(){return O.a});var A=n(879);n.d(t,"isWeakMap",function(){return A.a});var C=n(880);n.d(t,"isSet",function(){return C.a});var R=n(881);n.d(t,"isWeakSet",function(){return R.a});var I=n(47);n.d(t,"keys",function(){return I.a});var N=n(186);n.d(t,"allKeys",function(){return N.a});var M=n(149);n.d(t,"values",function(){return M.a});var P=n(882);n.d(t,"pairs",function(){return P.a});var L=n(418);n.d(t,"invert",function(){return L.a});var D=n(419);n.d(t,"functions",function(){return D.a}),n.d(t,"methods",function(){return D.a});var j=n(420);n.d(t,"extend",function(){return j.a});var F=n(303);n.d(t,"extendOwn",function(){return F.a}),n.d(t,"assign",function(){return F.a});var U=n(421);n.d(t,"defaults",function(){return U.a});var B=n(883);n.d(t,"create",function(){return B.a});var V=n(423);n.d(t,"clone",function(){return V.a});var q=n(884);n.d(t,"tap",function(){return q.a});var H=n(424);n.d(t,"get",function(){return H.a});var W=n(885);n.d(t,"has",function(){return W.a});var z=n(886);n.d(t,"mapObject",function(){return z.a});var K=n(305);n.d(t,"identity",function(){return K.a});var $=n(413);n.d(t,"constant",function(){return $.a});var G=n(428);n.d(t,"noop",function(){return G.a});var Y=n(425);n.d(t,"toPath",function(){return Y.a});var J=n(306);n.d(t,"property",function(){return J.a});var Q=n(887);n.d(t,"propertyOf",function(){return Q.a});var X=n(230);n.d(t,"matcher",function(){return X.a}),n.d(t,"matches",function(){return X.a});var Z=n(888);n.d(t,"times",function(){return Z.a});var ee=n(429);n.d(t,"random",function(){return ee.a});var te=n(307);n.d(t,"now",function(){return te.a});var ne=n(889);n.d(t,"escape",function(){return ne.a});var re=n(890);n.d(t,"unescape",function(){return re.a});var oe=n(432);n.d(t,"templateSettings",function(){return oe.a});var ie=n(892);n.d(t,"template",function(){return ie.a});var ae=n(893);n.d(t,"result",function(){return ae.a});var se=n(894);n.d(t,"uniqueId",function(){return se.a});var le=n(895);n.d(t,"chain",function(){return le.a});var ue=n(427);n.d(t,"iteratee",function(){return ue.a});var ce=n(231);n.d(t,"partial",function(){return ce.a});var fe=n(434);n.d(t,"bind",function(){return fe.a});var de=n(896);n.d(t,"bindAll",function(){return de.a});var pe=n(897);n.d(t,"memoize",function(){return pe.a});var he=n(435);n.d(t,"delay",function(){return he.a});var me=n(898);n.d(t,"defer",function(){return me.a});var ve=n(899);n.d(t,"throttle",function(){return ve.a});var ge=n(900);n.d(t,"debounce",function(){return ge.a});var ye=n(901);n.d(t,"wrap",function(){return ye.a});var be=n(308);n.d(t,"negate",function(){return be.a});var _e=n(902);n.d(t,"compose",function(){return _e.a});var we=n(903);n.d(t,"after",function(){return we.a});var xe=n(436);n.d(t,"before",function(){return xe.a});var Ee=n(904);n.d(t,"once",function(){return Ee.a});var Te=n(437);n.d(t,"findKey",function(){return Te.a});var Se=n(309);n.d(t,"findIndex",function(){return Se.a});var ke=n(439);n.d(t,"findLastIndex",function(){return ke.a});var Oe=n(440);n.d(t,"sortedIndex",function(){return Oe.a});var Ae=n(441);n.d(t,"indexOf",function(){return Ae.a});var Ce=n(905);n.d(t,"lastIndexOf",function(){return Ce.a});var Re=n(443);n.d(t,"find",function(){return Re.a}),n.d(t,"detect",function(){return Re.a});var Ie=n(906);n.d(t,"findWhere",function(){return Ie.a});var Ne=n(134);n.d(t,"each",function(){return Ne.a}),n.d(t,"forEach",function(){return Ne.a});var Me=n(151);n.d(t,"map",function(){return Me.a}),n.d(t,"collect",function(){return Me.a});var Pe=n(907);n.d(t,"reduce",function(){return Pe.a}),n.d(t,"foldl",function(){return Pe.a}),n.d(t,"inject",function(){return Pe.a});var Le=n(908);n.d(t,"reduceRight",function(){return Le.a}),n.d(t,"foldr",function(){return Le.a});var De=n(189);n.d(t,"filter",function(){return De.a}),n.d(t,"select",function(){return De.a});var je=n(909);n.d(t,"reject",function(){return je.a});var Fe=n(910);n.d(t,"every",function(){return Fe.a}),n.d(t,"all",function(){return Fe.a});var Ue=n(911);n.d(t,"some",function(){return Ue.a}),n.d(t,"any",function(){return Ue.a});var Be=n(190);n.d(t,"contains",function(){return Be.a}),n.d(t,"includes",function(){return Be.a}),n.d(t,"include",function(){return Be.a});var Ve=n(912);n.d(t,"invoke",function(){return Ve.a});var qe=n(310);n.d(t,"pluck",function(){return qe.a});var He=n(913);n.d(t,"where",function(){return He.a});var We=n(445);n.d(t,"max",function(){return We.a});var ze=n(914);n.d(t,"min",function(){return ze.a});var Ke=n(915);n.d(t,"shuffle",function(){return Ke.a});var $e=n(446);n.d(t,"sample",function(){return $e.a});var Ge=n(916);n.d(t,"sortBy",function(){return Ge.a});var Ye=n(917);n.d(t,"groupBy",function(){return Ye.a});var Je=n(918);n.d(t,"indexBy",function(){return Je.a});var Qe=n(919);n.d(t,"countBy",function(){return Qe.a});var Xe=n(920);n.d(t,"partition",function(){return Xe.a});var Ze=n(921);n.d(t,"toArray",function(){return Ze.a});var et=n(922);n.d(t,"size",function(){return et.a});var tt=n(447);n.d(t,"pick",function(){return tt.a});var nt=n(924);n.d(t,"omit",function(){return nt.a});var rt=n(925);n.d(t,"first",function(){return rt.a}),n.d(t,"head",function(){return rt.a}),n.d(t,"take",function(){return rt.a});var ot=n(448);n.d(t,"initial",function(){return ot.a});var it=n(926);n.d(t,"last",function(){return it.a});var at=n(449);n.d(t,"rest",function(){return at.a}),n.d(t,"tail",function(){return at.a}),n.d(t,"drop",function(){return at.a});var st=n(927);n.d(t,"compact",function(){return st.a});var lt=n(928);n.d(t,"flatten",function(){return lt.a});var ut=n(929);n.d(t,"without",function(){return ut.a});var ct=n(451);n.d(t,"uniq",function(){return ct.a}),n.d(t,"unique",function(){return ct.a});var ft=n(930);n.d(t,"union",function(){return ft.a});var dt=n(931);n.d(t,"intersection",function(){return dt.a});var pt=n(450);n.d(t,"difference",function(){return pt.a});var ht=n(452);n.d(t,"unzip",function(){return ht.a}),n.d(t,"transpose",function(){return ht.a});var mt=n(932);n.d(t,"zip",function(){return mt.a});var vt=n(933);n.d(t,"object",function(){return vt.a});var gt=n(934);n.d(t,"range",function(){return gt.a});var yt=n(935);n.d(t,"chunk",function(){return yt.a});var bt=n(936);n.d(t,"mixin",function(){return bt.a});var _t=n(937);n.d(t,"default",function(){return _t.a})},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("String")},function(e,t,n){"use strict";function r(e){return null!=e&&Object(i.a)(e.getInt8)&&Object(a.a)(e.buffer)}var o=n(54),i=n(75),a=n(410),s=n(185),l=Object(o.a)("DataView");t.a=s.a?r:l},function(e,t,n){"use strict";var r=n(54),o=n(116),i=Object(r.a)("Arguments");!function(){i(arguments)||(i=function(e){return Object(o.a)(e,"callee")})}(),t.a=i},function(e,t,n){"use strict";var r=n(415);t.a=Object(r.a)("byteLength")},function(e,t,n){"use strict";function r(e){var t=Object(o.a)(e);return function(n){if(null==n)return!1;var r=Object(a.a)(n);if(Object(o.a)(r))return!1;for(var l=0;l<t;l++)if(!Object(i.a)(n[e[l]]))return!1;return e!==f||!Object(i.a)(n[s])}}t.a=r,n.d(t,"b",function(){return c}),n.d(t,"d",function(){return f}),n.d(t,"c",function(){return d});var o=n(76),i=n(75),a=n(186),s="forEach",l=["clear","delete"],u=["get","has","set"],c=l.concat(s,u),f=l.concat(u),d=["add"].concat(l,s,"has")},function(e,t,n){"use strict";function r(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=i[u])}return n}}t.a=r},function(e,t,n){"use strict";var r=n(302),o=n(47);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";function r(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}t.a=r},function(e,t,n){"use strict";function r(e){return e}t.a=r},function(e,t,n){"use strict";function r(e){return e=Object(i.a)(e),function(t){return Object(o.a)(t,e)}}t.a=r;var o=n(304),i=n(187)},function(e,t,n){"use strict";t.a=Date.now||function(){return(new Date).getTime()}},function(e,t,n){"use strict";function r(e){return function(){return!e.apply(this,arguments)}}t.a=r},function(e,t,n){"use strict";var r=n(438);t.a=Object(r.a)(1)},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e,Object(i.a)(t))}t.a=r;var o=n(151),i=n(306)},function(e,t,n){var r=n(44),o=n(86),i=n(53),a=n(183);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(35),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},function(e,t,n){var r=n(53),o=n(951);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){e.exports=n(470)},function(e,t,n){var r=n(35);t.f=r},function(e,t,n){e.exports=n(480)},function(e,t,n){var r,o,i=n(34),a=n(318),s=i.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),o=r[0]+r[1]):a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=n(95);e.exports=r("navigator","userAgent")||""},function(e,t){},function(e,t,n){var r=n(405),o=n(294),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){e.exports=n(1021)},function(e,t,n){e.exports=n(1050)},function(e,t,n){var r=n(131),o=n(236),i="["+o+"]",a=RegExp("^"+i+i+"*"),s=RegExp(i+i+"*$"),l=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(s,"")),n}};e.exports={start:l(1),end:l(2),trim:l(3)}},function(e,t,n){e.exports=n(1055)},function(e,t,n){e.exports=n(1070)},function(e,t,n){var r,o;/*!
 * jQuery JavaScript Library v1.12.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2017-10-25T15:48Z
 */
!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,i){function a(e){var t=!!e&&"length"in e&&e.length,n=ve.type(e);return"function"!==n&&!ve.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(ve.isFunction(t))return ve.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ve.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ke.test(t))return ve.filter(t,e,n);t=ve.filter(t,e)}return ve.grep(e,function(e){return ve.inArray(e,t)>-1!==n})}function l(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function u(e){var t={};return ve.each(e.match(Ie)||[],function(e,n){t[n]=!0}),t}function c(){se.addEventListener?(se.removeEventListener("DOMContentLoaded",f),n.removeEventListener("load",f)):(se.detachEvent("onreadystatechange",f),n.detachEvent("onload",f))}function f(){(se.addEventListener||"load"===n.event.type||"complete"===se.readyState)&&(c(),ve.ready())}function d(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(De,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Le.test(n)?ve.parseJSON(n):n)}catch(e){}ve.data(e,t,n)}else n=void 0}return n}function p(e){var t;for(t in e)if(("data"!==t||!ve.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(Pe(e)){var o,i,a=ve.expando,s=e.nodeType,l=s?ve.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=ae.pop()||ve.guid++:a),l[u]||(l[u]=s?{}:{toJSON:ve.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=ve.extend(l[u],t):l[u].data=ve.extend(l[u].data,t)),i=l[u],r||(i.data||(i.data={}),i=i.data),void 0!==n&&(i[ve.camelCase(t)]=n),"string"==typeof t?null==(o=i[t])&&(o=i[ve.camelCase(t)]):o=i,o}}function m(e,t,n){if(Pe(e)){var r,o,i=e.nodeType,a=i?ve.cache:e,s=i?e[ve.expando]:ve.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ve.isArray(t)?t=t.concat(ve.map(t,ve.camelCase)):t in r?t=[t]:(t=ve.camelCase(t),t=t in r?[t]:t.split(" ")),o=t.length;for(;o--;)delete r[t[o]];if(n?!p(r):!ve.isEmptyObject(r))return}(n||(delete a[s].data,p(a[s])))&&(i?ve.cleanData([e],!0):me.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function v(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return ve.css(e,t,"")},l=s(),u=n&&n[3]||(ve.cssNumber[t]?"":"px"),c=(ve.cssNumber[t]||"px"!==u&&+l)&&Fe.exec(ve.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{i=i||".5",c/=i,ve.style(e,t,c+u)}while(i!==(i=s()/l)&&1!==i&&--a)}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}function g(e){var t=Ke.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,r,o=0,i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!i)for(i=[],n=e.childNodes||e;null!=(r=n[o]);o++)!t||ve.nodeName(r,t)?i.push(r):ve.merge(i,y(r,t));return void 0===t||t&&ve.nodeName(e,t)?ve.merge([e],i):i}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)ve._data(n,"globalEval",!t||ve._data(t[r],"globalEval"))}function _(e){qe.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t,n,r,o){for(var i,a,s,l,u,c,f,d=e.length,p=g(t),h=[],m=0;m<d;m++)if((a=e[m])||0===a)if("object"===ve.type(a))ve.merge(h,a.nodeType?[a]:a);else if(Ge.test(a)){for(l=l||p.appendChild(t.createElement("div")),u=(He.exec(a)||["",""])[1].toLowerCase(),f=$e[u]||$e._default,l.innerHTML=f[1]+ve.htmlPrefilter(a)+f[2],i=f[0];i--;)l=l.lastChild;if(!me.leadingWhitespace&&ze.test(a)&&h.push(t.createTextNode(ze.exec(a)[0])),!me.tbody)for(a="table"!==u||Ye.test(a)?"<table>"!==f[1]||Ye.test(a)?0:l:l.firstChild,i=a&&a.childNodes.length;i--;)ve.nodeName(c=a.childNodes[i],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(ve.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=p.lastChild}else h.push(t.createTextNode(a));for(l&&p.removeChild(l),me.appendChecked||ve.grep(y(h,"input"),_),m=0;a=h[m++];)if(r&&ve.inArray(a,r)>-1)o&&o.push(a);else if(s=ve.contains(a.ownerDocument,a),l=y(p.appendChild(a),"script"),s&&b(l),n)for(i=0;a=l[i++];)We.test(a.type||"")&&n.push(a);return l=null,p}function x(){return!0}function E(){return!1}function T(){try{return se.activeElement}catch(e){}}function S(e,t,n,r,o,i){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)S(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=E;else if(!o)return e;return 1===i&&(a=o,o=function(e){return ve().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=ve.guid++)),e.each(function(){ve.event.add(this,t,o,r,n)})}function k(e,t){return ve.nodeName(e,"table")&&ve.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function O(e){return e.type=(null!==ve.find.attr(e,"type"))+"/"+e.type,e}function A(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function C(e,t){if(1===t.nodeType&&ve.hasData(e)){var n,r,o,i=ve._data(e),a=ve._data(t,i),s=i.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,o=s[n].length;r<o;r++)ve.event.add(t,n,s[n][r])}a.data&&(a.data=ve.extend({},a.data))}}function R(e,t){var n,r,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ve.expando]){o=ve._data(t);for(r in o.events)ve.removeEvent(t,r,o.handle);t.removeAttribute(ve.expando)}"script"===n&&t.text!==e.text?(O(t).text=e.text,A(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ve.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&qe.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function I(e,t,n,r){t=ue.apply([],t);var o,i,a,s,l,u,c=0,f=e.length,d=f-1,p=t[0],h=ve.isFunction(p);if(h||f>1&&"string"==typeof p&&!me.checkClone&&ot.test(p))return e.each(function(o){var i=e.eq(o);h&&(t[0]=p.call(this,o,i.html())),I(i,t,n,r)});if(f&&(u=w(t,e[0].ownerDocument,!1,e,r),o=u.firstChild,1===u.childNodes.length&&(u=o),o||r)){for(s=ve.map(y(u,"script"),O),a=s.length;c<f;c++)i=u,c!==d&&(i=ve.clone(i,!0,!0),a&&ve.merge(s,y(i,"script"))),n.call(e[c],i,c);if(a)for(l=s[s.length-1].ownerDocument,ve.map(s,A),c=0;c<a;c++)i=s[c],We.test(i.type||"")&&!ve._data(i,"globalEval")&&ve.contains(l,i)&&(i.src?ve._evalUrl&&ve._evalUrl(i.src):ve.globalEval((i.text||i.textContent||i.innerHTML||"").replace(at,"")));u=o=null}return e}function N(e,t,n){for(var r,o=t?ve.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ve.cleanData(y(r)),r.parentNode&&(n&&ve.contains(r.ownerDocument,r)&&b(y(r,"script")),r.parentNode.removeChild(r));return e}function M(e,t){var n=ve(t.createElement(e)).appendTo(t.body),r=ve.css(n[0],"display");return n.detach(),r}function P(e){var t=se,n=ct[e];return n||(n=M(e,t),"none"!==n&&n||(ut=(ut||ve("<iframe frameborder='0' width='0' height='0'></iframe>")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write(),t.close(),n=M(e,t),ut.detach()),ct[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function D(e){if(e in St)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in St)return e}function j(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=ve._data(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Be(r)&&(i[a]=ve._data(r,"olddisplay",P(r.nodeName)))):(o=Be(r),(n&&"none"!==n||!o)&&ve._data(r,"olddisplay",o?n:ve.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?i[a]||"":"none"));return e}function F(e,t,n){var r=wt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function U(e,t,n,r,o){for(var i=n===(r?"border":"content")?4:"width"===t?1:0,a=0;i<4;i+=2)"margin"===n&&(a+=ve.css(e,n+Ue[i],!0,o)),r?("content"===n&&(a-=ve.css(e,"padding"+Ue[i],!0,o)),"margin"!==n&&(a-=ve.css(e,"border"+Ue[i]+"Width",!0,o))):(a+=ve.css(e,"padding"+Ue[i],!0,o),"padding"!==n&&(a+=ve.css(e,"border"+Ue[i]+"Width",!0,o)));return a}function B(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=mt(e),a=me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=vt(e,t,i),(o<0||null==o)&&(o=e.style[t]),dt.test(o))return o;r=a&&(me.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+U(e,t,n||(a?"border":"content"),r,i)+"px"}function V(e,t,n,r,o){return new V.prototype.init(e,t,n,r,o)}function q(){return n.setTimeout(function(){kt=void 0}),kt=ve.now()}function H(e,t){var n,r={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)n=Ue[o],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function W(e,t,n){for(var r,o=($.tweeners[t]||[]).concat($.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function z(e,t,n){var r,o,i,a,s,l,u,c=this,f={},d=e.style,p=e.nodeType&&Be(e),h=ve._data(e,"fxshow");n.queue||(s=ve._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,ve.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],u=ve.css(e,"display"),"inline"===("none"===u?ve._data(e,"olddisplay")||P(e.nodeName):u)&&"none"===ve.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==P(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",me.shrinkWrapBlocks()||c.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(o=t[r],At.exec(o)){if(delete t[r],i=i||"toggle"===o,o===(p?"hide":"show")){if("show"!==o||!h||void 0===h[r])continue;p=!0}f[r]=h&&h[r]||ve.style(e,r)}else u=void 0;if(ve.isEmptyObject(f))"inline"===("none"===u?P(e.nodeName):u)&&(d.display=u);else{h?"hidden"in h&&(p=h.hidden):h=ve._data(e,"fxshow",{}),i&&(h.hidden=!p),p?ve(e).show():c.done(function(){ve(e).hide()}),c.done(function(){var t;ve._removeData(e,"fxshow");for(t in f)ve.style(e,t,f[t])});for(r in f)a=W(p?h[r]:0,r,c),r in h||(h[r]=a.start,p&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function K(e,t){var n,r,o,i,a;for(n in e)if(r=ve.camelCase(n),o=t[r],i=e[n],ve.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=ve.cssHooks[r])&&"expand"in a){i=a.expand(i),delete e[r];for(n in i)n in e||(e[n]=i[n],t[n]=o)}else t[r]=o}function $(e,t,n){var r,o,i=0,a=$.prefilters.length,s=ve.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=kt||q(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,i=1-r,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(i);return s.notifyWith(e,[u,i,n]),i<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ve.extend({},t),opts:ve.extend(!0,{specialEasing:{},easing:ve.easing._default},n),originalProperties:t,originalOptions:n,startTime:kt||q(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ve.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(K(c,u.opts.specialEasing);i<a;i++)if(r=$.prefilters[i].call(u,e,c,u.opts))return ve.isFunction(r.stop)&&(ve._queueHooks(u.elem,u.opts.queue).stop=ve.proxy(r.stop,r)),r;return ve.map(c,W,u),ve.isFunction(u.opts.start)&&u.opts.start.call(e,u),ve.fx.timer(ve.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function G(e){return ve.attr(e,"class")||""}function Y(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(Ie)||[];if(ve.isFunction(n))for(;r=i[o++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function J(e,t,n,r){function o(s){var l;return i[s]=!0,ve.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||a||i[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),o(u),!1)}),l}var i={},a=e===Zt;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Q(e,t){var n,r,o=ve.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&ve.extend(!0,e,n),e}function X(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(a in s)if(s[a]&&s[a].test(o)){l.unshift(a);break}if(l[0]in n)i=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){i=a;break}r||(r=a)}i=i||r}if(i)return i!==l[0]&&l.unshift(i),n[i]}function Z(e,t,n,r){var o,i,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if(s=o.split(" "),s[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}function ee(e){return e.style&&e.style.display||ve.css(e,"display")}function te(e){if(!ve.contains(e.ownerDocument||se,e))return!0;for(;e&&1===e.nodeType;){if("none"===ee(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function ne(e,t,n,r){var o;if(ve.isArray(t))ve.each(t,function(t,o){n||on.test(e)?r(e,o):ne(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ve.type(t))r(e,t);else for(o in t)ne(e+"["+o+"]",t[o],n,r)}function re(){try{return new n.XMLHttpRequest}catch(e){}}function oe(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function ie(e){return ve.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ae=[],se=n.document,le=ae.slice,ue=ae.concat,ce=ae.push,fe=ae.indexOf,de={},pe=de.toString,he=de.hasOwnProperty,me={},ve=function(e,t){return new ve.fn.init(e,t)},ge=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ye=/^-ms-/,be=/-([\da-z])/gi,_e=function(e,t){return t.toUpperCase()};ve.fn=ve.prototype={jquery:"1.12.4",constructor:ve,selector:"",length:0,toArray:function(){return le.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:le.call(this)},pushStack:function(e){var t=ve.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ve.each(this,e)},map:function(e){return this.pushStack(ve.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},ve.extend=ve.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||ve.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(o=arguments[s]))for(r in o)e=a[r],n=o[r],"__proto__"!==r&&a!==n&&(u&&n&&(ve.isPlainObject(n)||(t=ve.isArray(n)))?(t?(t=!1,i=e&&ve.isArray(e)?e:[]):i=e&&ve.isPlainObject(e)?e:{},a[r]=ve.extend(u,i,n)):void 0!==n&&(a[r]=n));return a},ve.extend({expando:"jQuery"+("1.12.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ve.type(e)},isArray:Array.isArray||function(e){return"array"===ve.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ve.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ve.type(e)||e.nodeType||ve.isWindow(e))return!1;try{if(e.constructor&&!he.call(e,"constructor")&&!he.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!me.ownFirst)for(t in e)return he.call(e,t);for(t in e);return void 0===t||he.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?de[pe.call(e)]||"object":typeof e},globalEval:function(e){e&&ve.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(ye,"ms-").replace(be,_e)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ge,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ve.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(fe)return fe.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;)e[o++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[o++]=t[r++];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,s=[];if(a(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&s.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&s.push(o);return ue.apply([],s)},guid:1,proxy:function(e,t){var n,r,o;if("string"==typeof t&&(o=e[t],t=e,e=o),ve.isFunction(e))return n=le.call(arguments,2),r=function(){return e.apply(t||this,n.concat(le.call(arguments)))},r.guid=e.guid=e.guid||ve.guid++,r},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ve.fn[Symbol.iterator]=ae[Symbol.iterator]),ve.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()});var we=/*!
 * Sizzle CSS Selector Engine v2.2.1
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-10-17
 */
function(e){function t(e,t,n,r){var o,i,a,s,u,f,d,p,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:F)!==R&&C(t),t=t||R,N)){if(11!==m&&(f=me.exec(e)))if(o=f[1]){if(9===m){if(!(a=t.getElementById(o)))return n;if(a.id===o)return n.push(a),n}else if(h&&(a=h.getElementById(o))&&D(t,a)&&a.id===o)return n.push(a),n}else{if(f[2])return J.apply(n,t.getElementsByTagName(e)),n;if((o=f[3])&&b.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(o)),n}if(b.qsa&&!H[e+" "]&&(!M||!M.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ge,"\\$&"):t.setAttribute("id",s=j),d=E(e),i=d.length,u=ce.test(s)?"#"+s:"[id='"+s+"']";i--;)d[i]=u+" "+c(d[i]);p=d.join(","),h=ve.test(e)&&l(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===j&&t.removeAttribute("id")}}}return S(e.replace(ie,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[j]=!0,e}function o(e){var t=R.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||z)-(~e.sourceIndex||z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function u(){}function c(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function f(e,t,n){var r=t.dir,o=n&&"parentNode"===r,i=B++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||o)return e(t,n,i)}:function(t,n,a){var s,l,u,c=[U,i];if(a){for(;t=t[r];)if((1===t.nodeType||o)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||o){if(u=t[j]||(t[j]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[r])&&s[0]===U&&s[1]===i)return c[2]=s[2];if(l[r]=c,c[2]=e(t,n,a))return!0}}}function d(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function p(e,n,r){for(var o=0,i=n.length;o<i;o++)t(e,n[o],r);return r}function h(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function m(e,t,n,o,i,a){return o&&!o[j]&&(o=m(o)),i&&!i[j]&&(i=m(i,a)),r(function(r,a,s,l){var u,c,f,d=[],m=[],v=a.length,g=r||p(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?g:h(g,d,e,s,l),b=n?i||(r?e:v||o)?[]:a:y;if(n&&n(y,b,s,l),o)for(u=h(b,m),o(u,[],s,l),c=u.length;c--;)(f=u[c])&&(b[m[c]]=!(y[m[c]]=f));if(r){if(i||e){if(i){for(u=[],c=b.length;c--;)(f=b[c])&&u.push(y[c]=f);i(null,b=[],u,l)}for(c=b.length;c--;)(f=b[c])&&(u=i?X(r,f):d[c])>-1&&(r[u]=!(a[u]=f))}}else b=h(b===a?b.splice(v,b.length):b),i?i(null,a,b,l):J.apply(a,b)})}function v(e){for(var t,n,r,o=e.length,i=_.relative[e[0].type],a=i||_.relative[" "],s=i?1:0,l=f(function(e){return e===t},a,!0),u=f(function(e){return X(t,e)>-1},a,!0),p=[function(e,n,r){var o=!i&&(r||n!==k)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,o}];s<o;s++)if(n=_.relative[e[s].type])p=[f(d(p),n)];else{if(n=_.filter[e[s].type].apply(null,e[s].matches),n[j]){for(r=++s;r<o&&!_.relative[e[r].type];r++);return m(s>1&&d(p),s>1&&c(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ie,"$1"),n,s<r&&v(e.slice(s,r)),r<o&&v(e=e.slice(r)),r<o&&c(e))}p.push(n)}return d(p)}function g(e,n){var o=n.length>0,i=e.length>0,a=function(r,a,s,l,u){var c,f,d,p=0,m="0",v=r&&[],g=[],y=k,b=r||i&&_.find.TAG("*",u),w=U+=null==y?1:Math.random()||.1,x=b.length;for(u&&(k=a===R||a||u);m!==x&&null!=(c=b[m]);m++){if(i&&c){for(f=0,a||c.ownerDocument===R||(C(c),s=!N);d=e[f++];)if(d(c,a||R,s)){l.push(c);break}u&&(U=w)}o&&((c=!d&&c)&&p--,r&&v.push(c))}if(p+=m,o&&m!==p){for(f=0;d=n[f++];)d(v,g,a,s);if(r){if(p>0)for(;m--;)v[m]||g[m]||(g[m]=G.call(l));g=h(g)}J.apply(l,g),u&&!r&&g.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(U=w,k=y),v};return o?r(a):a}var y,b,_,w,x,E,T,S,k,O,A,C,R,I,N,M,P,L,D,j="sizzle"+1*new Date,F=e.document,U=0,B=0,V=n(),q=n(),H=n(),W=function(e,t){return e===t&&(A=!0),0},z=1<<31,K={}.hasOwnProperty,$=[],G=$.pop,Y=$.push,J=$.push,Q=$.slice,X=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",oe=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),fe={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},de=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,ge=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_e=function(){C()};try{J.apply($=Q.call(F.childNodes),F.childNodes),$[F.childNodes.length].nodeType}catch(e){J={apply:$.length?function(e,t){Y.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},C=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:F;return r!==R&&9===r.nodeType&&r.documentElement?(R=r,I=R.documentElement,N=!x(R),(n=R.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),b.attributes=o(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=o(function(e){return e.appendChild(R.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(R.getElementsByClassName),b.getById=o(function(e){return I.appendChild(e).id=j,!R.getElementsByName||!R.getElementsByName(j).length}),b.getById?(_.find.ID=function(e,t){if(void 0!==t.getElementById&&N){var n=t.getElementById(e);return n?[n]:[]}},_.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),_.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},_.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&N)return t.getElementsByClassName(e)},P=[],M=[],(b.qsa=he.test(R.querySelectorAll))&&(o(function(e){I.appendChild(e).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||M.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+j+"-]").length||M.push("~="),e.querySelectorAll(":checked").length||M.push(":checked"),e.querySelectorAll("a#"+j+"+*").length||M.push(".#.+[+~]")}),o(function(e){var t=R.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&M.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||M.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),M.push(",.*:")})),(b.matchesSelector=he.test(L=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&o(function(e){b.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),P.push("!=",re)}),M=M.length&&new RegExp(M.join("|")),P=P.length&&new RegExp(P.join("|")),t=he.test(I.compareDocumentPosition),D=t||he.test(I.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},W=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===R||e.ownerDocument===F&&D(F,e)?-1:t===R||t.ownerDocument===F&&D(F,t)?1:O?X(O,e)-X(O,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],l=[t];if(!o||!i)return e===R?-1:t===R?1:o?-1:i?1:O?X(O,e)-X(O,t):0;if(o===i)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?a(s[r],l[r]):s[r]===F?-1:l[r]===F?1:0},R):R},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==R&&C(e),n=n.replace(le,"='$1']"),b.matchesSelector&&N&&!H[n+" "]&&(!P||!P.test(n))&&(!M||!M.test(n)))try{var r=L.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,R,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==R&&C(e),D(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==R&&C(e);var n=_.attrHandle[t.toLowerCase()],r=n&&K.call(_.attrHandle,t.toLowerCase())?n(e,t,!N):void 0;return void 0!==r?r:b.attributes||!N?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,o=0;if(A=!b.detectDuplicates,O=!b.sortStable&&e.slice(0),e.sort(W),A){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return O=null,e},w=t.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,match:fe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=E(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(o){var i=t.attr(o,e);return null==i?"!="===n:!n||(i+="","="===n?i===r:"!="===n?i!==r:"^="===n?r&&0===i.indexOf(r):"*="===n?r&&i.indexOf(r)>-1:"$="===n?r&&i.slice(-r.length)===r:"~="===n?(" "+i.replace(oe," ")+" ").indexOf(r)>-1:"|="===n&&(i===r||i.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,f,d,p,h,m=i!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(v){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===g:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&y){for(d=v,f=d[j]||(d[j]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[e]||[],p=u[0]===U&&u[1],b=p&&u[2],d=p&&v.childNodes[p];d=++p&&d&&d[m]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[U,p,b];break}}else if(y&&(d=t,f=d[j]||(d[j]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[e]||[],p=u[0]===U&&u[1],b=p),!1===b)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==g:1!==d.nodeType)||!++b||(y&&(f=d[j]||(d[j]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[U,b]),d!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var o,i=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[j]?i(n):i.length>1?(o=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,o=i(e,n),a=o.length;a--;)r=X(e,o[a]),e[r]=!(t[r]=o[a])}):function(e){return i(e,0,o)}):i}},pseudos:{not:r(function(e){var t=[],n=[],o=T(e.replace(ie,"$1"));return o[j]?r(function(e,t,n,r){for(var i,a=o(e,null,r,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))}):function(e,r,i){return t[0]=e,o(t,null,i,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,be),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).toLowerCase(),function(t){var n;do{if(n=N?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===R.activeElement&&(!R.hasFocus||R.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return de.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})_.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return u.prototype=_.filters=_.pseudos,_.setFilters=new u,E=t.tokenize=function(e,n){var r,o,i,a,s,l,u,c=q[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=_.preFilter;s;){r&&!(o=ae.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),r=!1,(o=se.exec(s))&&(r=o.shift(),i.push({value:r,type:o[0].replace(ie," ")}),s=s.slice(r.length));for(a in _.filter)!(o=fe[a].exec(s))||u[a]&&!(o=u[a](o))||(r=o.shift(),i.push({value:r,type:a,matches:o}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):q(e,l).slice(0)},T=t.compile=function(e,t){var n,r=[],o=[],i=H[e+" "];if(!i){for(t||(t=E(e)),n=t.length;n--;)i=v(t[n]),i[j]?r.push(i):o.push(i);i=H(e,g(o,r)),i.selector=e}return i},S=t.select=function(e,t,n,r){var o,i,a,s,u,f="function"==typeof e&&e,d=!r&&E(e=f.selector||e);if(n=n||[],1===d.length){if(i=d[0]=d[0].slice(0),i.length>2&&"ID"===(a=i[0]).type&&b.getById&&9===t.nodeType&&N&&_.relative[i[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(ye,be),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(o=fe.needsContext.test(e)?0:i.length;o--&&(a=i[o],!_.relative[s=a.type]);)if((u=_.find[s])&&(r=u(a.matches[0].replace(ye,be),ve.test(i[0].type)&&l(t.parentNode)||t))){if(i.splice(o,1),!(e=r.length&&c(i)))return J.apply(n,r),n;break}}return(f||T(e,d))(r,t,!N,n,!t||ve.test(e)&&l(t.parentNode)||t),n},b.sortStable=j.split("").sort(W).join("")===j,b.detectDuplicates=!!A,C(),b.sortDetached=o(function(e){return 1&e.compareDocumentPosition(R.createElement("div"))}),o(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&o(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),o(function(e){return null==e.getAttribute("disabled")})||i(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ve.find=we,ve.expr=we.selectors,ve.expr[":"]=ve.expr.pseudos,ve.uniqueSort=ve.unique=we.uniqueSort,ve.text=we.getText,ve.isXMLDoc=we.isXML,ve.contains=we.contains;var xe=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&ve(e).is(n))break;r.push(e)}return r},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=ve.expr.match.needsContext,Se=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ke=/^.[^:#\[\.,]*$/;ve.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ve.find.matchesSelector(r,e)?[r]:[]:ve.find.matches(e,ve.grep(t,function(e){return 1===e.nodeType}))},ve.fn.extend({find:function(e){var t,n=[],r=this,o=r.length;if("string"!=typeof e)return this.pushStack(ve(e).filter(function(){for(t=0;t<o;t++)if(ve.contains(r[t],this))return!0}));for(t=0;t<o;t++)ve.find(e,r[t],n);return n=this.pushStack(o>1?ve.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Te.test(e)?ve(e):e||[],!1).length}});var Oe,Ae=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ve.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Oe,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ae.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ve?t[0]:t,ve.merge(this,ve.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Se.test(r[1])&&ve.isPlainObject(t))for(r in t)ve.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((o=se.getElementById(r[2]))&&o.parentNode){if(o.id!==r[2])return Oe.find(e);this.length=1,this[0]=o}return this.context=se,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ve.isFunction(e)?void 0!==n.ready?n.ready(e):e(ve):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ve.makeArray(e,this))}).prototype=ve.fn,Oe=ve(se);var Ce=/^(?:parents|prev(?:Until|All))/,Re={children:!0,contents:!0,next:!0,prev:!0};ve.fn.extend({has:function(e){var t,n=ve(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(ve.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=Te.test(e)||"string"!=typeof e?ve(e,t||this.context):0;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ve.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?ve.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?ve.inArray(this[0],ve(e)):ve.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ve.uniqueSort(ve.merge(this.get(),ve(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ve.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return ve.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ve.merge([],e.childNodes)}},function(e,t){ve.fn[e]=function(n,r){var o=ve.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=ve.filter(r,o)),this.length>1&&(Re[e]||(o=ve.uniqueSort(o)),Ce.test(e)&&(o=o.reverse())),this.pushStack(o)}});var Ie=/\S+/g;ve.Callbacks=function(e){e="string"==typeof e?u(e):ve.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){ve.each(n,function(n,r){ve.isFunction(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==ve.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return ve.each(arguments,function(e,t){for(var n;(n=ve.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ve.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=!0,n||c.disable(),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ve.extend({Deferred:function(e){var t=[["resolve","done",ve.Callbacks("once memory"),"resolved"],["reject","fail",ve.Callbacks("once memory"),"rejected"],["notify","progress",ve.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ve.Deferred(function(n){ve.each(t,function(t,i){var a=ve.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&ve.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ve.extend(e,r):r}},o={};return r.pipe=r.then,ve.each(t,function(e,i){var a=i[2],s=i[3];r[i[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),o[i[0]]=function(){return o[i[0]+"With"](this===o?r:this,arguments),this},o[i[0]+"With"]=a.fireWith}),r.promise(o),e&&e.call(o,o),o},when:function(e){var t,n,r,o=0,i=le.call(arguments),a=i.length,s=1!==a||e&&ve.isFunction(e.promise)?a:0,l=1===s?e:ve.Deferred(),u=function(e,n,r){return function(o){n[e]=this,r[e]=arguments.length>1?le.call(arguments):o,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);o<a;o++)i[o]&&ve.isFunction(i[o].promise)?i[o].promise().progress(u(o,n,t)).done(u(o,r,i)).fail(l.reject):--s;return s||l.resolveWith(r,i),l.promise()}});var Ne;ve.fn.ready=function(e){return ve.ready.promise().done(e),this},ve.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ve.readyWait++:ve.ready(!0)},ready:function(e){(!0===e?--ve.readyWait:ve.isReady)||(ve.isReady=!0,!0!==e&&--ve.readyWait>0||(Ne.resolveWith(se,[ve]),ve.fn.triggerHandler&&(ve(se).triggerHandler("ready"),ve(se).off("ready"))))}}),ve.ready.promise=function(e){if(!Ne)if(Ne=ve.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(ve.ready);else if(se.addEventListener)se.addEventListener("DOMContentLoaded",f),n.addEventListener("load",f);else{se.attachEvent("onreadystatechange",f),n.attachEvent("onload",f);var t=!1;try{t=null==n.frameElement&&se.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!ve.isReady){try{t.doScroll("left")}catch(t){return n.setTimeout(e,50)}c(),ve.ready()}}()}return Ne.promise(e)},ve.ready.promise();var Me;for(Me in ve(me))break;me.ownFirst="0"===Me,me.inlineBlockNeedsLayout=!1,ve(function(){var e,t,n,r;(n=se.getElementsByTagName("body")[0])&&n.style&&(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",me.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=se.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(e){me.deleteExpando=!1}e=null}();var Pe=function(e){var t=ve.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,De=/([A-Z])/g;ve.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ve.cache[e[ve.expando]]:e[ve.expando])&&!p(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return m(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return m(e,t,!0)}}),ve.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=ve.data(i),1===i.nodeType&&!ve._data(i,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ve.camelCase(r.slice(5)),d(i,r,o[r])));ve._data(i,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ve.data(this,e)}):arguments.length>1?this.each(function(){ve.data(this,e,t)}):i?d(i,e,ve.data(i,e)):void 0},removeData:function(e){return this.each(function(){ve.removeData(this,e)})}}),ve.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ve._data(e,t),n&&(!r||ve.isArray(n)?r=ve._data(e,t,ve.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ve.queue(e,t),r=n.length,o=n.shift(),i=ve._queueHooks(e,t),a=function(){ve.dequeue(e,t)};"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,a,i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ve._data(e,n)||ve._data(e,n,{empty:ve.Callbacks("once memory").add(function(){ve._removeData(e,t+"queue"),ve._removeData(e,n)})})}}),ve.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ve.queue(this[0],e):void 0===t?this:this.each(function(){var n=ve.queue(this,e,t);ve._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ve.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ve.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=ve.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=ve._data(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}}),function(){var e;me.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return(n=se.getElementsByTagName("body")[0])&&n.style?(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(se.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var je=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Fe=new RegExp("^(?:([+-])=|)("+je+")([a-z%]*)$","i"),Ue=["Top","Right","Bottom","Left"],Be=function(e,t){return e=t||e,"none"===ve.css(e,"display")||!ve.contains(e.ownerDocument,e)},Ve=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===ve.type(n)){o=!0;for(s in n)Ve(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,ve.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(ve(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):i},qe=/^(?:checkbox|radio)$/i,He=/<([\w:-]+)/,We=/^$|\/(?:java|ecma)script/i,ze=/^\s+/,Ke="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=se.createElement("div"),t=se.createDocumentFragment(),n=se.createElement("input");e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",me.leadingWhitespace=3===e.firstChild.nodeType,me.tbody=!e.getElementsByTagName("tbody").length,me.htmlSerialize=!!e.getElementsByTagName("link").length,me.html5Clone="<:nav></:nav>"!==se.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),me.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=se.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,me.noCloneEvent=!!e.addEventListener,e[ve.expando]=1,me.attributes=!e.getAttribute(ve.expando)}();var $e={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:me.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};$e.optgroup=$e.option,$e.tbody=$e.tfoot=$e.colgroup=$e.caption=$e.thead,$e.th=$e.td;var Ge=/<|&#?\w+;/,Ye=/<tbody/i;!function(){var e,t,r=se.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(me[e]=t in n)||(r.setAttribute(t,"t"),me[e]=!1===r.attributes[t].expando);r=null}();var Je=/^(?:input|select|textarea)$/i,Qe=/^key/,Xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ze=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)/;ve.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,p,h,m,v=ve._data(e);if(v){for(n.handler&&(l=n,n=l.handler,o=l.selector),n.guid||(n.guid=ve.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||(c=v.handle=function(e){return void 0===ve||e&&ve.event.triggered===e.type?void 0:ve.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Ie)||[""],s=t.length;s--;)i=et.exec(t[s])||[],p=m=i[1],h=(i[2]||"").split(".").sort(),p&&(u=ve.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=ve.event.special[p]||{},f=ve.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ve.expr.match.needsContext.test(o),namespace:h.join(".")},l),(d=a[p])||(d=a[p]=[],d.delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),o?d.splice(d.delegateCount++,0,f):d.push(f),ve.event.global[p]=!0);e=null}},remove:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,p,h,m,v=ve.hasData(e)&&ve._data(e);if(v&&(c=v.events)){for(t=(t||"").match(Ie)||[""],u=t.length;u--;)if(s=et.exec(t[u])||[],p=m=s[1],h=(s[2]||"").split(".").sort(),p){for(f=ve.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=i=d.length;i--;)a=d[i],!o&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(i,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));l&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||ve.removeEvent(e,p,v.handle),delete c[p])}else for(p in c)ve.event.remove(e,p+t[u],n,r,!0);ve.isEmptyObject(c)&&(delete v.handle,ve._removeData(e,"events"))}},trigger:function(e,t,r,o){var i,a,s,l,u,c,f,d=[r||se],p=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(s=c=r=r||se,3!==r.nodeType&&8!==r.nodeType&&!Ze.test(p+ve.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[ve.expando]?e:new ve.Event(p,"object"==typeof e&&e),e.isTrigger=o?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ve.makeArray(t,[e]),u=ve.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(r,t))){if(!o&&!u.noBubble&&!ve.isWindow(r)){for(l=u.delegateType||p,Ze.test(l+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||se)&&d.push(c.defaultView||c.parentWindow||n)}for(f=0;(s=d[f++])&&!e.isPropagationStopped();)e.type=f>1?l:u.bindType||p,i=(ve._data(s,"events")||{})[e.type]&&ve._data(s,"handle"),i&&i.apply(s,t),(i=a&&s[a])&&i.apply&&Pe(s)&&(e.result=i.apply(s,t),!1===e.result&&e.preventDefault());if(e.type=p,!o&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(d.pop(),t))&&Pe(r)&&a&&r[p]&&!ve.isWindow(r)){c=r[a],c&&(r[a]=null),ve.event.triggered=p;try{r[p]()}catch(e){}ve.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(e){e=ve.event.fix(e);var t,n,r,o,i,a=[],s=le.call(arguments),l=(ve._data(this,"events")||{})[e.type]||[],u=ve.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=ve.event.handlers.call(this,e,l),t=0;(o=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(i.namespace)||(e.handleObj=i,e.data=i.data,void 0!==(r=((ve.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,o,i,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)i=t[n],o=i.selector+" ",void 0===r[o]&&(r[o]=i.needsContext?ve(o,this).index(l)>-1:ve.find(o,this,null,[l]).length),r[o]&&r.push(i);r.length&&a.push({elem:l,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ve.expando])return e;var t,n,r,o=e.type,i=e,a=this.fixHooks[o];for(a||(this.fixHooks[o]=a=Xe.test(o)?this.mouseHooks:Qe.test(o)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ve.Event(i),t=r.length;t--;)n=r[t],e[n]=i[n];return e.target||(e.target=i.srcElement||se),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,i):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,o,i=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||se,o=r.documentElement,n=r.body,e.pageX=t.clientX+(o&&o.scrollLeft||n&&n.scrollLeft||0)-(o&&o.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(o&&o.scrollTop||n&&n.scrollTop||0)-(o&&o.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===i||(e.which=1&i?1:2&i?3:4&i?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==T()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===T()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ve.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return ve.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=ve.extend(new ve.Event,n,{type:e,isSimulated:!0});ve.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},ve.removeEvent=se.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&(void 0===e[r]&&(e[r]=null),e.detachEvent(r,n))},ve.Event=function(e,t){if(!(this instanceof ve.Event))return new ve.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?x:E):this.type=e,t&&ve.extend(this,t),this.timeStamp=e&&e.timeStamp||ve.now(),this[ve.expando]=!0},ve.Event.prototype={constructor:ve.Event,isDefaultPrevented:E,isPropagationStopped:E,isImmediatePropagationStopped:E,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=x,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=x,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=x,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},ve.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ve.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||ve.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ve.event.special.submit={setup:function(){if(ve.nodeName(this,"form"))return!1;ve.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ve.nodeName(t,"input")||ve.nodeName(t,"button")?ve.prop(t,"form"):void 0;n&&!ve._data(n,"submit")&&(ve.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ve._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ve.event.simulate("submit",this.parentNode,e))},teardown:function(){if(ve.nodeName(this,"form"))return!1;ve.event.remove(this,"._submit")}}),me.change||(ve.event.special.change={setup:function(){if(Je.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ve.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ve.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ve.event.simulate("change",this,e)})),!1;ve.event.add(this,"beforeactivate._change",function(e){var t=e.target;Je.test(t.nodeName)&&!ve._data(t,"change")&&(ve.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ve.event.simulate("change",this.parentNode,e)}),ve._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return ve.event.remove(this,"._change"),!Je.test(this.nodeName)}}),me.focusin||ve.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ve.event.simulate(t,e.target,ve.event.fix(e))};ve.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=ve._data(r,t);o||r.addEventListener(e,n,!0),ve._data(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=ve._data(r,t)-1;o?ve._data(r,t,o):(r.removeEventListener(e,n,!0),ve._removeData(r,t))}}}),ve.fn.extend({on:function(e,t,n,r){return S(this,e,t,n,r)},one:function(e,t,n,r){return S(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ve(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=E),this.each(function(){ve.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ve.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ve.event.trigger(e,t,n,!0)}});var tt=/ jQuery\d+="(?:null|\d+)"/g,nt=new RegExp("<(?:"+Ke+")[\\s/>]","i"),rt=/<script|<style|<link/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^true\/(.*)/,at=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,st=g(se),lt=st.appendChild(se.createElement("div"));ve.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s,l=ve.contains(e.ownerDocument,e);if(me.html5Clone||ve.isXMLDoc(e)||!nt.test("<"+e.nodeName+">")?i=e.cloneNode(!0):(lt.innerHTML=e.outerHTML,lt.removeChild(i=lt.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ve.isXMLDoc(e)))for(r=y(i),s=y(e),a=0;null!=(o=s[a]);++a)r[a]&&R(o,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(i),a=0;null!=(o=s[a]);a++)C(o,r[a]);else C(e,i);return r=y(i,"script"),r.length>0&&b(r,!l&&y(e,"script")),r=s=o=null,i},cleanData:function(e,t){for(var n,r,o,i,a=0,s=ve.expando,l=ve.cache,u=me.attributes,c=ve.event.special;null!=(n=e[a]);a++)if((t||Pe(n))&&(o=n[s],i=o&&l[o])){if(i.events)for(r in i.events)c[r]?ve.event.remove(n,r):ve.removeEvent(n,r,i.handle);l[o]&&(delete l[o],u||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ae.push(o))}}}),ve.fn.extend({domManip:I,detach:function(e){return N(this,e,!0)},remove:function(e){return N(this,e)},text:function(e){return Ve(this,function(e){return void 0===e?ve.text(this):this.empty().append((this[0]&&this[0].ownerDocument||se).createTextNode(e))},null,e,arguments.length)},append:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,e).appendChild(e)}})},prepend:function(){return I(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return I(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ve.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ve.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ve.clone(this,e,t)})},html:function(e){return Ve(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(tt,""):void 0;if("string"==typeof e&&!rt.test(e)&&(me.htmlSerialize||!nt.test(e))&&(me.leadingWhitespace||!ze.test(e))&&!$e[(He.exec(e)||["",""])[1].toLowerCase()]){e=ve.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ve.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return I(this,arguments,function(t){var n=this.parentNode;ve.inArray(this,e)<0&&(ve.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),ve.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ve.fn[e]=function(e){for(var n,r=0,o=[],i=ve(e),a=i.length-1;r<=a;r++)n=r===a?this:this.clone(!0),ve(i[r])[t](n),ce.apply(o,n.get());return this.pushStack(o)}});var ut,ct={HTML:"block",BODY:"block"},ft=/^margin/,dt=new RegExp("^("+je+")(?!px)[a-z%]+$","i"),pt=function(e,t,n,r){var o,i,a={};for(i in t)a[i]=e.style[i],e.style[i]=t[i];o=n.apply(e,r||[]);for(i in t)e.style[i]=a[i];return o},ht=se.documentElement;!function(){function e(){var e,c,f=se.documentElement;f.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=o=s=!1,r=a=!0,n.getComputedStyle&&(c=n.getComputedStyle(u),t="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,o="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,e=u.appendChild(se.createElement("div")),e.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",u.style.width="1px",a=!parseFloat((n.getComputedStyle(e)||{}).marginRight),u.removeChild(e)),u.style.display="none",i=0===u.getClientRects().length,i&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",e=u.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",(i=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",i=0===e[0].offsetHeight)),f.removeChild(l)}var t,r,o,i,a,s,l=se.createElement("div"),u=se.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",me.opacity="0.5"===u.style.opacity,me.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===u.style.backgroundClip,l=se.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),me.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,ve.extend(me,{reliableHiddenOffsets:function(){return null==t&&e(),i},boxSizingReliable:function(){return null==t&&e(),o},pixelMarginRight:function(){return null==t&&e(),r},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var mt,vt,gt=/^(top|right|bottom|left)$/;n.getComputedStyle?(mt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},vt=function(e,t,n){var r,o,i,a,s=e.style;return n=n||mt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ve.contains(e.ownerDocument,e)||(a=ve.style(e,t)),n&&!me.pixelMarginRight()&&dt.test(a)&&ft.test(t)&&(r=s.width,o=s.minWidth,i=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=o,s.maxWidth=i),void 0===a?a:a+""}):ht.currentStyle&&(mt=function(e){return e.currentStyle},vt=function(e,t,n){var r,o,i,a,s=e.style;return n=n||mt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),dt.test(a)&&!gt.test(t)&&(r=s.left,o=e.runtimeStyle,i=o&&o.left,i&&(o.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,i&&(o.left=i)),void 0===a?a:a+""||"auto"});var yt=/alpha\([^)]*\)/i,bt=/opacity\s*=\s*([^)]*)/i,_t=/^(none|table(?!-c[ea]).+)/,wt=new RegExp("^("+je+")(.*)$","i"),xt={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],St=se.createElement("div").style;ve.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:me.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=ve.camelCase(t),l=e.style;if(t=ve.cssProps[s]||(ve.cssProps[s]=D(s)||s),a=ve.cssHooks[t]||ve.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:l[t];if(i=typeof n,"string"===i&&(o=Fe.exec(n))&&o[1]&&(n=v(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(ve.cssNumber[s]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var o,i,a,s=ve.camelCase(t);return t=ve.cssProps[s]||(ve.cssProps[s]=D(s)||s),a=ve.cssHooks[t]||ve.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=vt(e,t,r)),"normal"===i&&t in Et&&(i=Et[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),ve.each(["height","width"],function(e,t){ve.cssHooks[t]={get:function(e,n,r){if(n)return _t.test(ve.css(e,"display"))&&0===e.offsetWidth?pt(e,xt,function(){return B(e,t,r)}):B(e,t,r)},set:function(e,n,r){var o=r&&mt(e);return F(e,n,r?U(e,t,r,me.boxSizing&&"border-box"===ve.css(e,"boxSizing",!1,o),o):0)}}}),me.opacity||(ve.cssHooks.opacity={get:function(e,t){return bt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,o=ve.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ve.trim(i.replace(yt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=yt.test(i)?i.replace(yt,o):i+" "+o)}}),ve.cssHooks.marginRight=L(me.reliableMarginRight,function(e,t){if(t)return pt(e,{display:"inline-block"},vt,[e,"marginRight"])}),ve.cssHooks.marginLeft=L(me.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||(ve.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-pt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),ve.each({margin:"",padding:"",border:"Width"},function(e,t){ve.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+Ue[r]+t]=i[r]||i[r-2]||i[0];return o}},ft.test(e)||(ve.cssHooks[e+t].set=F)}),ve.fn.extend({css:function(e,t){return Ve(this,function(e,t,n){var r,o,i={},a=0;if(ve.isArray(t)){for(r=mt(e),o=t.length;a<o;a++)i[t[a]]=ve.css(e,t[a],!1,r);return i}return void 0!==n?ve.style(e,t,n):ve.css(e,t)},e,t,arguments.length>1)},show:function(){return j(this,!0)},hide:function(){return j(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?ve(this).show():ve(this).hide()})}}),ve.Tween=V,V.prototype={constructor:V,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||ve.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(ve.cssNumber[n]?"":"px")},cur:function(){var e=V.propHooks[this.prop];return e&&e.get?e.get(this):V.propHooks._default.get(this)},run:function(e){var t,n=V.propHooks[this.prop];return this.options.duration?this.pos=t=ve.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):V.propHooks._default.set(this),this}},V.prototype.init.prototype=V.prototype,V.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ve.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ve.fx.step[e.prop]?ve.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ve.cssProps[e.prop]]&&!ve.cssHooks[e.prop]?e.elem[e.prop]=e.now:ve.style(e.elem,e.prop,e.now+e.unit)}}},V.propHooks.scrollTop=V.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ve.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ve.fx=V.prototype.init,ve.fx.step={};var kt,Ot,At=/^(?:toggle|show|hide)$/,Ct=/queueHooks$/;ve.Animation=ve.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,Fe.exec(t),n),n}]},tweener:function(e,t){ve.isFunction(e)?(t=e,e=["*"]):e=e.match(Ie);for(var n,r=0,o=e.length;r<o;r++)n=e[r],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),ve.speed=function(e,t,n){var r=e&&"object"==typeof e?ve.extend({},e):{complete:n||!n&&t||ve.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ve.isFunction(t)&&t};return r.duration=ve.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ve.fx.speeds?ve.fx.speeds[r.duration]:ve.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ve.isFunction(r.old)&&r.old.call(this),r.queue&&ve.dequeue(this,r.queue)},r},ve.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Be).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=ve.isEmptyObject(e),i=ve.speed(t,n,r),a=function(){var t=$(this,ve.extend({},e),i);(o||ve._data(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",i=ve.timers,a=ve._data(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&Ct.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||ve.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ve._data(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=ve.timers,a=r?r.length:0;for(n.finish=!0,ve.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ve.each(["toggle","show","hide"],function(e,t){var n=ve.fn[t];ve.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(H(t,!0),e,r,o)}}),ve.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ve.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ve.timers=[],ve.fx.tick=function(){var e,t=ve.timers,n=0;for(kt=ve.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||ve.fx.stop(),kt=void 0},ve.fx.timer=function(e){ve.timers.push(e),e()?ve.fx.start():ve.timers.pop()},ve.fx.interval=13,ve.fx.start=function(){Ot||(Ot=n.setInterval(ve.fx.tick,ve.fx.interval))},ve.fx.stop=function(){n.clearInterval(Ot),Ot=null},ve.fx.speeds={slow:600,fast:200,_default:400},ve.fn.delay=function(e,t){return e=ve.fx?ve.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var o=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(o)}})},function(){var e,t=se.createElement("input"),n=se.createElement("div"),r=se.createElement("select"),o=r.appendChild(se.createElement("option"));n=se.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",me.getSetAttribute="t"!==n.className,me.style=/top/.test(e.getAttribute("style")),me.hrefNormalized="/a"===e.getAttribute("href"),me.checkOn=!!t.value,me.optSelected=o.selected,me.enctype=!!se.createElement("form").enctype,r.disabled=!0,me.optDisabled=!o.disabled,t=se.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var Rt=/\r/g,It=/[\x20\t\r\n\f]+/g;ve.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=ve.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ve(this).val()):e,null==o?o="":"number"==typeof o?o+="":ve.isArray(o)&&(o=ve.map(o,function(e){return null==e?"":e+""})),(t=ve.valHooks[this.type]||ve.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return(t=ve.valHooks[o.type]||ve.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(Rt,""):null==n?"":n)}}}),ve.extend({valHooks:{option:{get:function(e){var t=ve.find.attr(e,"value");return null!=t?t:ve.trim(ve.text(e)).replace(It," ")}},select:{get:function(e){for(var t,n,r=e.options,o=e.selectedIndex,i="select-one"===e.type||o<0,a=i?null:[],s=i?o+1:r.length,l=o<0?s:i?o:0;l<s;l++)if(n=r[l],(n.selected||l===o)&&(me.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ve.nodeName(n.parentNode,"optgroup"))){if(t=ve(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=ve.makeArray(t),a=o.length;a--;)if(r=o[a],ve.inArray(ve.valHooks.option.get(r),i)>-1)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),o}}}}),ve.each(["radio","checkbox"],function(){ve.valHooks[this]={set:function(e,t){if(ve.isArray(t))return e.checked=ve.inArray(ve(e).val(),t)>-1}},me.checkOn||(ve.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Nt,Mt,Pt=ve.expr.attrHandle,Lt=/^(?:checked|selected)$/i,Dt=me.getSetAttribute,jt=me.input;ve.fn.extend({attr:function(e,t){return Ve(this,ve.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ve.removeAttr(this,e)})}}),ve.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?ve.prop(e,t,n):(1===i&&ve.isXMLDoc(e)||(t=t.toLowerCase(),o=ve.attrHooks[t]||(ve.expr.match.bool.test(t)?Mt:Nt)),void 0!==n?null===n?void ve.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:(r=ve.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ve.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,o=0,i=t&&t.match(Ie);if(i&&1===e.nodeType)for(;n=i[o++];)r=ve.propFix[n]||n,ve.expr.match.bool.test(n)?jt&&Dt||!Lt.test(n)?e[r]=!1:e[ve.camelCase("default-"+n)]=e[r]=!1:ve.attr(e,n,""),e.removeAttribute(Dt?n:r)}}),Mt={set:function(e,t,n){return!1===t?ve.removeAttr(e,n):jt&&Dt||!Lt.test(n)?e.setAttribute(!Dt&&ve.propFix[n]||n,n):e[ve.camelCase("default-"+n)]=e[n]=!0,n}},ve.each(ve.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Pt[t]||ve.find.attr;jt&&Dt||!Lt.test(t)?Pt[t]=function(e,t,r){var o,i;return r||(i=Pt[t],Pt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,Pt[t]=i),o}:Pt[t]=function(e,t,n){if(!n)return e[ve.camelCase("default-"+t)]?t.toLowerCase():null}}),jt&&Dt||(ve.attrHooks.value={set:function(e,t,n){if(!ve.nodeName(e,"input"))return Nt&&Nt.set(e,t,n);e.defaultValue=t}}),Dt||(Nt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Pt.id=Pt.name=Pt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ve.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Nt.set},ve.attrHooks.contenteditable={set:function(e,t,n){Nt.set(e,""!==t&&t,n)}},ve.each(["width","height"],function(e,t){ve.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),me.style||(ve.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ft=/^(?:input|select|textarea|button|object)$/i,Ut=/^(?:a|area)$/i;ve.fn.extend({prop:function(e,t){return Ve(this,ve.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ve.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),ve.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ve.isXMLDoc(e)||(t=ve.propFix[t]||t,o=ve.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ve.find.attr(e,"tabindex");return t?parseInt(t,10):Ft.test(e.nodeName)||Ut.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),me.hrefNormalized||ve.each(["href","src"],function(e,t){ve.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ve.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ve.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ve.propFix[this.toLowerCase()]=this}),me.enctype||(ve.propFix.enctype="encoding");var Bt=/[\t\r\n\f]/g;ve.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(ve.isFunction(e))return this.each(function(t){ve(this).addClass(e.call(this,t,G(this)))});if("string"==typeof e&&e)for(t=e.match(Ie)||[];n=this[l++];)if(o=G(n),r=1===n.nodeType&&(" "+o+" ").replace(Bt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=ve.trim(r),o!==s&&ve.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(ve.isFunction(e))return this.each(function(t){ve(this).removeClass(e.call(this,t,G(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ie)||[];n=this[l++];)if(o=G(n),r=1===n.nodeType&&(" "+o+" ").replace(Bt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=ve.trim(r),o!==s&&ve.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ve.isFunction(e)?this.each(function(n){ve(this).toggleClass(e.call(this,n,G(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=ve(this),i=e.match(Ie)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=G(this),t&&ve._data(this,"__className__",t),ve.attr(this,"class",t||!1===e?"":ve._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+G(n)+" ").replace(Bt," ").indexOf(t)>-1)return!0;return!1}}),ve.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ve.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ve.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Vt=n.location,qt=ve.now(),Ht=/\?/,Wt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ve.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,o=ve.trim(e+"");return o&&!ve.trim(o.replace(Wt,function(e,n,o,i){return t&&n&&(r=0),0===r?e:(t=o||n,r+=!i-!o,"")}))?Function("return "+o)():ve.error("Invalid JSON: "+e)},ve.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(r=new n.DOMParser,t=r.parseFromString(e,"text/xml")):(t=new n.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||ve.error("Invalid XML: "+e),t};var zt=/#.*$/,Kt=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Gt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Qt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Xt={},Zt={},en="*/".concat("*"),tn=Vt.href,nn=Qt.exec(tn.toLowerCase())||[];ve.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:tn,type:"GET",isLocal:Gt.test(nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":en,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ve.parseJSON,"text xml":ve.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,ve.ajaxSettings),t):Q(ve.ajaxSettings,e)},ajaxPrefilter:Y(Xt),ajaxTransport:Y(Zt),ajax:function(e,t){function r(e,t,r,o){var i,f,y,b,w,E=t;2!==_&&(_=2,l&&n.clearTimeout(l),c=void 0,s=o||"",x.readyState=e>0?4:0,i=e>=200&&e<300||304===e,r&&(b=X(d,x,r)),b=Z(d,b,x,i),i?(d.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(ve.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(ve.etag[a]=w)),204===e||"HEAD"===d.type?E="nocontent":304===e?E="notmodified":(E=b.state,f=b.data,y=b.error,i=!y)):(y=E,!e&&E||(E="error",e<0&&(e=0))),x.status=e,x.statusText=(t||E)+"",i?m.resolveWith(p,[f,E,x]):m.rejectWith(p,[x,E,y]),x.statusCode(g),g=void 0,u&&h.trigger(i?"ajaxSuccess":"ajaxError",[x,d,i?f:y]),v.fireWith(p,[x,E]),u&&(h.trigger("ajaxComplete",[x,d]),--ve.active||ve.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,l,u,c,f,d=ve.ajaxSetup({},t),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?ve(p):ve.event,m=ve.Deferred(),v=ve.Callbacks("once memory"),g=d.statusCode||{},y={},b={},_=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!f)for(f={};t=$t.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return _||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)g[t]=[g[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(m.promise(x).complete=v.add,x.success=x.done,x.error=x.fail,d.url=((e||d.url||tn)+"").replace(zt,"").replace(Jt,nn[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ve.trim(d.dataType||"*").toLowerCase().match(Ie)||[""],null==d.crossDomain&&(o=Qt.exec(d.url.toLowerCase()),d.crossDomain=!(!o||o[1]===nn[1]&&o[2]===nn[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(nn[3]||("http:"===nn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ve.param(d.data,d.traditional)),J(Xt,d,t,x),2===_)return x;u=ve.event&&d.global,u&&0==ve.active++&&ve.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Yt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(Ht.test(a)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Kt.test(a)?a.replace(Kt,"$1_="+qt++):a+(Ht.test(a)?"&":"?")+"_="+qt++)),d.ifModified&&(ve.lastModified[a]&&x.setRequestHeader("If-Modified-Since",ve.lastModified[a]),ve.etag[a]&&x.setRequestHeader("If-None-Match",ve.etag[a])),(d.data&&d.hasContent&&!1!==d.contentType||t.contentType)&&x.setRequestHeader("Content-Type",d.contentType),x.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+en+"; q=0.01":""):d.accepts["*"]);for(i in d.headers)x.setRequestHeader(i,d.headers[i]);if(d.beforeSend&&(!1===d.beforeSend.call(p,x,d)||2===_))return x.abort();w="abort";for(i in{success:1,error:1,complete:1})x[i](d[i]);if(c=J(Zt,d,t,x)){if(x.readyState=1,u&&h.trigger("ajaxSend",[x,d]),2===_)return x;d.async&&d.timeout>0&&(l=n.setTimeout(function(){x.abort("timeout")},d.timeout));try{_=1,c.send(y,r)}catch(e){if(!(_<2))throw e;r(-1,e)}}else r(-1,"No Transport");return x},getJSON:function(e,t,n){return ve.get(e,t,n,"json")},getScript:function(e,t){return ve.get(e,void 0,t,"script")}}),ve.each(["get","post"],function(e,t){ve[t]=function(e,n,r,o){return ve.isFunction(n)&&(o=o||r,r=n,n=void 0),ve.ajax(ve.extend({url:e,type:t,dataType:o,data:n,success:r},ve.isPlainObject(e)&&e))}}),ve._evalUrl=function(e){return ve.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ve.fn.extend({wrapAll:function(e){if(ve.isFunction(e))return this.each(function(t){ve(this).wrapAll(e.call(this,t))});if(this[0]){var t=ve(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ve.isFunction(e)?this.each(function(t){ve(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ve(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve.isFunction(e);return this.each(function(n){ve(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ve.nodeName(this,"body")||ve(this).replaceWith(this.childNodes)}).end()}}),ve.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},ve.expr.filters.visible=function(e){return!ve.expr.filters.hidden(e)};var rn=/%20/g,on=/\[\]$/,an=/\r?\n/g,sn=/^(?:submit|button|image|reset|file)$/i,ln=/^(?:input|select|textarea|keygen)/i;ve.param=function(e,t){var n,r=[],o=function(e,t){t=ve.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ve.ajaxSettings&&ve.ajaxSettings.traditional),ve.isArray(e)||e.jquery&&!ve.isPlainObject(e))ve.each(e,function(){o(this.name,this.value)});else for(n in e)ne(n,e[n],t,o);return r.join("&").replace(rn,"+")},ve.fn.extend({serialize:function(){return ve.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ve.prop(this,"elements");return e?ve.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ve(this).is(":disabled")&&ln.test(this.nodeName)&&!sn.test(e)&&(this.checked||!qe.test(e))}).map(function(e,t){var n=ve(this).val();return null==n?null:ve.isArray(n)?ve.map(n,function(e){return{name:t.name,value:e.replace(an,"\r\n")}}):{name:t.name,value:n.replace(an,"\r\n")}}).get()}}),ve.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?oe():se.documentMode>8?re():/^(get|post|head|put|delete|options)$/i.test(this.type)&&re()||oe()}:re;var un=0,cn={},fn=ve.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in cn)cn[e](void 0,!0)}),me.cors=!!fn&&"withCredentials"in fn,fn=me.ajax=!!fn,fn&&ve.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(r,o){var i,a=e.xhr(),s=++un;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)a[i]=e.xhrFields[i];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(i in r)void 0!==r[i]&&a.setRequestHeader(i,r[i]+"");a.send(e.hasContent&&e.data||null),t=function(n,r){var i,l,u;if(t&&(r||4===a.readyState))if(delete cn[s],t=void 0,a.onreadystatechange=ve.noop,r)4!==a.readyState&&a.abort();else{u={},i=a.status,"string"==typeof a.responseText&&(u.text=a.responseText);try{l=a.statusText}catch(e){l=""}i||!e.isLocal||e.crossDomain?1223===i&&(i=204):i=u.text?200:404}u&&o(i,l,u,a.getAllResponseHeaders())},e.async?4===a.readyState?n.setTimeout(t):a.onreadystatechange=cn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ve.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ve.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ve.globalEval(e),e}}}),ve.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ve.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||ve("head")[0]||se.documentElement;return{send:function(r,o){t=se.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||o(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var dn=[],pn=/(=)\?(?=&|$)|\?\?/;ve.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=dn.pop()||ve.expando+"_"+qt++;return this[e]=!0,e}}),ve.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(pn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&pn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ve.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(pn,"$1"+o):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||ve.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=n[o],n[o]=function(){a=arguments},r.always(function(){void 0===i?ve(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,dn.push(o)),a&&ve.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ve.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||se;var r=Se.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=w([e],t,o),o&&o.length&&ve(o).remove(),ve.merge([],r.childNodes))};var hn=ve.fn.load;ve.fn.load=function(e,t,n){if("string"!=typeof e&&hn)return hn.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=ve.trim(e.slice(s,e.length)),e=e.slice(0,s)),ve.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ve.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?ve("<div>").append(ve.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},ve.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ve.fn[t]=function(e){return this.on(t,e)}}),ve.expr.filters.animated=function(e){return ve.grep(ve.timers,function(t){return e===t.elem}).length},ve.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u,c=ve.css(e,"position"),f=ve(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),i=ve.css(e,"top"),l=ve.css(e,"left"),u=("absolute"===c||"fixed"===c)&&ve.inArray("auto",[i,l])>-1,u?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),ve.isFunction(t)&&(t=t.call(e,n,ve.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):f.css(d)}},ve.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ve.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},o=this[0],i=o&&o.ownerDocument;if(i)return t=i.documentElement,ve.contains(t,o)?(void 0!==o.getBoundingClientRect&&(r=o.getBoundingClientRect()),n=ie(i),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ve.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ve.nodeName(e[0],"html")||(n=e.offset()),n.top+=ve.css(e[0],"borderTopWidth",!0),n.left+=ve.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ve.css(r,"marginTop",!0),left:t.left-n.left-ve.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ve.nodeName(e,"html")&&"static"===ve.css(e,"position");)e=e.offsetParent;return e||ht})}}),ve.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ve.fn[e]=function(r){return Ve(this,function(e,r,o){var i=ie(e);if(void 0===o)return i?t in i?i[t]:i.document.documentElement[r]:e[r];i?i.scrollTo(n?ve(i).scrollLeft():o,n?o:ve(i).scrollTop()):e[r]=o},e,r,arguments.length,null)}}),ve.each(["top","left"],function(e,t){ve.cssHooks[t]=L(me.pixelPosition,function(e,n){if(n)return n=vt(e,t),dt.test(n)?ve(e).position()[t]+"px":n})}),ve.each({Height:"height",Width:"width"},function(e,t){ve.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ve.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return Ve(this,function(t,n,r){var o;return ve.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?ve.css(t,n,a):ve.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),ve.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),ve.fn.size=function(){return this.length},ve.fn.andSelf=ve.fn.addBack,r=[],void 0!==(o=function(){return ve}.apply(t,r))&&(e.exports=o);var mn=n.jQuery,vn=n.$;return ve.noConflict=function(e){return n.$===ve&&(n.$=vn),e&&n.jQuery===ve&&(n.jQuery=mn),ve},i&&!n.__OKTA_EXPORT_JQUERY__||(n.jQuery=n.$=ve),ve})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(11)),a=r(n(55)),s=r(n(28)),l={},u=["responseType","scopes","state","nonce","idp","idpScope","display","prompt","maxAge","loginHint"];l.AUTH_PARAMS=u,l.getTokens=function(e,t,n){function r(t){e.callGlobalSuccess(i.default.SUCCESS,t)}function l(t){var r=!1,i=t;"access_denied"===t.errorCode&&(r=!0);"login_required"===t.errorCode&&"The client specified not to prompt, but the client app requires re-authentication or MFA."===t.errorSummary&&(r=!0,i={errorSummary:(0,o.loc)("error.mfa.required","login")}),r&&(n.model.trigger("error",n.model,{responseJSON:i}),n.model.appState.trigger("removeLoading")),s.default.triggerAfterError(n,new a.default.OAuthError(t.message),e)}var c=e.getAuthClient(),f=c.isAuthorizationCodeFlow()&&!c.isPKCE(),d=e.toJSON({verbose:!0}),p={};o._.extend(p,o._.pick(d,"clientId","redirectUri"),o._.pick(d.authParams,u),t),p.popupTitle=(0,o.loc)("socialauth.popup.title","login"),p.timeout=d.oAuthTimeout,"always"===d.redirect||f?c.token.getWithRedirect(p).catch(l):p.sessionToken?c.token.getWithoutPrompt(p).then(r).catch(l):c.token.getWithPopup(p).then(r).catch(l)};var c=l;t.default=c},function(e,t,n){"use strict";var r,o,i,a=n(1),s=a(n(536)),l=a(n(77));a(n(26));/**
 * Duo Web SDK v2
 * Copyright 2019, Duo Security
 */
!function(n,a){o=[],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,function(){function e(){k="",O="sig_response",A=void 0,C=void 0,R=void 0,I=void 0,N=void 0,M=void 0}function t(e,t){var n=t||"https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe";throw new Error("Duo Web SDK error: "+e+(n?"\nSee "+n+" for more information":""))}function n(e){return e.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function r(e,t){return"dataset"in e?e.dataset[t]:e.getAttribute("data-"+n(t))}function o(e,t,n,r){"addEventListener"in window?e.addEventListener(t,r,!1):e.attachEvent(n,r)}function i(e,t,n,r){"removeEventListener"in window?e.removeEventListener(t,r,!1):e.detachEvent(n,r)}function a(e){o(document,"DOMContentLoaded","onreadystatechange",e)}function u(e){i(document,"DOMContentLoaded","onreadystatechange",e)}function c(e){o(window,"message","onmessage",e)}function f(e){i(window,"message","onmessage",e)}function d(e){if(e){0===(0,l.default)(e).call(e,"ERR|")&&t(e.split("|")[1]),-1!==(0,l.default)(e).call(e,":")&&2===e.split(":").length||t("Duo was given a bad token.  This might indicate a configuration problem with one of Duo's client libraries.");var n=e.split(":");return C=e,R=n[0],I=n[1],{sigRequest:e,duoSig:n[0],appSig:n[1]}}}function p(e){return Boolean(e.origin==="https://"+A&&"string"==typeof e.data&&(e.data.match(P)||e.data.match(L)||e.data.match(D)))}function h(t){e(),t&&(t.host&&(A=t.host),t.sig_request&&d(t.sig_request),t.post_action&&(k=t.post_action),t.post_argument&&(O=t.post_argument),"function"==typeof t.submit_callback&&(M=t.submit_callback));var n=m(t);n?T(n,t.iframeAttributes||{}):E(t),u(h)}function m(e){var n;return e.iframe&&e.iframeContainer?t("Passing both `iframe` and `iframeContainer` arguments at the same time is not allowed."):e.iframe?(n=v(e.iframe),y(n)):e.iframeContainer?(n=v(e.iframeContainer),b(n)):n=document.getElementById("duo_iframe"),n}function v(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function g(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function y(e){e&&!g(e)&&t("`iframe` only accepts an iframe element or the id of an iframe. To use a non-iframe element, use the `iframeContainer` argument.")}function b(e){e&&g(e)&&t("`iframeContainer` only accepts a non-iframe element or the id of a non-iframe. To use a non-iframe element, use the `iframeContainer` argument on Duo.init().")}function _(){return["https://",A,"/frame/web/v1/auth?tx=",R,"&parent=",encodeURIComponent(document.location.href),"&v=2.8"].join("")}function w(e){if(p(e))if(e.data.match(D)){var t=e.data.substring("DUO_OPEN_WINDOW|".length);x(t)&&window.open(t,"_self")}else S(e.data),f(w)}function x(e){if(!e)return!1;var t=document.createElement("a");if(t.href=e,"duotrustedendpoints:"===t.protocol)return!0;if("https:"!==t.protocol)return!1;for(var n=0;n<j.length;n++){var r;if((0,s.default)(r=t.hostname).call(r,"."+j[n])||t.hostname===j[n])return!0}return!1}function E(e){a(function n(){var r=m(e);r||t('This page does not contain an iframe for Duo to use. Add an element like <iframe id="duo_iframe"></iframe> to this page.'),T(r,e.iframeAttributes||{}),u(n)})}function T(e,n){if(A||(A=r(e,"host"))||t("No API hostname is given for Duo to use.  Be sure to pass a `host` parameter to Duo.init, or through the `data-host` attribute on the iframe element."),R&&I||(d(r(e,"sigRequest")),R&&I||t("No valid signed request is given.  Be sure to give the `sig_request` parameter to Duo.init, or use the `data-sig-request` attribute on the iframe element.")),""===k&&(k=r(e,"postAction")||k),"sig_response"===O&&(O=r(e,"postArgument")||O),g(e))N=e,N.src=_();else{for(;e.firstChild;)e.removeChild(e.firstChild);N=document.createElement("iframe"),n.src=_();for(var o in n)N.setAttribute(o,n[o]);e.appendChild(N)}c(w)}function S(e){k(e+":"+I)}var k,O,A,C,R,I,N,M,P=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,L=/^ERR\|[\w\s\.\(\)]+$/,D=/^DUO_OPEN_WINDOW\|/,j=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];return e(),{init:h,_onReady:a,_parseSigRequest:d,_isDuoMessage:p,_doPostBack:S}})},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o={};o.getU2fEnrollErrorMessageKeyByCode=function(e){switch(e){default:case 1:return"u2f.error.other";case 2:case 3:return"u2f.error.badRequest";case 4:return"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},o.getU2fVerifyErrorMessageKeyByCode=function(e,t){switch(e){case 1:return t?"u2f.error.other.oneFactor":"u2f.error.other";case 2:case 3:return t?"u2f.error.badRequest.oneFactor":"u2f.error.badRequest";case 4:return t?"u2f.error.unsupported.oneFactor":"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},o.getU2fEnrollErrorMessageByCode=function(e){return(0,r.loc)(o.getU2fEnrollErrorMessageKeyByCode(e),"login")},o.getU2fVerifyErrorMessageByCode=function(e,t){return(0,r.loc)(o.getU2fVerifyErrorMessageKeyByCode(e,t),"login")},o.getU2fVersion=function(){return"U2F_V2"},o.isU2fAvailable=function(){return Object.prototype.hasOwnProperty.call(window,"u2f")};var i=o;t.default=i},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(2),a=r(n(245)),s=r(n(11)),l=r(n(198)),u=r(n(28)),c=l.default.extend({props:function(){var e=a.default.getCookieUsername(),t=this.getUsernameAndRemember(e),n={username:{type:"string",validate:function(e){if(i._.isEmpty(e))return(0,i.loc)("error.username.required","login")},value:t.username},lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(n.password={type:"string",validate:function(e){if(i._.isEmpty(e))return(0,i.loc)("error.password.required","login")}}),n},getUsernameAndRemember:function(e){var t,n=this.settings&&this.settings.get("username"),r=this.settings&&this.settings.get("features.rememberMe"),o=!1;return n?(t=n,o=r&&t===e):r&&e&&(t=e,o=!0),{username:t,remember:o}},constructor:function(e){this.settings=e&&e.settings,this.appState=e&&e.appState,i.Model.apply(this,arguments),this.listenTo(this,"change:username",function(e,t){this.set({remember:t===this.get("lastUsername")})})},parse:function(e){return i._.omit(e,["settings","appState"])},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),s.default.PRIMARY_AUTH),n=this.get("remember"),r=this.get("lastUsername");this.setUsernameCookie(t,n,r),this.trigger("save"),this.appState.trigger("loading",!0);var l,u=this.getSignInArgs(t);if(this.appState.get("isUnauthenticated")){var c=this.appState.settings.authClient;l=this.appState.get("isIdxStateToken")?this.doTransaction(function(e){return this.doPrimaryAuth(c,u,e.login)}):this.doTransaction(function(e){return this.doPrimaryAuth(c,u,e.authenticate)})}else l=this.startTransaction(function(e){return this.doPrimaryAuth(e,u,(0,o.default)(i._).call(i._,e.signInWithCredentials,e))});return l.catch(function(){e.appState.trigger("removeLoading"),a.default.removeUsernameCookie()}).finally(function(){e.appState.trigger("loading",!1)})},getSignInArgs:function(e){var t=this.get("multiOptionalFactorEnroll"),n={};return this.settings.get("features.passwordlessAuth")||(n.password=this.get("password")),this.appState.get("isIdxStateToken")?n.identifier=e:(n.username=e,n.options={warnBeforePasswordExpired:!0,multiOptionalFactorEnroll:t}),n},setUsernameCookie:function(e,t,n){this.settings.get("features.rememberMe")&&(t||n!==e?t&&a.default.setUsernameCookie(e):a.default.removeUsernameCookie())},doPrimaryAuth:function(e,t,n){var r=this.settings.get("features.deviceFingerprinting"),o=this.settings.get("features.trackTypingPattern");r&&this.appState.get("deviceFingerprint")&&(e.options.headers["X-Device-Fingerprint"]=this.appState.get("deviceFingerprint")),o&&this.appState.get("typingPattern")&&(e.options.headers["X-Typing-Pattern"]=this.appState.get("typingPattern")),e.options.headers=u.default.removeNils(e.options.headers);var i=this;return n(t).finally(function(){r&&(delete e.options.headers["X-Device-Fingerprint"],i.appState.unset("deviceFingerprint")),o&&(delete e.options.headers["X-Typing-Pattern"],i.appState.unset("typingPattern"))})}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(78)),i=r(n(97)),a=n(2),s=r(n(43)),l={getUserAgent:function(){return navigator.userAgent},isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(e,t){function n(){f.off(),f.remove(),window.removeEventListener("message",l,!1)}function r(e){n(),p.reject(e)}function l(t){if(h.isMessageFromCorrectSource(f,t)){if(clearTimeout(d),!t||!t.data||t.origin!==e)return void r("no data");try{var o=JSON.parse(t.data);o&&"FingerprintServiceReady"===o.type?u({type:"GetFingerprint"}):o&&"FingerprintAvailable"===o.type?(n(),p.resolve(o.fingerprint)):r("no data")}catch(e){}}}function u(t){var n=f[0].contentWindow;n&&n.postMessage((0,i.default)(t),e)}var c=this.getUserAgent();if(!c)return s.default.reject("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(c))return s.default.reject("device fingerprint is not supported on Windows phones");var f,d,p=s.default.defer(),h=this;return window.addEventListener("message",l,!1),f=(0,a.$)("<iframe>",{style:"display: none;",src:e+"/auth/services/devicefingerprint"}),t.append(f),d=(0,o.default)(function(){r("service not available")},2e3),p.promise}};t.default=l},function(e,t,n){"use strict";function r(e){return o.apply(this,arguments)}function o(){return o=(0,p.default)(f.default.mark(function e(t){var n;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getAuthClient(),e.abrupt("return",n.token.prepareTokenParams());case 2:case"end":return e.stop()}},e)})),o.apply(this,arguments)}function i(e){return a.apply(this,arguments)}function a(){return a=(0,p.default)(f.default.mark(function e(t){var n,o,i,a,s;return f.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.getAuthClient(),!n.transactionManager.exists()){e.next=6;break}if(o=n.transactionManager.load(),!u(t,o)){e.next=5;break}return e.abrupt("return",o);case 5:h.default.warn("Saved transaction meta does not match the current configuration. This may indicate that two apps are sharing a storage key.");case 6:return e.next=8,r(t);case 8:return i=e.sent,a=t.get("codeChallenge"),s=t.get("codeChallengeMethod"),a&&(i.codeChallenge=a),s&&(i.codeChallengeMethod=s),e.abrupt("return",i);case 14:case"end":return e.stop()}},e)})),a.apply(this,arguments)}function s(e,t){e.getAuthClient().transactionManager.save(t)}function l(e){e.getAuthClient().transactionManager.clear()}function u(e,t){var n=["clientId","redirectUri"],r=e.getAuthClient();if((0,d.default)(n).call(n,function(e){return r.options[e]!==t[e]}))return!1;var o=e.get("codeChallenge");if(o&&t.codeChallenge!==o)return!1;var i=e.get("codeChallengeMethod");return!i||t.codeChallengeMethod===i}var c=n(1);n(0)(t,"__esModule",{value:!0}),t.createTransactionMeta=r,t.getTransactionMeta=i,t.saveTransactionMeta=s,t.clearTransactionMeta=l,t.isTransactionMetaValid=u;var f=c(n(120)),d=c(n(13)),p=c(n(121)),h=c(n(79))},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(162)),a=o(n(1243)),s=o(n(200)),l=o(n(1244));n(1250),n(560);var u=o(n(166)),c=o(n(1279)),f=o(n(1288)),d=o(n(1295)),p=n(255),h=function(){function e(e){return t.apply(this,arguments)}var t=(0,u.default)(i.default.mark(function e(t){var n,r,o,u,p,h,m,v,g,y,b,_,w,x,E,T,S,k,O,A,C,R;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.clientId,u=t.domain,p=t.issuer,h=t.stateHandle,m=t.interactionHandle,v=t.version,g=t.redirectUri,y=t.state,b=t.scopes,_=t.codeChallenge,w=t.codeChallengeMethod,p=null===(n=p)||void 0===n?void 0:n.replace(/\/+$/,""),x=(null===(r=p)||void 0===r?void 0:(0,a.default)(r).call(r,"/oauth2"))>0?p:p+"/oauth2",E={baseUrl:x,clientId:o,state:y},u||p){e.next=6;break}return e.abrupt("return",s.default.reject({error:"issuer is required"}));case 6:if(h||o){e.next=8;break}return e.abrupt("return",s.default.reject({error:"clientId is required"}));case 8:if(h||g){e.next=10;break}return e.abrupt("return",s.default.reject({error:"redirectUri is required"}));case 10:if(h||_&&w){e.next=12;break}return e.abrupt("return",s.default.reject({error:"PKCE params (codeChallenge, codeChallengeMethod) are required"}));case 12:if(u||(u=new l.default(p).origin),v){e.next=15;break}return e.abrupt("return",s.default.reject({error:"version is required"}));case 15:if((T=(null!==v&&void 0!==v?v:"").replace(/[^0-9a-zA-Z._-]/,""))===v&&v){e.next=18;break}return e.abrupt("return",s.default.reject({error:"invalid version supplied - version is required and uses semver syntax"}));case 18:if(h||m){e.next=31;break}return e.prev=19,S={clientId:o,baseUrl:x,scopes:b,redirectUri:g,codeChallenge:_,codeChallengeMethod:w,state:y},e.next=23,(0,f.default)(S);case 23:k=e.sent,m=k,E.interactionHandle=m,e.next=31;break;case 28:return e.prev=28,e.t0=e.catch(19),e.abrupt("return",s.default.reject({error:e.t0}));case 31:return e.prev=31,O=(0,d.default)(v),A=O.makeIdxState,e.next=35,(0,c.default)({domain:u,interactionHandle:m,stateHandle:h,version:v}).catch(function(e){return s.default.reject({error:"introspect call failed",details:A(e,E)})});case 35:return C=e.sent,R=A(C,E),e.abrupt("return",R);case 40:return e.prev=40,e.t1=e.catch(31),e.abrupt("return",s.default.reject({error:e.t1}));case 43:case"end":return e.stop()}},e,null,[[19,28],[31,40]])}));return e}(),m=(0,d.default)("1.0.0"),v=m.makeIdxState,g={start:h,introspect:c.default,interact:f.default,makeIdxState:v,client:p.HttpClient,LATEST_SUPPORTED_IDX_API_VERSION:"1.0.0"};t.default=g},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(91),o=n(201),i=n(164),a=n(336),s=n(569),l=n(570),u=l.get,c=l.enforce,f=String(String).split("String");(e.exports=function(e,t,n,s){var l,u=!!s&&!!s.unsafe,d=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;if("function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),l=c(n),l.source||(l.source=f.join("string"==typeof t?t:""))),e===r)return void(d?e[t]=n:a(t,n));u?!p&&e[t]&&(d=!0):delete e[t],d?e[t]=n:o(e,t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&u(this).source||s(this)})},function(e,t,n){var r=n(91),o=n(201);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(91),o=n(336),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(1254),o=n(337);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports={}},function(e,t,n){var r=n(1257),o=n(91),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){"use strict";var r=n(1263),o=n(1264),i=n(338),a=n(1265),s=n(570).get,l=n(1269),u=n(1270),c=RegExp.prototype.exec,f=i("native-string-replace",String.prototype.replace),d=c,p=function(){var e=/a/,t=/b*/g;return c.call(e,"a"),c.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),h=o.UNSUPPORTED_Y||o.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(p||m||h||l||u)&&(d=function(e){var t,n,o,i,l,u,v,g=this,y=s(g),b=y.raw;if(b)return b.lastIndex=g.lastIndex,t=d.call(b,e),g.lastIndex=b.lastIndex,t;var _=y.groups,w=h&&g.sticky,x=r.call(g),E=g.source,T=0,S=e;if(w&&(x=x.replace("y",""),-1===x.indexOf("g")&&(x+="g"),S=String(e).slice(g.lastIndex),g.lastIndex>0&&(!g.multiline||g.multiline&&"\n"!==e[g.lastIndex-1])&&(E="(?: "+E+")",S=" "+S,T++),n=new RegExp("^(?:"+E+")",x)),m&&(n=new RegExp("^"+E+"$(?!\\s)",x)),p&&(o=g.lastIndex),i=c.call(w?n:g,S),w?i?(i.input=i.input.slice(T),i[0]=i[0].slice(T),i.index=g.lastIndex,g.lastIndex+=i[0].length):g.lastIndex=0:p&&i&&(g.lastIndex=g.global?i.index+i[0].length:o),m&&i&&i.length>1&&f.call(i[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(i[l]=void 0)}),i&&_)for(i.groups=u=a(null),l=0;l<_.length;l++)v=_[l],u[v[0]]=i[v[1]];return i}),e.exports=d},function(e,t,n){e.exports=n(577)},function(e,t,n){e.exports=n(579)},function(e,t,n){e.exports=n(581)},function(e,t,n){e.exports=n(582)},function(e,t,n){function r(e,t,n){return t in e?o(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o=n(1286);e.exports=r},function(e,t,n){e.exports=n(480)},function(e,t,n){e.exports=n(491)},function(e,t,n){e.exports=n(485)},function(e,t,n){var r=n(254),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(32)),i=r(n(10)),a=r(n(27)),s=r(n(13)),l=r(n(52)),u=n(2),c=r(n(1333)),f=r(n(1431)),d=n(603),p=n(24),h=r(n(28)),m=r(n(248)),v=n(556),g=u.Controller.extend({className:"form-controller",appStateEvents:{"change:currentFormName":"handleFormNameChange",afterError:"handleAfterError",invokeAction:"handleInvokeAction",saveForm:"handleSaveForm",switchForm:"handleSwitchForm"},preRender:function(){this.removeChildren()},postRender:function(){var e=this.options.appState.getCurrentViewState();if(e){this.clearMetadata();var t=c.default.create(e.name,this.options.appState.get("authenticatorKey"));try{this.formView=this.add(t,{options:{currentViewState:e}}).last()}catch(e){return void this.options.settings.callGlobalError(e)}this.triggerAfterRenderEvent()}},clearMetadata:function(){var e=this.options.appState.get("currentFormName");(0,l.default)(p.TERMINAL_FORMS).call(p.TERMINAL_FORMS,e)&&m.default.removeStateHandle()},triggerAfterRenderEvent:function(){var e=this.createAfterEventContext();this.trigger("afterRender",e)},handleFormNameChange:function(){this.render()},handleAfterError:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.createAfterEventContext(),n={xhr:e,errorSummary:e.responseJSON&&e.responseJSON.errorSummary};this.trigger("afterError",t,n)},createAfterEventContext:function(){var e=this.options.appState.get("currentFormName"),t=this.options.appState.get("authenticatorKey"),n=this.options.appState.get("authenticatorMethodType"),r=this.options.appState.get("isPasswordRecoveryFlow"),o=(0,d.getV1ClassName)(e,t,n,r),i={controller:o,formName:e};return t&&(i.authenticatorKey=t),n&&(i.methodType=n),i},handleSwitchForm:function(e){this.options.appState.get("messages")&&this.options.appState.unset("messages"),this.options.appState.set("currentFormName",e)},handleInvokeAction:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=this.options.appState.get("idx");if("cancel"===n&&((0,v.clearTransactionMeta)(this.options.settings),m.default.removeStateHandle(),this.options.appState.clearAppStateCache()),(0,s.default)(e=r.neededToProceed).call(e,function(e){return e.name===n})){var o;return void r.proceed(n,{}).then((0,a.default)(o=this.handleIdxResponse).call(o,this)).catch(function(e){t.showFormErrors(t.formView.model,e,t.formView.form)})}var i=r.actions[n];u._.isFunction(i)?i().then(function(e){"cancel"===n&&t.options.settings.get("useInteractionCodeFlow")?t.options.appState.trigger("restartLoginFlow"):t.handleIdxResponse(e)}).catch(function(e){t.showFormErrors(t.formView.model,e,t.formView.form)}):(this.options.settings.callGlobalError("Invalid action selected: ".concat(n)),this.showFormErrors(this.formView.model,"Invalid action selected.",this.formView.form))},handleSaveForm:function(e){var t=this,n=e.get("formName");if(this.toggleFormButtonState(!0),e.trigger("request"),e.get("useRedirect")){m.default.removeStateHandle();var r=this.options.appState.getCurrentViewState();return void h.default.redirectWithFormGet(r.href)}var o=this.transformIdentifier(n,e),i=this.options.appState.get("idx");if(!this.options.appState.hasRemediationObject(n))return this.options.settings.callGlobalError('Cannot find http action for "'.concat(n,'".')),void this.showFormErrors(this.formView.model,"Cannot find action to proceed.",this.formView.form);i.proceed(n,o).then(function(r){var i,s=(0,a.default)(i=t.handleIdxResponse).call(i,t,r);if(n===p.FORMS.ENROLL_PROFILE){var l;t.settings.postRegistrationSubmit(null===o||void 0===o?void 0:null===(l=o.userProfile)||void 0===l?void 0:l.email,s,function(t){e.trigger("error",e,{responseJSON:t})})}else s()}).catch(function(n){n.stepUp?t.handleIdxResponse(n):t.showFormErrors(e,n,t.formView.form)}).finally(function(){t.toggleFormButtonState(!1)})},transformIdentifier:function(e,t){var n=t.toJSON();if(Object.prototype.hasOwnProperty.call(n,"identifier")){var r=p.FORM_NAME_TO_OPERATION_MAP[e];n.identifier=this.settings.transformUsername(n.identifier,r)}return n},showFormErrors:function(e,t,n){var r,a,s,l,u;e.trigger("clearFormError"),t||(t="FormController - unknown error found",this.options.settings.callGlobalError(t)),(null===(r=t)||void 0===r?void 0:r.rawIdxState)&&(u=t,t=t.rawIdxState),f.default.isIonErrorResponse(t)?l=f.default.convertFormErrors(t):t.errorSummary&&(l={responseJSON:t});var c=!(null===n||void 0===n?void 0:n.isErrorCalloutCustomized(l));e.trigger("error",e,l||{responseJSON:{errorSummary:String(t)}},c),u=(0,i.default)({},u,{hasFormError:!0}),c||n.showCustomErrorCallout(l),(0,o.default)(null===(a=u)||void 0===a?void 0:a.neededToProceed)&&(null===(s=u)||void 0===s?void 0:s.neededToProceed.length)&&this.handleIdxResponse(u)},handleIdxResponse:function(e){this.options.appState.trigger("updateAppState",e)},toggleFormButtonState:function(e){var t;(0,s.default)(t=this.$el).call(t,".o-form-button-bar .button").toggleClass("link-button-disabled",e)}});t.default=g},function(e,t,n){e.exports=n(582)},function(e,t,n){e.exports=n(581)},function(e,t,n){e.exports=n(579)},function(e,t,n){e.exports=n(577)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=t.FORGOT_PASSWORD_NOT_ENABLED=t.REGISTRATION_NOT_ENABLED=void 0;var o,i,a,s=r(n(17)),l=r(n(32)),u=r(n(13)),c=r(n(117)),f=r(n(88)),d=r(n(161)),p=r(n(18)),h=n(2),m=n(5),v=n(122),g=r(n(607));t.REGISTRATION_NOT_ENABLED="oie.registration.is.not.enabled";t.FORGOT_PASSWORD_NOT_ENABLED="oie.forgot.password.is.not.enabled";var y=["idx.transferred.to.new.tab","idx.return.stale","idx.return.error","idx.email.verification.required","idx.return.to.original.tab","idx.return.link.expired","idx.operation.cancelled.on.other.device","idx.operation.cancelled.by.user"],b=["idx.device.not.activated.consent.denied","idx.device.not.activated.internal.error"],_=(0,p.default)(o=["idx.device.activated"]).call(o,b),w=(0,p.default)(i=["oie.selfservice.unlock_user.success.message","idx.return.to.original.tab","idx.transferred.to.new.tab","idx.operation.cancelled.on.other.device"]).call(i,(0,d.default)(_),["oie.selfservice.unlock_user.challenge.failed.permissions","oie.selfservice.reset.password.not.allowed"]),x=(a={},(0,f.default)(a,"idx.return.link.expired","oie.email.return.link.expired.title"),(0,f.default)(a,"oie.selfservice.unlock_user.success.message","account.unlock.unlocked.title"),(0,f.default)(a,"idx.device.activated","device.code.activated.success.title"),(0,f.default)(a,"oie.registration.is.not.enabled","oie.registration.form.title"),(0,f.default)(a,"oie.forgot.password.is.not.enabled","password.reset.title.generic"),(0,f.default)(a,"idx.expired.activation.token","oie.activation.request.email.title.expire"),(0,f.default)(a,"idx.request.activation.email","oie.activation.request.email.title.submitted"),(0,f.default)(a,"idx.activating.inactive.user","oie.activation.request.email.title.suspended"),(0,f.default)(a,"idx.missing.activation.token","oie.activation.request.email.title.invalid"),(0,f.default)(a,"idx.device.not.activated.consent.denied","device.code.activated.error.title"),(0,f.default)(a,"idx.device.not.activated.internal.error","device.code.activated.error.title"),(0,f.default)(a,"idx.return.to.original.tab","oie.consent.enduser.email.allow.title"),a),E=m.BaseForm.extend({noButtonBar:!0,postRender:function(){if(m.BaseForm.prototype.postRender.apply(this,arguments),this.$el.addClass("terminal-state"),this.options.appState.containsMessageWithI18nKey(_)){var e=this.options.appState.containsMessageWithI18nKey("idx.device.activated")?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')}},title:function(){return this.getTerminalViewTitle()},getTerminalViewTitle:function(){var e=this;if(this.options.appState.containsMessageStartingWithI18nKey("idx.error.server.safe.mode"))return(0,h.loc)("oie.safe.mode.title","login");var t=(0,c.default)(x),n=(0,u.default)(t).call(t,function(t){return e.options.appState.containsMessageWithI18nKey(t)});return n?(0,h.loc)(x[n],"login"):void 0},showMessages:function(){var e,t=this,n=this.options.appState.get("messages");if(this.options.appState.containsMessageWithI18nKey("idx.operation.cancelled.on.other.device")?(e=(0,h.loc)("idx.operation.cancelled.on.other.device","login"),n.value.push({message:(0,h.loc)("oie.consent.enduser.deny.description","login")})):this.options.appState.containsMessageWithI18nKey("idx.return.to.original.tab")?(e=(0,h.loc)("oie.consent.enduser.email.allow.description","login"),n.value.push({message:(0,h.loc)("oie.return.to.original.tab","login")})):this.options.appState.containsMessageWithI18nKey("tooManyRequests")&&(e=(0,h.loc)("oie.tooManyRequests","login")),e&&(0,l.default)(null===n||void 0===n?void 0:n.value)&&(n.value[0].message=e),n&&(0,l.default)(n.value)){var r;this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),(0,s.default)(r=n.value).call(r,function(e){var n,r=e.message;"ERROR"===e.class||"idx.return.link.expired"===(null===(n=e.i18n)||void 0===n?void 0:n.key)?t.add((0,h.createCallout)({content:r,type:"error"}),{selector:".o-form-error-container",prepend:!0}):t.add("<p>".concat(r,"</p>"),".ion-messages-container")})}}}),T=m.BaseFooter.extend({links:function(){return this.options.appState.containsMessageStartingWithI18nKey("idx.error.server.safe.mode")?(0,v.getSkipSetupLink)(this.options.appState):this.options.appState.containsMessageWithI18nKey(b)?(0,v.getReloadPageButtonLink)():this.options.appState.containsMessageWithI18nKey(w)?void 0:(0,v.getBackToSignInLink)(this.options.settings)}}),S=m.BaseView.extend({initialize:function(){m.BaseView.prototype.initialize.apply(this,arguments),this.options.appState.containsMessageWithI18nKey(y)&&(this.Header=g.default)},Body:E,Footer:T});t.default=S},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(122),i=r.BaseFooter.extend({links:function(){return(0,o.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=i},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(155)),i=r(n(1384)),a=n(2),s=n(107),l=r(n(248)),u=a.View.extend({postRender:function(){this.showCalloutAfterTimeout()},showCalloutAfterTimeout:function(){var e=this;l.default.getResendTimestamp()||l.default.setResendTimestamp((0,i.default)()),this.showMeInterval=(0,o.default)(function(){var t=l.default.getResendTimestamp();(0,i.default)()-t>=s.SHOW_RESEND_TIMEOUT&&(e.$el.removeClass("hide"),clearInterval(e.showMeInterval),l.default.removeResendTimestamp())},250)},remove:function(){var e,t;a.View.prototype.remove.apply(this,arguments),clearInterval(this.showMeInterval);var n=this.options.appState.get("currentFormName"),r=(null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:e.resend)||(null===(t=this.options.appState.get("currentAuthenticatorEnrollment"))||void 0===t?void 0:t.resend),o=this.options.model.get("formName")!==n;!l.default.getResendTimestamp()||r&&!o||l.default.removeResendTimestamp()}});t.default=u},function(e,t,n){var r=n(19),o=n(6),i=n(260);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(9),o=n(262),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(37),o=n(265),i=n(48),a=n(25);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},function(e,t,n){var r=n(37),o=n(62),i=n(171).indexOf,a=n(169);e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(268);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var r=n(63);e.exports=r("document","documentElement")},function(e,t,n){var r=n(62),o=n(123).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){var r=n(20);t.f=r},function(e,t,n){var r=n(15);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){var r=n(16);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},function(e,t,n){"use strict";var r=n(110),o=n(33),i=n(642),a=n(271),s=n(23),l=n(126),u=n(177);e.exports=function(e){var t,n,c,f,d,p,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(h),_=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&a(b))for(t=s(h.length),n=new m(t);t>_;_++)p=y?g(h[_],_):h[_],l(n,_,p);else for(f=b.call(h),d=f.next,n=new m;!(c=d.call(f)).done;_++)p=y?i(f,g,[c.value,_],!0):c.value,l(n,_,p);return n.length=_,n}},function(e,t,n){"use strict";var r=n(33),o=n(109),i=n(23),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),u=o(t,s),c=arguments.length>2?arguments[2]:void 0,f=a((void 0===c?s:o(c,s))-u,s-l),d=1;for(u<l&&l<u+f&&(d=-1,u+=f-1,l+=f-1);f-- >0;)u in n?n[l]=n[u]:delete n[l],l+=d,u+=d;return n}},function(e,t,n){"use strict";var r=n(125),o=n(23),i=n(110),a=function(e,t,n,s,l,u,c,f){for(var d,p=l,h=0,m=!!c&&i(c,f,3);h<s;){if(h in n){if(d=m?m(n[h],h,t):n[h],u>0&&r(d))p=a(e,t,d,o(d.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=a},function(e,t,n){"use strict";var r=n(46).forEach,o=n(101),i=o("forEach");e.exports=i?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){"use strict";var r=n(62),o=n(72),i=n(23),a=n(101),s=Math.min,l=[].lastIndexOf,u=!!l&&1/[1].lastIndexOf(1,-0)<0,c=a("lastIndexOf"),f=u||!c;e.exports=f?function(e){if(u)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},function(e,t,n){"use strict";var r,o,i,a=n(6),s=n(73),l=n(50),u=n(37),c=n(20),f=n(71),d=c("iterator"),p=!1,h=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=s(s(i)))!==Object.prototype&&(r=o):p=!0);var m=void 0==r||a(function(){var e={};return r[d].call(e)!==e});m&&(r={}),f&&!m||u(r,d)||l(r,d,h),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){"use strict";var r=n(58),o=n(15),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(19),o=n(6),i=n(174),a=n(267),s=n(207),l=n(33),u=n(167),c=Object.assign,f=Object.defineProperty;e.exports=!c||o(function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||i(c({},t)).join("")!=o})?function(e,t){for(var n=l(e),o=arguments.length,c=1,f=a.f,d=s.f;o>c;)for(var p,h=u(arguments[c++]),m=f?i(h).concat(f(h)):i(h),v=m.length,g=0;v>g;)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(19),o=n(174),i=n(62),a=n(207).f,s=function(e){return function(t){for(var n,s=i(t),l=o(s),u=l.length,c=0,f=[];u>c;)n=l[c++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(173);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(33),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,u,c){var f=n+e.length,d=l.length,p=s;return void 0!==u&&(u=r(u),p=a),i.call(c,p,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":a=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>d){var c=o(s/10);return 0===c?r:c<=d?void 0===l[c-1]?i.charAt(1):l[c-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a})}},function(e,t,n){"use strict";var r=n(213).charAt,o=n(57),i=n(274),a=o.set,s=o.getterFor("String Iterator");i(String,"String",function(e){a(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})})},function(e,t,n){var r=n(9),o=n(146).trim,i=n(219),a=r.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){var r=n(9),o=n(146).trim,i=n(219),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(15),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(100);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(9);e.exports=r.Promise},function(e,t,n){var r=n(173);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,s,l,u,c,f=n(9),d=n(48).f,p=n(283).set,h=n(389),m=n(780),v=n(124),g=f.MutationObserver||f.WebKitMutationObserver,y=f.document,b=f.process,_=f.Promise,w=d(f,"queueMicrotask"),x=w&&w.value;x||(r=function(){var e,t;for(v&&(e=b.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},h||v||m||!g||!y?_&&_.resolve?(u=_.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=v?function(){b.nextTick(r)}:function(){p.call(f,r)}:(s=!0,l=y.createTextNode(""),new g(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=x||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(16),o=n(15),i=n(222);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(25).f,o=n(93),i=n(147),a=n(110),s=n(114),l=n(112),u=n(274),c=n(144),f=n(19),d=n(127).fastKey,p=n(57),h=p.set,m=p.getterFor;e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){s(e,c,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=r&&l(r,e[u],{that:e,AS_ENTRIES:n})}),p=m(t),v=function(e,t,n){var r,o,i=p(e),a=g(e,t);return a?a.value=n:(i.last=a={index:o=d(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},g=function(e,t){var n,r=p(e),o=d(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(c.prototype,{clear:function(){for(var e=this,t=p(e),n=t.index,r=t.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=void 0),delete n[r.index],r=r.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),r=g(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first==r&&(n.first=o),n.last==r&&(n.last=i),f?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=p(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!g(this,e)}}),i(c.prototype,n?{get:function(e){var t=g(this,e);return t&&t.value},set:function(e,t){return v(this,0===e?0:e,t)}}:{add:function(e){return v(this,e=0===e?0:e,e)}}),f&&r(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var r=t+" Iterator",o=m(t),i=m(r);u(e,t,function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})},function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){"use strict";var r=n(147),o=n(127).getWeakData,i=n(16),a=n(15),s=n(114),l=n(112),u=n(46),c=n(37),f=n(57),d=f.set,p=f.getterFor,h=u.find,m=u.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,function(e){return e[0]===t})};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){s(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[u],{that:e,AS_ENTRIES:n})}),h=p(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?g(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?g(t).has(e):n&&c(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},function(e,t,n){var r=n(72),o=n(23);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){var r=n(795);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(33),o=n(23),i=n(177),a=n(271),s=n(110),l=n(21).aTypedArrayConstructor;e.exports=function(e){var t,n,u,c,f,d,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,g=i(p);if(void 0!=g&&!a(g))for(f=g.call(p),d=f.next,p=[];!(c=d.call(f)).done;)p.push(c.value);for(v&&h>2&&(m=s(m,arguments[2],2)),n=o(p.length),u=new(l(this))(n),t=0;n>t;t++)u[t]=v?m(p[t],t):p[t];return u}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(6),o=n(20),i=n(71),a=o("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},function(e,t,n){"use strict";n(211);var r=n(3),o=n(63),i=n(398),a=n(51),s=n(147),l=n(82),u=n(275),c=n(57),f=n(114),d=n(37),p=n(110),h=n(178),m=n(16),v=n(15),g=n(93),y=n(99),b=n(852),_=n(177),w=n(20),x=o("fetch"),E=o("Headers"),T=w("iterator"),S=c.set,k=c.getterFor("URLSearchParams"),O=c.getterFor("URLSearchParamsIterator"),A=/\+/g,C=Array(4),R=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(A," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(R(n--),I);return t}},M=/[!'()~]|%20/g,P={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return P[e]},D=function(e){return encodeURIComponent(e).replace(M,L)},j=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)n=o[i++],n.length&&(r=n.split("="),e.push({key:N(r.shift()),value:N(r.join("="))}))},F=function(e){this.entries.length=0,j(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},B=u(function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:b(k(e).entries),kind:t})},"Iterator",function(){var e=O(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),V=function(){f(this,V,"URLSearchParams");var e,t,n,r,o,i,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(S(c,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==u)if(v(u))if("function"==typeof(e=_(u)))for(t=e.call(u),n=t.next;!(r=n.call(t)).done;){if(o=b(m(r.value)),i=o.next,(a=i.call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in u)d(u,l)&&p.push({key:l,value:u[l]+""});else j(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},q=V.prototype;s(q,{append:function(e,t){U(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=k(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=k(this),o=r.entries,i=!1,a=e+"",s=t+"",l=0;l<o.length;l++)n=o[l],n.key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=k(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=k(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)t=n[o++],r(t.value,t.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(q,T,q.entries),a(q,"toString",function(){for(var e,t=k(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(D(e.key)+"="+D(e.value));return n.join("&")},{enumerable:!0}),l(V,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:V}),i||"function"!=typeof x||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,"URLSearchParams"===h(n)&&(r=t.headers?new E(t.headers):new E,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:V,getState:k}},function(e,t,n){var r=n(44),o=n(29),i=n(287);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(29),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(34),o=n(862),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(292);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(44),o=n(29),i=n(183),a=n(295),s=n(225),l=n(74),u=n(226),c=Object.assign,f=Object.defineProperty;e.exports=!c||o(function(){if(r&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach(function(e){t[e]=e}),7!=c({},e)[n]||i(c({},t)).join("")!=o})?function(e,t){for(var n=l(e),o=arguments.length,c=1,f=a.f,d=s.f;o>c;)for(var p,h=u(arguments[c++]),m=f?i(h).concat(f(h)):i(h),v=m.length,g=0;v>g;)p=m[g++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(59),o=n(83),i=n(288).indexOf,a=n(184);e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){"use strict";function r(e){return void 0===e}t.a=r},function(e,t,n){"use strict";function r(e){return!0===e||!1===e||"[object Boolean]"===o.t.call(e)}t.a=r;var o=n(31)},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("Number")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("Symbol")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("ArrayBuffer")},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)&&Object(o.g)(e)}t.a=r;var o=n(31),i=n(408)},function(e,t,n){"use strict";function r(e){return o.l?Object(o.l)(e)&&!Object(i.a)(e):Object(s.a)(e)&&l.test(o.t.call(e))}var o=n(31),i=n(298),a=n(413),s=n(874),l=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;t.a=o.r?r:Object(a.a)(!1)},function(e,t,n){"use strict";function r(e){return function(){return e}}t.a=r},function(e,t,n){"use strict";function r(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=o.b}}t.a=r;var o=n(31)},function(e,t,n){"use strict";function r(e){return function(t){return null==t?void 0:t[e]}}t.a=r},function(e,t,n){"use strict";function r(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}function o(e,t){t=r(t);var n=i.n.length,o=e.constructor,l=Object(a.a)(o)&&o.prototype||i.c,u="constructor";for(Object(s.a)(e,u)&&!t.contains(u)&&t.push(u);n--;)(u=i.n[n])in e&&e[u]!==l[u]&&!t.contains(u)&&t.push(u)}t.a=o;var i=n(31),a=n(75),s=n(116)},function(e,t,n){"use strict";function r(e,t){var n=Object(o.a)(t),r=n.length;if(null==e)return!r;for(var i=Object(e),a=0;a<r;a++){var s=n[a];if(t[s]!==i[s]||!(s in i))return!1}return!0}t.a=r;var o=n(47)},function(e,t,n){"use strict";function r(e){for(var t={},n=Object(o.a)(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t}t.a=r;var o=n(47)},function(e,t,n){"use strict";function r(e){var t=[];for(var n in e)Object(o.a)(e[n])&&t.push(n);return t.sort()}t.a=r;var o=n(75)},function(e,t,n){"use strict";var r=n(302),o=n(186);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";var r=n(302),o=n(186);t.a=Object(r.a)(o.a,!0)},function(e,t,n){"use strict";function r(){return function(){}}function o(e){if(!Object(i.a)(e))return{};if(a.j)return Object(a.j)(e);var t=r();t.prototype=e;var n=new t;return t.prototype=null,n}t.a=o;var i=n(132),a=n(31)},function(e,t,n){"use strict";function r(e){return Object(o.a)(e)?Object(i.a)(e)?e.slice():Object(a.a)({},e):e}t.a=r;var o=n(132),i=n(133),a=n(420)},function(e,t,n){"use strict";function r(e,t,n){var r=Object(i.a)(e,Object(o.a)(t));return Object(a.a)(r)?n:r}t.a=r;var o=n(187),i=n(304),a=n(406)},function(e,t,n){"use strict";function r(e){return Object(i.a)(e)?e:[e]}t.a=r;var o=n(69),i=n(133);o.a.toPath=r},function(e,t,n){"use strict";function r(e,t,n){return null==e?o.a:Object(i.a)(e)?Object(c.a)(e,t,n):Object(a.a)(e)&&!Object(s.a)(e)?Object(l.a)(e):Object(u.a)(e)}t.a=r;var o=n(305),i=n(75),a=n(132),s=n(133),l=n(230),u=n(306),c=n(188)},function(e,t,n){"use strict";function r(e,t){return Object(i.a)(e,t,1/0)}t.a=r;var o=n(69),i=n(426);o.a.iteratee=r},function(e,t,n){"use strict";function r(){}t.a=r},function(e,t,n){"use strict";function r(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}t.a=r},function(e,t,n){"use strict";function r(e){var t=function(t){return e[t]},n="(?:"+Object(o.a)(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}}t.a=r;var o=n(47)},function(e,t,n){"use strict";t.a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"}},function(e,t,n){"use strict";var r=n(69);t.a=r.a.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g}},function(e,t,n){"use strict";function r(e,t,n,r,a){if(!(r instanceof t))return e.apply(n,a);var s=Object(o.a)(e.prototype),l=e.apply(s,a);return Object(i.a)(l)?l:s}t.a=r;var o=n(422),i=n(132)},function(e,t,n){"use strict";var r=n(68),o=n(75),i=n(433);t.a=Object(r.a)(function(e,t,n){if(!Object(o.a)(e))throw new TypeError("Bind must be called on a function");var a=Object(r.a)(function(r){return Object(i.a)(e,a,t,this,n.concat(r))});return a})},function(e,t,n){"use strict";var r=n(68);t.a=Object(r.a)(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)})},function(e,t,n){"use strict";function r(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}t.a=r},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);for(var r,a=Object(i.a)(e),s=0,l=a.length;s<l;s++)if(r=a[s],t(e[r],r,e))return r}t.a=r;var o=n(61),i=n(47)},function(e,t,n){"use strict";function r(e){return function(t,n,r){n=Object(o.a)(n,r);for(var a=Object(i.a)(t),s=e>0?0:a-1;s>=0&&s<a;s+=e)if(n(t[s],s,t))return s;return-1}}t.a=r;var o=n(61),i=n(76)},function(e,t,n){"use strict";var r=n(438);t.a=Object(r.a)(-1)},function(e,t,n){"use strict";function r(e,t,n,r){n=Object(o.a)(n,r,1);for(var a=n(t),s=0,l=Object(i.a)(e);s<l;){var u=Math.floor((s+l)/2);n(e[u])<a?s=u+1:l=u}return s}t.a=r;var o=n(61),i=n(76)},function(e,t,n){"use strict";var r=n(440),o=n(309),i=n(442);t.a=Object(i.a)(1,o.a,r.a)},function(e,t,n){"use strict";function r(e,t,n){return function(r,s,l){var u=0,c=Object(o.a)(r);if("number"==typeof l)e>0?u=l>=0?l:Math.max(l+c,u):c=l>=0?Math.min(l+1,c):l+c+1;else if(n&&l&&c)return l=n(r,s),r[l]===s?l:-1;if(s!==s)return l=t(i.q.call(r,u,c),a.a),l>=0?l+u:-1;for(l=e>0?u:c-1;l>=0&&l<c;l+=e)if(r[l]===s)return l;return-1}}t.a=r;var o=n(76),i=n(31),a=n(411)},function(e,t,n){"use strict";function r(e,t,n){var r=Object(o.a)(e)?i.a:a.a,s=r(e,t,n);if(void 0!==s&&-1!==s)return e[s]}t.a=r;var o=n(70),i=n(309),a=n(437)},function(e,t,n){"use strict";function r(e){var t=function(t,n,r,a){var s=!Object(o.a)(t)&&Object(i.a)(t),l=(s||t).length,u=e>0?0:l-1;for(a||(r=t[s?s[u]:u],u+=e);u>=0&&u<l;u+=e){var c=s?s[u]:u;r=n(r,t[c],c,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,Object(a.a)(n,o,4),r,i)}}t.a=r;var o=n(70),i=n(47),a=n(188)},function(e,t,n){"use strict";function r(e,t,n){var r,l,u=-1/0,c=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=Object(o.a)(e)?e:Object(i.a)(e);for(var f=0,d=e.length;f<d;f++)null!=(r=e[f])&&r>u&&(u=r)}else t=Object(a.a)(t,n),Object(s.a)(e,function(e,n,r){((l=t(e,n,r))>c||l===-1/0&&u===-1/0)&&(u=e,c=l)});return u}t.a=r;var o=n(70),i=n(149),a=n(61),s=n(134)},function(e,t,n){"use strict";function r(e,t,n){if(null==t||n)return Object(o.a)(e)||(e=Object(a.a)(e)),e[Object(l.a)(e.length-1)];var r=Object(o.a)(e)?Object(i.a)(e):Object(a.a)(e),u=Object(s.a)(r);t=Math.max(Math.min(t,u),0);for(var c=u-1,f=0;f<t;f++){var d=Object(l.a)(f,c),p=r[f];r[f]=r[d],r[d]=p}return r.slice(0,t)}t.a=r;var o=n(70),i=n(423),a=n(149),s=n(76),l=n(429)},function(e,t,n){"use strict";var r=n(68),o=n(75),i=n(188),a=n(186),s=n(923),l=n(150);t.a=Object(r.a)(function(e,t){var n={},r=t[0];if(null==e)return n;Object(o.a)(r)?(t.length>1&&(r=Object(i.a)(r,t[1])),t=Object(a.a)(e)):(r=s.a,t=Object(l.a)(t,!1,!1),e=Object(e));for(var u=0,c=t.length;u<c;u++){var f=t[u],d=e[f];r(d,f,e)&&(n[f]=d)}return n})},function(e,t,n){"use strict";function r(e,t,n){return o.q.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}t.a=r;var o=n(31)},function(e,t,n){"use strict";function r(e,t,n){return o.q.call(e,null==t||n?1:t)}t.a=r;var o=n(31)},function(e,t,n){"use strict";var r=n(68),o=n(150),i=n(189),a=n(190);t.a=Object(r.a)(function(e,t){return t=Object(o.a)(t,!0,!0),Object(i.a)(e,function(e){return!Object(a.a)(t,e)})})},function(e,t,n){"use strict";function r(e,t,n,r){Object(o.a)(t)||(r=n,n=t,t=!1),null!=n&&(n=Object(i.a)(n,r));for(var l=[],u=[],c=0,f=Object(a.a)(e);c<f;c++){var d=e[c],p=n?n(d,c,e):d;t&&!n?(c&&u===p||l.push(d),u=p):n?Object(s.a)(u,p)||(u.push(p),l.push(d)):Object(s.a)(l,d)||l.push(d)}return l}t.a=r;var o=n(407),i=n(61),a=n(76),s=n(190)},function(e,t,n){"use strict";function r(e){for(var t=e&&Object(o.a)(e,i.a).length||0,n=Array(t),r=0;r<t;r++)n[r]=Object(a.a)(e,r);return n}t.a=r;var o=n(445),i=n(76),a=n(310)},function(e,t,n){"use strict";function r(e,t){return e._chain?Object(o.a)(t).chain():t}t.a=r;var o=n(69)},function(e,t,n){var r=n(455);e.exports=r},function(e,t,n){n(938);var r=n(22),o=r.Object,i=e.exports=function(e,t,n){return o.defineProperty(e,t,n)};o.defineProperty.sham&&(i.sham=!0)},function(e,t,n){e.exports=n(939)},function(e,t,n){var r=n(458);e.exports=r},function(e,t,n){n(949);var r=n(22);e.exports=r.Object.keys},function(e,t,n){e.exports=n(460)},function(e,t,n){n(104),n(139);var r=n(469);e.exports=r},function(e,t,n){var r=n(34),o=n(462),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(402),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){"use strict";var r=n(7),o=n(464),i=n(234),a=n(313),s=n(105),l=n(85),u=n(138),c=n(35),f=n(87),d=n(137),p=n(465),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,v=c("iterator"),g=function(){return this};e.exports=function(e,t,n,c,p,y,b){o(n,t,c);var _,w,x,E=function(e){if(e===p&&A)return A;if(!m&&e in k)return k[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",S=!1,k=e.prototype,O=k[v]||k["@@iterator"]||p&&k[p],A=!m&&O||E(p),C="Array"==t?k.entries||O:O;if(C&&(_=i(C.call(new e)),h!==Object.prototype&&_.next&&(f||i(_)===h||(a?a(_,h):"function"!=typeof _[v]&&l(_,v,g)),s(_,T,!0,!0),f&&(d[T]=g))),"values"==p&&O&&"values"!==O.name&&(S=!0,A=function(){return O.call(this)}),f&&!b||k[v]===A||l(k,v,A),d[t]=A,p)if(w={values:E("values"),keys:y?A:E("keys"),entries:E("entries")},b)for(x in w)!m&&!S&&x in k||u(k,x,w[x]);else r({target:t,proto:!0,forced:m||S},w);return w}},function(e,t,n){"use strict";var r=n(465).IteratorPrototype,o=n(192),i=n(129),a=n(105),s=n(137),l=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),s[u]=l,e}},function(e,t,n){"use strict";var r,o,i,a=n(234),s=n(85),l=n(59),u=n(35),c=n(87),f=u("iterator"),d=!1,p=function(){return this};[].keys&&(i=[].keys(),"next"in i?(o=a(a(i)))!==Object.prototype&&(r=o):d=!0),void 0==r&&(r={}),c||l(r,f)||s(r,f,p),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var r=n(29);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(95);e.exports=r("document","documentElement")},function(e,t,n){var r=n(148),o=n(131),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(53),o=n(193);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){n(104),n(139);var r=n(953);e.exports=r},function(e,t,n){var r=n(472);e.exports=r},function(e,t,n){n(139),n(955);var r=n(22);e.exports=r.Array.from},function(e,t,n){"use strict";var r=n(115),o=n(74),i=n(474),a=n(475),s=n(66),l=n(152),u=n(193);e.exports=function(e){var t,n,c,f,d,p,h=o(e),m="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,b=u(h),_=0;if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),void 0==b||m==Array&&a(b))for(t=s(h.length),n=new m(t);t>_;_++)p=y?g(h[_],_):h[_],l(n,_,p);else for(f=b.call(h),d=f.next,n=new m;!(c=d.call(f)).done;_++)p=y?i(f,g,[c.value,_],!0):c.value,l(n,_,p);return n.length=_,n}},function(e,t,n){var r=n(53);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(35),o=n(137),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){var r=n(35),o=r("iterator"),i=!1;try{var a=0,s={next:function(){return{done:!!a++}},return:function(){i=!0}};s[o]=function(){return this},Array.from(s,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var r={};r[o]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}},function(e,t,n){var r=n(478);e.exports=r},function(e,t,n){n(479),n(139),n(104);var r=n(315);e.exports=r.f("iterator")},function(e,t,n){n(42)("iterator")},function(e,t,n){var r=n(481);n(985),n(986),n(987),n(988),n(989),e.exports=r},function(e,t,n){n(482),n(319),n(483),n(970),n(971),n(972),n(973),n(479),n(974),n(975),n(976),n(977),n(978),n(979),n(980),n(981),n(982),n(983),n(984);var r=n(22);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(7),o=n(29),i=n(136),a=n(38),s=n(74),l=n(66),u=n(152),c=n(235),f=n(194),d=n(35),p=n(317),h=d("isConcatSpreadable"),m=p>=51||!o(function(){var e=[];return e[h]=!1,e.concat()[0]!==e}),v=f("concat"),g=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=s(this),f=c(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],g(i)){if(o=l(i.length),d+o>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,d++)n in i&&u(f,d,i[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(f,d++,i)}return f.length=d,f}})},function(e,t,n){"use strict";var r=n(7),o=n(34),i=n(95),a=n(87),s=n(44),l=n(292),u=n(403),c=n(29),f=n(59),d=n(136),p=n(38),h=n(53),m=n(74),v=n(83),g=n(227),y=n(129),b=n(192),_=n(183),w=n(320),x=n(969),E=n(295),T=n(128),S=n(86),k=n(225),O=n(85),A=n(138),C=n(291),R=n(233),I=n(184),N=n(228),M=n(35),P=n(315),L=n(42),D=n(105),j=n(94),F=n(96).forEach,U=R("hidden"),B=M("toPrimitive"),V=j.set,q=j.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,z=i("JSON","stringify"),K=T.f,$=S.f,G=x.f,Y=k.f,J=C("symbols"),Q=C("op-symbols"),X=C("string-to-symbol-registry"),Z=C("symbol-to-string-registry"),ee=C("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c(function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=K(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,oe=function(e,t){var n=J[e]=b(W.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(Q,t,n),h(e);var r=g(t,!0);return h(n),f(J,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,U)||$(e,U,y(1,{})),e[U][r]=!0),re(e,r,n)):$(e,r,n)},se=function(e,t){h(e);var n=v(t),r=_(n).concat(de(n));return F(r,function(t){s&&!ue.call(n,t)||ae(e,t,n[t])}),e},le=function(e,t){return void 0===t?b(e):se(b(e),t)},ue=function(e){var t=g(e,!0),n=Y.call(this,t);return!(this===H&&f(J,t)&&!f(Q,t))&&(!(n||!f(this,t)||!f(J,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!f(J,r)||f(Q,r)){var o=K(n,r);return!o||!f(J,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},fe=function(e){var t=G(v(e)),n=[];return F(t,function(e){f(J,e)||f(I,e)||n.push(e)}),n},de=function(e){var t=e===H,n=G(t?Q:v(e)),r=[];return F(n,function(e){!f(J,e)||t&&!f(H,e)||r.push(J[e])}),r};if(l||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call(Q,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)},A(W.prototype,"toString",function(){return q(this).tag}),A(W,"withoutSetter",function(e){return oe(N(e),e)}),k.f=ue,S.f=ae,T.f=ce,w.f=x.f=fe,E.f=de,P.f=function(e){return oe(M(e),e)},s&&($(W.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||A(H,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),F(_(ee),function(e){L(e)}),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(X,t))return X[t];var n=W(t);return X[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:le,defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c(function(){E.f(1)})},{getOwnPropertySymbols:function(e){return E.f(m(e))}}),z){r({target:"JSON",stat:!0,forced:!l||c(function(){var e=W();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!ie(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,z.apply(null,o)}})}W.prototype[B]||O(W.prototype,B,W.prototype.valueOf),D(W,"Symbol"),I[U]=!0},function(e,t,n){e.exports=n(997)},function(e,t,n){var r=n(486);e.exports=r},function(e,t,n){n(1002);var r=n(22);e.exports=r.Array.isArray},function(e,t,n){n(104);var r=n(1003),o=n(118),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===i||e instanceof Array&&t===i.forEach||a.hasOwnProperty(o(e))?r:t}},function(e,t,n){var r=n(1016);e.exports=r},function(e,t,n){var r=n(490);e.exports=r},function(e,t,n){var r=n(1019),o=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===o||e instanceof Array&&t===o.indexOf?r:t}},function(e,t,n){var r=n(1038);e.exports=r},function(e,t,n){var r=n(7),o=n(34),i=n(318),a=[].slice,s=/MSIE .\./.test(i),l=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:s},{setTimeout:l(o.setTimeout),setInterval:l(o.setInterval)})},function(e,t,n){e.exports=n(1043)},function(e,t,n){var r=n(1047);e.exports=r},function(e,t,n){var r=n(1064);e.exports=r},function(e,t,n){e.exports=n(497)},function(e,t,n){var r=n(498);e.exports=r},function(e,t,n){var r=n(1066),o=Array.prototype;e.exports=function(e){var t=e.slice;return e===o||e instanceof Array&&t===o.slice?r:t}},function(e,t,n){var r=n(1068);e.exports=r},function(e,t,n){var r=n(481);e.exports=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},l.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}t.__esModule=!0,t.HandlebarsEnvironment=o;var i=n(98),a=n(141),s=r(a),l=n(502),u=n(1088),c=n(503),f=r(c),d=n(504);t.VERSION="4.7.6";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;var p={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};t.REVISION_CHANGES=p;o.prototype={constructor:o,logger:f.default,log:f.default.log,registerHelper:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple helpers");i.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===i.toString.call(e))i.extend(this.partials,e);else{if(void 0===t)throw new s.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if("[object Object]"===i.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple decorators");i.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){d.resetLoggedProperties()}};var h=f.default.log;t.log=h,t.createFrame=i.createFrame,t.logger=f.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){s.default(e),u.default(e),f.default(e),p.default(e),m.default(e),g.default(e),b.default(e)}function i(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])}t.__esModule=!0,t.registerDefaultHelpers=o,t.moveHelperToHooks=i;var a=n(1081),s=r(a),l=n(1082),u=r(l),c=n(1083),f=r(c),d=n(1084),p=r(d),h=n(1085),m=r(h),v=n(1086),g=r(v),y=n(1087),b=r(y)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(98),o={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(o.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=o.lookupLevel(e),"undefined"!=typeof console&&o.lookupLevel(o.level)<=e){var t=o.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i]}}};t.default=o,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:l.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:l.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}}function o(e,t,n){return"function"==typeof e?i(t.methods,n):i(t.properties,n)}function i(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(a(t),!1)}function a(e){!0!==f[e]&&(f[e]=!0,c.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}function s(){Object.keys(f).forEach(function(e){delete f[e]})}t.__esModule=!0,t.createProtoAccessControl=r,t.resultIsAllowed=o,t.resetLoggedProperties=s;var l=n(1090),u=n(503),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(u),f=Object.create(null)},function(e,t){var n=function(e){function t(){this.fetch=!1,this.DOMException=e.DOMException}return t.prototype=e,new t}("undefined"!=typeof self?self:this);!function(e){!function(t){function n(e){return e&&DataView.prototype.isPrototypeOf(e)}function r(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function o(e){return"string"!=typeof e&&(e=String(e)),e}function i(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return _.iterable&&(t[Symbol.iterator]=function(){return t}),t}function a(e){this.map={},e instanceof a?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function s(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function l(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function u(e){var t=new FileReader,n=l(t);return t.readAsArrayBuffer(e),n}function c(e){var t=new FileReader,n=l(t);return t.readAsText(e),n}function f(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}function d(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function p(){return this.bodyUsed=!1,this._initBody=function(e){this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:_.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:_.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():_.arrayBuffer&&_.blob&&n(e)?(this._bodyArrayBuffer=d(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||x(e))?this._bodyArrayBuffer=d(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):_.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},_.blob&&(this.blob=function(){var e=s(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?s(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var e=s(this);if(e)return e;if(this._bodyBlob)return c(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(f(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},_.formData&&(this.formData=function(){return this.text().then(v)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e){var t=e.toUpperCase();return E.indexOf(t)>-1?t:e}function m(e,t){t=t||{};var n=t.body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function v(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function g(e){var t=new a;return e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t}function y(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new a(t.headers),this.url=t.url||"",this._initBody(e)}function b(e,n){return new Promise(function(r,o){function i(){s.abort()}var a=new m(e,n);if(a.signal&&a.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;s.onload=function(){var e={status:s.status,statusText:s.statusText,headers:g(s.getAllResponseHeaders()||"")};e.url="responseURL"in s?s.responseURL:e.headers.get("X-Request-URL");var t="response"in s?s.response:s.responseText;r(new y(t,e))},s.onerror=function(){o(new TypeError("Network request failed"))},s.ontimeout=function(){o(new TypeError("Network request failed"))},s.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&_.blob&&(s.responseType="blob"),a.headers.forEach(function(e,t){s.setRequestHeader(t,e)}),a.signal&&(a.signal.addEventListener("abort",i),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",i)}),s.send(void 0===a._bodyInit?null:a._bodyInit)})}var _={searchParams:"URLSearchParams"in e,iterable:"Symbol"in e&&"iterator"in Symbol,blob:"FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in e,arrayBuffer:"ArrayBuffer"in e};if(_.arrayBuffer)var w=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],x=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=o(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},a.prototype.delete=function(e){delete this.map[r(e)]},a.prototype.get=function(e){return e=r(e),this.has(e)?this.map[e]:null},a.prototype.has=function(e){return this.map.hasOwnProperty(r(e))},a.prototype.set=function(e,t){this.map[r(e)]=o(t)},a.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},a.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),i(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),i(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),i(e)},_.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var E=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},p.call(m.prototype),p.call(y.prototype),y.prototype.clone=function(){return new y(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},y.error=function(){var e=new y(null,{status:0,statusText:""});return e.type="error",e};var T=[301,302,303,307,308];y.redirect=function(e,t){if(-1===T.indexOf(t))throw new RangeError("Invalid status code");return new y(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}b.polyfill=!0,e.fetch||(e.fetch=b,e.Headers=a,e.Request=m,e.Response=y),t.Headers=a,t.Request=m,t.Response=y,t.fetch=b}({})}(n),delete n.fetch.polyfill,t=n.fetch,t.default=n.fetch,t.fetch=n.fetch,t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response,e.exports=t},function(e,t,n){!function(t,n){e.exports=n()}(window,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=41)}([function(e,t,n){"use strict";function r(e){return o(btoa(e))}function o(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function i(e){return e.replace(/-/g,"+").replace(/_/g,"/")}function a(e){var t=i(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Not a valid Base64Url"}var n=atob(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}function s(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function l(e){return atob(i(e))}function u(e,t){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return r=n.concat(r),e.apply(t,r)}}function c(e){return/^(?:[a-z]+:)?\/\//i.test(e)}function f(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return c(e)?e:(t=R(t),"/"===e[0]?"".concat(t).concat(e):"".concat(t,"/").concat(e))}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return c(e)&&(e=e.substring(t.length)),"/"===e[0]?e:"/".concat(e)}function p(e){return"[object String]"===Object.prototype.toString.call(e)}function h(e){return"[object Object]"===Object.prototype.toString.call(e)}function m(e){return"[object Number]"===Object.prototype.toString.call(e)}function v(e){var t=e.match(/\d+/g),n=Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]);return new Date(n).toUTCString()}function g(e){var t=[];if(null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&null!==e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.length?"?"+t.join("&"):""}function y(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,o=t.length;r<e;++r)n+=t[Math.floor(Math.random()*o)];return n}function b(){var e=arguments[0];return[].slice.call(arguments,1).forEach(function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&void 0!==t[n]&&(e[n]=t[n])}),e}function _(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];null!=r&&(t[n]=r)}return t}function w(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e}function x(e){for(var t={},n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1==r.indexOf(i)&&(t[i]=e[i]);return w(t)}function E(e,t){for(var n=e.length;n--;){var r=e[n],o=!0;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r[i]!==t[i]){o=!1;break}if(o)return r}}function T(e,t,n){if(e&&e._links){var r=w(e._links[t]);return r&&r.name&&n?r.name===n?r:void 0:r}}function S(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0}function k(){var e=S();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function O(e){k().warn("[okta-auth-sdk] WARN: "+e)}function A(e){k().warn("[okta-auth-sdk] DEPRECATION: "+e)}function C(e,t){return function(){return A(e),t.apply(null,arguments)}}function R(e){if(e){var t=e.replace(/^\s+|\s+$/gm,"");return t=t.replace(/\/+$/,"")}}function I(){return!!document.documentMode&&document.documentMode<=11}function N(e){return!!e&&"[object Function]"==={}.toString.call(e)}function M(e){return new Promise(function(t){setTimeout(t,e)})}function P(e){return e&&e.finally&&"function"==typeof e.finally}n.d(t,"A",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"c",function(){return i}),n.d(t,"d",function(){return a}),n.d(t,"B",function(){return s}),n.d(t,"b",function(){return l}),n.d(t,"e",function(){return u}),n.d(t,"p",function(){return c}),n.d(t,"C",function(){return f}),n.d(t,"E",function(){return d}),n.d(t,"v",function(){return p}),n.d(t,"t",function(){return h}),n.d(t,"s",function(){return m}),n.d(t,"w",function(){return v}),n.d(t,"D",function(){return g}),n.d(t,"l",function(){return y}),n.d(t,"j",function(){return b}),n.d(t,"y",function(){return _}),n.d(t,"f",function(){return w}),n.d(t,"x",function(){return x}),n.d(t,"k",function(){return E}),n.d(t,"n",function(){return T}),n.d(t,"o",function(){return S}),n.d(t,"m",function(){return k}),n.d(t,"F",function(){return O}),n.d(t,"h",function(){return A}),n.d(t,"i",function(){return C}),n.d(t,"z",function(){return R}),n.d(t,"r",function(){return I}),n.d(t,"q",function(){return N}),n.d(t,"g",function(){return M}),n.d(t,"u",function(){return P})},function(e,t,n){"use strict";function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var o=h()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d()(this,n)}}n.d(t,"a",function(){return o.a}),n.d(t,"b",function(){return i.a}),n.d(t,"c",function(){return a.a}),n.d(t,"d",function(){return m});var o=n(21),i=n(19),a=n(2),s=n(4),l=n.n(s),u=n(12),c=n.n(u),f=n(13),d=n.n(f),p=n(10),h=n.n(p),m=function(e){function t(e,r){var o;return l()(this,t),(o=n.call(this,r)).name="OAuthError",o.errorCode=e,o.errorSummary=r,o}c()(t,e);var n=r(t);return t}(n(17).a)},function(e,t,n){"use strict";function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u()(this,n)}}n.d(t,"a",function(){return d});var o=n(4),i=n.n(o),a=n(12),s=n.n(a),l=n(13),u=n.n(l),c=n(10),f=n.n(c),d=function(e){function t(e,r){var o;return i()(this,t),(o=n.call(this,e)).name="AuthSdkError",o.errorCode="INTERNAL",o.errorSummary=e,o.errorLink="INTERNAL",o.errorId="INTERNAL",o.errorCauses=[],r&&(o.xhr=r),o}s()(t,e);var n=r(t);return t}(n(17).a)},function(e,t,n){"use strict";n.r(t),n.d(t,"STATE_TOKEN_KEY_NAME",function(){return r}),n.d(t,"DEFAULT_POLLING_DELAY",function(){return o}),n.d(t,"DEFAULT_MAX_CLOCK_SKEW",function(){return i}),n.d(t,"DEFAULT_CACHE_DURATION",function(){return a}),n.d(t,"REDIRECT_OAUTH_PARAMS_NAME",function(){return s}),n.d(t,"REDIRECT_STATE_COOKIE_NAME",function(){return l}),n.d(t,"REDIRECT_NONCE_COOKIE_NAME",function(){return u}),n.d(t,"TOKEN_STORAGE_NAME",function(){return c}),n.d(t,"CACHE_STORAGE_NAME",function(){return f}),n.d(t,"PKCE_STORAGE_NAME",function(){return d}),n.d(t,"TRANSACTION_STORAGE_NAME",function(){return p}),n.d(t,"ACCESS_TOKEN_STORAGE_KEY",function(){return h}),n.d(t,"ID_TOKEN_STORAGE_KEY",function(){return m}),n.d(t,"REFRESH_TOKEN_STORAGE_KEY",function(){return v}),n.d(t,"REFERRER_PATH_STORAGE_KEY",function(){return g}),n.d(t,"MIN_VERIFIER_LENGTH",function(){return y}),n.d(t,"MAX_VERIFIER_LENGTH",function(){return b}),n.d(t,"DEFAULT_CODE_CHALLENGE_METHOD",function(){return _});var r="oktaStateToken",o=500,i=300,a=86400,s="okta-oauth-redirect-params",l="okta-oauth-state",u="okta-oauth-nonce",c="okta-token-storage",f="okta-cache-storage",d="okta-pkce-storage",p="okta-transaction-storage",h="accessToken",m="idToken",v="refreshToken",g="referrerPath",y=43,b=128,_="S256"},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){e.exports=n(42)},function(e,t,n){"use strict";function r(e,t){var n=(t=t||{}).url,r=t.method,s=t.args,l=t.saveAuthnState,u=t.accessToken,c=!1!==t.withCredentials,f=e.options.storageUtil.storage,d=e.storageManager.getHttpCache(e.options.cookies);if(t.cacheResponse){var p=d.getStorage()[n];if(p&&Date.now()/1e3<p.expiresAt)return Promise.resolve(p.response)}var h={Accept:"application/json","Content-Type":"application/json","X-Okta-User-Agent-Extended":e.userAgent};Object.assign(h,e.options.headers,t.headers),h=Object(o.y)(h),u&&Object(o.v)(u)&&(h.Authorization="Bearer "+u);var m,v,g={headers:h,data:s||void 0,withCredentials:c};return e.options.httpRequestClient(r,n,g).then(function(r){return(v=r.responseText)&&Object(o.v)(v)&&(v=JSON.parse(v)),l&&(v.stateToken||f.delete(a.STATE_TOKEN_KEY_NAME)),v&&v.stateToken&&v.expiresAt&&f.set(a.STATE_TOKEN_KEY_NAME,v.stateToken,v.expiresAt,e.options.cookies),v&&t.cacheResponse&&d.updateStorage(n,{expiresAt:Math.floor(Date.now()/1e3)+a.DEFAULT_CACHE_DURATION,response:v}),v}).catch(function(t){var n=t.responseText||{};if(Object(o.v)(n))try{n=JSON.parse(n)}catch(e){n={errorSummary:"Unknown error"}}throw t.status>=500&&(n.errorSummary="Unknown error"),e.options.transformErrorXHR&&(t=e.options.transformErrorXHR(Object(o.f)(t))),"E0000011"===(m=new i.a(n,t)).errorCode&&f.delete(a.STATE_TOKEN_KEY_NAME),m})}var o=n(0),i=n(21),a=n(3);t.a={get:function(e,t,n){var i={url:t=Object(o.p)(t)?t:e.getIssuerOrigin()+t,method:"GET"};return Object.assign(i,n),r(e,i)},post:function(e,t,n,i){var a={url:t=Object(o.p)(t)?t:e.getIssuerOrigin()+t,method:"POST",args:n,saveAuthnState:!0};return Object.assign(a,i),r(e,a)},httpRequest:r}},function(e,t,n){"use strict";n.r(t);var r=n(27);for(var o in r)"default"!==o&&function(e){n.d(t,e,function(){return r[e]})}(o);var i=n(20);for(var o in i)"default"!==o&&function(e){n.d(t,e,function(){return i[e]})}(o);var a=n(28);n.d(t,"isOAuthTransactionMeta",function(){return a.c}),n.d(t,"isPKCETransactionMeta",function(){return a.d}),n.d(t,"isIdxTransactionMeta",function(){return a.b}),n.d(t,"isCustomAuthTransactionMeta",function(){return a.a}),n.d(t,"isTransactionMeta",function(){return a.e});var s=n(29);for(var o in s)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return s[e]})}(o);var l=n(30);for(var o in l)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return l[e]})}(o);var u=n(31);for(var o in u)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return u[e]})}(o);var c=n(32);for(var o in c)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return c[e]})}(o);var f=n(33);for(var o in f)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return f[e]})}(o);var d=n(34);for(var o in d)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return d[e]})}(o);var p=n(35);n.d(t,"isToken",function(){return p.d}),n.d(t,"isAccessToken",function(){return p.a}),n.d(t,"isIDToken",function(){return p.b}),n.d(t,"isRefreshToken",function(){return p.c});var h=n(36);for(var o in h)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","isToken","isAccessToken","isIDToken","isRefreshToken","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return h[e]})}(o);for(var o in i)["isOAuthTransactionMeta","isPKCETransactionMeta","isIdxTransactionMeta","isCustomAuthTransactionMeta","isTransactionMeta","isToken","isAccessToken","isIDToken","isRefreshToken","default"].indexOf(o)<0&&function(e){n.d(t,e,function(){return i[e]})}(o)},function(e,t,n){"use strict";function r(e){if(!e.clientId)throw new K.c("A clientId must be specified in the OktaAuth constructor to get a token");if(Object(z.v)(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new K.c("Multiple OAuth responseTypes must be defined as an array");var t={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state};if(t=Object(z.y)(t),["idp_scope","response_type"].forEach(function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))}),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new K.c("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}function o(e){var t=r(e);return Object(z.D)(t)}function i(e,t,n){!function(e){if(!e.clientId)throw new K.c("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new K.c("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new K.c("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new K.c('The "codeVerifier" (generated and saved by your app) must be passed to /token')}(t);var r=function(e){var t=Object(z.y)({client_id:e.clientId,redirect_uri:e.redirectUri,grant_type:e.interactionCode?"interaction_code":"authorization_code",code_verifier:e.codeVerifier});return e.interactionCode?t.interaction_code=e.interactionCode:e.authorizationCode&&(t.code=e.authorizationCode),Object(z.D)(t).slice(1)}(t);return Y.a.httpRequest(e,{url:n.tokenUrl,method:"POST",args:r,withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function a(e,t,n){return Y.a.httpRequest(e,{url:n.tokenUrl,method:"POST",withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"},args:Object.entries({client_id:t.clientId,grant_type:"refresh_token",scope:n.scopes.join(" "),refresh_token:n.refreshToken}).map(function(e){var t=G()(e,2),n=t[0],r=t[1];return n+"="+encodeURIComponent(r)}).join("&")})}function s(e,t){var n=t||e.options.issuer;return Y.a.get(e,n+"/.well-known/openid-configuration",{cacheResponse:!0})}function l(e,t,n){var r=e.storageManager.getHttpCache(e.options.cookies);return s(e,t).then(function(t){var o=t.jwks_uri,i=r.getStorage()[o];if(i&&Date.now()/1e3<i.expiresAt){var a=Object(z.k)(i.response.keys,{kid:n});if(a)return a}return r.clearStorage(o),Y.a.get(e,o,{cacheResponse:!0}).then(function(e){var t=Object(z.k)(e.keys,{kid:n});if(t)return t;throw new J.a("The key id, "+n+", was not found in the server's keys")})})}function u(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function c(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function f(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)}function d(e,t){var n=t.popupTitle||"External Identity Provider User Authentication",r="toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600";if(Object(z.r)()){var o=window.open("/",n,r);return o.location.href=e,o}return window.open(e,n,r)}function p(e,t,n){var r,o;return new Promise(function(i,a){r=function(t){if(t.data&&t.data.state===n)return t.origin!==e.getIssuerOrigin()?a(new K.c("The request does not match client configuration")):void i(t.data)},u(window,"message",r),o=setTimeout(function(){a(new K.c("OAuth flow timed out"))},t||12e4)}).finally(function(){clearTimeout(o),c(window,"message",r)})}function h(){return Object(z.l)(64)}function m(){return Object(z.l)(64)}function v(e,t){if(arguments.length>2)throw new J.a('As of version 3.0, "getOAuthUrls" takes only a single set of options');t=t||{};var n=Object(z.z)(t.authorizeUrl)||e.options.authorizeUrl,r=Object(z.z)(t.issuer)||e.options.issuer,o=Object(z.z)(t.userinfoUrl)||e.options.userinfoUrl,i=Object(z.z)(t.tokenUrl)||e.options.tokenUrl,a=Object(z.z)(t.logoutUrl)||e.options.logoutUrl,s=Object(z.z)(t.revokeUrl)||e.options.revokeUrl,l=r.indexOf("/oauth2")>0?r:r+"/oauth2";return{issuer:r,authorizeUrl:n=n||l+"/v1/authorize",userinfoUrl:o=o||l+"/v1/userinfo",tokenUrl:i=i||l+"/v1/token",revokeUrl:s=s||l+"/v1/revoke",logoutUrl:a=a||l+"/v1/logout"}}function g(e){var t=e.options,n=t.pkce,r=t.clientId,o=t.redirectUri,i=t.responseType,a=t.responseMode,s=t.scopes,l=t.state,u=t.ignoreSignature;return{pkce:n,clientId:r,redirectUri:o||window.location.href,responseType:i||["token","id_token"],responseMode:a,state:l||h(),nonce:m(),scopes:s||["openid","email"],ignoreSignature:u}}function y(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode}function b(e){return/((id|access)_token=)/i.test(e)}function _(e){return/(code=)/i.test(e)}function w(e){return/(interaction_code=)/i.test(e)}function x(e){return/(error=)/i.test(e)||/(error_description)/i.test(e)}function E(e,t){var n=t.options;return e&&0===e.indexOf(n.redirectUri)}function T(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function S(e){return T(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function k(e){if(!E(window.location.href,e))return!1;var t=T(e.options),n=S(e.options);return!!x(n)||(t?_(n)||w(n):b(window.location.hash))}function O(e){return!!k(e)&&/(error=interaction_required)/i.test(S(e.options))}function A(e,t){var n=g(e);if(!1===(t=Object.assign({},n,Object(z.f)(t))).pkce)return Promise.resolve(t);if(!e.features.isPKCESupported()){var r="PKCE requires a modern browser with encryption support running in a secure context.";return e.features.isHTTPS()||(r+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(r+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),Promise.reject(new K.c(r))}return t.codeChallengeMethod||(t.codeChallengeMethod=X.DEFAULT_CODE_CHALLENGE_METHOD),t.responseType="code",s(e,null).then(function(e){if(-1===(e.code_challenge_methods_supported||[]).indexOf(t.codeChallengeMethod))throw new K.c("Invalid code_challenge_method")}).then(function(){return t.codeVerifier||(t.codeVerifier=Q.a.generateVerifier()),Q.a.computeChallenge(t.codeVerifier)}).then(function(e){var n=Object(z.f)(t)||{};return Object.assign(n,t,{codeChallenge:e}),n})}function C(e){var t=/\+/g,n=/([^&=]+)=?([^&]*)/g,r=e;"#"===r.charAt(0)&&"/"===r.charAt(1)&&(r=r.substring(2)),"#"!==r.charAt(0)&&"?"!==r.charAt(0)||(r=r.substring(1));for(var o,i={};o=n.exec(r);){var a=o[1],s=o[2];i[a]="id_token"===a||"access_token"===a||"code"===a?s:decodeURIComponent(s.replace(t," "))}return i}function R(e,t,n){var r=n.clientId,o=n.issuer,i=n.nonce;if(!t||!o||!r)throw new J.a("The jwt, iss, and aud arguments are all required");if(i&&t.nonce!==i)throw new J.a("OAuth flow response nonce doesn't match request nonce");var a=Math.floor(Date.now()/1e3);if(t.iss!==o)throw new J.a("The issuer ["+t.iss+"] does not match ["+o+"]");if(t.aud!==r)throw new J.a("The audience ["+t.aud+"] does not match ["+r+"]");if(t.iat>t.exp)throw new J.a("The JWT expired before it was issued");if(a-e.options.maxClockSkew>t.exp)throw new J.a("The JWT expired and is no longer valid");if(t.iat>a+e.options.maxClockSkew)throw new J.a("The JWT was issued in the future")}function I(e){var t,n=e.split(".");try{t={header:JSON.parse(Object(z.d)(n[0])),payload:JSON.parse(Object(z.d)(n[1])),signature:n[2]}}catch(e){throw new K.c("Malformed token")}return t}function N(e,t){return Promise.resolve().then(function(){var n,r;if(t&&(n=t.accessToken,r=t.refreshToken),!n&&!r)throw new J.a("A valid access or refresh token object is required");var o=e.options.clientId;if(!o)throw new J.a("A clientId must be specified in the OktaAuth constructor to revoke a token");var i=v(e).revokeUrl,a=Object(z.D)({token_type_hint:r?"refresh_token":"access_token",token:r||n}).slice(1),s=btoa(o);return Y.a.post(e,i,a,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+s}})})}function M(e,t,n){n=n||v(e,t);var r=t=Object.assign({},g(e),Object(z.f)(t)),o=r.authorizationCode,a=r.interactionCode,s=r.codeVerifier,l=r.clientId,u=r.redirectUri,c=r.scopes,f=r.ignoreSignature;return i(e,{clientId:l,redirectUri:u,authorizationCode:o,interactionCode:a,codeVerifier:s},n).then(function(t){var r=["token"];return-1!==c.indexOf("openid")&&r.push("id_token"),D(e,{clientId:l,redirectUri:u,scopes:c,responseType:r,ignoreSignature:f},t,n).then(function(e){return e.code=o,e})})}function P(e,t){t=Object(z.f)(t);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete t.use,crypto.subtle.importKey("jwk",t,n,!0,["verify"]).then(function(t){var r=e.split("."),o=Object(z.B)(r[0]+"."+r[1]),i=Object(z.b)(r[2]),a=Object(z.B)(i);return crypto.subtle.verify(n,t,a,o)})}function L(e,t,n){return ne(this,void 0,void 0,te.a.mark(function r(){var o,i,a,u;return te.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(t&&t.idToken){r.next=2;break}throw new K.c("Only idTokens may be verified");case 2:return o=I(t.idToken),r.next=5,s(e);case 5:if(i=r.sent,a={issuer:i.issuer,clientId:e.options.clientId,ignoreSignature:e.options.ignoreSignature},Object.assign(a,n),R(e,o.payload,a),1!=a.ignoreSignature&&e.features.isTokenVerifySupported()){r.next=11;break}return r.abrupt("return",t);case 11:return r.next=13,l(e,t.issuer,o.header.kid);case 13:return u=r.sent,r.next=16,P(t.idToken,u);case 16:if(r.sent){r.next=19;break}throw new K.c("The token signature is not valid");case 19:if(!(n&&n.accessToken&&t.claims.at_hash)){r.next=25;break}return r.next=22,c=n.accessToken,f=void 0,f=(new TextEncoder).encode(c),crypto.subtle.digest("SHA-256",f).then(function(e){var t=new Uint8Array(e).slice(0,16),n=String.fromCharCode.apply(null,t);return Object(z.A)(n)});case 22:if(r.sent===t.claims.at_hash){r.next=25;break}throw new K.c("Token hash verification failed");case 25:return r.abrupt("return",t);case 26:case"end":return r.stop()}var c,f},r)}))}function D(e,t,n,r){if(!1!==e.options.pkce&&(n.code||n.interaction_code))return M(e,Object.assign({},t,{authorizationCode:n.code,interactionCode:n.interaction_code}),r);t=t||g(e),r=r||v(e,t);var o,i=t.responseType;Array.isArray(i)||(i=[i]),o=n.scope?n.scope.split(" "):Object(z.f)(t.scopes);var a=t.clientId||e.options.clientId;return Promise.resolve().then(function(){!function(e,t){if(e.error||e.error_description)throw new K.d(e.error,e.error_description);if(e.state!==t.state)throw new K.c("OAuth flow response state doesn't match request state")}(n,t)}).then(function(){var i={},s=n.expires_in,l=n.token_type,u=n.access_token,c=n.id_token,f=n.refresh_token;if(u){var d=e.token.decode(u);i.accessToken={value:u,accessToken:u,claims:d.payload,expiresAt:Number(s)+Math.floor(Date.now()/1e3),tokenType:l,scopes:o,authorizeUrl:r.authorizeUrl,userinfoUrl:r.userinfoUrl}}if(f&&(i.refreshToken={value:f,refreshToken:f,expiresAt:Number(s)+Math.floor(Date.now()/1e3),scopes:o,tokenUrl:r.tokenUrl,authorizeUrl:r.authorizeUrl,issuer:r.issuer}),c){var p=e.token.decode(c),h={value:c,idToken:c,claims:p.payload,expiresAt:p.payload.exp,scopes:o,authorizeUrl:r.authorizeUrl,issuer:r.issuer,clientId:a},m={clientId:a,issuer:r.issuer,nonce:t.nonce,accessToken:u};return void 0!==t.ignoreSignature&&(m.ignoreSignature=t.ignoreSignature),L(e,h,m).then(function(){return i.idToken=h,i})}return i}).then(function(e){if(-1!==i.indexOf("token")&&!e.accessToken)throw new K.c('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');if(-1!==i.indexOf("id_token")&&!e.idToken)throw new K.c('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');return{tokens:e,state:n.state,code:n.code}})}function j(e,t){return arguments.length>2?Promise.reject(new J.a('As of version 3.0, "getToken" takes only a single set of options')):A(e,t=t||{}).then(function(n){var r,i;switch(t.sessionToken?Object.assign(n,{prompt:"none",responseMode:"okta_post_message",display:null}):t.idp&&Object.assign(n,{display:"popup"}),i=v(e,n),r=(t.codeVerifier?i.tokenUrl:i.authorizeUrl)+o(n),n.sessionToken||null===n.display?"IFRAME":"popup"===n.display?"POPUP":"IMPLICIT"){case"IFRAME":var a=p(e,t.timeout,n.state),s=f(r);return a.then(function(t){return D(e,n,t,i)}).finally(function(){document.body.contains(s)&&s.parentElement.removeChild(s)});case"POPUP":var l;if("okta_post_message"===n.responseMode){if(!e.features.isPopupPostMessageSupported())throw new J.a("This browser doesn't have full postMessage support");l=p(e,t.timeout,n.state)}var u=d(r,{popupTitle:t.popupTitle});return new Promise(function(e,t){var n=setInterval(function(){u&&!u.closed||(clearInterval(n),t(new J.a("Unable to parse OAuth flow response")))},100);l.then(function(t){clearInterval(n),e(t)}).catch(function(e){clearInterval(n),t(e)})}).then(function(t){return D(e,n,t,i)}).finally(function(){u&&!u.closed&&u.close()});default:throw new J.a("The full page redirect flow is not supported")}})}function F(e,t){return arguments.length>2?Promise.reject(new K.c('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=Object(z.f)(t)||{},Object.assign(t,{prompt:"none",responseMode:"okta_post_message",display:null}),j(e,t))}function U(e,t){return Object(Z.isToken)(t)?F(e,{responseType:e.options.pkce?"code":Object(Z.isAccessToken)(t)?"token":"id_token",scopes:t.scopes,authorizeUrl:t.authorizeUrl,userinfoUrl:t.userinfoUrl,issuer:t.issuer}).then(function(e){var n=e.tokens;return Object(Z.isIDToken)(t)?n.idToken:n.accessToken}):Promise.reject(new K.c("Renew must be passed a token with an array of scopes and an accessToken or idToken"))}function B(e,t){return e.tokenManager.getTokens().then(function(e){return e.refreshToken}).then(function(n){if(n)return function(e,t,n){return re(this,void 0,void 0,te.a.mark(function r(){var o,i,s,l,u,c;return te.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(o=e.options.clientId){r.next=3;break}throw new K.c("A clientId must be specified in the OktaAuth constructor to renew tokens");case 3:return i=Object.assign({},t,{clientId:o}),r.next=6,a(e,i,n);case 6:return s=r.sent,l=v(e,t),r.next=10,D(e,i,s,l);case 10:return u=r.sent,c=u.tokens,r.abrupt("return",c);case 13:case"end":return r.stop()}},r)}))}(e,t,n);if(t=Object.assign({scopes:e.options.scopes,authorizeUrl:e.options.authorizeUrl,userinfoUrl:e.options.userinfoUrl,issuer:e.options.issuer},t),e.options.pkce)t.responseType="code";else{var r=g(e).responseType;t.responseType=r}return F(e,t).then(function(e){return e.tokens})})}function V(e,t,n){return oe(this,void 0,void 0,te.a.mark(function r(){return te.a.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(t){r.next=4;break}return r.next=3,e.tokenManager.getTokens();case 3:t=r.sent.accessToken;case 4:if(n){r.next=8;break}return r.next=7,e.tokenManager.getTokens();case 7:n=r.sent.idToken;case 8:if(t&&Object(Z.isAccessToken)(t)){r.next=10;break}return r.abrupt("return",Promise.reject(new K.c("getUserInfo requires an access token object")));case 10:if(n&&Object(Z.isIDToken)(n)){r.next=12;break}return r.abrupt("return",Promise.reject(new K.c("getUserInfo requires an ID token object")));case 12:return r.abrupt("return",Y.a.httpRequest(e,{url:t.userinfoUrl,method:"GET",accessToken:t.accessToken}).then(function(e){return e.sub===n.claims.sub?e:Promise.reject(new K.c("getUserInfo request was rejected due to token mismatch"))}).catch(function(e){var t;if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)&&(e.xhr.headers&&Object(z.q)(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):Object(z.q)(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t)){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],o=n[1],i=r[1];o&&i&&(e=new K.d(o,i))}throw e}));case 13:case"end":return r.stop()}},r)}))}function q(e,t){return arguments.length>2?Promise.reject(new K.c('As of version 3.0, "getWithPopup" takes only a single set of options')):(t=Object(z.f)(t)||{},Object.assign(t,{display:"popup",responseMode:"okta_post_message"}),j(e,t))}function H(e,t){return arguments.length>2?Promise.reject(new K.c('As of version 3.0, "getWithRedirect" takes only a single set of options')):(t=Object(z.f)(t)||{},A(e,t).then(function(n){var r=v(e,t),i=r.authorizeUrl+o(n),a={responseType:n.responseType,state:n.state,nonce:n.nonce,scopes:n.scopes,clientId:n.clientId,urls:r,ignoreSignature:n.ignoreSignature,redirectUri:n.redirectUri,codeVerifier:n.codeVerifier,codeChallenge:n.codeChallenge,codeChallengeMethod:n.codeChallengeMethod};e.transactionManager.save(a,{oauth:!0}),e.token.getWithRedirect._setLocation(i)}))}function W(e,t){t=t||{},t=Object(z.v)(t)?{url:t}:t;var n,r=e.options.pkce?"query":"fragment",o=t.url,i=t.responseMode||e.options.responseMode||r,a=e.token.parseFromUrl._getLocation();if(!(n="query"===i?o?o.substring(o.indexOf("?")):a.search:o?o.substring(o.indexOf("#")):a.hash))return Promise.reject(new K.c("Unable to parse a token from the url"));var s=e.transactionManager.load({oauth:!0,pkce:e.options.pkce}),l=s.urls;return delete s.urls,Promise.resolve(C(n)).then(function(t){return o||("query"===i?function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.hash):r.search=""}(e):function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.search):r.hash=""}(e)),D(e,s,t,l).finally(function(){e.transactionManager.clear()})})}n.d(t,"d",function(){return r}),n.d(t,"c",function(){return o}),n.d(t,"H",function(){return i}),n.d(t,"G",function(){return a}),n.d(t,"o",function(){return s}),n.d(t,"k",function(){return l}),n.d(t,"a",function(){return u}),n.d(t,"J",function(){return c}),n.d(t,"C",function(){return f}),n.d(t,"D",function(){return d}),n.d(t,"b",function(){return p}),n.d(t,"i",function(){return g}),n.d(t,"z",function(){return y}),n.d(t,"w",function(){return b}),n.d(t,"t",function(){return _}),n.d(t,"v",function(){return w}),n.d(t,"u",function(){return x}),n.d(t,"B",function(){return E}),n.d(t,"x",function(){return T}),n.d(t,"j",function(){return S}),n.d(t,"A",function(){return k}),n.d(t,"y",function(){return O}),n.d(t,"h",function(){return h}),n.d(t,"g",function(){return m}),n.d(t,"l",function(){return v}),n.d(t,"F",function(){return Q.a}),n.d(t,"I",function(){return A}),n.d(t,"N",function(){return C}),n.d(t,"O",function(){return R}),n.d(t,"e",function(){return I}),n.d(t,"M",function(){return N}),n.d(t,"K",function(){return U}),n.d(t,"L",function(){return B}),n.d(t,"P",function(){return L}),n.d(t,"n",function(){return V}),n.d(t,"s",function(){return D}),n.d(t,"f",function(){return M}),n.d(t,"m",function(){return j}),n.d(t,"r",function(){return F}),n.d(t,"p",function(){return q}),n.d(t,"q",function(){return H}),n.d(t,"E",function(){return W});var z=n(0),K=n(1),$=n(40),G=n.n($),Y=n(6),J=n(2),Q=n(15),X=n(3),Z=n(7),ee=n(5),te=n.n(ee),ne=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},re=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},oe=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t,n){var r=n(25);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(18),o=n(9);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t,n){"use strict";function r(e,t){var n={};return Object.assign(n,t),!n.stateToken&&e.stateToken&&(n.stateToken=e.stateToken),n}function o(e){return r(e)}function i(e,t,n){return function(r){var i,a,s,l;Object(y.s)(r)?i=r:Object(y.t)(r)&&(i=(r=r).delay,a=r.rememberDevice,s=r.autoPush,l=r.transactionCallBack),i||0===i||(i=m.DEFAULT_POLLING_DELAY);var u=Object(y.n)(t,"next","poll");n.isPolling=!0;var c=0;return function r(){return n.isPolling?function(){var n={};if("function"==typeof s)try{n.autoPush=!!s()}catch(e){return Promise.reject(new h.a("AutoPush resulted in an error."))}else null!=s&&(n.autoPush=!!s);if("function"==typeof a)try{n.rememberDevice=!!a()}catch(e){return Promise.reject(new h.a("RememberDevice resulted in an error."))}else null!=a&&(n.rememberDevice=!!a);var r=u.href+Object(y.D)(n);return p.a.post(e,r,o(t),{saveAuthnState:!1})}().then(function(t){if(c=0,t.factorResult&&"WAITING"===t.factorResult){if(!n.isPolling)throw new b.a;return"function"==typeof l&&l(t),Object(y.g)(i).then(r)}return n.isPolling=!1,new _(e,t)}).catch(function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&c<=4){var t=1e3*Math.pow(2,c);return c++,Object(y.g)(t).then(r)}throw e}):Promise.reject(new b.a)}().catch(function(e){throw n.isPolling=!1,e})}}function a(e,t,n,o,i){if(Array.isArray(o))return function(r,s){if(!r)throw new h.a("Must provide a link name");var l=Object(y.k)(o,{name:r});if(!l)throw new h.a("No link found for that name");return a(e,t,n,l,i)(s)};if(o.hints&&o.hints.allow&&1===o.hints.allow.length)switch(o.hints.allow[0]){case"GET":return function(){return p.a.get(e,o.href)};case"POST":return function(a){i&&i.isPolling&&(i.isPolling=!1);var s=r(t,a);"MFA_ENROLL"!==t.status&&"FACTOR_ENROLL"!==t.status||Object.assign(s,{factorType:n.factorType,provider:n.provider});var l={},u=s.autoPush;if(void 0!==u){if("function"==typeof u)try{l.autoPush=!!u()}catch(e){return Promise.reject(new h.a("AutoPush resulted in an error."))}else null!==u&&(l.autoPush=!!u);s=Object(y.x)(s,"autoPush")}var c=s.rememberDevice;if(void 0!==c){if("function"==typeof c)try{l.rememberDevice=!!c()}catch(e){return Promise.reject(new h.a("RememberDevice resulted in an error."))}else null!==c&&(l.rememberDevice=!!c);s=Object(y.x)(s,"rememberDevice")}else s.profile&&void 0!==s.profile.updatePhone&&(s.profile.updatePhone&&(l.updatePhone=!0),s.profile=Object(y.x)(s.profile,"updatePhone"));var f=o.href+Object(y.D)(l);return d(e,f,s)}}}function s(e,t,n,r){if(n=n||t,n=Object(y.f)(n),Array.isArray(n)){for(var o=[],l=0,u=n.length;l<u;l++)o.push(s(e,t,n[l],r));return o}var c=n._embedded||{};for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(Object(y.t)(c[f])||Array.isArray(c[f]))&&(c[f]=s(e,t,c[f],r));var d=function(e,t,n,r){var o={};for(var s in n._links)if(Object.prototype.hasOwnProperty.call(n._links,s)){var l=n._links[s];if("next"===s&&(s=l.name),l.type)o[s]=l;else switch(s){case"poll":o.poll=i(e,t,r);break;default:var u=a(e,t,n,l,r);u&&(o[s]=u)}}return o}(e,t,n,r);return Object.assign(c,d),n=Object(y.x)(n,"_embedded","_links"),Object.assign(n,c),n}function l(e,t){return t=r(e,t),p.a.post(e,e.getIssuerOrigin()+"/api/v1/authn",t)}function u(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(m.STATE_TOKEN_KEY_NAME);if(!n)return Promise.reject(new h.a("No transaction to resume"));t={stateToken:n}}return e.tx.status(t).then(function(t){return new _(e,t)})}function c(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(m.STATE_TOKEN_KEY_NAME);if(!n)return Promise.reject(new h.a("No transaction to evaluate"));t={stateToken:n}}return function(e,t){return t=r(e,t),p.a.post(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",t)}(e,t).then(function(t){return new _(e,t)})}function f(e){return!!e.tx.exists._get(m.STATE_TOKEN_KEY_NAME)}function d(e,t,n,r){return p.a.post(e,t,n,r).then(function(t){return new _(e,t)})}n.d(t,"j",function(){return l}),n.d(t,"h",function(){return u}),n.d(t,"i",function(){return f}),n.d(t,"g",function(){return d}),n.d(t,"f",function(){return c}),n.d(t,"a",function(){return _}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return w}),n.d(t,"c",function(){return r}),n.d(t,"e",function(){return o});var p=n(6),h=n(2),m=n(3),v=n(4),g=n.n(v),y=n(0),b=n(19),_=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;g()(this,e),n&&(this.data=n,Object.assign(this,s(t,n,n,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==n.status||n._links||(this.cancel=function(){return Promise.resolve(new e(t))}))},w=function e(){g()(this,e)}},function(e,t,n){"use strict";function r(e){return("0"+e.toString(16)).substr(-2)}var o=n(0),i=n(3);t.a={DEFAULT_CODE_CHALLENGE_METHOD:i.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:function(e){var t,n,o=e||"";return o.length<i.MIN_VERIFIER_LENGTH&&(o+=(t=i.MIN_VERIFIER_LENGTH-o.length,n=new Uint8Array(Math.ceil(t/2)),crypto.getRandomValues(n),Array.from(n,r).join("").slice(0,t))),encodeURIComponent(o).slice(0,i.MAX_VERIFIER_LENGTH)},computeChallenge:function(e){var t=(new TextEncoder).encode(e);return crypto.subtle.digest("SHA-256",t).then(function(e){var t=String.fromCharCode.apply(null,new Uint8Array(e));return Object(o.A)(t)})}}},function(e,t,n){"use strict";function r(e,t){return t.expiresAt-e.options.expireEarlySeconds}function o(e,t){return r(e,t)<=e.clock.now()}function i(e,t,n,r){e.emitter.emit(q,t,n,r)}function a(e,t,n){e.emitter.emit(H,t,n)}function s(e,t,n){e.emitter.emit(W,t,n)}function l(e,t){e.emitter.emit(z,t)}function u(e,t,n){var r=k(n),o=k(t);Object.keys(o).forEach(function(t){var n=r[t],i=o[t];JSON.stringify(n)!==JSON.stringify(i)&&a(e,t,i)}),Object.keys(r).forEach(function(t){var n=r[t];o[t]||s(e,t,n)})}function c(e,t){clearTimeout(e.expireTimeouts[t]),delete e.expireTimeouts[t],delete e.renewPromise[t]}function f(e){var t=e.expireTimeouts;for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&c(e,n)}function d(e,t,n,o){var i=r(t,o),a=1e3*Math.max(i-t.clock.now(),0);c(t,n);var s=setTimeout(function(){!function(e,t,n){e.emitter.emit(V,t,n)}(t,n,o)},a);t.expireTimeouts[n]=s}function p(e,t,n){try{var r=n.getStorage()}catch(e){return void l(t,e)}for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&d(0,t,o,r[o])}function h(e,t,n){f(t),p(0,t,n)}function m(e){if(!Object(M.t)(e)||!e.scopes||!e.expiresAt&&0!==e.expiresAt||!Object(U.isIDToken)(e)&&!Object(U.isAccessToken)(e)&&!Object(U.isRefreshToken)(e))throw new P.a("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property")}function v(e,t,n,r,o){e.features.isLocalhost()&&Object(M.F)("Use setTokens() instead if you want to add a set of tokens at same time.\nIt prevents current tab from emitting unnecessary StorageEvent,\nwhich may cause false-positive authState change cross tabs.");var i=n.getStorage();m(o),i[r]=o,n.setStorage(i),a(t,r,o),d(0,t,r,o)}function g(e,t){return e.getStorage()[t]}function y(e,t){var n=e.getStorage();return Object.keys(n).filter(function(e){var r=n[e];return Object(U.isAccessToken)(r)&&"accessToken"===t||Object(U.isIDToken)(r)&&"idToken"===t||Object(U.isRefreshToken)(r)&&"refreshToken"===t})[0]}function b(e,t){return new Promise(function(n){return n(g(e,t))})}function _(e){var t={},n=e.getStorage();return Object.keys(n).forEach(function(e){var r=n[e];Object(U.isAccessToken)(r)?t.accessToken=r:Object(U.isIDToken)(r)?t.idToken=r:Object(U.isRefreshToken)(r)&&(t.refreshToken=r)}),t}function w(e){return new Promise(function(t){return t(_(e))})}function x(e,t,n,r,o,i,l){var u=r.accessToken,f=r.idToken,p=r.refreshToken,h=function(e,n,r){a(t,e,n),d(0,t,e,n),r&&r(e,n)},v=function(e,n,r){c(t,e),s(t,e,n),r&&r(e,n)};f&&m(f),u&&m(u);var g=y(n,"idToken")||L.ID_TOKEN_STORAGE_KEY,b=y(n,"accessToken")||L.ACCESS_TOKEN_STORAGE_KEY,w=y(n,"refreshToken")||L.REFRESH_TOKEN_STORAGE_KEY,x=Object.assign(Object.assign(Object.assign({},f&&N()({},g,f)),u&&N()({},b,u)),p&&N()({},w,p));n.setStorage(x);var E=_(n);f?h(g,f,i):E.idToken&&v(g,E.idToken,i),u?h(b,u,o):E.accessToken&&v(b,E.accessToken,o),p?h(w,p,l):E.refreshToken&&v(w,E.refreshToken,l)}function E(e,t,n){c(e,n);var r=t.getStorage(),o=r[n];delete r[n],t.setStorage(r),s(e,n,o)}function T(e,t,n,r){var a=t.renewPromise[r];if(a)return a;try{var u=g(n,r);if(!u)throw new P.a("The tokenManager has no token for the key: "+r)}catch(e){return Promise.reject(e)}return f(t),t.renewPromise[r]=e.token.renewTokens({scopes:u.scopes}).then(function(e){var o=n.getStorage();return x(0,t,n,e,function(e,n){return i(t,e,n,o[e])},function(e,n){return i(t,e,n,o[e])}),g(n,r)}).catch(function(e){if("OAuthError"===e.name||"AuthSdkError"===e.name){var i=[],a=n.getStorage();Object.keys(a).forEach(function(e){var n=a[e];n&&o(t,n)&&(delete a[e],i.push({key:e,token:n}),c(t,e))}),n.setStorage(a),i.length?i.forEach(function(e,n){return s(t,e,n)}):(s(t,L.ID_TOKEN_STORAGE_KEY),s(t,L.ACCESS_TOKEN_STORAGE_KEY)),e.tokenKey=r,l(t,e)}throw e}).finally(function(){delete t.renewPromise[r]}),t.renewPromise[r]}function S(e,t){f(e),t.clearStorage()}function k(e){var t;try{t=JSON.parse(e)||{}}catch(e){t={}}return t}n.d(t,"c",function(){return V}),n.d(t,"e",function(){return q}),n.d(t,"a",function(){return H}),n.d(t,"d",function(){return W}),n.d(t,"b",function(){return z}),n.d(t,"f",function(){return K});var O=n(18),A=n.n(O),C=n(4),R=n.n(C),I=n(24),N=n.n(I),M=n(0),P=n(2),L=n(3),D=n(11),j=n.n(D),F=function(){function e(t){R()(this,e),this.localOffset=parseInt(t||0)}return j()(e,[{key:"now",value:function(){return(Date.now()+this.localOffset)/1e3}}],[{key:"create",value:function(){return new e(0)}}]),e}(),U=n(7),B={autoRenew:!0,autoRemove:!0,storage:"localStorage",expireEarlySeconds:30,storageKey:L.TOKEN_STORAGE_NAME,_storageEventDelay:0},V="expired",q="renewed",H="added",W="removed",z="error",K=function e(t,n){var r=this;R()(this,e),n=Object.assign({},B,Object(M.y)(n));var i=t.emitter;if(!i)throw new P.a("Emitter should be initialized before TokenManager");Object(M.r)()&&(n._storageEventDelay=n._storageEventDelay||1e3);var a=Object(M.y)({storageKey:n.storageKey,secure:n.secure});"object"===A()(n.storage)?a.storageProvider=n.storage:n.storage&&(a.storageType=n.storage);var s=t.storageManager.getTokenStorage(a),c={clock:F.create(),options:n,emitter:i,expireTimeouts:{},renewPromise:{}};this.add=v.bind(this,t,c,s),this.get=b.bind(this,s),this.remove=E.bind(this,c,s),this.clear=S.bind(this,c,s),this.renew=T.bind(this,t,c,s),this.on=c.emitter.on.bind(c.emitter),this.off=c.emitter.off.bind(c.emitter),this.hasExpired=o.bind(this,c),this.getTokens=w.bind(this,s),this.setTokens=x.bind(this,t,c,s),this._getStorageKeyByType=y.bind(this,s),this._clearExpireEventTimeoutAll=f.bind(this,c),this._getOptions=function(){return Object(M.f)(n)},this._resetExpireEventTimeoutAll=h.bind(this,t,c,s),this._emitEventsForCrossTabsStorageUpdate=u.bind(this,c);var d=[];this.on(V,function(e){if(n.autoRenew)if(function(e){var t=!1;if(e.push(Date.now()),e.length>=10){var n=e.shift();t=e[e.length-1]-n<3e4}return t}(d)){var t=new P.a("Too many token renew requests");l(c,t)}else r.renew(e).catch(function(){});else n.autoRemove&&r.remove(e)}),p(0,c,s),window.addEventListener("storage",function(e){var t=e.key,o=e.newValue,i=e.oldValue;(!t||t===n.storageKey&&o!==i)&&setTimeout(function(){return r._resetExpireEventTimeoutAll(),void r._emitEventsForCrossTabsStorageUpdate(o,i)},n._storageEventDelay)})}},function(e,t,n){"use strict";function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=p()(e);if(t){var o=p()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f()(this,n)}}n.d(t,"a",function(){return m});var o=n(4),i=n.n(o),a=n(9),s=n.n(a),l=n(12),u=n.n(l),c=n(13),f=n.n(c),d=n(10),p=n.n(d),h=n(26),m=function(e){function t(e){var r;return i()(this,t),r=n.call(this,e),Object.setPrototypeOf(s()(r),(this instanceof t?this.constructor:void 0).prototype),r}u()(t,e);var n=r(t);return t}(n.n(h)()(Error))},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u()(this,n)}}n.d(t,"a",function(){return d});var o=n(4),i=n.n(o),a=n(12),s=n.n(a),l=n(13),u=n.n(l),c=n(10),f=n.n(c),d=function(e){function t(){return i()(this,t),n.call(this,"The poll was stopped by the sdk")}s()(t,e);var n=r(t);return t}(n(17).a)},function(e,t){},function(e,t,n){"use strict";function r(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=f()(e);if(t){var o=f()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u()(this,n)}}n.d(t,"a",function(){return d});var o=n(4),i=n.n(o),a=n(12),s=n.n(a),l=n(13),u=n.n(l),c=n(10),f=n.n(c),d=function(e){function t(e,r){var o;i()(this,t);var a=e.errorSummary;return(o=n.call(this,a)).name="AuthApiError",o.errorSummary=e.errorSummary,o.errorCode=e.errorCode,o.errorLink=e.errorLink,o.errorId=e.errorId,o.errorCauses=e.errorCauses,r&&(o.xhr=r),o}s()(t,e);var n=r(t);return t}(n(17).a)},function(e,t,n){"use strict";n.d(t,"a",function(){return f});var r=n(4),o=n.n(r),i=n(11),a=n.n(i),s=n(1),l=n(3),u=n(7),c=n(0),f=function(){function e(t){o()(this,e),this.storageManager=t.storageManager,this.legacyWidgetSupport=!1!==t.legacyWidgetSupport,this.saveNonceCookie=!1!==t.saveNonceCookie,this.saveStateCookie=!1!==t.saveStateCookie,this.saveParamsCookie=!1!==t.saveParamsCookie,this.options=t}return a()(e,[{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.storageManager.getTransactionStorage().clearStorage(),this.legacyWidgetSupport&&(e.oauth&&this.clearLegacyOAuthParams(),e.pkce&&this.clearLegacyPKCE())}},{key:"save",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.storageManager.getTransactionStorage(),r=n.getStorage();if(Object(u.isTransactionMeta)(r)&&Object(c.F)("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),n.setStorage(e),t.oauth&&(this.saveNonceCookie||this.saveStateCookie||this.saveParamsCookie)){var o=this.storageManager.getStorage({storageType:"cookie"});if(this.saveParamsCookie){var i=e.responseType,a=e.state,s=e.nonce,f=e.scopes,d=e.clientId,p=e.urls,h=e.ignoreSignature,m={responseType:i,state:a,nonce:s,scopes:f,clientId:d,urls:p,ignoreSignature:h};o.setItem(l.REDIRECT_OAUTH_PARAMS_NAME,JSON.stringify(m),null)}this.saveNonceCookie&&e.nonce&&o.setItem(l.REDIRECT_NONCE_COOKIE_NAME,e.nonce,null),this.saveStateCookie&&e.state&&o.setItem(l.REDIRECT_STATE_COOKIE_NAME,e.state,null)}}},{key:"exists",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return!!this.load(e)}catch(e){return!1}}},{key:"load",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.storageManager.getTransactionStorage(),n=t.getStorage();if(Object(u.isTransactionMeta)(n))return n;if(!this.legacyWidgetSupport)return null;if(e.oauth)try{var r=this.loadLegacyOAuthParams();Object.assign(n,r)}finally{this.clearLegacyOAuthParams()}if(e.pkce)try{var o=this.loadLegacyPKCE();Object.assign(n,o)}finally{this.clearLegacyPKCE()}return Object(u.isTransactionMeta)(n)?n:null}},{key:"clearLegacyPKCE",value:function(){this.storageManager.storageUtil.testStorageType("localStorage")&&this.storageManager.getLegacyPKCEStorage({storageType:"localStorage"}).clearStorage(),this.storageManager.storageUtil.testStorageType("sessionStorage")&&this.storageManager.getLegacyPKCEStorage({storageType:"sessionStorage"}).clearStorage()}},{key:"loadLegacyPKCE",value:function(){var e;if(this.storageManager.storageUtil.testStorageType("localStorage")&&(e=this.storageManager.getLegacyPKCEStorage({storageType:"localStorage"}).getStorage())&&e.codeVerifier)return e;if(this.storageManager.storageUtil.testStorageType("sessionStorage")&&(e=this.storageManager.getLegacyPKCEStorage({storageType:"sessionStorage"}).getStorage())&&e.codeVerifier)return e;throw new s.c("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",null)}},{key:"clearLegacyOAuthParams",value:function(){this.storageManager.storageUtil.testStorageType("sessionStorage")&&this.storageManager.getLegacyOAuthParamsStorage({storageType:"sessionStorage"}).clearStorage(),this.storageManager.storageUtil.testStorageType("cookie")&&this.storageManager.getLegacyOAuthParamsStorage({storageType:"cookie"}).clearStorage()}},{key:"loadLegacyOAuthParams",value:function(){var e;if(this.storageManager.storageUtil.testStorageType("sessionStorage")&&(e=this.storageManager.getLegacyOAuthParamsStorage({storageType:"sessionStorage"}).getStorage()),Object(u.isOAuthTransactionMeta)(e))return e;if(this.storageManager.storageUtil.testStorageType("cookie")&&(e=this.storageManager.getLegacyOAuthParamsStorage({storageType:"cookie"}).getStorage()),Object(u.isOAuthTransactionMeta)(e))return e;throw new s.c("Unable to retrieve OAuth redirect params from storage")}}]),e}()},function(e,t,n){"use strict";n.d(t,"a",function(){return c});var r=n(4),o=n.n(r),i=n(11),a=n.n(i),s=n(3),l=n(2),u=function(){function e(t,n){if(o()(this,e),!t)throw new l.a('"storage" is required');if("string"!=typeof n||!n.length)throw new l.a('"storageName" is required');this.storageName=n,this.storageProvider=t}return a()(e,[{key:"getItem",value:function(e){return this.getStorage()[e]}},{key:"setItem",value:function(e,t){return this.updateStorage(e,t)}},{key:"removeItem",value:function(e){return this.clearStorage(e)}},{key:"getStorage",value:function(){var e=this.storageProvider.getItem(this.storageName);e=e||"{}";try{return JSON.parse(e)}catch(e){throw new l.a("Unable to parse storage string: "+this.storageName)}}},{key:"setStorage",value:function(e){try{var t=e?JSON.stringify(e):"{}";this.storageProvider.setItem(this.storageName,t)}catch(e){throw new l.a("Unable to set storage: "+this.storageName)}}},{key:"clearStorage",value:function(e){if(e){var t=this.getStorage();delete t[e],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}},{key:"updateStorage",value:function(e,t){var n=this.getStorage();n[e]=t,this.setStorage(n)}}]),e}(),c=function(){function e(t,n,r){o()(this,e),this.storageManagerOptions=t,this.cookieOptions=n,this.storageUtil=r}return a()(e,[{key:"getOptionsForSection",value:function(e,t){return Object.assign({},this.storageManagerOptions[e],t)}},{key:"getStorage",value:function(e){if((e=Object.assign({},this.cookieOptions,e)).storageProvider)return e.storageProvider;var t=e,n=t.storageType,r=t.storageTypes;if(n&&r){var o=r.indexOf(n);o>=0&&(r=r.slice(o),n=null)}return n||(n=this.storageUtil.findStorageType(r)),this.storageUtil.getStorageByType(n,e)}},{key:"getTransactionStorage",value:function(e){e=this.getOptionsForSection("transaction",e);var t=this.getStorage(e),n=e.storageKey||s.TRANSACTION_STORAGE_NAME;return new u(t,n)}},{key:"getTokenStorage",value:function(e){e=this.getOptionsForSection("token",e);var t=this.getStorage(e),n=e.storageKey||s.TOKEN_STORAGE_NAME;return new u(t,n)}},{key:"getHttpCache",value:function(e){e=this.getOptionsForSection("cache",e);var t=this.getStorage(e),n=e.storageKey||s.CACHE_STORAGE_NAME;return new u(t,n)}},{key:"getLegacyPKCEStorage",value:function(e){e=this.getOptionsForSection("legacy-pkce",e);var t=this.getStorage(e),n=e.storageKey||s.PKCE_STORAGE_NAME;return new u(t,n)}},{key:"getLegacyOAuthParamsStorage",value:function(e){e=this.getOptionsForSection("legacy-oauth-params",e);var t=this.getStorage(e),n=e.storageKey||s.REDIRECT_OAUTH_PARAMS_NAME;return new u(t,n)}}]),e}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){function r(t){var n="function"==typeof Map?new Map:void 0;return e.exports=r=function(e){function t(){return s(e,arguments,o(this).constructor)}if(null===e||!a(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),i(t,e)},r(t)}var o=n(10),i=n(25),a=n(43),s=n(44);e.exports=r},function(e,t){},function(e,t,n){"use strict";function r(e){return!(!e||"object"!==c()(e)||0===Object.values(e).length)}function o(e){return!(!r(e)||!e.redirectUri&&!e.responseType)}function i(e){return!!o(e)&&!!e.codeVerifier}function a(e){return!!i(e)&&!!e.interactionHandle}function s(e){return!!r(e)&&void 0===Object.values(e).find(function(e){return"string"!=typeof e})}function l(e){return!(!o(e)&&!s(e))}n.d(t,"c",function(){return o}),n.d(t,"d",function(){return i}),n.d(t,"b",function(){return a}),n.d(t,"a",function(){return s}),n.d(t,"e",function(){return l});var u=n(18),c=n.n(u)},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return!!(e&&(e.accessToken||e.idToken||e.refreshToken)&&Array.isArray(e.scopes))}function o(e){return e&&e.accessToken}function i(e){return e&&e.idToken}function a(e){return e&&e.refreshToken}n.d(t,"d",function(){return r}),n.d(t,"a",function(){return o}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a})},function(e,t){},function(e,t,n){"use strict";function r(e,t){var n=e.userAgent||{};return n.value?n.value:n.template?n.template.replace("$OKTA_AUTH_JS",t):t}function o(){return navigator.userAgent}function i(){var e=o();return e&&!q.test(e)}function a(){var e=document.documentMode&&document.documentMode<10;return!(!window.postMessage||e)}function s(){return"undefined"!=typeof crypto&&crypto.subtle&&"undefined"!=typeof Uint8Array}function l(){return"undefined"!=typeof TextEncoder}function u(){return s()&&l()}function c(){return"https:"===window.location.protocol}function f(){return"localhost"===window.location.hostname}function d(e){return e.session.get().then(function(e){return"ACTIVE"===e.status}).catch(function(){return!1})}function p(e){return G.a.get(e,"/api/v1/sessions/me").then(function(t){var n=Object(D.x)(t,"_links");return n.refresh=function(){return G.a.post(e,Object(D.n)(t,"refresh").href)},n.user=function(){return G.a.get(e,Object(D.n)(t,"user").href)},n}).catch(function(){return{status:"INACTIVE"}})}function h(e){return G.a.httpRequest(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE"})}function m(e){return G.a.post(e,"/api/v1/sessions/me/lifecycle/refresh")}function v(e,t,n){n=n||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+Object(D.D)({checkAccountSetupComplete:!0,token:t,redirectUrl:n}))}function g(e,t){return t=t||{},i()?new Promise(function(i,a){(r=document.createElement("iframe")).style.display="none",o=function(t){if(t&&t.data&&t.origin===e.getIssuerOrigin()){try{var n=JSON.parse(t.data)}catch(e){return}if(n)return"FingerprintAvailable"===n.type?i(n.fingerprint):void("FingerprintServiceReady"===n.type&&t.source.postMessage(JSON.stringify({type:"GetFingerprint"}),t.origin))}},Object(Y.a)(window,"message",o),r.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",document.body.appendChild(r),n=setTimeout(function(){a(new X.c("Fingerprinting timed out"))},t.timeout||15e3)}).finally(function(){clearTimeout(n),Object(Y.J)(window,"message",o),document.body.contains(r)&&r.parentElement.removeChild(r)}):Promise.reject(new X.c("Fingerprinting is not supported on this device"));var n,r,o}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=P()(e);if(t){var o=P()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return N()(this,n)}}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=e.cookies||{};return void 0===n.secure&&(n.secure=t),void 0===n.sameSite&&(n.sameSite=n.secure?"none":"lax"),n.secure&&!t&&(Object(D.F)('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to false.'),n.secure=!1),"none"!==n.sameSite||n.secure||(n.sameSite="lax"),n}var _={};n.r(_),n.d(_,"getUserAgent",function(){return o}),n.d(_,"isFingerprintSupported",function(){return i}),n.d(_,"isPopupPostMessageSupported",function(){return a}),n.d(_,"isTokenVerifySupported",function(){return s}),n.d(_,"hasTextEncoder",function(){return l}),n.d(_,"isPKCESupported",function(){return u}),n.d(_,"isHTTPS",function(){return c}),n.d(_,"isLocalhost",function(){return f});var w=n(5),x=n.n(w),E=n(4),T=n.n(E),S=n(11),k=n.n(S),O=n(9),A=n.n(O),C=n(12),R=n.n(C),I=n(13),N=n.n(I),M=n(10),P=n.n(M),L=n(2),D=n(0),j=n(14),F=n(15),U=n(23),B=n(22),V=function(){function e(t){T()(this,e),function(e){var t=(e=e||{}).issuer;if(!t)throw new L.a('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(e.issuer))throw new L.a('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==t.indexOf("-admin."))throw new L.a('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})');var n=e.userAgent;if(n&&n.template&&-1===n.template.indexOf("$OKTA_AUTH_JS"))throw new L.a('UserAgentTemplate must include "$OKTA_AUTH_JS" placeholder. Required usage: new OktaAuth({userAgentTemplate: "xxx $OKTA_AUTH_JS xxx"})')}(t),this.options={issuer:Object(D.z)(t.issuer),tokenUrl:Object(D.z)(t.tokenUrl),authorizeUrl:Object(D.z)(t.authorizeUrl),userinfoUrl:Object(D.z)(t.userinfoUrl),revokeUrl:Object(D.z)(t.revokeUrl),logoutUrl:Object(D.z)(t.logoutUrl),clientId:t.clientId,redirectUri:t.redirectUri,state:t.state,scopes:t.scopes,postLogoutRedirectUri:t.postLogoutRedirectUri,responseMode:t.responseMode,responseType:t.responseType,pkce:t.pkce,httpRequestClient:t.httpRequestClient,transformErrorXHR:t.transformErrorXHR,transformAuthState:t.transformAuthState,restoreOriginalUri:t.restoreOriginalUri,storageUtil:t.storageUtil,headers:t.headers,devMode:t.devMode||!1,storageManager:Object.assign({token:{},transaction:{}},t.storageManager),cookies:t.cookies,ignoreSignature:!!t.ignoreSignature};var n=this.options,r=n.storageManager,o=n.cookies,i=n.storageUtil;this.storageManager=new U.a(r,o,i),this.transactionManager=new B.a(Object.assign({storageManager:this.storageManager},t.transactionManager)),this.tx={status:j.j.bind(null,this),resume:j.h.bind(null,this),exists:Object.assign(j.i.bind(null,this),{_get:function(e){return i.storage.get(e)}}),introspect:j.f.bind(null,this)},this.pkce={DEFAULT_CODE_CHALLENGE_METHOD:F.a.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:F.a.generateVerifier,computeChallenge:F.a.computeChallenge}}return k()(e,[{key:"signIn",value:function(e){return Object(j.g)(this,"/api/v1/authn",e)}},{key:"getIssuerOrigin",value:function(){return this.options.issuer.split("/oauth2/")[0]}},{key:"forgotPassword",value:function(e){return Object(j.g)(this,"/api/v1/authn/recovery/password",e)}},{key:"unlockAccount",value:function(e){return Object(j.g)(this,"/api/v1/authn/recovery/unlock",e)}},{key:"verifyRecoveryToken",value:function(e){return Object(j.g)(this,"/api/v1/authn/recovery/token",e)}}]),e}(),q=/windows phone|iemobile|wpdesktop/i,H=n(38),W=n(47),z={getHttpCache:function(){return null},getPKCEStorage:function(){return null},browserHasLocalStorage:function(){try{var e=z.getLocalStorage();return z.testStorage(e)}catch(e){return!1}},browserHasSessionStorage:function(){try{var e=z.getSessionStorage();return z.testStorage(e)}catch(e){return!1}},testStorageType:function(e){var t=!1;switch(e){case"sessionStorage":t=z.browserHasSessionStorage();break;case"localStorage":t=z.browserHasLocalStorage();break;case"cookie":case"memory":t=!0;break;default:t=!1}return t},getStorageByType:function(e,t){var n=null;switch(e){case"sessionStorage":n=z.getSessionStorage();break;case"localStorage":n=z.getLocalStorage();break;case"cookie":n=z.getCookieStorage(t);break;case"memory":n=z.getInMemoryStorage();break;default:throw new L.a("Unrecognized storage option: ".concat(e))}return n},findStorageType:function(e){var t,n;return t=(e=e.slice()).shift(),(n=e.length?e[0]:null)?z.testStorageType(t)?t:(Object(D.F)("This browser doesn't support ".concat(t,". Switching to ").concat(n,".")),z.findStorageType(e)):t},getLocalStorage:function(){return localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){var t=e.secure,n=e.sameSite;if(void 0===t||void 0===n)throw new L.a('getCookieStorage: "secure" and "sameSite" options must be provided');var r={getItem:z.storage.get,setItem:function(e,r,o){o=void 0===o?"2200-01-01T00:00:00.000Z":o,z.storage.set(e,r,o,{secure:t,sameSite:n})},removeItem:function(e){z.storage.delete(e)}};return e.useMultipleCookies?{getItem:function(e){var t=r.getItem(),n={};return Object.keys(t).forEach(function(r){0===r.indexOf(e)&&(n[r.replace("".concat(e,"_"),"")]=JSON.parse(t[r]))}),JSON.stringify(n)},setItem:function(e,t){var n=JSON.parse(this.getItem(e));t=JSON.parse(t),Object.keys(t).forEach(function(o){var i=e+"_"+o,a=JSON.stringify(t[o]);r.setItem(i,a),delete n[o]}),Object.keys(n).forEach(function(t){r.removeItem(e+"_"+t)})},removeItem:function(e){var t=JSON.parse(this.getItem(e));Object.keys(t).forEach(function(t){r.removeItem(e+"_"+t)})}}:r},getInMemoryStorage:function(){var e={};return{getItem:function(t){return e[t]},setItem:function(t,n){e[t]=n}}},testStorage:function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},storage:{set:function(e,t,n,r){var o=r.secure,i=r.sameSite;if(void 0===o||void 0===i)throw new L.a('storage.set: "secure" and "sameSite" options must be provided');var a={path:r.path||"/",secure:o,sameSite:i};return Date.parse(n)&&(a.expires=new Date(n)),W.set(e,t,a),z.storage.get(e)},get:function(e){return W.get(e)},delete:function(e){return W.remove(e,{path:"/"})}}},K=z,$=n(3),G=n(6),Y=n(8),J=n(16),Q=function(){function e(){T()(this,e),this.queue=[],this.running=!1}return k()(e,[{key:"push",value:function(e,t){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return new Promise(function(r,i){n.queue.push({method:e,thisObject:t,args:o,resolve:r,reject:i}),n.run()})}},{key:"run",value:function(){var e=this;if(!this.running&&0!==this.queue.length){this.running=!0;var t=this.queue.shift(),n=t.method.apply(t.thisObject,t.args);Object(D.u)(n)?n.then(t.resolve,t.reject).finally(function(){e.running=!1,e.run()}):(t.resolve(n),this.running=!1,this.run())}}}]),e}(),X=n(1),Z=n(53),ee={isPending:!0,isAuthenticated:!1,idToken:null,accessToken:null,refreshToken:null},te={updateAuthStatePromise:null,canceledTimes:0},ne=function(){function e(t){var n=this;if(T()(this,e),!t.emitter)throw new X.c("Emitter should be initialized before AuthStateManager");this._sdk=t,this._pending=Object.assign({},te),this._authState=Object.assign({},ee),this._logOptions={},t.tokenManager.on(J.a,function(e,t){n._setLogOptions({event:J.a,key:e,token:t}),n.updateAuthState()}),t.tokenManager.on(J.d,function(e,t){n._setLogOptions({event:J.d,key:e,token:t}),n.updateAuthState()})}return k()(e,[{key:"_setLogOptions",value:function(e){this._logOptions=e}},{key:"getAuthState",value:function(){return this._authState}},{key:"updateAuthState",value:function(){var e=this;this._sdk.emitter.e&&this._sdk.emitter.e.authStateChange&&this._sdk.emitter.e.authStateChange.length||Object(D.F)("updateAuthState is an asynchronous method with no return, please subscribe to the latest authState update with authStateManager.subscribe(handler) method before calling updateAuthState.");var t=this._sdk.options,n=t.transformAuthState,r=t.devMode,o=this._sdk.tokenManager._getOptions(),i=o.autoRenew,a=o.autoRemove,s=function(t){var n=e._logOptions,r=n.event,o=n.key,i=n.token;Object(D.m)().group("OKTA-AUTH-JS:updateAuthState: Event:".concat(r," Status:").concat(t)),Object(D.m)().log(o,i),Object(D.m)().log("Current authState",e._authState),Object(D.m)().groupEnd(),e._logOptions={}},l=function(t){var n,o;n=e._authState,o=t,n.isPending!==o.isPending||n.isAuthenticated!==o.isAuthenticated||JSON.stringify(n.idToken)!==JSON.stringify(o.idToken)||JSON.stringify(n.accessToken)!==JSON.stringify(o.accessToken)||n.error!==o.error?(e._authState=t,e._sdk.emitter.emit("authStateChange",Object.assign({},t)),r&&s("emitted")):r&&s("unchanged")},u=function(){return i||a};if(this._pending.updateAuthStatePromise){if(this._pending.canceledTimes>=10)return void(r&&s("terminated"));this._pending.updateAuthStatePromise.cancel()}var c=new Z(function(t,o,i){i.shouldReject=!1,i(function(){e._pending.updateAuthStatePromise=null,e._pending.canceledTimes=e._pending.canceledTimes+1,r&&s("canceled")});var a=function(n){c.isCanceled||(l(n),e._pending=Object.assign({},te)),t()};e._sdk.tokenManager.getTokens().then(function(r){var o=r.accessToken,i=r.idToken,s=r.refreshToken;if(c.isCanceled)t();else{var l=!1;o&&e._sdk.tokenManager.hasExpired(o)&&(o=null,l=u()),i&&e._sdk.tokenManager.hasExpired(i)&&(i=null,l=u());var f={accessToken:o,idToken:i,refreshToken:s,isPending:l,isAuthenticated:!(!o||!i)};(n?n(e._sdk,f):Promise.resolve(f)).then(function(e){return a(e)}).catch(function(e){return a({accessToken:o,idToken:i,refreshToken:s,isAuthenticated:!1,isPending:!1,error:e})})}})});this._pending.updateAuthStatePromise=c}},{key:"subscribe",value:function(e){this._sdk.emitter.on("authStateChange",e)}},{key:"unsubscribe",value:function(e){this._sdk.emitter.off("authStateChange",e)}}]),e}(),re=function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})},oe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ie=n(54),ae=function(e){function t(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};T()(this,t),e=n.call(this,Object.assign({httpRequestClient:H.a,storageUtil:o.storageUtil||K,cookies:b(o,t.features.isHTTPS()),storageManager:Object.assign({token:{storageTypes:["localStorage","sessionStorage","cookie"],useMultipleCookies:!0},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]}},o.storageManager)},o)),Object.assign(e.options.storageUtil,{getPKCEStorage:e.storageManager.getLegacyPKCEStorage.bind(e.storageManager),getHttpCache:e.storageManager.getHttpCache.bind(e.storageManager)}),e._pending={handleLogin:!1},e.options=Object.assign(e.options,{pkce:!1!==o.pkce,redirectUri:Object(D.C)(o.redirectUri,window.location.origin)}),e.userAgent=r(o,"okta-auth-js/".concat("4.8.0")),o.maxClockSkew||0===o.maxClockSkew?e.options.maxClockSkew=o.maxClockSkew:e.options.maxClockSkew=$.DEFAULT_MAX_CLOCK_SKEW,e.session={close:h.bind(null,A()(e)),exists:d.bind(null,A()(e)),get:p.bind(null,A()(e)),refresh:m.bind(null,A()(e)),setCookieAndRedirect:v.bind(null,A()(e))},e._tokenQueue=new Q,e.token={prepareTokenParams:Y.I.bind(null,A()(e)),exchangeCodeForTokens:Y.f.bind(null,A()(e)),getWithoutPrompt:Y.r.bind(null,A()(e)),getWithPopup:Y.p.bind(null,A()(e)),getWithRedirect:Y.q.bind(null,A()(e)),parseFromUrl:Y.E.bind(null,A()(e)),decode:Y.e,revoke:Y.M.bind(null,A()(e)),renew:Y.K.bind(null,A()(e)),renewTokens:Y.L.bind(null,A()(e)),getUserInfo:Y.n.bind(null,A()(e)),verify:Y.P.bind(null,A()(e)),isLoginRedirect:Y.A.bind(null,A()(e))};var i=["decode","isLoginRedirect"];return Object.keys(e.token).forEach(function(t){if(!(i.indexOf(t)>=0)){var n=e.token[t];e.token[t]=Q.prototype.push.bind(e._tokenQueue,n,null)}}),Object.assign(e.token.getWithRedirect,{_setLocation:function(e){window.location=e}}),Object.assign(e.token.parseFromUrl,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),e.fingerprint=g.bind(null,A()(e)),e.emitter=new ie,e.tokenManager=new J.f(A()(e),o.tokenManager),e.authStateManager=new ne(A()(e)),e}R()(t,e);var n=y(t);return k()(t,[{key:"isInteractionRequired",value:function(){return Object(Y.y)(this)}},{key:"isInteractionRequiredError",value:function(e){return Object(Y.z)(e)}},{key:"signIn",value:function(e){return this.features.isLocalhost()&&Object(D.h)("This method has been deprecated, please use signInWithCredentials() instead."),this.signInWithCredentials(e)}},{key:"signInWithCredentials",value:function(e){var t=this;e=Object(D.f)(e||{});var n=function(n){return delete e.sendFingerprint,Object(j.g)(t,"/api/v1/authn",e,n)};return e.sendFingerprint?this.fingerprint().then(function(e){return n({headers:{"X-Device-Fingerprint":e}})}):n()}},{key:"signInWithRedirect",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.originalUri,n=oe(e,["originalUri"]);return re(this,void 0,void 0,x.a.mark(function e(){var r;return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._pending.handleLogin){e.next=2;break}return e.abrupt("return");case 2:return this._pending.handleLogin=!0,e.prev=3,t&&this.setOriginalUri(t),r=Object.assign({scopes:this.options.scopes||["openid","email","profile"]},n),e.next=8,this.token.getWithRedirect(r);case 8:return e.prev=8,this._pending.handleLogin=!1,e.finish(8);case 11:case"end":return e.stop()}},e,this,[[3,,8,11]])}))}},{key:"closeSession",value:function(){return this.tokenManager.clear(),this.session.close().catch(function(e){if("AuthApiError"!==e.name||"E0000007"!==e.errorCode)throw e})}},{key:"revokeAccessToken",value:function(e){return re(this,void 0,void 0,x.a.mark(function t(){var n;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=6;break}return t.next=3,this.tokenManager.getTokens();case 3:e=t.sent.accessToken,n=this.tokenManager._getStorageKeyByType("accessToken"),this.tokenManager.remove(n);case 6:if(e){t.next=8;break}return t.abrupt("return",Promise.resolve());case 8:return t.abrupt("return",this.token.revoke(e));case 9:case"end":return t.stop()}},t,this)}))}},{key:"revokeRefreshToken",value:function(e){return re(this,void 0,void 0,x.a.mark(function t(){var n;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=6;break}return t.next=3,this.tokenManager.getTokens();case 3:e=t.sent.refreshToken,n=this.tokenManager._getStorageKeyByType("refreshToken"),this.tokenManager.remove(n);case 6:if(e){t.next=8;break}return t.abrupt("return",Promise.resolve());case 8:return t.abrupt("return",this.token.revoke(e));case 9:case"end":return t.stop()}},t,this)}))}},{key:"signOut",value:function(e){return re(this,void 0,void 0,x.a.mark(function t(){var n,r,o,i,a,s,l,u,c,f,d,p;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=Object.assign({},e),n=window.location.origin,r=window.location.href,o=e.postLogoutRedirectUri||this.options.postLogoutRedirectUri||n,i=e.accessToken,a=e.refreshToken,s=!1!==e.revokeAccessToken,l=!1!==e.revokeRefreshToken,u=e.idToken,c=Object(Y.l)(this).logoutUrl,void 0!==u){t.next=14;break}return t.next=13,this.tokenManager.getTokens();case 13:u=t.sent.idToken;case 14:if(!l||void 0!==a){t.next=18;break}return t.next=17,this.tokenManager.getTokens();case 17:a=t.sent.refreshToken;case 18:if(!s||void 0!==i){t.next=22;break}return t.next=21,this.tokenManager.getTokens();case 21:i=t.sent.accessToken;case 22:if(this.tokenManager.clear(),!l||!a){t.next=26;break}return t.next=26,this.revokeRefreshToken(a);case 26:if(!s||!i){t.next=29;break}return t.next=29,this.revokeAccessToken(i);case 29:if(u){t.next=31;break}return t.abrupt("return",this.closeSession().then(function(){o===r?window.location.reload():window.location.assign(o)}));case 31:f=e.state,d=u.idToken,p=c+"?id_token_hint="+encodeURIComponent(d)+"&post_logout_redirect_uri="+encodeURIComponent(o),f&&(p+="&state="+encodeURIComponent(f)),window.location.assign(p);case 36:case"end":return t.stop()}},t,this)}))}},{key:"webfinger",value:function(e){var t="/.well-known/webfinger"+Object(D.D)(e);return G.a.get(this,t,{headers:{Accept:"application/jrd+json"}})}},{key:"isAuthenticated",value:function(e){return re(this,void 0,void 0,x.a.mark(function t(){var n,r,o,i,a=this;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if((n=this.authStateManager.getAuthState()).isPending){t.next=3;break}return t.abrupt("return",Promise.resolve(n.isAuthenticated));case 3:return t.abrupt("return",new Promise(function(t){r=function(){a.authStateManager.unsubscribe(o),clearTimeout(i)},o=function(e){var n=e.isAuthenticated;e.isPending||(t(n),r())},i=setTimeout(function(){t(!1),r()},e||6e4),a.authStateManager.subscribe(o),a.authStateManager.updateAuthState()}));case 4:case"end":return t.stop()}},t,this)}))}},{key:"getUser",value:function(){return re(this,void 0,void 0,x.a.mark(function e(){var t,n,r;return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.authStateManager.getAuthState(),n=t.idToken,r=t.accessToken,e.abrupt("return",this.token.getUserInfo(r,n));case 2:case"end":return e.stop()}},e,this)}))}},{key:"getIdToken",value:function(){var e=this.authStateManager.getAuthState().idToken;return e?e.idToken:void 0}},{key:"getAccessToken",value:function(){var e=this.authStateManager.getAuthState().accessToken;return e?e.accessToken:void 0}},{key:"getRefreshToken",value:function(){var e=this.authStateManager.getAuthState().refreshToken;return e?e.refreshToken:void 0}},{key:"storeTokensFromRedirect",value:function(){return re(this,void 0,void 0,x.a.mark(function e(){var t,n;return x.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.token.parseFromUrl();case 2:t=e.sent,n=t.tokens,this.tokenManager.setTokens(n);case 5:case"end":return e.stop()}},e,this)}))}},{key:"setOriginalUri",value:function(e){e=e||window.location.href,K.getSessionStorage().setItem($.REFERRER_PATH_STORAGE_KEY,e)}},{key:"getOriginalUri",value:function(){return K.getSessionStorage().getItem($.REFERRER_PATH_STORAGE_KEY)||window.location.origin}},{key:"removeOriginalUri",value:function(){K.getSessionStorage().removeItem($.REFERRER_PATH_STORAGE_KEY)}},{key:"isLoginRedirect",value:function(){return Object(Y.A)(this)}},{key:"handleLoginRedirect",value:function(e){return re(this,void 0,void 0,x.a.mark(function t(){var n,r=this;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=function e(t){var n=t.isPending;return re(r,void 0,void 0,x.a.mark(function t(){var r,o;return x.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(!n){t.next=2;break}return t.abrupt("return");case 2:if(this.authStateManager.unsubscribe(e),r=this.getOriginalUri(),this.removeOriginalUri(),!(o=this.options.restoreOriginalUri)){t.next=11;break}return t.next=9,o(this,r);case 9:t.next=12;break;case 11:window.location.replace(r);case 12:case"end":return t.stop()}},t,this)}))},this.authStateManager.subscribe(n),!e){t.next=6;break}this.tokenManager.setTokens(e),t.next=12;break;case 6:if(!this.isLoginRedirect()){t.next=11;break}return t.next=9,this.storeTokensFromRedirect();case 9:t.next=12;break;case 11:this.authStateManager.unsubscribe(n);case 12:case"end":return t.stop()}},t,this)}))}},{key:"isPKCE",value:function(){return!!this.options.pkce}},{key:"hasResponseType",value:function(e){return Array.isArray(this.options.responseType)&&this.options.responseType.length?this.options.responseType.indexOf(e)>=0:this.options.responseType===e}},{key:"isAuthorizationCodeFlow",value:function(){return this.hasResponseType("code")}}]),t}(V);ae.features=ae.prototype.features=_,Object.assign(ae,{constants:$,isInteractionRequiredError:Y.z}),t.a=ae},function(e,t,n){"use strict";(function(e){var r=n(18),o=n.n(r),i=n(39),a=n.n(i);t.a=function(t,n,r){var i=r.data,s=r.headers||{};"application/json"===(s["Content-Type"]||s["content-type"]||"")&&i&&"string"!=typeof i&&(i=JSON.stringify(i));var l=(e.fetch||a.a)(n,{method:t,headers:r.headers,body:i,credentials:r.withCredentials?"include":"omit"});return l.finally||(l=Promise.resolve(l)),l.then(function(e){var t=!e.ok,n=e.status;return function(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch(function(e){return{error:e,errorSummary:"Could not parse server response"}}):e.text()}(e).then(function(e){return function(e,t){var n="object"===o()(t),r={responseText:n?JSON.stringify(t):t,status:e};return n&&(r.responseType="json",r.responseJSON=t),r}(n,e)}).then(function(e){if(t)throw e;return e})})}}).call(this,n(46))},function(e,t){var n=function(e){function t(){this.fetch=!1,this.DOMException=e.DOMException}return t.prototype=e,new t}("undefined"!=typeof self?self:this);!function(e){!function(t){function n(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function r(e){return"string"!=typeof e&&(e=String(e)),e}function o(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return v&&(t[Symbol.iterator]=function(){return t}),t}function i(e){this.map={},e instanceof i?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function a(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function s(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function l(e){var t=new FileReader,n=s(t);return t.readAsArrayBuffer(e),n}function u(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function c(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:g&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:y&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:m&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():b&&g&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=u(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):b&&(ArrayBuffer.prototype.isPrototypeOf(e)||w(e))?this._bodyArrayBuffer=u(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},g&&(this.blob=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var e,t,n,r=a(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=s(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},y&&(this.formData=function(){return this.text().then(d)}),this.json=function(){return this.text().then(JSON.parse)},this}function f(e,t){var n,r,o=(t=t||{}).body;if(e instanceof f){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new i(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new i(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),x.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function d(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}}),t}function p(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new i(t.headers),this.url=t.url||"",this._initBody(e)}function h(e,n){return new Promise(function(r,o){function a(){l.abort()}var s=new f(e,n);if(s.signal&&s.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new i,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}}),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var o="response"in l?l.response:l.responseText;r(new p(o,n))},l.onerror=function(){o(new TypeError("Network request failed"))},l.ontimeout=function(){o(new TypeError("Network request failed"))},l.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},l.open(s.method,s.url,!0),"include"===s.credentials?l.withCredentials=!0:"omit"===s.credentials&&(l.withCredentials=!1),"responseType"in l&&g&&(l.responseType="blob"),s.headers.forEach(function(e,t){l.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",a),l.onreadystatechange=function(){4===l.readyState&&s.signal.removeEventListener("abort",a)}),l.send(void 0===s._bodyInit?null:s._bodyInit)})}var m="URLSearchParams"in e,v="Symbol"in e&&"iterator"in Symbol,g="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),y="FormData"in e,b="ArrayBuffer"in e;if(b)var _=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],w=ArrayBuffer.isView||function(e){return e&&_.indexOf(Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,t){e=n(e),t=r(t);var o=this.map[e];this.map[e]=o?o+", "+t:t},i.prototype.delete=function(e){delete this.map[n(e)]},i.prototype.get=function(e){return e=n(e),this.has(e)?this.map[e]:null},i.prototype.has=function(e){return this.map.hasOwnProperty(n(e))},i.prototype.set=function(e,t){this.map[n(e)]=r(t)},i.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},i.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),o(e)},i.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),o(e)},i.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),o(e)},v&&(i.prototype[Symbol.iterator]=i.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];f.prototype.clone=function(){return new f(this,{body:this._bodyInit})},c.call(f.prototype),c.call(p.prototype),p.prototype.clone=function(){return new p(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new i(this.headers),url:this.url})},p.error=function(){var e=new p(null,{status:0,statusText:""});return e.type="error",e};var E=[301,302,303,307,308];p.redirect=function(e,t){if(-1===E.indexOf(t))throw new RangeError("Invalid status code");return new p(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}h.polyfill=!0,e.fetch||(e.fetch=h,e.Headers=i,e.Request=f,e.Response=p),t.Headers=i,t.Request=f,t.Response=p,t.fetch=h}({})}(n),delete n.fetch.polyfill,(t=n.fetch).default=n.fetch,t.fetch=n.fetch,t.Headers=n.Headers,t.Request=n.Request,t.Response=n.Response,e.exports=t},function(e,t,n){var r=n(48),o=n(49),i=n(50),a=n(52);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()}},function(e,t,n){"use strict";n.r(t);var r=n(37);n.d(t,"OktaAuth",function(){return r.a});var o=n(3);n.d(t,"STATE_TOKEN_KEY_NAME",function(){return o.STATE_TOKEN_KEY_NAME}),n.d(t,"DEFAULT_POLLING_DELAY",function(){return o.DEFAULT_POLLING_DELAY}),n.d(t,"DEFAULT_MAX_CLOCK_SKEW",function(){return o.DEFAULT_MAX_CLOCK_SKEW}),n.d(t,"DEFAULT_CACHE_DURATION",function(){return o.DEFAULT_CACHE_DURATION}),n.d(t,"REDIRECT_OAUTH_PARAMS_NAME",function(){return o.REDIRECT_OAUTH_PARAMS_NAME}),n.d(t,"REDIRECT_STATE_COOKIE_NAME",function(){return o.REDIRECT_STATE_COOKIE_NAME}),n.d(t,"REDIRECT_NONCE_COOKIE_NAME",function(){return o.REDIRECT_NONCE_COOKIE_NAME}),n.d(t,"TOKEN_STORAGE_NAME",function(){return o.TOKEN_STORAGE_NAME}),n.d(t,"CACHE_STORAGE_NAME",function(){return o.CACHE_STORAGE_NAME}),n.d(t,"PKCE_STORAGE_NAME",function(){return o.PKCE_STORAGE_NAME}),n.d(t,"TRANSACTION_STORAGE_NAME",function(){return o.TRANSACTION_STORAGE_NAME}),n.d(t,"ACCESS_TOKEN_STORAGE_KEY",function(){return o.ACCESS_TOKEN_STORAGE_KEY}),n.d(t,"ID_TOKEN_STORAGE_KEY",function(){return o.ID_TOKEN_STORAGE_KEY}),n.d(t,"REFRESH_TOKEN_STORAGE_KEY",function(){return o.REFRESH_TOKEN_STORAGE_KEY}),n.d(t,"REFERRER_PATH_STORAGE_KEY",function(){return o.REFERRER_PATH_STORAGE_KEY}),n.d(t,"MIN_VERIFIER_LENGTH",function(){return o.MIN_VERIFIER_LENGTH}),n.d(t,"MAX_VERIFIER_LENGTH",function(){return o.MAX_VERIFIER_LENGTH}),n.d(t,"DEFAULT_CODE_CHALLENGE_METHOD",function(){return o.DEFAULT_CODE_CHALLENGE_METHOD});var i=n(7);for(var a in i)["OktaAuth","STATE_TOKEN_KEY_NAME","DEFAULT_POLLING_DELAY","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_CACHE_DURATION","REDIRECT_OAUTH_PARAMS_NAME","REDIRECT_STATE_COOKIE_NAME","REDIRECT_NONCE_COOKIE_NAME","TOKEN_STORAGE_NAME","CACHE_STORAGE_NAME","PKCE_STORAGE_NAME","TRANSACTION_STORAGE_NAME","ACCESS_TOKEN_STORAGE_KEY","ID_TOKEN_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","REFERRER_PATH_STORAGE_KEY","MIN_VERIFIER_LENGTH","MAX_VERIFIER_LENGTH","DEFAULT_CODE_CHALLENGE_METHOD","default"].indexOf(a)<0&&function(e){n.d(t,e,function(){return i[e]})}(a);var s=n(14);n.d(t,"transactionStatus",function(){return s.j}),n.d(t,"resumeTransaction",function(){return s.h}),n.d(t,"transactionExists",function(){return s.i}),n.d(t,"postToTransaction",function(){return s.g}),n.d(t,"introspect",function(){return s.f}),n.d(t,"AuthTransaction",function(){return s.a}),n.d(t,"getPollFn",function(){return s.d}),n.d(t,"TransactionState",function(){return s.b}),n.d(t,"addStateToken",function(){return s.c}),n.d(t,"getStateToken",function(){return s.e});var l=n(1);n.d(t,"AuthApiError",function(){return l.a}),n.d(t,"AuthPollStopError",function(){return l.b}),n.d(t,"AuthSdkError",function(){return l.c}),n.d(t,"OAuthError",function(){return l.d});var u=n(8);n.d(t,"convertTokenParamsToOAuthParams",function(){return u.d}),n.d(t,"buildAuthorizeParams",function(){return u.c}),n.d(t,"postToTokenEndpoint",function(){return u.H}),n.d(t,"postRefreshToken",function(){return u.G}),n.d(t,"getWellKnown",function(){return u.o}),n.d(t,"getKey",function(){return u.k}),n.d(t,"addListener",function(){return u.a}),n.d(t,"removeListener",function(){return u.J}),n.d(t,"loadFrame",function(){return u.C}),n.d(t,"loadPopup",function(){return u.D}),n.d(t,"addPostMessageListener",function(){return u.b}),n.d(t,"getDefaultTokenParams",function(){return u.i}),n.d(t,"isInteractionRequiredError",function(){return u.z}),n.d(t,"hasTokensInHash",function(){return u.w}),n.d(t,"hasAuthorizationCode",function(){return u.t}),n.d(t,"hasInteractionCode",function(){return u.v}),n.d(t,"hasErrorInUrl",function(){return u.u}),n.d(t,"isRedirectUri",function(){return u.B}),n.d(t,"isCodeFlow",function(){return u.x}),n.d(t,"getHashOrSearch",function(){return u.j}),n.d(t,"isLoginRedirect",function(){return u.A}),n.d(t,"isInteractionRequired",function(){return u.y}),n.d(t,"generateState",function(){return u.h}),n.d(t,"generateNonce",function(){return u.g}),n.d(t,"getOAuthUrls",function(){return u.l}),n.d(t,"pkce",function(){return u.F}),n.d(t,"prepareTokenParams",function(){return u.I}),n.d(t,"urlParamsToObject",function(){return u.N}),n.d(t,"validateClaims",function(){return u.O}),n.d(t,"decodeToken",function(){return u.e}),n.d(t,"revokeToken",function(){return u.M}),n.d(t,"renewToken",function(){return u.K}),n.d(t,"renewTokens",function(){return u.L}),n.d(t,"verifyToken",function(){return u.P}),n.d(t,"getUserInfo",function(){return u.n}),n.d(t,"handleOAuthResponse",function(){return u.s}),n.d(t,"exchangeCodeForTokens",function(){return u.f}),n.d(t,"getToken",function(){return u.m}),n.d(t,"getWithoutPrompt",function(){return u.r}),n.d(t,"getWithPopup",function(){return u.p}),n.d(t,"getWithRedirect",function(){return u.q}),n.d(t,"parseFromUrl",function(){return u.E}),n(23),n(22);var c=n(16);n.d(t,"EVENT_EXPIRED",function(){return c.c}),n.d(t,"EVENT_RENEWED",function(){return c.e}),n.d(t,"EVENT_ADDED",function(){return c.a}),n.d(t,"EVENT_REMOVED",function(){return c.d}),n.d(t,"EVENT_ERROR",function(){return c.b}),n.d(t,"TokenManager",function(){return c.f});var f=n(0);n.d(t,"stringToBase64Url",function(){return f.A}),n.d(t,"base64ToBase64Url",function(){return f.a}),n.d(t,"base64UrlToBase64",function(){return f.c}),n.d(t,"base64UrlToString",function(){return f.d}),n.d(t,"stringToBuffer",function(){return f.B}),n.d(t,"base64UrlDecode",function(){return f.b}),n.d(t,"bind",function(){return f.e}),n.d(t,"isAbsoluteUrl",function(){return f.p}),n.d(t,"toAbsoluteUrl",function(){return f.C}),n.d(t,"toRelativeUrl",function(){return f.E}),n.d(t,"isString",function(){return f.v}),n.d(t,"isObject",function(){return f.t}),n.d(t,"isNumber",function(){return f.s}),n.d(t,"isoToUTCString",function(){return f.w}),n.d(t,"toQueryString",function(){return f.D}),n.d(t,"genRandomString",function(){return f.l}),n.d(t,"extend",function(){return f.j}),n.d(t,"removeNils",function(){return f.y}),n.d(t,"clone",function(){return f.f}),n.d(t,"omit",function(){return f.x}),n.d(t,"find",function(){return f.k}),n.d(t,"getLink",function(){return f.n}),n.d(t,"getNativeConsole",function(){return f.o}),n.d(t,"getConsole",function(){return f.m}),n.d(t,"warn",function(){return f.F}),n.d(t,"deprecate",function(){return f.h}),n.d(t,"deprecateWrap",function(){return f.i}),n.d(t,"removeTrailingSlash",function(){return f.z}),n.d(t,"isIE11OrLess",function(){return f.r}),n.d(t,"isFunction",function(){return f.q}),n.d(t,"delay",function(){return f.g}),n.d(t,"isPromise",function(){return f.u})},function(e,t,n){var r=function(e){"use strict";function t(e,t,o,i){var a=t&&t.prototype instanceof r?t:r,s=Object.create(a.prototype),u=new f(i||[]);return s._invoke=function(e,t,r){var o="suspendedStart";return function(i,a){if("executing"===o)throw new Error("Generator is already running");if("completed"===o){if("throw"===i)throw a;return p()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var u=l(s,r);if(u){if(u===_)continue;return u}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===o)throw o="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o="executing";var c=n(e,t,r);if("normal"===c.type){if(o=r.done?"completed":"suspendedYield",c.arg===_)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o="completed",r.method="throw",r.arg=c.arg)}}}(e,o,u),s}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e,t){var r;this._invoke=function(o,i){function a(){return new t(function(r,a){!function r(o,i,a,s){var l=n(e[o],e,i);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&m.call(c,"__await")?t.resolve(c.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return r("throw",e,a,s)})}s(l.arg)}(o,i,r,a)})}return r=r?r.then(a,a):a()}}function l(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,l(e,t),"throw"===t.method))return _;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,_):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function u(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function c(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(u,this),this.reset(!0)}function d(e){if(e){var t=e[g];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(m.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:p}}function p(){return{value:void 0,done:!0}}var h=Object.prototype,m=h.hasOwnProperty,v="function"==typeof Symbol?Symbol:{},g=v.iterator||"@@iterator",y=v.asyncIterator||"@@asyncIterator",b=v.toStringTag||"@@toStringTag";e.wrap=t;var _={},w={};w[g]=function(){return this};var x=Object.getPrototypeOf,E=x&&x(x(d([])));E&&E!==h&&m.call(E,g)&&(w=E);var T=i.prototype=r.prototype=Object.create(w);return o.prototype=T.constructor=i,i.constructor=o,i[b]=o.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,b in e||(e[b]="GeneratorFunction")),e.prototype=Object.create(T),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[y]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,o,i,a){void 0===a&&(a=Promise);var l=new s(t(n,r,o,i),a);return e.isGeneratorFunction(r)?l:l.next().then(function(e){return e.done?e.value:l.next()})},a(T),T[b]="Generator",T[g]=function(){return this},T.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(c),!e)for(var t in this)"t"===t.charAt(0)&&m.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=void 0),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=m.call(o,"catchLoc"),s=m.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&m.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),c(n),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;c(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),_}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}},function(e,t,n){function r(t,n,a){return i()?e.exports=r=Reflect.construct:e.exports=r=function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&o(i,n.prototype),i},r.apply(null,arguments)}var o=n(25),i=n(45);e.exports=r},function(e,t){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r,o;/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(i){if(void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o),e.exports=i(),!1){var a=window.Cookies,s=window.Cookies=i();s.noConflict=function(){return window.Cookies=a,s}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(r){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,!0!==i[l]&&(s+="="+i[l].split(";")[0]));return document.cookie=t+"="+n+s}}function a(e,n){if("undefined"!=typeof document){for(var o={},i=document.cookie?document.cookie.split("; "):[],a=0;a<i.length;a++){var s=i[a].split("="),l=s.slice(1).join("=");n||'"'!==l.charAt(0)||(l=l.slice(1,-1));try{var u=t(s[0]);if(l=(r.read||r)(l,u)||t(l),n)try{l=JSON.parse(l)}catch(e){}if(o[u]=l,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})})},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}},function(e,t,n){var r=n(51);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(e,t,n){"use strict";function r(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}var a=n(4),s=n(11),l=n(12),u=n(13),c=n(10),f=function(e){function t(e){var r;return a(this,t),(r=n.call(this,e||"Promise was canceled")).name="CancelError",r}l(t,e);var n=i(t);return s(t,[{key:"isCanceled",get:function(){return!0}}]),t}(n(26)(Error)),d=function(){function e(t){var n=this;a(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise(function(e,r){n._reject=r;var o=function(e){if(!n._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");n._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return n._rejectOnCancel},set:function(e){n._rejectOnCancel=e}}}),t(function(t){n._isPending=!1,e(t)},function(e){n._isPending=!1,r(e)},o)})}return s(e,null,[{key:"fn",value:function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return new e(function(e,n,o){r.push(o),t.apply(void 0,r).then(e,n)})}}}]),s(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._cancelHandlers.length>0)try{var t,n=r(this._cancelHandlers);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(e){n.e(e)}finally{n.f()}}catch(e){this._reject(e)}this._isCanceled=!0,this._rejectOnCancel&&this._reject(new f(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}]),e}();Object.setPrototypeOf(d.prototype,Promise.prototype),e.exports=d,e.exports.CancelError=f},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){o.off(e,r),t.apply(n,arguments)}var o=this;return r._=t,this.on(e,r,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=n}])})},function(e,t,n){var r=n(508);e.exports=r},function(e,t,n){n(319),n(139),n(104),n(1107),n(514),n(1111);var r=n(22);e.exports=r.Promise},function(e,t,n){var r=n(34);e.exports=r.Promise},function(e,t,n){var r=n(53),o=n(84),i=n(35),a=i("species");e.exports=function(e,t){var n,i=r(e).constructor;return void 0===i||void 0==(n=r(i)[a])?t:o(n)}},function(e,t,n){var r,o,i,a=n(34),s=n(29),l=n(130),u=n(115),c=n(467),f=n(287),d=n(512),p=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,g=a.MessageChannel,y=a.Dispatch,b=0,_={},w=function(e){if(_.hasOwnProperty(e)){var t=_[e];delete _[e],t()}},x=function(e){return function(){w(e)}},E=function(e){w(e.data)},T=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};h&&m||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return _[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},m=function(e){delete _[e]},"process"==l(v)?r=function(e){v.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:g&&!d?(o=new g,i=o.port2,o.port1.onmessage=E,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(T)||"file:"===p.protocol?r="onreadystatechange"in f("script")?function(e){c.appendChild(f("script")).onreadystatechange=function(){c.removeChild(this),w(e)}}:function(e){setTimeout(x(e),0)}:(r=T,a.addEventListener("message",E,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(318);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(53),o=n(38),i=n(197);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(7),o=n(84),i=n(197),a=n(241),s=n(119);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,l=n.reject,u=a(function(){var n=o(t.resolve),i=[],a=0,l=1;s(e,function(e){var o=a++,s=!1;i.push(void 0),l++,n.call(t,e).then(function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--l||r(i))},function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--l||r(i))})}),--l||r(i)});return u.error&&l(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(41)),a=r(n(12)),s=r(n(28)),l=r(n(36)),u={title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},subtitle:o._.partial(o.loc,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[a.default.Input({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:l.default,type:"tel"}),a.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("oform.verify","login")})]}},c=u;t.default=c},function(e,t,n){e.exports=n(517)},function(e,t,n){var r=n(455);e.exports=r},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a(e,t)||s()}var o=n(1117),i=n(1118),a=n(521),s=n(1120);e.exports=r},function(e,t,n){e.exports=n(520)},function(e,t,n){var r=n(486);e.exports=r},function(e,t,n){function r(e,t){var n;if(e){if("string"==typeof e)return a(e,t);var r=i(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?o(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}var o=n(522),i=n(1119),a=n(525);e.exports=r},function(e,t,n){e.exports=n(523)},function(e,t,n){var r=n(472);e.exports=r},function(e,t,n){var r=n(498);e.exports=r},function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n},function(e,t,n){var r=n(1122);e.exports=r},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(32)),i=r(n(4)),a=n(2),s=r(n(1127)),l={groups:"user",myAccount:"user",users:"user",apps:"resource",authenticators:"resource",authorizationServers:"resource",clients:"resource",domains:"resource",factors:"resource",idps:"resource",linkedObjects:"resource",policies:"resource",templates:"resource",eventHooks:"hook",inlineHooks:"hook",events:"system",logs:"system",orgs:"system",roles:"system",schemas:"system",sessions:"system",trustedOrigins:"system"},u=function(e){var t=e.name,n=void 0===t?"":t,r=n.split("."),o=r[1];return l[o]||"system"},c=a.View.extend({className:"scope-group",events:{click:"expandScopes"},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scope-group--header"><h3>'+e.escapeExpression((i=null!=(i=a(n,"groupName")||(null!=t?a(t,"groupName"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"groupName",hash:{},data:o,loc:{start:{line:1,column:37},end:{line:1,column:50}}}):i))+'</h3><span class="scope-group--toggle"><svg class="caret" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="path" fill-rule="evenodd" clip-rule="evenodd" d="M5.99967 4.66663L10.2663 8.66663L11.333 7.66663L5.99967 2.66663L0.666342 7.73636L1.73301 8.66663L5.99967 4.66663Z" fill="#A0A7AC"></path></svg></span></div>'},useData:!0}),expandScopes:function(){this.$el.toggleClass("scope-group--is-expanded"),this.$(".caret").toggleClass("caret--is-rotated")},preRender:function(){var e=this;a._.chain(this.options.scopes).sortBy(function(e){return e.name}).each(function(t){var n=t.name,r=t.displayName,o=t.description;e.add(s.default,{options:{name:r||n,description:o}})})}}),f=a.View.extend({className:"scope-list detail-row",postRender:function(){var e=this,t=this.model.get("scopes"),n=a._.groupBy(t,u),r={user:(0,a.loc)("admin.consent.group.user.group","login"),resource:(0,a.loc)("admin.consent.group.resource.policy","login"),hook:(0,a.loc)("admin.consent.group.hook","login"),system:(0,a.loc)("admin.consent.group.system","login")};a._.each(r,function(t,r){var i=n[r];(0,o.default)(i)&&e.add(c,{options:{groupName:t,scopes:i}})})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=o.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression((i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i))+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+l((i=null!=(i=u(n,"customLogo")||(null!=t?u(t,"customLogo"):t))?i:s,"function"==typeof i?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i))+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+l((i=null!=(i=u(n,"defaultLogo")||(null!=t?u(t,"defaultLogo"):t))?i:s,"function"==typeof i?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):i))+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer"><span>'+e.escapeExpression((i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:566},end:{line:1,column:576}}}):i))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?i:"")+'<h1><span class="title-text">'+(null!=(i=(s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{arguments:"appName",bundle:"login",code:"consent.required.text"},data:o,loc:{start:{line:1,column:445},end:{line:1,column:519}}}))?i:"")+"</span>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:526},end:{line:1,column:596}}}))?i:"")+"</h1>"},useData:!0}),a=i;t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(26)),a=r(n(4)),s=n(2),l=r(n(41)),u=r(n(89)),c=s.View.extend({className:"scan-instructions clearfix",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scan-instructions-details-wrapper"><div class="scan-instructions-details"><p>'+u((a=null!=(a=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):a))+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" alt="'+u((a=null!=(a=c(n,"altQRCode")||(null!=t?c(t,"altQRCode"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"altQRCode",hash:{},data:o,loc:{start:{line:1,column:219},end:{line:1,column:232}}}):a))+'" class="qrcode-image" src="'+u((a=null!=(a=c(n,"qrcode")||(null!=t?c(t,"qrcode"):t))?a:l,"function"===(0,i.default)(a)?a.call(s,{name:"qrcode",hash:{},data:o,loc:{start:{line:1,column:260},end:{line:1,column:270}}}):a))+'"><div data-se="qrcode-success" class="qrcode-success"></div><div data-se="qrcode-error" class="qrcode-error"></div></div><a href="#" data-type="manual-setup" data-se="manual-setup" class="link manual-setup">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:478},end:{line:1,column:531}}}))+'</a><a href="#" data-type="refresh-qrcode" data-se="refresh-qrcode" class="link refresh-qrcode">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:o,loc:{start:{line:1,column:627},end:{line:1,column:684}}}))+"</a></div>"},useData:!0}),events:{'click [data-type="manual-setup"]':function(e){var t=this;e.preventDefault();var n=u.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"manual");"push"===this.model.get("__factorType__")?this.model.doTransaction(function(e){return e.prev().then(function(e){return s._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(function(){t.options.appState.trigger("navigate",n)}):this.options.appState.trigger("navigate",n)},'click [data-type="refresh-qrcode"]':function(e){e.preventDefault(),this.model.trigger("errors:clear");var t=this;this.model.doTransaction(function(e){return this.appState.get("isWaitingForActivation")?e.poll():e.activate()}).then(function(e){var n=e.data;"MFA_ENROLL_ACTIVATE"!==n.status&&"FACTOR_ENROLL_ACTIVATE"!==n.status||"WAITING"!==n.factorResult||s._.defer((0,o.default)(s._).call(s._,t.render,t))})}},initialize:function(){this.listenTo(this.options.appState,"change:lastAuthResponse",function(){this.options.appState.get("isMfaEnrollActivate")?this.$el.toggleClass("qrcode-expired",!this.options.appState.get("isWaitingForActivation")):this.options.appState.get("isSuccessResponse")&&this.$el.addClass("qrcode-success")}),this.listenTo(this.model,"error",function(){this.options.appState.get("isMfaEnrollActivate")&&this.$el.toggleClass("qrcode-expired",!0)})},getTemplateData:function(){var e,t=l.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e="GOOGLE"===this.model.get("__provider__")?(0,s.loc)("enroll.totp.setupGoogleAuthApp","login",[t]):(0,s.loc)("enroll.totp.setupApp","login",[t]),{instructions:e,qrcode:this.options.appState.get("qrcode"),altQRCode:(0,s.loc)("mfa.altQrCode","login")}}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=n(2),a=r(n(1132)),s=i.View.extend({className:"scope-list detail-row",postRender:function(){var e,t=this;(0,o.default)(e=this.model.get("scopes")).call(e,function(e){t.add(a.default,{options:{name:e.displayName||e.name,description:e.description,isCustomized:e.isCustomized}})})}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=i.internal.util.Util,l=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.expiring.later"},data:o,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"passwordWarn"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:143}}}))?i:"")+'<a href="#" class="link help goto js-signout" data-se="signout-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"signout"},data:o,loc:{start:{line:1,column:212},end:{line:1,column:250}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-signout":function(e){e.preventDefault();var t=this,n=t.settings.authClient;this.model.doTransaction(function(e){return e.cancel()}).then(function(){return n.session.exists()}).then(function(e){if(e)return n.closeSession().catch(function(){})}).then(function(){t.settings.get("signOutLink")?s.redirect(t.settings.get("signOutLink")):(t.state.set("navigateDir",a.default.DIRECTION_BACK),t.options.appState.trigger("navigate",""))})},"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction(function(e){return e.skip()})}},getTemplateData:function(){return{passwordWarn:this.options.appState.get("isPwdExpiringSoon")}}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(45)),s=o.internal.util.Util,l=i.default.extend({className:"enroll-custom-factor",Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction(function(t,n){return o._.findWhere(t.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).enroll().then(function(t){n(t);var r=e.appState.get("enrollCustomFactorRedirectUrl");null!==r&&s.redirect(r)}).catch(function(e){throw e})})}},Form:function(){var e=this.options.appState.get("factors"),t=e.findWhere({provider:this.options.provider,factorType:this.options.factorType}),n=t.get("vendorName");return{autoSave:!0,title:n,subtitle:(0,o.loc)("enroll.customFactor.subtitle","login",[n]),save:(0,o.loc)("enroll.customFactor.save","login")}},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType)},Footer:a.default});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(4)),a=n(2),s=r(n(11)),l=a.View.extend({className:"hide resend-email-infobox",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox infobox-warning" aria-live="polite"><span class="icon warning-16"></span><p><span>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.code.not.received"},data:o,loc:{start:{line:1,column:102},end:{line:1,column:156}}}))+'</span><a href="#" class="resend-email-btn">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.button.resend"},data:o,loc:{start:{line:1,column:200},end:{line:1,column:250}}}))+"</a></p></div>"},useData:!0}),events:{"click .resend-email-btn":"resendEmail"},postRender:function(){this.showResendCallout()},showResendCallout:function(){var e=this;a._.delay(function(){e.$el.removeClass("hide")},s.default.API_RATE_LIMIT)},hideResendCallout:function(){this.$el.addClass("hide")},resendEmail:function(e){var t;e.preventDefault(),this.hideResendCallout(),this.model.resend().finally((0,o.default)(t=this.showResendCallout).call(t,this))}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=a.internal.views.forms.inputs.TextBox,l=s.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="okta-form-label-inline o-form-label-inline">'+c((a=null!=(a=f(n,"countryCallingCode")||(null!=t?f(t,"countryCallingCode"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"countryCallingCode",hash:{},data:i,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):a))+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c((a=null!=(a=f(n,"type")||(null!=t?f(t,"type"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"type",hash:{},data:i,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):a))+'" placeholder="'+c((a=null!=(a=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):a))+'" name="'+c((a=null!=(a=f(n,"name")||(null!=t?f(t,"name"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):a))+'" id="'+c((a=null!=(a=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):a))+'" value="'+c((a=null!=(a=f(n,"value")||(null!=t?f(t,"value"):t))?a:l,(0,o.default)(a)===u?a.call(s,{name:"value",hash:{},data:i,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):a))+'" autocomplete="tel"></span>'},useData:!0}),initialize:function(){this.listenTo(this.model,"change:countryCallingCode",function(){this.$(".o-form-label-inline").text(this.model.get("countryCallingCode"))})},preRender:function(){this.options.countryCallingCode=this.model.get("countryCallingCode")},postRender:function(){var e=this;this.$el.removeClass("input-fix o-form-control"),a._.defer(function(){e.$el.parent().addClass("o-form-input-group")})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=r(n(41)),l=r(n(89)),u=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="factor-cardinality">'+e.escapeExpression((i=null!=(i=a(n,"cardinalityText")||(null!=t?a(t,"cardinalityText"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"cardinalityText",hash:{},data:o,loc:{start:{line:1,column:33},end:{line:1,column:52}}}):i))+"</span>"},useData:!0}),c=a.View.extend({tagName:"li",className:"enroll-factor-row clearfix",template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i=null!=(i=a(n,"factorDescription")||(null!=t?a(t,"factorDescription"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"factorDescription",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:256}}}):i))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enroll-factor-icon-container"><div class="factor-icon enroll-factor-icon '+c((s=null!=(s=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"iconClassName",hash:{},data:i,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):s))+'"></div></div><div class="enroll-factor-description"><h3 class="enroll-factor-label">'+c((s=null!=(s=f(n,"factorLabel")||(null!=t?f(t,"factorLabel"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"factorLabel",hash:{},data:i,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):s))+"</h3>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"factorDescription"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?a:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var e=[],t=this.model.get("enrolled"),n=this.model.get("required"),r=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[(0,a.createButton)({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",l.default.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];t?e.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):n&&e.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);var o=s.default.getCardinalityText(t,n,r);return o&&e.push([u({cardinalityText:o}),".enroll-factor-description"]),e},minimize:function(){this.$el.addClass("enroll-factor-row-min")},maximize:function(){this.$el.removeClass("enroll-factor-row-min")},getSetupButtonText:function(){return this.model.get("additionalEnrollment")?(0,a.loc)("enroll.choices.setup.another","login"):(0,a.loc)("enroll.choices.setup","login")}}),f=a.ListView.extend({className:"enroll-factor-list",item:c,itemSelector:".list-content",template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="list-title">'+e.escapeExpression((i=null!=(i=a(n,"listTitle")||(null!=t?a(t,"listTitle"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"listTitle",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):i))+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"listTitle"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:65}}}))?i:"")+'<ul class="list-content"></ul>'},useData:!0}),getTemplateData:function(){var e=a.ListView.prototype.getTemplateData.call(this);return a._.extend(e,this),e},postRender:function(){this.options.minimize&&this.invoke("minimize")}});t.default=f},function(e,t,n){e.exports=n(1145)},function(e,t,n){"use strict";
//Copyright 2014-2015 Google Inc. All rights reserved.
//license that can be found in the LICENSE file or at
//https://developers.google.com/open-source/licenses/bsd
!function(){var e="chrome"in window&&window.navigator.userAgent.indexOf("Edge")<0;if(!("u2f"in window)&&e){var t,n=window.u2f={};n.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",n.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},n.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},n.U2fRequest,n.U2fResponse,n.Error,n.Transport,n.Transports,n.SignRequest,n.SignResponse,n.RegisterRequest,n.RegisterResponse,n.RegisteredKey,n.GetJsApiVersionResponse,n.getMessagePort=function(e){if("undefined"!=typeof chrome&&chrome.runtime){var t={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(n.EXTENSION_ID,t,function(){chrome.runtime.lastError?n.getIframePort_(e):n.getChromeRuntimePort_(e)})}else n.isAndroidChrome_()?n.getAuthenticatorPort_(e):n.isIosChrome_()?n.getIosPort_(e):n.getIframePort_(e)},n.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},n.isIosChrome_=function(){return["iPhone","iPad","iPod"].indexOf(navigator.platform)>-1},n.getChromeRuntimePort_=function(e){var t=chrome.runtime.connect(n.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout(function(){e(new n.WrappedChromeRuntimePort_(t))},0)},n.getAuthenticatorPort_=function(e){setTimeout(function(){e(new n.WrappedAuthenticatorPort_)},0)},n.getIosPort_=function(e){setTimeout(function(){e(new n.WrappedIosPort_)},0)},n.WrappedChromeRuntimePort_=function(e){this.port_=e},n.formatSignRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=[],l=0;l<o.length;l++)s[l]={version:o[l].version,challenge:r,keyHandle:o[l].keyHandle,appId:e};return{type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:r,registeredKeys:o,timeoutSeconds:i,requestId:a}},n.formatRegisterRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=0;s<o.length;s++)o[s].appId=e;for(var l=[],s=0;s<r.length;s++)l[s]={version:r[s].version,challenge:o[0],keyHandle:r[s].keyHandle,appId:e};return{type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:l,registerRequests:o,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:o,registeredKeys:r,timeoutSeconds:i,requestId:a}},n.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},n.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();"message"!=n&&"onmessage"!=n||this.port_.onMessage.addListener(function(e){t({data:e})})},n.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},n.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var t=n.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=t},n.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},n.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){if("message"==e.toLowerCase()){var n=this;window.addEventListener("message",n.onRequestUpdate_.bind(n,t),!1)}},n.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var n=JSON.parse(t.data),r=(n.intentURL,n.errorCode,null);n.hasOwnProperty("data")&&(r=JSON.parse(n.data)),e({data:r})},n.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",n.WrappedIosPort_=function(){},n.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),n="u2f://auth?"+encodeURI(t);location.replace(n)},n.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},n.WrappedIosPort_.prototype.addEventListener=function(e,t){e.toLowerCase()},n.getIframePort_=function(e){var t="chrome-extension://"+n.EXTENSION_ID,r=document.createElement("iframe");r.src=t+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,i=function(t){"ready"==t.data&&(o.port1.removeEventListener("message",i),e(o.port1))};o.port1.addEventListener("message",i),o.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",t,[o.port2])})},n.EXTENSION_TIMEOUT_SEC=30,n.port_=null,n.waitingForPort_=[],n.reqCounter_=0,n.callbackMap_={},n.getPortSingleton_=function(e){n.port_?e(n.port_):(0==n.waitingForPort_.length&&n.getMessagePort(function(e){for(n.port_=e,n.port_.addEventListener("message",n.responseHandler_);n.waitingForPort_.length;)n.waitingForPort_.shift()(n.port_)}),n.waitingForPort_.push(e))},n.responseHandler_=function(e){var t=e.data,r=t.requestId;if(r&&n.callbackMap_[r]){var o=n.callbackMap_[r];delete n.callbackMap_[r],o(t.responseData)}},n.sign=function(e,r,o,i,a){void 0===t?n.getApiVersion(function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendSignRequest(e,r,o,i,a)}):n.sendSignRequest(e,r,o,i,a)},n.sendSignRequest=function(e,t,r,o,i){n.getPortSingleton_(function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatSignRequest_(e,t,r,l,s);a.postMessage(u)})},n.register=function(e,r,o,i,a){void 0===t?n.getApiVersion(function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendRegisterRequest(e,r,o,i,a)}):n.sendRegisterRequest(e,r,o,i,a)},n.sendRegisterRequest=function(e,t,r,o,i){n.getPortSingleton_(function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatRegisterRequest_(e,r,t,l,s);a.postMessage(u)})},n.getApiVersion=function(e,t){n.getPortSingleton_(function(r){if(r.getPortType){var o;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":o=1.1;break;default:o=0}return void e({js_api_version:o})}var i=++n.reqCounter_;n.callbackMap_[i]=e;var a={type:n.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==t?t:n.EXTENSION_TIMEOUT_SEC,requestId:i};r.postMessage(a)})}}}()},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(39)),a=r(n(77)),s=n(2),l=r(n(36)),u=s.internal.views.forms.helpers.SchemaFormFactory,c=function(e){var t=e.split(""),n=[],r=[",",".","-","_","#","@"],o="";return s._.each(t,function(e){-1===(0,a.default)(r).call(r,e)?o+=e:(o.length>=3&&n.push(s._.clone(o)),o="")}),o.length>=3&&n.push(s._.clone(o)),(0,i.default)(n).call(n,Boolean)},f=function(e,t){if(!e)return!1;e=e.toLowerCase(),t=t.toLowerCase();for(var n=c(e),r=0;r<n.length;r++){var o=n[r];if(-1!==(0,a.default)(t).call(t,o))return!0}return!1},d=function(e,t,n){var r=e.get("minLength"),o=e.get("maxLength"),i=e.get("format");if(s._.isNumber(r)&&t.length<r)return!1;if(s._.isNumber(o)&&t.length>o)return!1;var a=t;if(s._.isString(i)){if("^[#/userName]"===i||"^[#/firstName]"===i||"^[#/lastName]"===i){var l=i.split("^[#/")[1].split("]")[0],u=n.get(l);return"userName"===l&&(u=n.has("userName")?n.get("userName"):n.get("email")),!f(u,a)}if(!new RegExp(i).test(t))return!1}return!0},p=function(e,t,n,r){var i=t.get(e);s._.isString(i)&&n.each(function(n,a){var l=(0,s.$)("#subschemas-"+e+" .subschema-"+a);i?l.children("p").removeClass("default-schema"):l.children("p").addClass("default-schema"),l.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),d(n,i,t)?(l.addClass("subschema-satisfied"),(0,o.default)(l).call(l,"p span").removeClass("error error-16-small"),(0,o.default)(l).call(l,"p span").addClass("confirm-16")):r&&((0,o.default)(l).call(l,"p span").removeClass("confirm-16"),(0,o.default)(l).call(l,"p span").addClass("error error-16-small"),l.addClass("subschema-error subschema-unsatisfied"))})},h=function(e){var t=u.createInputOptions(e);if("select"===t.type)t=s._.extend(t,{label:e.get("title")});else{var n=e.get("title");e.get("required")&&(n+=" *"),t=s._.extend(t,{label:!1,"label-top":!0,placeholder:n})}var r=e.get("name");switch(r){case"userName":t.input=l.default,t.params={icon:"person-16-gray"};break;case"password":t.type="password",t.input=l.default,t.params={icon:"remote-lock-16"}}var o=e.get("subSchemas");return o&&(t.events={input:function(){p(r,this.model,o,!0)},focusout:function(){p(r,this.model,o,!0)},"change:userName":function(){p(r,this.model,o,!0)},"change:firstName":function(){p(r,this.model,o,!0)},"change:lastName":function(){p(r,this.model,o,!0)},"change:email":function(){p(r,this.model,o,!0)}}),t},m={createInputOptions:h,getUsernameParts:c,passwordContainsFormField:f};t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",a.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});t.default=s},function(e,t,n){var r=n(29);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=r.View.extend({className:"okta-waiting-spinner",attributes:{"data-se":"o-form-okta-waiting-spinner"},modelEvents:{"spinner:show":"show","spinner:hide":"hide"},initialize:function(e){e&&!1===e.visible&&this.hide()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")}});t.default=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox"><span class="icon info-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"helpSupportNumber",bundle:"login",code:"contact.support"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:134}}}))+"</p></div>"},useData:!0}),className:"contact-support",getTemplateData:function(){return this.settings.pick("helpSupportNumber")}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(330)),a=r(n(157)),s=r(n(331)),l=r(n(544)),u=r(n(545)),c=r(n(1179)),f=r(n(1180)),d=a.default.extend({className:"primary-auth",state:{enabled:!0},View:u.default,constructor:function(e){e.appState.unset("username"),this.model=new i.default({multiOptionalFactorEnroll:e.settings.get("features.multiOptionalFactorEnroll"),settings:e.settings,appState:e.appState},{parse:!0}),a.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(l.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},addFooter:function(e){this.add(new c.default(this.toJSON({appState:e.appState}))),(e.settings.get("features.registration")||e.appState.get("isIdxStateToken"))&&this.add(new f.default({settings:this.settings,appState:e.appState}))},setUsername:function(){var e=this.model.get("username");e&&this.options.appState.set("username",e)},events:{"focusout input[name=username]":function(){if(this.shouldComputeDeviceFingerprint()&&this.model.get("username")){var e=this;this.options.appState.trigger("loading",!0),s.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then(function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))}).catch(function(){e.options.appState.set("username",e.model.get("username"))}).finally(function(){e.options.appState.trigger("loading",!1)})}else this.options.appState.set("username",this.model.get("username"))},"focusin input":function(e){(0,o.$)(e.target.parentElement).addClass("focused-input")},"focusout input":function(e){(0,o.$)(e.target.parentElement).removeClass("focused-input")}},initialize:function(){this.options.appState.unset("deviceFingerprint"),this.listenTo(this.model,"change:username",function(e,t){t||this.options.appState.set("username","")}),this.listenTo(this.model,"save",function(){this.state.set("enabled",!1)}),this.listenTo(this.model,"error",function(){this.state.set("enabled",!0)}),this.listenTo(this.state,"togglePrimaryAuthButton",function(e){this.toggleButtonState(e)})},shouldComputeDeviceFingerprint:function(){return this.settings.get("features.securityImage")&&this.settings.get("features.deviceFingerprinting")&&this.settings.get("features.useDeviceFingerprintForSecurityImage")}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(4)),a=n(2),s=r(n(327)),l=a.internal.util.Util,u=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="auth-divider"><span class="auth-divider-text">'+e.escapeExpression((i=null!=(i=a(n,"text")||(null!=t?a(t,"text"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:o,loc:{start:{line:1,column:58},end:{line:1,column:66}}}):i))+"</span></div>"},useData:!0}),c=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:62},end:{line:1,column:71}}}):i))+"</h2>"},useData:!0}),f=a.View.extend({className:"primary-auth-container",children:function(){var e=[],t=this.settings.get("configuredSocialIdps"),n=this.settings.get("piv"),r=this.settings.get("customButtons"),o=u({text:(0,a.loc)("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&e.push(this._createPivButton(n)),a._.each(t,function(t){e.push(this._createSocialIdpButton(t))},this),a._.each(r,function(t){e.push(this._createCustomButton(t))},this),this.settings.get("socialAuthPositionTop")?(e.unshift(c({title:(0,a.loc)("primaryauth.title","login")})),e.push(o)):e.unshift(o),e},_createSocialIdpButton:function(e){return(0,a.createButton)({attributes:{"data-se":e.dataAttr},className:e.className,title:function(){return e.text||(0,a.loc)(e.i18nKey)},click:function(t){if(t.preventDefault(),this.settings.get("oauth2Enabled"))s.default.getTokens(this.settings,{idp:e.id},this.options.currentController);else{var n,r,i=this.settings.get("baseUrl"),u=a.$.param({fromURI:this.settings.get("relayState")}),c=(0,o.default)(n=(0,o.default)(r="".concat(i,"/sso/idps/")).call(r,e.id,"?")).call(n,u);l.redirect(c)}}})},_createPivButton:function(e){var t=e.className||"";return(0,a.createButton)({attributes:{"data-se":"piv-card-button"},className:t+" piv-button",title:e.text||(0,a.loc)("piv.cac.card","login"),click:function(e){e.preventDefault(),this.options.appState.trigger("navigate","signin/verify/piv")}})},_createCustomButton:function(e){return(0,a.createButton)({attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:function(){return e.title||(0,a.loc)(e.i18nKey)},click:e.click})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(2),a=r(n(331)),s=r(n(1173)),l=r(n(28)),u=r(n(36)),c=i.Form.extend({className:"primary-auth-form",noCancelButton:!0,attributes:{novalidate:"novalidate"},save:function(){return this.settings.get("features.passwordlessAuth")?(0,i.loc)("oform.next","login"):(0,i.loc)("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){var e=(0,i.loc)("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(e=""),e},initialize:function(){var e=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",function(){if(e){var t=s.default.getTypingPattern();this.options.appState.set("typingPattern",t)}var n=this,r={username:this.model.get("username")};this.settings.get("features.passwordlessAuth")||(r.password=this.model.get("password")),this.settings.processCreds(r).then(function(){if(n.settings.get("features.deviceFingerprinting"))return n.options.appState.trigger("loading",!0),n.state.trigger("togglePrimaryAuthButton",!0),a.default.generateDeviceFingerprint(n.settings.get("baseUrl"),n.$el).then(function(e){n.options.appState.set("deviceFingerprint",e)}).catch(function(){}).finally(function(){n.options.appState.trigger("loading",!1),n.state.trigger("togglePrimaryAuthButton",!1)})}).then((0,o.default)(i._).call(i._,this.model.save,this.model))}),this.stateEnableChange()},stateEnableChange:function(){this.listenTo(this.state,"change:enabled",function(e,t){t?this.enable():this.disable()})},inputs:function(){var e=[];return e.push(this.getUsernameField()),this.settings.get("features.passwordlessAuth")||e.push(this.getPasswordField()),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},getUsernameField:function(){var e=this;return{className:"margin-btm-5",label:(0,i.loc)("primaryauth.username.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.username.tooltip")&&l.default.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login")},"explain-top":!0,name:"username",input:u.default,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername"),autoComplete:"username",render:function(){this.$("input[name=".concat(this.options.name,"]")).prop("required",!0)}}},getPasswordField:function(){var e=this,t={className:"margin-btm-30",label:(0,i.loc)("primaryauth.password.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.password.tooltip")&&l.default.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login")},"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password",autoComplete:"current-password",render:function(){this.$("input[name=".concat(this.options.name,"]")).prop("required",!0)}};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(t.params={},t.params.showPasswordToggle=!0),t},isCustomized:function(e){var t=this.settings.get("language"),n=this.settings.get("i18n");return!!(n&&n[t]&&n[t][e])},getRemeberMeCheckbox:function(){return{label:!1,placeholder:(0,i.loc)("remember","login"),name:"remember",type:"checkbox","label-top":!0,className:"margin-btm-0",initialize:function(){this.listenTo(this.model,"change:remember",function(e,t){this.$(":checkbox").prop("checked",t).trigger("updateState")})}}},focus:function(){this.model.get("username")?this.settings.get("features.passwordlessAuth")||this.getInputs().toArray()[1].focus():this.getInputs().first().focus(),this.settings.get("features.trackTypingPattern")&&s.default.track("okta-signin-username")}});t.default=c},function(e,t,n){e.exports=n(1175)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(41)),s=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="password-requirements--header">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:o,loc:{start:{line:1,column:63},end:{line:1,column:133}}}))+'</div><ul class="password-requirements--list">'+(null!=(i=s(n,"each").call(a,null!=t?s(t,"requirements"):t,{name:"each",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:179},end:{line:1,column:268}}}))?i:"")+"</ul>"},2:function(e,t,n,r,o){return'<li class="password-requirements--list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"requirements"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:280}}}))?i:""},useData:!0}),attributes:{"data-se":"password-requirements-html"},allRequirements:[],initialize:function(e){var t=e.policy;t&&(this.allRequirements=a.default.getPasswordComplexityDescriptionForHtmlList(t))},getTemplateData:function(){return{requirements:this.allRequirements}}});t.default=s},function(e,t,n){var r=n(508);n(1218),n(1219),n(1220),n(1221),e.exports=r},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(40)),i=r(n(456)),a=r(n(117)),s=r(n(52)),l=r(n(77)),u=r(n(325)),c=r(n(27)),f=r(n(4)),d=n(2),p=r(n(238)),h=r(n(43)),m=r(n(56)),v=r(n(55)),g=r(n(550)),y=r(n(79)),b=r(n(28)),_=r(n(158)),w=d.internal.util.Util,x=v.default.ConfigError,E=v.default.UnsupportedBrowserError,T=f.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"https://global.oktacdn.com/okta-signin-widget/"+e.escapeExpression((i=null!=(i=a(n,"version")||(null!=t?a(t,"version"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"version",hash:{},data:o,loc:{start:{line:1,column:46},end:{line:1,column:57}}}):i))},useData:!0}),S=d.Model.extend({authClient:void 0,local:{baseUrl:["string",!0],recoveryToken:["string",!1,void 0],stateToken:["string",!1,void 0],username:["string",!1],signOutLink:["string",!1],relayState:["string",!1],redirect:{type:"string",values:["never","always","auto"],value:"auto"},transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",logo:"string",logoText:["string",!1],helpSupportNumber:"string",apiVersion:["string",!0,"1.0.0"],proxyIdxResponse:["object",!1],overrideExistingStateToken:["boolean",!1,!1],"features.router":["boolean",!0,!1],"features.securityImage":["boolean",!0,!1],"features.rememberMe":["boolean",!0,!0],"features.autoPush":["boolean",!0,!1],"features.smsRecovery":["boolean",!0,!1],"features.callRecovery":["boolean",!0,!1],"features.emailRecovery":["boolean",!1,!0],"features.webauthn":["boolean",!0,!1],"features.selfServiceUnlock":["boolean",!0,!1],"features.multiOptionalFactorEnroll":["boolean",!0,!1],"features.deviceFingerprinting":["boolean",!1,!1],"features.hideSignOutLinkInMFA":["boolean",!1,!1],"features.hideBackToSignInForReset":["boolean",!1,!1],"features.customExpiredPassword":["boolean",!0,!1],"features.registration":["boolean",!1,!1],"features.idpDiscovery":["boolean",!1,!1],"features.passwordlessAuth":["boolean",!1,!1],"features.showPasswordToggleOnSignInPage":["boolean",!1,!1],"features.trackTypingPattern":["boolean",!1,!1],"features.redirectByFormSubmit":["boolean",!1,!1],"features.useDeviceFingerprintForSecurityImage":["boolean",!1,!0],"features.showPasswordRequirementsAsHtmlList":["boolean",!1,!1],"features.mfaOnlyFlow":["boolean",!1,!1],"features.scrollOnError":["boolean",!1,!0],defaultCountryCode:["string",!1,"US"],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:d._.identity},clientId:"string",redirectUri:"string",state:"string",scopes:"array",codeChallenge:"string",codeChallengeMethod:["string",!1],oAuthTimeout:["number",!1],authScheme:["string",!1,"OAUTH2"],idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array","helpLinks.factorPage.href":"string","helpLinks.factorPage.text":"string",customButtons:["array",!1,[]],policyId:"string","registration.click":"function","registration.parseSchema":"function","registration.preSubmit":"function","registration.postSubmit":"function","consent.cancel":"function","idpDiscovery.requestContext":"string","colors.brand":"string",brandName:"string",piv:["object",!1,{}]},derived:{showPasswordToggle:{deps:["features.showPasswordToggleOnSignInPage"],fn:function(){var e,t,n,r,o=null!==(e=null===(t=this.options)||void 0===t?void 0:null===(n=t.features)||void 0===n?void 0:n.showPasswordToggleOnSignInPage)&&void 0!==e?e:null===(r=this.options)||void 0===r?void 0:r["features.showPasswordToggleOnSignInPage"];return null===o||void 0===o||o},cache:!0},redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(e){var t,n;return e?(0,c.default)(t=b.default.redirectWithFormGet).call(t,b.default):(0,c.default)(n=w.redirect).call(n,w)},cache:!0},supportedLanguages:{deps:["i18n"],fn:function(e){return d._.union(p.default.supportedLanguages,(0,u.default)(d._).call(d._,e))},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,t){var n,r=m.default.getUserLanguages(),o=d._.clone(r),i=b.default.toLower(t);d._.isString(e)?o.unshift(e):d._.isFunction(e)&&o.unshift(e(t,r)),o.push("en"),n=b.default.toLower(b.default.expandLanguages(o));var a,s;for(a=0;a<n.length;a++)if((s=(0,l.default)(i).call(i,n[a]))>-1)return t[s]}},countryCode:{deps:["defaultCountryCode"],fn:function(e){var t,n=_.default.getCountries();return(0,s.default)(t=(0,a.default)(n)).call(t,e)?e:"US"}},mode:{deps:["useInteractionCodeFlow","codeChallenge"],fn:function(e,t){return e&&t?"remediation":"relying-party"}},oauth2Enabled:{deps:["clientId","authScheme"],fn:function(e,t){return!!e&&"oauth2"===t.toLowerCase()},cache:!0},oieEnabled:{deps:["stateToken","proxyIdxResponse","useInteractionCodeFlow"],fn:function(e,t,n){return e||t||n},cache:!0},oauthRedirectUri:{deps:["redirectUri"],fn:function(e){if(e)return e;var t=window.location.origin;if(!t){var n=window.location.href,r=window.location.pathname;""!==r&&(t=n.substring(0,(0,i.default)(n).call(n,r)))}return encodeURI(t)}},configuredSocialIdps:{deps:["idps"],fn:function(e){return(0,o.default)(d._).call(d._,e,function(e){var t=d._.clone(e),n=t.type&&t.type.toLowerCase();return n&&d._.contains(g.default.SUPPORTED_SOCIAL_IDPS,n)||(n="general-idp",t.text=t.text||"{ Please provide a text value }"),t.className=["social-auth-button","social-auth-"+n+"-button ",t.className?t.className:""].join(" "),t.dataAttr="social-auth-"+n+"-button",t.i18nKey="socialauth."+n+".label",t})},cache:!0},hasPivCard:{deps:["piv"],fn:function(e){return e&&e.certAuthUrl},cache:!0},socialAuthPositionTop:{deps:["configuredSocialIdps","hasPivCard","idpDisplay"],fn:function(e,t,n){return(!d._.isEmpty(e)||t)&&"PRIMARY"===n.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,t,n){return!d._.isEmpty(e)||!d._.isEmpty(t)||n},cache:!0}},initialize:function(e){e.baseUrl?e.colors&&d._.isString(e.colors.brand)&&!e.colors.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new x((0,d.loc)("error.invalid.colors.brand"))):m.default.corsIsNotSupported()&&this.callGlobalError(new E((0,d.loc)("error.unsupported.cors"))):this.callGlobalError(new x((0,d.loc)("error.required.baseUrl")))},setAcceptLanguageHeader:function(e){e&&e.options&&e.options.headers&&(e.options.headers["Accept-Language"]=this.get("languageCode"))},setAuthClient:function(e){this.setAcceptLanguageHeader(e),this.authClient=e},getAuthClient:function(){return this.authClient},set:function(){try{return d.Model.prototype.set.apply(this,arguments)}catch(t){var e=t.message?t.message:t;this.callGlobalError(new x(e))}},callGlobalSuccess:function(e,t){var n=d._.extend(t,{status:e});d._.defer(d._.partial(this.get("globalSuccessFn"),n))},callGlobalError:function(e){var t=this.get("globalErrorFn")||this.options.globalErrorFn;if(!t)throw e;t(e)},transformUsername:function(e,t){var n=this.get("transformUsername");return n&&d._.isFunction(n)?n(e,t):e},processCreds:function(e){var t=this.get("processCreds");return h.default.Promise(function(n){d._.isFunction(t)?2===t.length?t(e,n):(t(e),n()):n()})},parseRegistrationSchema:function(e,t,n){var r=this.get("registration.parseSchema");d._.isFunction(r)?r(e,function(e){t(e)},function(e){e=e||{errorSummary:(0,d.loc)("registration.default.callbackhook.error")},e.callback="parseSchema",n(e)}):t(e)},preRegistrationSubmit:function(e,t,n){var r=this.get("registration.preSubmit");d._.isFunction(r)?r(e,function(e){t(e)},function(e){e=e||{errorSummary:(0,d.loc)("registration.default.callbackhook.error")},e.callback="preSubmit",n(e)}):t(e)},postRegistrationSubmit:function(e,t,n){var r=this.get("registration.postSubmit");d._.isFunction(r)?r(e,function(e){t(e)},function(e){e=e||{errorSummary:(0,d.loc)("registration.default.callbackhook.error")},e.callback="postSubmit",n(e)}):t(e)},parse:function(e){if(e.labels||e.country){y.default.deprecate('Use "i18n" instead of "labels" and "country"');var t=e.labels||{};d._.each(e.country,function(e,n){t["country."+n]=e}),e.i18n={},d._.each(p.default.supportedLanguages,function(n){e.i18n[n]=t}),delete e.labels,delete e.country}e.assets||(e.assets={});var n=e.assets.baseUrl;return n?"/"===n[n.length-1]&&(e.assets.baseUrl=n.substring(0,n.length-1)):e.assets.baseUrl=T({version:p.default.version}),e},isDsTheme:function(){return!1}});t.default=S},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=["facebook","google","linkedin","microsoft","apple"],o={SUPPORTED_SOCIAL_IDPS:r};t.default=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(11)),a=o.View.extend({tagName:"main",className:"auth-container main-container",id:i.default.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container",tabindex:"-1"},initialize:function(e){this.listenTo(e.appState,"change:beaconType",function(e,t){this.$el.toggleClass("can-remove-beacon","security"===t)})}});t.default=a},function(e,t,n){"use strict";function r(e){return e&&e.equals(d.default)}function o(e){e.currentBeacon&&(e.currentBeacon.remove(),e.currentBeacon=null)}function i(e,t,n,r){e.add(t,{selector:n,options:r}),e.currentBeacon=e.first()}function a(e,t,n){return e||t?!e&&n.loading?"load":e&&r(e)?t?"swap":"unload":e&&e.equals(t,n)?"same":!e&&t?"add":e&&!t?"remove":e instanceof t?"fade":"swap":"none"}var s=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var l=s(n(26)),u=s(n(4)),c=n(2),f=s(n(247)),d=s(n(1228)),p=c.View.extend({currentBeacon:null,template:u.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img src="'+u((i=null!=(i=c(n,"logo")||(null!=t?c(t,"logo"):t))?i:s,"function"===(0,l.default)(i)?i.call(a,{name:"logo",hash:{},data:o,loc:{start:{line:1,column:67},end:{line:1,column:75}}}):i))+'" class="auth-org-logo" alt="'+u((i=null!=(i=c(n,"logoText")||(null!=t?c(t,"logoText"):t))?i:s,"function"===(0,l.default)(i)?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:104},end:{line:1,column:116}}}):i))+' logo" aria-label="'+u((i=null!=(i=c(n,"logoText")||(null!=t?c(t,"logoText"):t))?i:s,"function"===(0,l.default)(i)?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:147}}}):i))+' logo">'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-sign-in-header auth-header">'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"logo"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:45},end:{line:1,column:161}}}))?i:"")+'<div data-type="beacon-container" class="beacon-container"></div></div><div class="auth-content"><div class="auth-content-inner"></div></div>'},useData:!0}),initialize:function(e){e.settings.get("features.securityImage")||(this.$el.addClass("no-beacon"),this.listenTo(e.appState,"loading",this.setLoadingBeacon),this.listenTo(e.appState,"removeLoading",this.removeLoadingBeacon))},setBeacon:function(e,t){var n='[data-type="beacon-container"]',s=this.$(n),l=a(this.currentBeacon,e,t),u=this;switch(l){case"none":return void this.$el.addClass("no-beacon");case"same":return;case"add":return this.$el.removeClass("no-beacon"),i(this,e,n,t),f.default.explode(s);case"remove":return this.$el.addClass("no-beacon"),f.default.implode(s).then(function(){o(u)}).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return t.animate=!0,this.currentBeacon.fadeOut().then(function(){o(u),i(u,e,n,t)}).done();case"swap":return f.default.swapBeacons({$el:s,swap:function(){var a=r(u.currentBeacon);o(u),a&&(s.removeClass("beacon-small beacon-loading"),u.$el.removeClass("no-beacon")),i(u,e,n,t)}}).done();case"load":return s.addClass("beacon-small beacon-loading"),i(u,e,n,t),f.default.explode(s);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+l+'" is not recognized')}},setLoadingBeacon:function(e){e&&!r(this.currentBeacon)&&this.setBeacon(d.default,{loading:!0})},removeLoadingBeacon:function(){var e=this,t=this.$('[data-type="beacon-container"]');return f.default.implode(t).then(function(){o(e),t.removeClass("beacon-small beacon-loading")}).done()},getTemplateData:function(){return this.settings.toJSON({verbose:!0})},getContentEl:function(){return this.$(".auth-content-inner")}});t.default=p},function(e,t,n){"use strict";function r(e,t){var n=t.get("securityImage"),r=t.get("securityImageDescription"),o=t.get("isUndefinedUser"),i=t.get("isNewUser"),a=!o&&!i;return e.css("background-image",""),e.removeClass("new-user undefined-user"),i?void e.addClass("new-user"):o?void e.addClass("undefined-user"):a?(e.removeAttr("aria-describedby"),(0,d.default)(e).call(e,".accessibility-text").text(r),void e.css("background-image","url("+h._.escape(n)+")")):void 0}function o(e,t){(0,h.$)(window).on("resize.securityBeaconQtip",h._.debounce(function(){e.is(":visible")&&e.qtip("show")},300)),e.qtip({prerender:!0,content:{text:(0,h.loc)("primaryauth.newUser.tooltip","login",[h._.escape(t)]),button:(0,h.loc)("primaryauth.newUser.tooltip.close","login")},style:{classes:"okta-security-image-tooltip security-image-qtip qtip-custom qtip-shadow qtip-rounded",tip:{height:12,width:16}},position:{my:"top center",at:"center",target:(0,h.$)(".auth-beacon-security"),adjust:{method:"flip",scroll:!1,resize:!0},effect:!1},hide:{event:!1,fixed:!0},show:{event:!1,delay:200},events:{move:function(e,t){t.elements.target.is(":visible")||(t.set("hide.effect",!1),t.hide(),t.set("hide.effect",!0))}}}),(0,f.default)(function(){e.qtip("toggle",e.is(":visible"))},0)}function i(e){e.qtip("destroy"),(0,h.$)(window).off("resize.securityBeaconQtip")}function a(e,t,n){return s.apply(this,arguments)}function s(){return s=(0,c.default)(u.default.mark(function e(t,n,a){var s,l,c,f,p,h,v;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s=(0,d.default)(t).call(t,".auth-beacon-security"),l=(0,d.default)(t).call(t,".js-auth-beacon-border"),c=!n.get("isUndefinedUser"),f=n.get("isNewUser"),p=(0,d.default)(t).call(t,".radial-progress-bar"),h=n.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],v=200,a){e.next=11;break}return r(s,n),l.toggleClass("auth-beacon-border",c),e.abrupt("return");case 11:if(i(s),c){e.next=16;break}s.fadeOut(v,function(){r(s,n),l.removeClass("auth-beacon-border"),s.fadeIn(v)}),e.next=21;break;case 16:return l.removeClass("auth-beacon-border"),e.next=19,m.default.radialProgressBar({$el:p,swap:function(){s.fadeOut(v,function(){r(s,n),s.fadeIn(v)})}});case 19:l.addClass("auth-beacon-border"),f&&o(s,h);case 21:case"end":return e.stop()}},e)})),s.apply(this,arguments)}var l=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var u=l(n(120)),c=l(n(121)),f=l(n(78)),d=l(n(13)),p=l(n(4)),h=n(2),m=l(n(247)),v=h.View.extend({template:p.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"><div class="radial-progress-bar"><div class="circle left"></div><div class="circle right"></div></div></div><div aria-live="polite" role="img" class="bg-helper auth-beacon auth-beacon-security" data-se="security-beacon"><span class="accessibility-text"></span><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),className:"js-security-beacon",initialize:function(e){this.update=h._.partial(a,this.$el,e.appState),this.listenTo(e.appState,"change:securityImage",this.update),this.listenTo(e.appState,"loading",function(e){this.$el.toggleClass("beacon-loading",e),this.removeAntiPhishingMessage()}),this.options.appState.set("beaconType","security"),this.listenTo(e.appState,"navigate",this.removeAntiPhishingMessage)},postRender:function(){this.update(!1)},equals:function(e){return e&&this instanceof e},removeAntiPhishingMessage:function(){var e;(0,d.default)(e=this.$el).call(e,".auth-beacon-security").qtip("destroy")}});t.default=v},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(324)),i=r(n(18)),a=r(n(11)),s={},l=function(e){var t,n;return(0,i.default)(t=(0,i.default)(n="\n#okta-sign-in.auth-container .button-primary,\n#okta-sign-in.auth-container .button-primary:active,\n#okta-sign-in.auth-container .button-primary:focus { background: ".concat(e.brand,"; }\n#okta-sign-in.auth-container .button-primary:hover { background: ")).call(n,s.lighten(e.brand,.05),"; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n  background: ")).call(t,e.brand,";\n  opacity: 0.5;\n}\n    ")};s.lighten=function(e,t){t=t||0,e=e.substr(1);for(var n="#",r=0;r<3;r++){var i=(0,o.default)(e.substr(2*r,2),16);i=Math.round(Math.min(Math.max(0,i+i*t),255)).toString(16),n+=("00"+i).substr(i.length)}return n},s.addStyle=function(e){var t=l(e),n=document.getElementById(a.default.WIDGET_CONTAINER_ID),r=document.createElement("style");r.id=a.default.WIDGET_CONFIG_COLORS_ID,r.type="text/css",r.appendChild(document.createTextNode(t)),n.appendChild(r)},s.isLoaded=function(){return!!document.getElementById(a.default.WIDGET_CONFIG_COLORS_ID)};var u=s;t.default=u},function(e,t,n){"use strict";function r(){var e,t,n,r,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=(0,_.default)(o).call(o,function(e){return e.relatesTo.key===x.AUTHENTICATOR_KEY.OV}),a=null===i||void 0===i?void 0:null===(e=i.value)||void 0===e?void 0:null===(t=e.form)||void 0===t?void 0:null===(n=t.value)||void 0===n?void 0:(0,_.default)(n).call(n,function(e){return"methodType"===e.name}),s=null===a||void 0===a?void 0:a.options;if(s){var l,u,c=[];(0,b.default)(s).call(s,function(e){var t,n=(0,y.default)(i.value.form.value),o=(0,g.default)(t=i.value.form.value).call(t,function(e){return"methodType"===e.name}),s=(0,v.default)(w._.omit(a,"options"),e);s.required=!0,s.mutable=!1,(0,m.default)(n).call(n,o,1,s);var l=(0,v.default)({},i,{label:e.label,value:{form:{value:n}}});"signed_nonce"===e.value?r=l:c.push(l)});var f=(0,g.default)(o).call(o,function(e){return e.relatesTo.key===x.AUTHENTICATOR_KEY.OV});(l=(0,m.default)(o)).call.apply(l,(0,h.default)(u=[o,f,1]).call(u,c)),r&&(i.relatesTo.deviceKnown?o.unshift(r):o.push(r))}}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r(e),(0,p.default)(e).call(e,function(e){var t,n,r,o,i=(null===(t=e.value)||void 0===t?void 0:null===(n=t.form)||void 0===n?void 0:n.value)||[],a=(0,d.default)(r=(0,f.default)(i).call(i,function(e){return!0===e.required&&!1===e.mutable})).call(r,function(e,t){return(0,v.default)(e,(0,c.default)({},t.name,t.value))},{});return{label:e.label,value:a,relatesTo:e.relatesTo,authenticatorKey:null===(o=e.relatesTo)||void 0===o?void 0:o.key}})}function i(e){return{type:"authenticatorEnrollSelect",options:o(e.options)}}function a(e){return{type:"authenticatorVerifySelect",options:o(e.options)}}function s(e,t,n,r,o){var s={};if("authenticator"!==e.name||"select-authenticator-authenticate"!==t.name&&"select-authenticator-unlock-account"!==t.name){if("authenticator"===e.name&&"select-authenticator-enroll"===t.name)(0,v.default)(s,i(e));else if((0,u.default)(e.options)){var l,c;s.optionsUiSchemas=(0,p.default)(l=e.options).call(l,function(t){return r(n,{value:[{name:e.name,value:t.value}]},o)}),s.options=(0,p.default)(c=e.options).call(c,function(e,t){return{label:e.label,value:t}}),s.type="radio",s.value="0",s.name="sub_schema_local_".concat(e.name)}}else(0,v.default)(s,a(e));return s}var l=n(1);n(0)(t,"__esModule",{value:!0}),t.createOVOptions=r,t.default=s;var u=l(n(32)),c=l(n(88)),f=l(n(39)),d=l(n(140)),p=l(n(40)),h=l(n(18)),m=l(n(154)),v=l(n(10)),g=l(n(153)),y=l(n(161)),b=l(n(17)),_=l(n(13)),w=n(2),x=n(24)},function(e,t,n){"use strict";var r,o,i,a,s,l,u=n(117),c=n(17),f=n(0);f(t,"__esModule",{value:!0});var d=n(1241);c(r=u(d)).call(r,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(332);c(o=u(p)).call(o,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return p[e]}})});var h=n(557);c(i=u(h)).call(i,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return h[e]}})});var m=n(596);c(a=u(m)).call(a,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return m[e]}})});var v=n(1326);c(s=u(v)).call(s,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return v[e]}})});var g=n(1327);c(l=u(g)).call(l,function(e){"default"!==e&&"__esModule"!==e&&f(t,e,{enumerable:!0,get:function(){return g[e]}})})},function(e,t,n){"use strict";function r(e){return o.apply(this,arguments)}function o(){return o=(0,l.default)(a.default.mark(function e(t){var n,r,o,i,l,f,d,p,h,m,v,g,y;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.getAuthClient(),e.next=3,(0,c.getTransactionMeta)(t);case 3:return r=e.sent,o=r,i=o.interactionHandle,l=o.codeChallenge,f=o.codeChallengeMethod,d=o.scopes,p=o.state,h=n.options,m=h.issuer,v=h.clientId,g=h.redirectUri,y=t.get("apiVersion"),e.abrupt("return",u.default.start({interactionHandle:i,version:y,clientId:v,issuer:m,scopes:d,state:p,redirectUri:g,codeChallenge:l,codeChallengeMethod:f}).then(function(e){return!i&&e.toPersist.interactionHandle&&(r=(0,s.default)({},r,{interactionHandle:e.toPersist.interactionHandle})),(0,c.saveTransactionMeta)(t,r),e}));case 8:case"end":return e.stop()}},e)})),o.apply(this,arguments)}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.interact=r;var a=i(n(120)),s=i(n(10)),l=i(n(121)),u=i(n(333)),c=n(332)},function(e,t,n){var r=n(29),o=n(35),i=n(87),a=o("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach(function(e,r){t.delete("b"),n+=r+e}),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host})},function(e,t,n){"use strict";n(191);var r=n(7),o=n(95),i=n(558),a=n(138),s=n(240),l=n(105),u=n(464),c=n(94),f=n(196),d=n(59),p=n(115),h=n(118),m=n(53),v=n(38),g=n(192),y=n(129),b=n(469),_=n(193),w=n(35),x=o("fetch"),E=o("Headers"),T=w("iterator"),S=c.set,k=c.getterFor("URLSearchParams"),O=c.getterFor("URLSearchParamsIterator"),A=/\+/g,C=Array(4),R=function(e){return C[e-1]||(C[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},N=function(e){var t=e.replace(A," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(R(n--),I);return t}},M=/[!'()~]|%20/g,P={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return P[e]},D=function(e){return encodeURIComponent(e).replace(M,L)},j=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)n=o[i++],n.length&&(r=n.split("="),e.push({key:N(r.shift()),value:N(r.join("="))}))},F=function(e){this.entries.length=0,j(this.entries,e)},U=function(e,t){if(e<t)throw TypeError("Not enough arguments")},B=u(function(e,t){S(this,{type:"URLSearchParamsIterator",iterator:b(k(e).entries),kind:t})},"Iterator",function(){var e=O(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n}),V=function(){f(this,V,"URLSearchParams");var e,t,n,r,o,i,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(S(c,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:F}),void 0!==u)if(v(u))if("function"==typeof(e=_(u)))for(t=e.call(u),n=t.next;!(r=n.call(t)).done;){if(o=b(m(r.value)),i=o.next,(a=i.call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in u)d(u,l)&&p.push({key:l,value:u[l]+""});else j(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},q=V.prototype;s(q,{append:function(e,t){U(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){U(arguments.length,1);for(var t=k(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){U(arguments.length,1);for(var t=k(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){U(arguments.length,1);for(var n,r=k(this),o=r.entries,i=!1,a=e+"",s=t+"",l=0;l<o.length;l++)n=o[l],n.key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=k(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=k(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)t=n[o++],r(t.value,t.key,this)},keys:function(){return new B(this,"keys")},values:function(){return new B(this,"values")},entries:function(){return new B(this,"entries")}},{enumerable:!0}),a(q,T,q.entries),a(q,"toString",function(){for(var e,t=k(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(D(e.key)+"="+D(e.value));return n.join("&")},{enumerable:!0}),l(V,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:V}),i||"function"!=typeof x||"function"!=typeof E||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],v(t)&&(n=t.body,"URLSearchParams"===h(n)&&(r=t.headers?new E(t.headers):new E,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=g(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:V,getState:k}},function(e,t,n){"use strict";var r=n(561),o=n(342);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,n){var r=n(91),o=n(562).f,i=n(201),a=n(335),s=n(336),l=n(1255),u=n(1262);e.exports=function(e,t){var n,c,f,d,p,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):(r[h]||{}).prototype)for(c in t){if(d=t[c],e.noTargetGet?(p=o(n,c),f=p&&p.value):f=n[c],!u(m?c:h+(v?".":"#")+c,e.forced)&&void 0!==f){if(typeof d==typeof f)continue;l(d,f)}(e.sham||f&&f.sham)&&i(d,"sham",!0),a(n,c,d,e)}}},function(e,t,n){var r=n(163),o=n(1252),i=n(563),a=n(249),s=n(565),l=n(164),u=n(567),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=a(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(92),o=n(334),i="".split;e.exports=r(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(251);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(250);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(163),o=n(92),i=n(568);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(91),o=n(251),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(337),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r,o,i,a=n(1253),s=n(91),l=n(251),u=n(201),c=n(164),f=n(337),d=n(571),p=n(339),h=s.WeakMap,m=function(e){return i(e)?o(e):r(e,{})},v=function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a||f.state){var g=f.state||(f.state=new h),y=g.get,b=g.has,_=g.set;r=function(e,t){if(b.call(g,e))throw new TypeError("Object already initialized");return t.facade=e,_.call(g,e,t),t},o=function(e){return y.call(g,e)||{}},i=function(e){return b.call(g,e)}}else{var w=d("state");p[w]=!0,r=function(e,t){if(c(e,w))throw new TypeError("Object already initialized");return t.facade=e,u(e,w,t),t},o=function(e){return c(e,w)?e[w]:{}},i=function(e){return c(e,w)}}e.exports={set:r,get:o,has:i,enforce:m,getterFor:v}},function(e,t,n){var r=n(338),o=n(572),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t,n){var r=n(164),o=n(249),i=n(1259).indexOf,a=n(339);e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(253),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(1271),o=n(92);e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},function(e,t,n){e.exports=n(495)},function(e,t,n){var r=n(578);e.exports=r},function(e,t,n){n(483);var r=n(22);e.exports=r.Object.getOwnPropertySymbols},function(e,t,n){var r=n(580);e.exports=r},function(e,t,n){n(1280);var r=n(22),o=r.Object,i=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(e,t,n){var r=n(1281);e.exports=r},function(e,t,n){var r=n(1284);e.exports=r},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a(e,t)||s()}var o=n(1291),i=n(1292),a=n(587),s=n(1294);e.exports=r},function(e,t,n){e.exports=n(520)},function(e,t,n){e.exports=n(460)},function(e,t,n){e.exports=n(470)},function(e,t,n){function r(e,t){var n;if(e){if("string"==typeof e)return a(e,t);var r=i(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?o(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(e,t):void 0}}var o=n(588),i=n(1293),a=n(589);e.exports=r},function(e,t,n){e.exports=n(523)},function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n},function(e,t,n){e.exports=n(526)},function(e,t,n){e.exports=n(499)},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(162));n(203);var a=o(n(1297)),s=o(n(200)),l=o(n(166)),u=o(n(1298)),c=n(1302),f=function(e,t){var n,r,o=e,f=(0,c.parseIdxResponse)(e,t),d=f.remediations,p=f.context,h=f.actions,m=(0,u.default)(d),v=function(){var e=(0,l.default)(i.default.mark(function e(t){var n,r,o=arguments;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:{},r=(0,a.default)(d).call(d,function(e){return e.name===t})){e.next=4;break}return e.abrupt("return",s.default.reject("Unknown remediation choice: [".concat(t,"]")));case 4:return e.abrupt("return",r.action(n));case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),g=function(){return!!o.successWithInteractionCode},y=function(e){return"interaction_code"===e.name},b=null===(n=o.successWithInteractionCode)||void 0===n?void 0:(0,a.default)(r=n.value).call(r,y).value;return{proceed:v,neededToProceed:m,actions:h,context:p,rawIdxState:o,hasInteractionCode:g,interactionCode:b,toPersist:t}},d=f;t.default=d},function(e,t,n){e.exports=n(1304)},function(e,t,n){e.exports=n(1312)},function(e,t,n){"use strict";function r(e,t){var n=i(e);if(a){var r=a(e);t&&(r=s(r).call(r,function(t){return l(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;u(o=r(Object(n),!0)).call(o,function(t){(0,g.default)(e,t,n[t])})}else if(c)f(e,c(n));else{var i;u(i=r(Object(n))).call(i,function(t){d(e,t,l(n,t))})}}return e}var i=n(256),a=n(343),s=n(257),l=n(344),u=n(202),c=n(345),f=n(346),d=n(80),p=n(90);d(t,"__esModule",{value:!0}),t.default=void 0,n(203);var h=p(n(162)),m=p(n(576)),v=p(n(200)),g=p(n(347)),y=p(n(166)),b=n(255),_=n(1316),w=p(n(592)),x=function(e){var t=e.actionDefinition,n=e.defaultParamsForAction,r=void 0===n?{}:n,i=e.immutableParamsForAction,a=void 0===i?{}:i,s=e.toPersist,l=t.href;return function(){var e=(0,y.default)(h.default.mark(function e(n){var i,u;return h.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i={"content-type":"application/json",accept:t.accepts||"application/ion+json"},u=(0,m.default)(o(o(o({},r),n),a)),e.abrupt("return",(0,b.request)(l,{method:t.method,headers:i,body:u}).then(function(e){var t=e.json();return e.ok?t:401===e.status&&'Oktadevicejwt realm="Okta Device"'===e.headers.get("WWW-Authenticate")?t.then(function(e){var t=(0,w.default)(e,s);return t.stepUp=!0,v.default.reject(t)}):t.then(function(e){return v.default.reject((0,w.default)(e,s))})}).then(function(e){return(0,w.default)(e,s)}));case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},E=function(e,t){var n=x,r=(0,_.divideActionParamsByMutability)(e),o=r.defaultParams,i=r.neededParams,a=r.immutableParams,s=n({actionDefinition:e,defaultParamsForAction:o[e.name],immutableParamsForAction:a[e.name],toPersist:t});return s.neededParams=i,s},T=E;t.default=T},function(e,t,n){"use strict";function r(e,t){return o.apply(this,arguments)}function o(){return o=(0,s.default)(a.default.mark(function e(t,n){var r,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.get("baseUrl"),o=t.get("apiVersion"),e.abrupt("return",l.default.start({domain:r,stateHandle:n,version:o}));case 3:case"end":return e.stop()}},e)})),o.apply(this,arguments)}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.introspect=r;var a=i(n(120)),s=i(n(121)),l=i(n(333))},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=n(2),a=r(n(247)),s=r(n(11)),l=i.View.extend({HeaderBeacon:null,initialize:function(){this.HeaderBeacon&&this.add(this.HeaderBeacon)},postRender:function(){var e=(0,i.$)("#".concat(s.default.WIDGET_CONTAINER_ID));if(this.HeaderBeacon){var t;e.removeClass("no-beacon");var n=(0,o.default)(t=this.$el).call(t,'[data-type="beacon-container"]');a.default.explode(n)}else e.addClass("no-beacon")}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(18)),a=r(n(39)),s=r(n(32)),l=n(2),u=r(n(205)),c=r(n(1334)),f=n(122),d=l.View.extend({className:"auth-footer",links:[],footerInfo:null,hasBackToSignInLink:!0,initialize:function(){var e=this,t=l._.resultCtx(this,"links",this),n=l._.resultCtx(this,"footerInfo",this),r=l._.resultCtx(this,"hasBackToSignInLink",this);t=(0,s.default)(t)?(0,a.default)(t).call(t,function(e){return l.$.isPlainObject(e)}):[],this.options.appState.shouldShowSignOutLinkInCurrentForm(this.options.settings.get("features.hideSignOutLinkInMFA")||this.settings.get("features.mfaOnlyFlow"))&&r&&(t=(0,i.default)(t).call(t,(0,f.getSignOutLink)(this.options.settings))),(0,o.default)(t).call(t,function(t){var n=u.default;"toggle-text-link"===t.type&&(n=c.default),e.add(n,{options:t})}),n&&(this.add(l.View.extend({className:"footer-info"})),this.add(n,".footer-info"))}});t.default=d},function(e,t,n){"use strict";function r(e,t){var n=(0,p.default)(e);if(d.default){var r=(0,d.default)(e);t&&(r=(0,y.default)(r).call(r,function(t){return(0,f.default)(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;(0,c.default)(o=r(Object(n),!0)).call(o,function(t){(0,g.default)(e,t,n[t])})}else if(u.default)(0,l.default)(e,(0,u.default)(n));else{var i;(0,c.default)(i=r(Object(n))).call(i,function(t){(0,s.default)(e,t,(0,f.default)(n,t))})}}return e}var i,a=n(1),s=a(n(0)),l=a(n(353)),u=a(n(354)),c=a(n(17)),f=a(n(355)),d=a(n(356)),p=a(n(117)),h=a(n(18)),m=a(n(161)),v=a(n(32)),g=a(n(88)),y=a(n(39)),b=a(n(10)),_=a(n(40)),w=n(2),x=a(n(1335)),E=a(n(600)),T=n(204),S=n(24),k=a(n(550)),O=a(n(527)),A=a(n(530)),C=a(n(1337)),R=function(e,t){var n=document.createElement("div");n.style.position="absolute",n.style.left="-9999px",n.style.whiteSpace="nowrap",n.innerHTML=e,document.body.appendChild(n);var r=n.clientWidth;return document.body.removeChild(n),r>t},I=function(e){var t,n=(0,_.default)(t=e.options||[]).call(t,function(e){return(0,b.default)({},e,(0,T.getAuthenticatorDataForEnroll)(e))});return{View:x.default,options:{name:e.name,collection:new w.Collection(n)}}},N=function(e){var t=e.options||[],n=!1;return t=(0,y.default)(t).call(t,function(e){return e.authenticatorKey!==S.AUTHENTICATOR_KEY.WEBAUTHN||!n&&(n=!0,!0)}),t=(0,_.default)(t).call(t,function(e){return(0,b.default)({},e,(0,T.getAuthenticatorDataForVerification)(e))}),{View:E.default,options:{name:e.name,collection:new w.Collection(t)}}},M=function(){return{View:O.default}},P=function(){return{View:A.default}},L=function(e){return{View:C.default,options:{name:e.name}}},D=(i={authenticatorEnrollSelect:I,authenticatorVerifySelect:N},(0,g.default)(i,"admin-consent",M),(0,g.default)(i,"consent",P),(0,g.default)(i,"captcha",L),i),j=function(e){return(D[e.type]||w._.identity)(e)},F=function(e,t){var n;if((0,y.default)(n=t.get("remediations")).call(n,function(e){return e.name===S.FORMS.PIV_IDP}).length<1)return[];var r=e.get("piv");return[{attributes:{"data-se":"piv-card-button"},className:(r.className||"")+" piv-button",title:r.text||(0,w.loc)("piv.cac.card","login"),click:function(e){e.preventDefault(),t.trigger("switchForm",S.FORMS.PIV_IDP)}}]},U=function(e){var t,n,r=e.settings,o=e.appState,i=(0,y.default)(t=o.get("remediations")).call(t,function(e){return e.name===S.FORMS.REDIRECT_IDP});if(!(0,v.default)(i))return[];var a=F(r,o),s=(0,_.default)(i).call(i,function(e){var t,n,r=null===(t=e.type)||void 0===t?void 0:t.toLowerCase();if(w._.contains(k.default.SUPPORTED_SOCIAL_IDPS,r))n=(0,w.loc)("socialauth.".concat(r,".label"),"login");else{var o;r="general-idp",n=(0,w.loc)("customauth.sign.in.with.label","login",[null===(o=e.idp)||void 0===o?void 0:o.name])}var i=["social-auth-button","social-auth-".concat(r,"-button")];"general-idp"===r&&i.push("no-translate"),e.idp.className&&i.push(e.idp.className);var a={attributes:{"data-se":"social-auth-".concat(r,"-button")},className:i.join(" "),title:n,href:e.href};return R(n,186)&&(a.attributes.title=n),a});return(0,h.default)(n=[]).call(n,(0,m.default)(a),(0,m.default)(s))},B=function(e){var t=e.get("customButtons");return(0,_.default)(t).call(t,function(e){return{attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:e.title,click:e.click}})},V=function(e){return(0,w.createButton)(o(o({},e),{},{className:"".concat(e.className," default-custom-button button-primary")}))};e.exports={create:j,createIdpButtons:U,createCustomButtons:B,addCustomButton:V,isTextOverflowing:R}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=a.View.extend({className:"authenticator-row clearfix",template:i.default.template({1:function(e,t,n,r,o){return"authenticator-label--small"},3:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text '+u((a=null!=(a=c(n,"noTranslateClassName")||(null!=t?c(t,"noTranslateClassName"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"noTranslateClassName",hash:{},data:i,loc:{start:{line:1,column:333},end:{line:1,column:357}}}):a))+'">'+u((a=null!=(a=c(n,"description")||(null!=t?c(t,"description"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"description",hash:{},data:i,loc:{start:{line:1,column:359},end:{line:1,column:374}}}):a))+"</p>"},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-se="'+e.escapeExpression((i=null!=(i=a(n,"buttonDataSeAttr")||(null!=t?a(t,"buttonDataSeAttr"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"buttonDataSeAttr",hash:{},data:o,loc:{start:{line:1,column:458},end:{line:1,column:478}}}):i))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container"><div class="factor-icon authenticator-icon '+c((s=null!=(s=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"iconClassName",hash:{},data:i,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):s))+'"></div></div><div class="authenticator-description"><div><h3 class="authenticator-label no-translate '+(null!=(a=f(n,"if").call(l,null!=t?f(t,"description"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:204},end:{line:1,column:256}}}))?a:"")+'">'+c((s=null!=(s=f(n,"label")||(null!=t?f(t,"label"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"label",hash:{},data:i,loc:{start:{line:1,column:258},end:{line:1,column:267}}}):s))+"</h3>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"description"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:272},end:{line:1,column:385}}}))?a:"")+'</div><div class="authenticator-button" '+(null!=(a=f(n,"if").call(l,null!=t?f(t,"buttonDataSeAttr"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:425},end:{line:1,column:486}}}))?a:"")+"></div></div>"},useData:!0}),children:function(){return[[(0,a.createButton)({className:"button select-factor",title:function(){return(0,a.loc)("oie.verify.authenticator.button.text","login")},click:function(){this.model.trigger("selectAutheticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")}}),l=a.ListView.extend({className:"authenticator-verify-list authenticator-list",item:s,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAutheticator",this.handleSelect)},handleSelect:function(e){var t,n=this.model.validateField("identifier");this.model.trigger("clearFormError"),(null===(t=this.model.getPropertySchema("identifier"))||void 0===t?void 0:t.required)&&n?this.model.trigger("invalid",this.model,n):(this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model))},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="list-content"></div>'},useData:!0})});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(258)),a=r(n(206)),s=a.default.extend((0,o.default)({initialize:function(){a.default.prototype.initialize.apply(this,arguments),this.listenTo(this.options.appState,"change:dynamicRefreshInterval",this.updateRefreshInterval)},updateRefreshInterval:function(){this.polling&&(this.stopPolling(),this.startPolling(this.options.appState.get("dynamicRefreshInterval")))}},i.default));t.default=s},function(e,t,n){"use strict";var r=n(1),o=r(n(32)),i=r(n(17)),a=r(n(88)),s=r(n(10)),l=n(2),u=function(e){var t=(0,s.default)({},l._.chain(e).pick("minLength","maxLength","required","value").defaults({type:"string",required:!0}).value());return e.modelType&&(t.type=e.modelType),(0,a.default)({},e.name,t)},c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=t.uiSchema||[];(0,i.default)(l).call(l,function(t){if((0,o.default)(t.optionsUiSchemas)){var i,l={};Number(t.value)>=0&&(i=t.value),n[t.name]&&(l={value:n[t.name]},i=Number(l.value)),(0,s.default)(a,u((0,s.default)({},t,l))),i&&e({uiSchema:t.optionsUiSchemas[i]},n,r,a)}else(0,s.default)(r,u(t))})},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r={formName:"string",useRedirect:"boolean"};return c(e,t,n,r),l.Model.extend({props:n,local:r})};e.exports={create:f}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.getV1ClassName=t.getClassNameMapping=void 0;var o,i,a,s,l,u,c=r(n(88)),f=n(24),d=(u={},(0,c.default)(u,f.FORMS.IDENTIFY,(o={},(0,c.default)(o,f.FORMS.IDENTIFY,"primary-auth"),(0,c.default)(o,f.AUTHENTICATOR_KEY.PASSWORD,"primary-auth"),o)),(0,c.default)(u,f.FORMS.IDENTIFY_RECOVERY,(0,c.default)({},f.FORMS.IDENTIFY_RECOVERY,"forgot-password")),(0,c.default)(u,f.FORMS.ENROLL_PROFILE,(0,c.default)({},f.FORMS.ENROLL_PROFILE,"registration")),(0,c.default)(u,f.FORMS.CHALLENGE_AUTHENTICATOR,(i={},(0,c.default)(i,f.AUTHENTICATOR_KEY.EMAIL,"mfa-verify-passcode"),(0,c.default)(i,f.AUTHENTICATOR_KEY.PASSWORD,"mfa-verify-password"),(0,c.default)(i,"sms","mfa-verify-passcode"),(0,c.default)(i,"voice","mfa-verify-passcode"),(0,c.default)(i,f.AUTHENTICATOR_KEY.SECURITY_QUESTION,"mfa-verify-question"),(0,c.default)(i,f.AUTHENTICATOR_KEY.WEBAUTHN,"mfa-verify-webauthn"),(0,c.default)(i,f.AUTHENTICATOR_KEY.ON_PREM,"mfa-verify-totp"),(0,c.default)(i,f.AUTHENTICATOR_KEY.RSA,"mfa-verify-totp"),(0,c.default)(i,f.AUTHENTICATOR_KEY.OV,"mfa-verify"),(0,c.default)(i,f.AUTHENTICATOR_KEY.GOOGLE_OTP,"mfa-verify"),(0,c.default)(i,f.AUTHENTICATOR_KEY.DUO,"mfa-verify-duo"),(0,c.default)(i,f.AUTHENTICATOR_KEY.SYMANTEC_VIP,"mfa-verify"),(0,c.default)(i,f.AUTHENTICATOR_KEY.YUBIKEY,"mfa-verify"),(0,c.default)(i,f.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),i)),(0,c.default)(u,f.FORMS.CHALLENGE_POLL,(a={},(0,c.default)(a,f.AUTHENTICATOR_KEY.OV,"mfa-verify"),(0,c.default)(a,f.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),a)),(0,c.default)(u,f.FORMS.RESEND_PUSH,(s={},(0,c.default)(s,f.AUTHENTICATOR_KEY.OV,"mfa-verify"),(0,c.default)(s,f.AUTHENTICATOR_KEY.CUSTOM_APP,"mfa-verify"),s)),(0,c.default)(u,f.FORMS.ENROLL_AUTHENTICATOR,(l={},(0,c.default)(l,f.AUTHENTICATOR_KEY.EMAIL,"enroll-email"),(0,c.default)(l,f.AUTHENTICATOR_KEY.PASSWORD,"enroll-password"),(0,c.default)(l,"sms","enroll-sms"),(0,c.default)(l,"voice","enroll-call"),(0,c.default)(l,f.AUTHENTICATOR_KEY.SECURITY_QUESTION,"enroll-question"),(0,c.default)(l,f.AUTHENTICATOR_KEY.WEBAUTHN,"enroll-webauthn"),(0,c.default)(l,f.AUTHENTICATOR_KEY.ON_PREM,"enroll-onprem"),(0,c.default)(l,f.AUTHENTICATOR_KEY.RSA,"enroll-rsa"),(0,c.default)(l,f.AUTHENTICATOR_KEY.DUO,"enroll-duo"),(0,c.default)(l,f.AUTHENTICATOR_KEY.SYMANTEC_VIP,"enroll-symantec"),(0,c.default)(l,f.AUTHENTICATOR_KEY.YUBIKEY,"enroll-yubikey"),l)),(0,c.default)(u,f.FORMS.SELECT_AUTHENTICATOR_ENROLL,{"select-authenticator-enroll":"enroll-choices"}),(0,c.default)(u,f.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,(0,c.default)({},f.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),(0,c.default)(u,f.FORMS.REENROLL_AUTHENTICATOR,(0,c.default)({},f.AUTHENTICATOR_KEY.PASSWORD,"password-expired")),(0,c.default)(u,f.FORMS.RESET_AUTHENTICATOR,(0,c.default)({},f.AUTHENTICATOR_KEY.PASSWORD,"forgot-password")),(0,c.default)(u,f.FORMS.CONSENT_ADMIN,(0,c.default)({},f.FORMS.CONSENT_ADMIN,"admin-consent-required")),(0,c.default)(u,f.FORMS.CONSENT_ENDUSER,(0,c.default)({},f.FORMS.CONSENT_ENDUSER,"consent-required")),u),p=function(e,t,n,r){if(r&&e===f.FORMS.IDENTIFY)return"forgot-password";var o=e;return t===f.AUTHENTICATOR_KEY.PHONE?o="".concat(n):t&&(o="".concat(t)),d[e]&&d[e][o]?d[e][o]:null};t.getV1ClassName=p;var h=function(e,t,n,r){var o=e;t&&(o=o+"--"+t);var i=p(e,t,n,r),a=[o];return i&&a.push(i),a};t.getClassNameMapping=h},function(e,t,n){"use strict";function r(e,t){var n=(0,p.default)(e);if(d.default){var r=(0,d.default)(e);t&&(r=(0,f.default)(r).call(r,function(t){return(0,c.default)(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;(0,u.default)(o=r(Object(n),!0)).call(o,function(t){(0,h.default)(e,t,n[t])})}else if(l.default)(0,s.default)(e,(0,l.default)(n));else{var i;(0,u.default)(i=r(Object(n))).call(i,function(t){(0,a.default)(e,t,(0,c.default)(n,t))})}}return e}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(0)),s=i(n(353)),l=i(n(354)),u=i(n(17)),c=i(n(355)),f=i(n(39)),d=i(n(356)),p=i(n(117)),h=i(n(88)),m=i(n(40)),v=i(n(32)),g=i(n(13)),y=n(2),b=n(24),_=n(5),w=i(n(1339)),x=i(n(605)),E=i(n(205)),T=i(n(1340)),S=i(n(1341)),k=i(n(606)),O=n(142),A=n(122),C=i(n(245)),R=_.BaseForm.extend({title:function(){return(0,y.loc)("primaryauth.title","login")},save:function(){return(0,y.loc)("oform.next","login")},initialize:function(){_.BaseForm.prototype.initialize.apply(this,arguments);var e=this.getUISchema();(0,g.default)(e).call(e,function(e){return"credentials.passcode"===e.name})&&(this.save=(0,y.loc)("oie.primaryauth.submit","login")),this._shouldAddUsername(e)?this.model.set("identifier",this.settings.get("username")):!this.model.get("identifier")&&this._shouldApplyRememberMyUsername(e)&&this._applyRememberMyUsername()},saveForm:function(){var e=this,t=arguments;if(!this.settings.get("features.deviceFingerprinting"))return void _.BaseForm.prototype.saveForm.apply(this,arguments);var n={oktaDomainUrl:this.settings.get("baseUrl"),element:this.$el};w.default.generateDeviceFingerprint(n).then(function(t){e.options.appState.set("deviceFingerprint",t)}).catch(function(){}).finally(function(){_.BaseForm.prototype.saveForm.apply(e,t)})},render:function(){_.BaseForm.prototype.render.apply(this,arguments),this.options.appState.hasRemediationObject(b.FORMS.LAUNCH_AUTHENTICATOR)&&this.add(k.default,".o-form-fieldset-container",!1,!0,{isRequired:!1});var e=(0,_.createIdpButtons)(this.options);(0,v.default)(e)&&e.length&&(this._addForgotPasswordView(),this._addIdpView(e));var t=(0,_.createCustomButtons)(this.options.settings);(0,v.default)(t)&&t.length&&this.add(S.default,{selector:".o-form-button-bar",options:{customButtons:t,addSeparateLine:!0}})},showMessages:function(){var e=this.options.appState.get("messages");if((null===e||void 0===e?void 0:e.value.length)&&"identify"===this.options.appState.get("currentFormName")){var t=e.value[0].message,n=(0,y.createCallout)({content:t,type:"warning"});this.add(n,".o-form-error-container")}},getUISchema:function(){var e=_.BaseForm.prototype.getUISchema.apply(this,arguments),t=this.options.settings;return(0,m.default)(e).call(e,function(e){var n=o({},e);return"identifier"===e.name?((0,O.isCustomizedI18nKey)("primaryauth.username.tooltip",t)&&(n=o(o({},n),{},{explain:(0,y.loc)("primaryauth.username.tooltip","login"),"explain-top":!0})),n=o(o({},n),{},{autoComplete:"identifier"})):"credentials.passcode"===e.name&&(0,O.isCustomizedI18nKey)("primaryauth.password.tooltip",t)&&(n=o(o({},n),{},{explain:(0,y.loc)("primaryauth.password.tooltip","login"),"explain-top":!0})),n})},_addForgotPasswordView:function(){var e=(0,A.getForgotPasswordLink)(this.options.appState,this.options.settings);e.length&&(this.add('<div class="links-primary"></div>',{selector:".o-form-button-bar"}),this.add(E.default,{selector:".links-primary",options:e[0]}))},_addIdpView:function(e){var t=this.options.settings.get("idpDisplay"),n=t&&"PRIMARY"===t.toUpperCase();this.add(T.default,{prepend:n,selector:n?".o-form-fieldset-container":".o-form-button-bar",options:{idpButtons:e,isPrimaryIdpDisplay:n}})},_shouldAddUsername:function(e){return(0,g.default)(e).call(e,function(e){return"identifier"===e.name})&&this.settings.get("username")},_shouldApplyRememberMyUsername:function(e){return(0,g.default)(e).call(e,function(e){return"identifier"===e.name})&&this.settings.get("features.rememberMe")&&this.settings.get("features.rememberMyUsernameOnOIE")},_applyRememberMyUsername:function(){var e=C.default.getCookieUsername();e&&this.model.set("identifier",e)}}),I=_.BaseView.extend({Body:R,initialize:function(){var e=this;this.Footer=x.default.extend({showForgotPasswordLink:function(){var t=(0,_.createIdpButtons)(e.options);return!(e.options.appState.isIdentifierOnlyView()||(0,v.default)(t)&&0!==t.length)}})},postRender:function(){var e;_.BaseView.prototype.postRender.apply(this,arguments);var t=this.options.appState;(0,g.default)(e=this.$el).call(e,".js-sign-up").click(function(){return t.trigger("invokeAction",b.FORMS.SELECT_ENROLL_PROFILE),!1})}});t.default=I},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(17)),a=r(n(4)),s=n(2),l=n(5),u=n(24),c=n(122),f=r(n(205)),d=l.BaseFooter.extend({showForgotPasswordLink:function(){return!this.options.appState.isIdentifierOnlyView()},footerInfo:function(){var e,t=(0,c.getSignUpLink)(this.options.appState,this.options.settings);return t.length&&(e=s.View.extend({className:"signup-info",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<span>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"registration.signup.label"},data:o,loc:{start:{line:1,column:6},end:{line:1,column:62}}}))+'</span><span class="signup-link"></span>'},useData:!0}),initialize:function(){this.add(f.default,".signup-link",{options:t[0]})}})),e},links:function(){var e,t,n,r=this.options,a=r.appState,l=r.settings;if(l.get("helpLinks.help"))n=l.get("helpLinks.help");else{n=l.get("baseUrl")+"/help/login"}var f=[{name:"help",label:(0,s.loc)("help","login"),href:n}],d=[];this.showForgotPasswordLink()&&(d=(0,c.getForgotPasswordLink)(a,l));var p=[];if(l.get("helpLinks.custom")){var h;(0,i.default)(h=l.get("helpLinks.custom")).call(h,function(e){e.name="custom",e.label=e.text,p.push(e)})}var m=[];return l.get("helpLinks.unlock")?m.push({type:"link",label:(0,s.loc)("unlockaccount","login"),name:"unlock",href:l.get("helpLinks.unlock")}):a.hasRemediationObject(u.FORMS.UNLOCK_ACCOUNT)&&m.push({type:"link",label:(0,s.loc)("unlockaccount","login"),name:"unlock",actionPath:u.FORMS.UNLOCK_ACCOUNT}),(0,o.default)(e=(0,o.default)(t=(0,o.default)(d).call(d,m)).call(t,f)).call(e,p)}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(28)),s=r(n(11)),l=n(107),u=n(24),c=i.View.extend({className:"sign-in-with-device-option",template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="signin-with-ov-description">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oktaVerify.description"},data:o,loc:{start:{line:1,column:109},end:{line:1,column:162}}}))+"</div>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"authbutton.divider.text"},data:o,loc:{start:{line:1,column:254},end:{line:1,column:308}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-verify-container">'+(null!=(i=s(n,"if").call(a,null!=t?s(t,"signInWithDeviceIsRequired"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:35},end:{line:1,column:175}}}))?i:"")+"</div>"+(null!=(i=s(n,"unless").call(a,null!=t?s(t,"signInWithDeviceIsRequired"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:181},end:{line:1,column:332}}}))?i:"")},useData:!0}),initialize:function(){var e,t=this.options.appState,n=this.options.appState.hasRemediationObject(u.FORMS.LAUNCH_AUTHENTICATOR),r=null===n||void 0===n?void 0:null===(e=n.relatesTo)||void 0===e?void 0:e.value;this.add((0,i.createButton)({className:"button",icon:"okta-verify-authenticator",title:(0,i.loc)("oktaVerify.button","login"),click:function(){var e=this,n=(null===r||void 0===r?void 0:r.challengeMethod)===s.default.UNIVERSAL_LINK_CHALLENGE;n&&a.default.redirect(r.href);var o=(null===r||void 0===r?void 0:r.challengeMethod)===s.default.APP_LINK_CHALLENGE;o&&a.default.redirect(r.href,window,!0),a.default.callAfterTimeout(function(){e.options.isRequired?t.trigger("saveForm",e.model):t.trigger("invokeAction",u.FORMS.LAUNCH_AUTHENTICATOR)},n||o?l.UNIVERSAL_LINK_POST_DELAY:0)}}),".okta-verify-container")},getTemplateData:function(){return{signInWithDeviceIsRequired:!!this.options.isRequired}}});t.default=c},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(24),i=n(14),a=r.BaseHeader.extend({HeaderBeacon:i.BaseAuthenticatorBeacon.extend({authenticatorKey:o.AUTHENTICATOR_KEY.EMAIL})});t.default=a},function(e,t,n){"use strict";var r=n(1),o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div data-type="beacon-container" class="beacon-container"><div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression((i=null!=(i=a(n,"className")||(null!=t?a(t,"className"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:o,loc:{start:{line:1,column:230},end:{line:1,column:243}}}):i))+'" data-se="factor-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div></div >'},useData:!0}),getTemplateData:function(){return{className:this.getBeaconClassName()||""}},getBeaconClassName:function(){return"undefined-user"}});e.exports=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(40)),a=n(5),s=n(2),l=r(n(610)),u=r(n(611)),c=n(142),f=a.BaseView.extend({Header:l.default,Body:u.default,createModelClass:function(e){var t=a.BaseView.prototype.createModelClass.apply(this,arguments),n=e.uiSchema,r=n[0].scopes,l=(0,i.default)(r).call(r,function(e){var t,n=e.name,r=e.displayName,i=e.description,a=(0,o.default)(t="".concat("consent.scopes",".")).call(t,n),l="".concat(a,".label"),u="".concat(a,".desc"),f=(0,c.doesI18NKeyExist)(l),d=(0,c.doesI18NKeyExist)(u);return{name:n,displayName:f?(0,s.loc)(l,"login"):r,description:d?(0,s.loc)(u,"login"):i,isCustomized:!f}});return t.extend({props:{scopes:{type:"array",value:l}},local:{consent:{type:"boolean",value:!1}},toJSON:function(){return{consent:this.get("consent")}}})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=a.View.extend({className:"consent-title detail-row",titleText:function(){return(0,a.loc)("oie.consent.scopes.admin.title","login")},hasIssuer:!0,template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression((i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i))+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+u((a=null!=(a=c(n,"customLogo")||(null!=t?c(t,"customLogo"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"customLogo",hash:{},data:i,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):a))+'" alt="'+u((a=null!=(a=c(n,"altText")||(null!=t?c(t,"altText"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"altText",hash:{},data:i,loc:{start:{line:1,column:170},end:{line:1,column:181}}}):a))+'" aria-hidden="true" />'},5:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+u((a=null!=(a=c(n,"defaultLogo")||(null!=t?c(t,"defaultLogo"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"defaultLogo",hash:{},data:i,loc:{start:{line:1,column:255},end:{line:1,column:270}}}):a))+'" alt="'+u((a=null!=(a=c(n,"altText")||(null!=t?c(t,"altText"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"altText",hash:{},data:i,loc:{start:{line:1,column:277},end:{line:1,column:288}}}):a))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer no-translate"><span>'+e.escapeExpression((i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:493},end:{line:1,column:503}}}):i))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=f(n,"if").call(l,null!=t?f(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.program(5,i,0),data:i,loc:{start:{line:1,column:89},end:{line:1,column:318}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:318},end:{line:1,column:346}}}))?a:"")+'<h1><span class="title-text"><b class="no-translate">'+c((s=null!=(s=f(n,"appName")||(null!=t?f(t,"appName"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"appName",hash:{},data:i,loc:{start:{line:1,column:399},end:{line:1,column:410}}}):s))+"</b>&nbsp;"+c((s=null!=(s=f(n,"titleText")||(null!=t?f(t,"titleText"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"titleText",hash:{},data:i,loc:{start:{line:1,column:420},end:{line:1,column:433}}}):s))+"</span>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:440},end:{line:1,column:523}}}))?a:"")+"</h1>"},useData:!0}),getTemplateData:function(){var e=this.options.appState,t=e.get("app"),n=t.label,r=t.clientUri,o=t.logo,i=e.get("authentication"),s=i.issuer,l=null===o||void 0===o?void 0:o.href,u=(0,a.loc)("logo.for.the.app.alt.text","login"),c=a._.escape(n);return{customLogo:l,defaultLogo:"/img/logos/default.png",clientURI:null===r||void 0===r?void 0:r.href,issuer:this.hasIssuer?null===s||void 0===s?void 0:s.uri:null,altText:u,appName:c,titleText:this.titleText()}}}),l=s;t.default=l},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=n(5),i=o.BaseForm.extend({noButtonBar:!1,noCancelButton:!1,buttonOrder:["cancel","save"],save:function(){return(0,r.loc)("consent.required.consentButton","login")},cancel:function(){return(0,r.loc)("consent.required.cancelButton","login")},title:!1,events:{'click input[data-type="save"]':function(){this.setConsent(!0)}},setConsent:function(e){this.model.set("consent",e)},cancelForm:function(){this.setConsent(!1),this.options.appState.trigger("saveForm",this.model)}});t.default=i},function(e,t,n){"use strict";function r(e){var t=e.getDeviceChallengePayload();switch(t.challengeMethod){case s.default.LOOPBACK_CHALLENGE:e.title=(0,a.loc)("deviceTrust.sso.redirectText","login"),e.add(a.View.extend({className:"loopback-content",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="spinner"></div>'},useData:!0})})),e.doLoopback(t);break;case s.default.CUSTOM_URI_CHALLENGE:e.title=(0,a.loc)("customUri.title","login"),e.add(a.View.extend({className:"skinny-content",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.prompt"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:67}}}))+"</p>"},useData:!0})})),e.add((0,a.createButton)({className:"ul-button button button-wide button-primary",title:(0,a.loc)("customUri.required.content.button","login"),id:"launch-ov",click:function(){e.doCustomURI()}})),e.add(a.View.extend({className:"skinny-content",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.title"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:75}}}))+'</p><p><a href="'+l((i=null!=(i=u(n,"downloadOVLink")||(null!=t?u(t,"downloadOVLink"):t))?i:s,"function"==typeof i?i.call(a,{name:"downloadOVLink",hash:{},data:o,loc:{start:{line:1,column:91},end:{line:1,column:109}}}):i))+'" target="_blank" id="download-ov" class="link">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"customUri.required.content.download.linkText"},data:o,loc:{start:{line:1,column:157},end:{line:1,column:232}}}))+"</a></p>"},useData:!0}),getTemplateData:function(){return{downloadOVLink:t.downloadHref}}})),e.customURI=t.href,e.doCustomURI();break;case s.default.UNIVERSAL_LINK_CHALLENGE:e.title=(0,a.loc)("universalLink.title","login"),e.add(a.View.extend({className:"universal-link-content",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="spinner"></div>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"universalLink.content"},data:o,loc:{start:{line:1,column:27},end:{line:1,column:79}}}))},useData:!0})})),e.add((0,a.createButton)({className:"ul-button button button-wide button-primary",title:(0,a.loc)("oktaVerify.reopen.button","login"),click:function(){l.default.redirect(t.href)}}));break;case s.default.APP_LINK_CHALLENGE:e.title=(0,a.loc)("appLink.title","login"),e.add(a.View.extend({className:"app-link-content",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"appLink.content"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:46}}}))},useData:!0})})),e.add((0,a.createButton)({className:"al-button button button-wide button-primary",title:(0,a.loc)("oktaVerify.open.button","login"),click:function(){l.default.redirect(t.href,window,!0)}}))}}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.doChallenge=r;var i=o(n(4)),a=n(2),s=o(n(11)),l=o(n(28))},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(24),i=n(14),a=r.BaseHeader.extend({HeaderBeacon:i.BaseAuthenticatorBeacon.extend({authenticatorKey:o.AUTHENTICATOR_KEY.OV})});t.default=a},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=t.Body=void 0;var r=n(5),o=n(2),i=r.BaseForm.extend({title:function(){return this.isPasswordRecoveryFlow()?(0,o.loc)("password.reset.title.generic","login"):(0,o.loc)("oie.select.authenticators.verify.title","login")},subtitle:function(){return this.isPasswordRecoveryFlow()?(0,o.loc)("oie.password.reset.verification","login"):(0,o.loc)("oie.select.authenticators.verify.subtitle","login")},isPasswordRecoveryFlow:function(){return this.options.appState.get("isPasswordRecovery")},noButtonBar:!0});t.Body=i;var a=r.BaseView.extend({Body:i});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.ResendView=t.default=void 0;var o=r(n(10)),i=r(n(18)),a=n(2),s=n(5),l=r(n(14)),u=r(n(359)),c=u.default.extend({className:"phone-authenticator-challenge__resend-warning hide",events:{"click a.resend-link":"handleResendLink"},resendActionKey:"currentAuthenticatorEnrollment-resend",initialize:function(){var e,t="sms"===this.model.get("mode")?(0,a.loc)("oie.phone.verify.sms.resendText","login"):(0,a.loc)("oie.phone.verify.call.resendText","login"),n="sms"===this.model.get("mode")?(0,a.loc)("oie.phone.verify.sms.resendLinkText","login"):(0,a.loc)("oie.phone.verify.call.resendLinkText","login");this.add((0,a.createCallout)({content:(0,i.default)(e="".concat(t,"&nbsp;<a class='resend-link'>")).call(e,n,"</a>"),type:"warning"}))},handleResendLink:function(){this.options.appState.trigger("invokeAction",this.resendActionKey),this.el.classList.contains("hide")||this.el.classList.add("hide"),this.showCalloutAfterTimeout()}});t.ResendView=c;var f=s.BaseForm.extend((0,o.default)({className:"phone-authenticator-challenge",title:function(){return(0,a.loc)("oie.phone.verify.title","login")},save:function(){return(0,a.loc)("mfa.challenge.verify","login")},initialize:function(){var e,t,n,r;s.BaseForm.prototype.initialize.apply(this,arguments);var o="sms"===this.model.get("mode")?(0,a.loc)("oie.phone.verify.sms.codeSentText","login"):(0,a.loc)("mfa.calling","login"),l=(0,a.loc)("oie.phone.verify.enterCodeText","login"),u=(0,a.loc)("oie.phone.carrier.charges","login"),c=this.model.get("phoneNumber")!==(0,a.loc)("oie.phone.alternate.title","login")?"strong no-translate":"";this.add((0,i.default)(e=(0,i.default)(t=(0,i.default)(n=(0,i.default)(r='<div class="okta-form-subtitle" data-se="o-form-explain">\n        '.concat(o,"&nbsp;<span class='")).call(r,c,"'>")).call(n,this.model.escape("phoneNumber"),".</span>\n        &nbsp;")).call(t,l,"\n        <p>")).call(e,u,"</p>\n        </div>"),{prepend:!0,selector:".o-form-fieldset-container"})},postRender:function(){s.BaseForm.prototype.postRender.apply(this,arguments),this.add(c,{selector:".o-form-error-container",prepend:!0})}})),d=l.default.extend({Body:f,createModelClass:function(){var e=this.options.currentViewState.relatesTo,t=(null===e||void 0===e?void 0:e.value)||{},n=t.methods,r=t.profile,i=s.BaseView.prototype.createModelClass.apply(this,arguments),l=(0,o.default)({mode:{value:n[0].type,type:"string"},phoneNumber:{value:(null===r||void 0===r?void 0:r.phoneNumber)?r.phoneNumber:(0,a.loc)("oie.phone.alternate.title","login"),type:"string"}},i.prototype.local);return i.extend({local:l})}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(78)),i=r(n(52)),a=r(n(10)),s=r(n(18)),l=n(2),u=n(5),c=r(n(1398)),f=r(n(14)),d=r(n(359)),p=r(n(601)),h=d.default.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){var e;this.add((0,l.createCallout)({content:(0,s.default)(e="".concat((0,l.loc)("email.code.not.received","login"),"\n        <a class='resend-link'>")).call(e,(0,l.loc)("email.button.resend","login"),"</a>"),type:"warning"}))},handelResendLink:function(){this.options.appState.trigger("invokeAction",this.options.resendEmailAction),this.$el.hasClass("hide")||this.$el.addClass("hide"),this.showCalloutAfterTimeout()}}),m=p.default.extend((0,a.default)({save:function(){return(0,l.loc)("mfa.challenge.verify","login")},initialize:function(){p.default.prototype.initialize.apply(this,arguments),this.add(h,{selector:".o-form-error-container",options:{resendEmailAction:this.resendEmailAction}}),this.startPolling()},saveForm:function(){u.BaseForm.prototype.saveForm.apply(this,arguments),this.stopPolling()},remove:function(){u.BaseForm.prototype.remove.apply(this,arguments),this.stopPolling()},triggerAfterError:function(e,t){var n,r;u.BaseForm.prototype.triggerAfterError.apply(this,arguments);var a=!!this.polling;this.stopPolling(),(null===(n=t.responseJSON)||void 0===n?void 0:null===(r=n.errorSummaryKeys)||void 0===r?void 0:(0,i.default)(r).call(r,"idx.session.expired"))||(this.isRateLimitError(t)?(a&&(0,o.default)(function(){e.trigger("clearFormError")},0),this.startPolling(6e4)):this.startPolling(this.options.appState.get("dynamicRefreshInterval")))},isRateLimitError:function(e){var t,n,r,o;return((null===(t=e.responseJSON)||void 0===t?void 0:null===(n=t.errorSummaryKeys)||void 0===n?void 0:(0,i.default)(n).call(n,"tooManyRequests"))||"E0000047"===(null===(r=e.responseJSON)||void 0===r?void 0:r.errorCode))&&!(null===(o=e.responseJSON)||void 0===o?void 0:o.errorIntent)}},c.default)),v=f.default.extend({Body:m});t.default=v},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(4)),a=n(2),s=n(24),l=a.View.extend({className:"switch-channel-text",template:i.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="switch-channel-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:63},end:{line:1,column:116}}}))+"</a>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.switch.channel.link.text"},data:o,loc:{start:{line:1,column:128},end:{line:1,column:208}}}))?i:""},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isQRcodeChannel"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:1,column:215}}}))?i:""},useData:!0}),getTemplateData:function(){return{isQRcodeChannel:"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel}},postRender:function(){var e,t=this;(0,o.default)(e=this.$el).call(e,".switch-channel-link").on("click",function(e){var n=t.options.appState;e.preventDefault(),n.trigger("switchForm",s.FORMS.SELECT_ENROLLMENT_CHANNEL)})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.Body=t.default=void 0;var o=r(n(78)),i=r(n(10)),a=r(n(4)),s=n(2),l=n(5),u=r(n(258)),c=n(107),f=r(n(14)),d=n(24),p=s.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression((i=null!=(i=a(n,"warning")||(null!=t?a(t,"warning"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):i))+"</p>"},useData:!0})}),h=l.BaseForm.extend((0,i.default)({noButtonBar:!0,title:function(){return this.isOV()?(0,s.loc)("oie.okta_verify.push.title","login"):(0,s.loc)("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},initialize:function(){l.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPoll),this.addView()},addView:function(){this.add((0,s.createButton)({className:"button button-wide button-primary send-push link-button-disabled",title:this.isOV()?(0,s.loc)("oie.okta_verify.push.sent","login"):(0,s.loc)("oie.custom_app.push.sent","login"),click:function(e){e.preventDefault()}})),this.add("<span class='accessibility-text' role='alert'>\n        ".concat(this.isOV()?(0,s.loc)("oie.okta_verify.push.sent","login"):(0,s.loc)("oie.custom_app.push.sent","login"),"</span>"))},postRender:function(){var e=this.isOV()?"okta-verify-push-challenge":" custom-app-push-challenge";this.$el.addClass(e),this.startPoll()},startPoll:function(){var e=this;this.startPolling(),this.warningTimeout=(0,o.default)(function(){var t=e.isOV()?(0,s.loc)("oktaverify.warning","login"):(0,s.loc)("oie.custom_app.push.warning","login",[e.options.appState.getAuthenticatorDisplayName()]);e.showWarning(t)},c.WARNING_TIMEOUT)},stopPoll:function(){this.stopPolling(),this.clearWarning()},showWarning:function(e){this.clearWarning(),this.add(p,".o-form-error-container",{options:{warning:e}})},clearWarning:function(){this.$(".o-form-error-container div").hasClass("okta-form-infobox-warning")&&this.$(".okta-form-infobox-warning").remove(),clearTimeout(this.warningTimeout)},remove:function(){l.BaseForm.prototype.remove.apply(this,arguments),this.stopPolling()},isOV:function(){return this.options.appState.get("authenticatorKey")===d.AUTHENTICATOR_KEY.OV}},u.default));t.Body=h;var m=f.default.extend({Body:h});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(328)),a=n(5),s=a.BaseForm.extend({noButtonBar:!0,postRender:function(){var e=this,t=this.getContextualData(),n=this.add('<iframe frameborder="0" title="\''.concat(this.title(),"'\"></iframe>")).last();try{i.default.init({host:t.host,sig_request:t.signedToken,iframe:n.el,post_action:function(t){e.model.set("credentials.signatureData",t),e.saveForm(e.model)}})}catch(e){n.remove(),this.add((0,o.createCallout)({type:"error",subtitle:(0,o.loc)("oie.duo.iFrameError","login")}),".o-form-error-container")}},getContextualData:function(){}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=n(2),s=n(5),l=s.BaseForm.extend({initialize:function(){s.BaseForm.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0)},showMessages:function(){var e=this,t=this.options.appState.get("messages")||{};if((0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container”></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;"ERROR"===t.class?e.add((0,a.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}});t.default=l},function(e,t,n){n(622),n(623),e.exports=n(854)},function(e,t,n){/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var r=function(e){"use strict";function t(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}function n(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function i(){}function a(){}function s(e){["next","throw","return"].forEach(function(n){t(e,n,function(e){return this._invoke(n,e)})})}function l(e,t){function n(o,i,a,s){var l=r(e[o],e,i);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&y.call(c,"__await")?t.resolve(c.__await).then(function(e){n("next",e,a,s)},function(e){n("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return n("throw",e,a,s)})}s(l.arg)}function o(e,r){function o(){return new t(function(t,o){n(e,r,t,o)})}return i=i?i.then(o,o):o()}var i;this._invoke=o}function u(e,t,n){var o=E;return function(i,a){if(o===S)throw new Error("Generator is already running");if(o===k){if("throw"===i)throw a;return m()}for(n.method=i,n.arg=a;;){var s=n.delegate;if(s){var l=c(s,n);if(l){if(l===O)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===E)throw o=k,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=S;var u=r(e,t,n);if("normal"===u.type){if(o=n.done?k:T,u.arg===O)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=k,n.method="throw",n.arg=u.arg)}}}function c(e,t){var n=e.iterator[t.method];if(n===v){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=v,c(e,t),"throw"===t.method))return O;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return O}var o=r(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,O;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=v),t.delegate=null,O):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,O)}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[_];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=v,t.done=!0,t};return r.next=r}}return{next:m}}function m(){return{value:v,done:!0}}var v,g=Object.prototype,y=g.hasOwnProperty,b="function"==typeof Symbol?Symbol:{},_=b.iterator||"@@iterator",w=b.asyncIterator||"@@asyncIterator",x=b.toStringTag||"@@toStringTag";try{t({},"")}catch(e){t=function(e,t,n){return e[t]=n}}e.wrap=n;var E="suspendedStart",T="suspendedYield",S="executing",k="completed",O={},A={};A[_]=function(){return this};var C=Object.getPrototypeOf,R=C&&C(C(h([])));R&&R!==g&&y.call(R,_)&&(A=R);var I=a.prototype=o.prototype=Object.create(A);return i.prototype=I.constructor=a,a.constructor=i,i.displayName=t(a,x,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,t(e,x,"GeneratorFunction")),e.prototype=Object.create(I),e},e.awrap=function(e){return{__await:e}},s(l.prototype),l.prototype[w]=function(){return this},e.AsyncIterator=l,e.async=function(t,r,o,i,a){void 0===a&&(a=Promise);var s=new l(n(t,r,o,i),a);return e.isGeneratorFunction(r)?s:s.next().then(function(e){return e.done?e.value:s.next()})},s(I),t(I,x,"Generator"),I[_]=function(){return this},I.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=h,p.prototype={constructor:p,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(d),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=v)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=v),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=y.call(o,"catchLoc"),s=y.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,O):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),O},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),O}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;d(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=v),O}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){n(624),n(844);var r=n(170);e.exports=r},function(e,t,n){n(625),n(626),n(627),n(628),n(629),n(630),n(631),n(632),n(633),n(634),n(635),n(636),n(637),n(638),n(639),n(640),n(641),n(643),n(644),n(645),n(646),n(647),n(648),n(649),n(650),n(651),n(652),n(653),n(654),n(655),n(656),n(657),n(658),n(659),n(660),n(661),n(662),n(663),n(664),n(665),n(666),n(667),n(668),n(669),n(211),n(670),n(671),n(672),n(673),n(674),n(675),n(676),n(677),n(678),n(679),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(687),n(688),n(689),n(690),n(691),n(692),n(693),n(694),n(696),n(697),n(698),n(699),n(700),n(701),n(702),n(703),n(704),n(705),n(706),n(707),n(708),n(709),n(710),n(711),n(712),n(713),n(714),n(715),n(716),n(382),n(717),n(718),n(719),n(720),n(721),n(722),n(723),n(724),n(725),n(726),n(727),n(728),n(729),n(730),n(731),n(278),n(732),n(733),n(734),n(735),n(736),n(737),n(738),n(739),n(740),n(742),n(743),n(744),n(745),n(746),n(747),n(748),n(749),n(750),n(751),n(752),n(753),n(754),n(755),n(756),n(757),n(758),n(760),n(761),n(762),n(763),n(764),n(765),n(766),n(767),n(768),n(769),n(770),n(771),n(772),n(774),n(775),n(777),n(778),n(779),n(782),n(783),n(784),n(785),n(786),n(787),n(788),n(789),n(791),n(792),n(793),n(794),n(796),n(797),n(798),n(799),n(800),n(801),n(802),n(803),n(804),n(805),n(806),n(807),n(808),n(809),n(811),n(812),n(813),n(814),n(815),n(816),n(817),n(818),n(819),n(820),n(821),n(822),n(823),n(824),n(825),n(826),n(827),n(828),n(829),n(830),n(831),n(832);n(833),n(834),n(835),n(836),n(837),n(838),n(839),n(840),n(841),n(842),n(843);var r=n(170);e.exports=r},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(63),a=n(71),s=n(19),l=n(268),u=n(364),c=n(6),f=n(37),d=n(125),p=n(15),h=n(16),m=n(33),v=n(62),g=n(81),y=n(99),b=n(93),_=n(174),w=n(123),x=n(366),E=n(267),T=n(48),S=n(25),k=n(207),O=n(50),A=n(51),C=n(264),R=n(208),I=n(169),N=n(168),M=n(20),P=n(367),L=n(60),D=n(82),j=n(57),F=n(46).forEach,U=R("hidden"),B=M("toPrimitive"),V=j.set,q=j.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,z=i("JSON","stringify"),K=T.f,$=S.f,G=x.f,Y=k.f,J=C("symbols"),Q=C("op-symbols"),X=C("string-to-symbol-registry"),Z=C("symbol-to-string-registry"),ee=C("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c(function(){return 7!=b($({},"a",{get:function(){return $(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=K(H,t);r&&delete H[t],$(e,t,n),r&&e!==H&&$(H,t,r)}:$,oe=function(e,t){var n=J[e]=b(W.prototype);return V(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},ie=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof W},ae=function(e,t,n){e===H&&ae(Q,t,n),h(e);var r=g(t,!0);return h(n),f(J,r)?(n.enumerable?(f(e,U)&&e[U][r]&&(e[U][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,U)||$(e,U,y(1,{})),e[U][r]=!0),re(e,r,n)):$(e,r,n)},se=function(e,t){h(e);var n=v(t),r=_(n).concat(de(n));return F(r,function(t){s&&!ue.call(n,t)||ae(e,t,n[t])}),e},le=function(e,t){return void 0===t?b(e):se(b(e),t)},ue=function(e){var t=g(e,!0),n=Y.call(this,t);return!(this===H&&f(J,t)&&!f(Q,t))&&(!(n||!f(this,t)||!f(J,t)||f(this,U)&&this[U][t])||n)},ce=function(e,t){var n=v(e),r=g(t,!0);if(n!==H||!f(J,r)||f(Q,r)){var o=K(n,r);return!o||!f(J,r)||f(n,U)&&n[U][r]||(o.enumerable=!0),o}},fe=function(e){var t=G(v(e)),n=[];return F(t,function(e){f(J,e)||f(I,e)||n.push(e)}),n},de=function(e){var t=e===H,n=G(t?Q:v(e)),r=[];return F(n,function(e){!f(J,e)||t&&!f(H,e)||r.push(J[e])}),r};if(l||(W=function(){if(this instanceof W)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=N(e),n=function(e){this===H&&n.call(Q,e),f(this,U)&&f(this[U],t)&&(this[U][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)},A(W.prototype,"toString",function(){return q(this).tag}),A(W,"withoutSetter",function(e){return oe(N(e),e)}),k.f=ue,S.f=ae,T.f=ce,w.f=x.f=fe,E.f=de,P.f=function(e){return oe(M(e),e)},s&&($(W.prototype,"description",{configurable:!0,get:function(){return q(this).description}}),a||A(H,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),F(_(ee),function(e){L(e)}),r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=String(e);if(f(X,t))return X[t];var n=W(t);return X[t]=n,Z[n]=t,n},keyFor:function(e){if(!ie(e))throw TypeError(e+" is not a symbol");if(f(Z,e))return Z[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!l,sham:!s},{create:le,defineProperty:ae,defineProperties:se,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:fe,getOwnPropertySymbols:de}),r({target:"Object",stat:!0,forced:c(function(){E.f(1)})},{getOwnPropertySymbols:function(e){return E.f(m(e))}}),z){r({target:"JSON",stat:!0,forced:!l||c(function(){var e=W();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!ie(e))return d(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!ie(t))return t}),o[1]=t,z.apply(null,o)}})}W.prototype[B]||O(W.prototype,B,W.prototype.valueOf),D(W,"Symbol"),I[U]=!0},function(e,t,n){n(60)("asyncIterator")},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(9),a=n(37),s=n(15),l=n(25).f,u=n(362),c=i.Symbol;if(o&&"function"==typeof c&&(!("description"in c.prototype)||void 0!==c().description)){var f={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new c(e):void 0===e?c():c(e);return""===e&&(f[t]=!0),t};u(d,c);var p=d.prototype=c.prototype;p.constructor=d;var h=p.toString,m="Symbol(test)"==String(c("test")),v=/^Symbol\((.*)\)[^)]+$/;l(p,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=m?t.slice(7,-1):t.replace(v,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:d})}},function(e,t,n){n(60)("hasInstance")},function(e,t,n){n(60)("isConcatSpreadable")},function(e,t,n){n(60)("iterator")},function(e,t,n){n(60)("match")},function(e,t,n){n(60)("matchAll")},function(e,t,n){n(60)("replace")},function(e,t,n){n(60)("search")},function(e,t,n){n(60)("species")},function(e,t,n){n(60)("split")},function(e,t,n){n(60)("toPrimitive")},function(e,t,n){n(60)("toStringTag")},function(e,t,n){n(60)("unscopables")},function(e,t,n){"use strict";var r=n(3),o=n(73),i=n(111),a=n(93),s=n(50),l=n(99),u=n(112),c=function(e,t){var n=this;if(!(n instanceof c))return new c(e,t);i&&(n=i(new Error(void 0),o(n))),void 0!==t&&s(n,"message",String(t));var r=[];return u(e,r.push,{that:r}),s(n,"errors",r),n};c.prototype=a(Error.prototype,{constructor:l(5,c),message:l(5,""),name:l(5,"AggregateError")}),r({global:!0},{AggregateError:c})},function(e,t,n){var r=n(3),o=n(370);r({target:"Array",stat:!0,forced:!n(209)(function(e){Array.from(e)})},{from:o})},function(e,t,n){var r=n(16),o=n(369);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},function(e,t,n){n(3)({target:"Array",stat:!0},{isArray:n(125)})},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(126);r({target:"Array",stat:!0,forced:o(function(){function e(){}return!(Array.of.call(e)instanceof e)})},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(125),a=n(15),s=n(33),l=n(23),u=n(126),c=n(175),f=n(179),d=n(20),p=n(143),h=d("isConcatSpreadable"),m=p>=51||!o(function(){var e=[];return e[h]=!1,e.concat()[0]!==e}),v=f("concat"),g=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!m||!v},{concat:function(e){var t,n,r,o,i,a=s(this),f=c(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],g(i)){if(o=l(i.length),d+o>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,d++)n in i&&u(f,d,i[n])}else{if(d>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(f,d++,i)}return f.length=d,f}})},function(e,t,n){var r=n(3),o=n(371),i=n(113);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(3),o=n(46).every;r({target:"Array",proto:!0,forced:!n(101)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(3),o=n(273),i=n(113);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(3),o=n(46).filter;r({target:"Array",proto:!0,forced:!n(179)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(46).find,i=n(113),a=!0;"find"in[]&&Array(1).find(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){"use strict";var r=n(3),o=n(46).findIndex,i=n(113),a=!0;"findIndex"in[]&&Array(1).findIndex(function(){a=!1}),r({target:"Array",proto:!0,forced:a},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(3),o=n(372),i=n(33),a=n(23),s=n(72),l=n(175);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){"use strict";var r=n(3),o=n(372),i=n(33),a=n(23),s=n(58),l=n(175);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),t=l(n,0),t.length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(3),o=n(373);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(3),o=n(171).includes,i=n(113);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(3),o=n(171).indexOf,i=n(101),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=i("indexOf");r({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(167),i=n(62),a=n(101),s=[].join,l=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:l||!u},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(3),o=n(374);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(3),o=n(46).map;r({target:"Array",proto:!0,forced:!n(179)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(210).left,i=n(101),a=n(143),s=n(124),l=i("reduce"),u=!s&&a>79&&a<83;r({target:"Array",proto:!0,forced:!l||u},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(210).right,i=n(101),a=n(143),s=n(124),l=i("reduceRight"),u=!s&&a>79&&a<83;r({target:"Array",proto:!0,forced:!l||u},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(125),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){"use strict";var r=n(3),o=n(15),i=n(125),a=n(109),s=n(23),l=n(62),u=n(126),c=n(20),f=n(179),d=f("slice"),p=c("species"),h=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,r,c,f=l(this),d=s(f.length),v=a(e,d),g=a(void 0===t?d:t,d);if(i(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[p])&&(n=void 0):n=void 0,n===Array||void 0===n))return h.call(f,v,g);for(r=new(void 0===n?Array:n)(m(g-v,0)),c=0;v<g;v++,c++)v in f&&u(r,c,f[v]);return r.length=c,r}})},function(e,t,n){"use strict";var r=n(3),o=n(46).some;r({target:"Array",proto:!0,forced:!n(101)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(58),i=n(33),a=n(6),s=n(101),l=[],u=l.sort,c=a(function(){l.sort(void 0)}),f=a(function(){l.sort(null)}),d=s("sort");r({target:"Array",proto:!0,forced:c||!f||!d},{sort:function(e){return void 0===e?u.call(i(this)):u.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(3),o=n(109),i=n(72),a=n(23),s=n(33),l=n(175),u=n(126),c=n(179),f=c("splice"),d=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!f},{splice:function(e,t){var n,r,c,f,h,m,v=s(this),g=a(v.length),y=o(e,g),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=g-y):(n=b-2,r=p(d(i(t),0),g-y)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(v,r),f=0;f<r;f++)(h=y+f)in v&&u(c,f,v[h]);if(c.length=r,n<r){for(f=y;f<g-r;f++)h=f+r,m=f+n,h in v?v[m]=v[h]:delete v[m];for(f=g;f>g-r+n;f--)delete v[f-1]}else if(n>r)for(f=g-r;f>y;f--)h=f+r-1,m=f+n-1,h in v?v[m]=v[h]:delete v[m];for(f=0;f<n;f++)v[f+y]=arguments[f+2];return v.length=g-r+n,c}})},function(e,t,n){n(144)("Array")},function(e,t,n){n(113)("flat")},function(e,t,n){n(113)("flatMap")},function(e,t,n){n(3)({target:"Function",proto:!0},{bind:n(376)})},function(e,t,n){var r=n(19),o=n(25).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(15),o=n(25),i=n(73),a=n(20),s=a("hasInstance"),l=Function.prototype;s in l||o.f(l,s,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){n(3)({global:!0},{globalThis:n(9)})},function(e,t,n){var r=n(3),o=n(377);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(3)({target:"Object",stat:!0,sham:!n(19)},{create:n(93)})},function(e,t,n){var r=n(3),o=n(19);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(25).f})},function(e,t,n){var r=n(3),o=n(19);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(269)})},function(e,t,n){var r=n(3),o=n(378).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(3),o=n(180),i=n(6),a=n(15),s=n(127).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){l(1)}),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){var r=n(3),o=n(112),i=n(126);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,function(e,n){i(t,e,n)},{AS_ENTRIES:!0}),t}})},function(e,t,n){var r=n(3),o=n(6),i=n(62),a=n(48).f,s=n(19),l=o(function(){a(1)});r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(3),o=n(19),i=n(265),a=n(62),s=n(48),l=n(126);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,u=i(r),c={},f=0;u.length>f;)void 0!==(n=o(r,t=u[f++]))&&l(c,t,n);return c}})},function(e,t,n){var r=n(3),o=n(6),i=n(366).f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},function(e,t,n){var r=n(3),o=n(6),i=n(33),a=n(73),s=n(270);r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){n(3)({target:"Object",stat:!0},{is:n(379)})},function(e,t,n){var r=n(3),o=n(6),i=n(15),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isExtensible:function(e){return!!i(e)&&(!a||a(e))}})},function(e,t,n){var r=n(3),o=n(6),i=n(15),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isFrozen:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(3),o=n(6),i=n(15),a=Object.isSealed;r({target:"Object",stat:!0,forced:o(function(){a(1)})},{isSealed:function(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(3),o=n(33),i=n(174);r({target:"Object",stat:!0,forced:n(6)(function(){i(1)})},{keys:function(e){return i(o(e))}})},function(e,t,n){var r=n(3),o=n(15),i=n(127).onFreeze,a=n(180),s=n(6),l=Object.preventExtensions;r({target:"Object",stat:!0,forced:s(function(){l(1)}),sham:!a},{preventExtensions:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){var r=n(3),o=n(15),i=n(127).onFreeze,a=n(180),s=n(6),l=Object.seal;r({target:"Object",stat:!0,forced:s(function(){l(1)}),sham:!a},{seal:function(e){return l&&o(e)?l(i(e)):e}})},function(e,t,n){n(3)({target:"Object",stat:!0},{setPrototypeOf:n(111)})},function(e,t,n){var r=n(3),o=n(378).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(272),o=n(51),i=n(695);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(272),o=n(178);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(212),a=n(33),s=n(58),l=n(25);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){l.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(212),a=n(33),s=n(58),l=n(25);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){l.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(212),a=n(33),s=n(81),l=n(73),u=n(48).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=u(n,r))return t.get}while(n=l(n))}})},function(e,t,n){"use strict";var r=n(3),o=n(19),i=n(212),a=n(33),s=n(81),l=n(73),u=n(48).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=u(n,r))return t.set}while(n=l(n))}})},function(e,t,n){var r=n(3),o=n(109),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(3),o=n(62),i=n(23);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){"use strict";var r=n(3),o=n(213).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(3),o=n(48).f,i=n(23),a=n(276),s=n(49),l=n(277),u=n(71),c="".endsWith,f=Math.min,d=l("endsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}()||d)},{endsWith:function(e){var t=String(s(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),o=void 0===n?r:f(i(n),r),l=String(e);return c?c.call(t,l,o):t.slice(o-l.length,o)===l}})},function(e,t,n){"use strict";var r=n(3),o=n(276),i=n(49);r({target:"String",proto:!0,forced:!n(277)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(214),o=n(16),i=n(23),a=n(49),s=n(217),l=n(218);r("match",1,function(e,t,n){return[function(t){var n=a(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),u=String(this);if(!a.global)return l(a,u);var c=a.unicode;a.lastIndex=0;for(var f,d=[],p=0;null!==(f=l(a,u));){var h=String(f[0]);d[p]=h,""===h&&(a.lastIndex=s(u,i(a.lastIndex),c)),p++}return 0===p?null:d}]})},function(e,t,n){"use strict";var r=n(3),o=n(275),i=n(49),a=n(23),s=n(58),l=n(16),u=n(100),c=n(181),f=n(145),d=n(50),p=n(6),h=n(20),m=n(102),v=n(217),g=n(57),y=n(71),b=h("matchAll"),_=g.set,w=g.getterFor("RegExp String Iterator"),x=RegExp.prototype,E=x.exec,T="".matchAll,S=!!T&&!p(function(){"a".matchAll(/./)}),k=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return E.call(e,t)},O=o(function(e,t,n,r){_(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})},"RegExp String",function(){var e=w(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=k(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""==String(r[0])&&(t.lastIndex=v(n,a(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})}),A=function(e){var t,n,r,o,i,s,u=l(this),c=String(e);return t=m(u,RegExp),n=u.flags,void 0===n&&u instanceof RegExp&&!("flags"in x)&&(n=f.call(u)),r=void 0===n?"":String(n),o=new t(t===RegExp?u.source:u,r),i=!!~r.indexOf("g"),s=!!~r.indexOf("u"),o.lastIndex=a(u.lastIndex),new O(o,c,i,s)};r({target:"String",proto:!0,forced:S},{matchAll:function(e){var t,n,r,o,a=i(this);if(null!=e){if(c(e)&&(t=String(i("flags"in x?e.flags:f.call(e))),!~t.indexOf("g")))throw TypeError("`.matchAll` does not allow non-global regexes");if(S)return T.apply(a,arguments);if(r=e[b],void 0===r&&y&&"RegExp"==u(e)&&(r=A),null!=r)return s(r).call(e,a)}else if(S)return T.apply(a,arguments);return n=String(a),o=new RegExp(e,"g"),y?A.call(o,n):o[b](n)}}),y||b in x||d(x,b,A)},function(e,t,n){"use strict";var r=n(3),o=n(279).end;r({target:"String",proto:!0,forced:n(380)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(3),o=n(279).start;r({target:"String",proto:!0,forced:n(380)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(3)({target:"String",proto:!0},{repeat:n(280)})},function(e,t,n){"use strict";var r=n(214),o=n(16),i=n(23),a=n(72),s=n(49),l=n(217),u=n(381),c=n(218),f=Math.max,d=Math.min,p=function(e){return void 0===e?e:String(e)};r("replace",2,function(e,t,n,r){var h=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,v=h?"$":"$0";return[function(n,r){var o=s(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!h&&m||"string"==typeof r&&-1===r.indexOf(v)){var s=n(t,e,this,r);if(s.done)return s.value}var g=o(e),y=String(this),b="function"==typeof r;b||(r=String(r));var _=g.global;if(_){var w=g.unicode;g.lastIndex=0}for(var x=[];;){var E=c(g,y);if(null===E)break;if(x.push(E),!_)break;""===String(E[0])&&(g.lastIndex=l(y,i(g.lastIndex),w))}for(var T="",S=0,k=0;k<x.length;k++){E=x[k];for(var O=String(E[0]),A=f(d(a(E.index),y.length),0),C=[],R=1;R<E.length;R++)C.push(p(E[R]));var I=E.groups;if(b){var N=[O].concat(C,A,y);void 0!==I&&N.push(I);var M=String(r.apply(void 0,N))}else M=u(O,y,A,C,I,r);A>=S&&(T+=y.slice(S,A)+M,S=A+O.length)}return T+y.slice(S)}]})},function(e,t,n){"use strict";var r=n(214),o=n(16),i=n(49),a=n(379),s=n(218);r("search",1,function(e,t,n){return[function(t){var n=i(this),r=void 0==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),l=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var c=s(i,l);return a(i.lastIndex,u)||(i.lastIndex=u),null===c?-1:c.index}]})},function(e,t,n){"use strict";var r=n(214),o=n(181),i=n(16),a=n(49),s=n(102),l=n(217),u=n(23),c=n(218),f=n(215),d=n(6),p=[].push,h=Math.min,m=!d(function(){return!RegExp(4294967295,"y")});r("split",2,function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,u,c=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,m=new RegExp(e.source,d+"g");(s=f.call(m,r))&&!((l=m.lastIndex)>h&&(c.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&p.apply(c,s.slice(1)),u=s[0].length,h=l,c.length>=i));)m.lastIndex===s.index&&m.lastIndex++;return h===r.length?!u&&m.test("")||c.push(""):c.push(r.slice(h)),c.length>i?c.slice(0,i):c}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),d=String(this),p=s(f,RegExp),v=f.unicode,g=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(m?"y":"g"),y=new p(m?f:"^(?:"+f.source+")",g),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===d.length)return null===c(y,d)?[d]:[];for(var _=0,w=0,x=[];w<d.length;){y.lastIndex=m?w:0;var E,T=c(y,m?d:d.slice(w));if(null===T||(E=h(u(y.lastIndex+(m?0:w)),d.length))===_)w=l(d,w,v);else{if(x.push(d.slice(_,w)),x.length===b)return x;for(var S=1;S<=T.length-1;S++)if(x.push(T[S]),x.length===b)return x;w=_=E}}return x.push(d.slice(_)),x}]},!m)},function(e,t,n){"use strict";var r=n(3),o=n(48).f,i=n(23),a=n(276),s=n(49),l=n(277),u=n(71),c="".startsWith,f=Math.min,d=l("startsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}()||d)},{startsWith:function(e){var t=String(s(this));a(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";var r=n(3),o=n(146).trim;r({target:"String",proto:!0,forced:n(281)("trim")},{trim:function(){return o(this)}})},function(e,t,n){"use strict";var r=n(3),o=n(146).start,i=n(281),a=i("trimStart"),s=a?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:a},{trimStart:s,trimLeft:s})},function(e,t,n){"use strict";var r=n(3),o=n(146).end,i=n(281),a=i("trimEnd"),s=a?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:a},{trimEnd:s,trimRight:s})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("big")},{big:function(){return o(this,"big","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("blink")},{blink:function(){return o(this,"blink","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("bold")},{bold:function(){return o(this,"b","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("italics")},{italics:function(){return o(this,"i","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("small")},{small:function(){return o(this,"small","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("strike")},{strike:function(){return o(this,"strike","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("sub")},{sub:function(){return o(this,"sub","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(64);r({target:"String",proto:!0,forced:n(65)("sup")},{sup:function(){return o(this,"sup","","")}})},function(e,t,n){"use strict";var r=n(3),o=n(49),i=n(181),a=n(145),s=n(381),l=n(20),u=n(71),c=l("replace"),f=RegExp.prototype,d=Math.max,p=function(e,t,n){return n>e.length?-1:""===t?n:e.indexOf(t,n)};r({target:"String",proto:!0},{replaceAll:function(e,t){var n,r,l,h,m,v,g,y,b,_=o(this),w=0,x=0,E="";if(null!=e){if((n=i(e))&&(r=String(o("flags"in f?e.flags:a.call(e))),!~r.indexOf("g")))throw TypeError("`.replaceAll` does not allow non-global regexes");if(void 0!==(l=e[c]))return l.call(e,_,t);if(u&&n)return String(_).replace(e,t)}for(h=String(_),m=String(e),v="function"==typeof t,v||(t=String(t)),g=m.length,y=d(1,g),w=p(h,m,0);-1!==w;)b=v?String(t(m,w,h)):s(m,h,w,[],void 0,t),E+=h.slice(x,w)+b,x=w+g,w=p(h,m,w+y);return x<h.length&&(E+=h.slice(x)),E}})},function(e,t,n){var r=n(19),o=n(9),i=n(172),a=n(220),s=n(25).f,l=n(123).f,u=n(181),c=n(145),f=n(216),d=n(51),p=n(6),h=n(57).set,m=n(144),v=n(20),g=v("match"),y=o.RegExp,b=y.prototype,_=/a/g,w=/a/g,x=new y(_)!==_,E=f.UNSUPPORTED_Y;if(r&&i("RegExp",!x||E||p(function(){return w[g]=!1,y(_)!=_||y(w)==w||"/a/i"!=y(_,"i")}))){for(var T=function(e,t){var n,r=this instanceof T,o=u(e),i=void 0===t;if(!r&&o&&e.constructor===T&&i)return e;x?o&&!i&&(e=e.source):e instanceof T&&(i&&(t=c.call(e)),e=e.source),E&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var s=a(x?new y(e,t):y(e,t),r?this:b,T);return E&&n&&h(s,{sticky:n}),s},S=l(y),k=0;S.length>k;)!function(e){e in T||s(T,e,{configurable:!0,get:function(){return y[e]},set:function(t){y[e]=t}})}(S[k++]);b.constructor=T,T.prototype=b,d(o,"RegExp",T)}m("RegExp")},function(e,t,n){var r=n(19),o=n(25),i=n(145),a=n(216).UNSUPPORTED_Y;r&&("g"!=/./g.flags||a)&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(e,t,n){var r=n(19),o=n(216).UNSUPPORTED_Y,i=n(25).f,a=n(57).get,s=RegExp.prototype;r&&o&&i(RegExp.prototype,"sticky",{configurable:!0,get:function(){if(this!==s){if(this instanceof RegExp)return!!a(this).sticky;throw TypeError("Incompatible receiver, RegExp required")}}})},function(e,t,n){"use strict";n(278);var r=n(3),o=n(15),i=/./.test;r({target:"RegExp",proto:!0,forced:!function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}()},{test:function(e){if("function"!=typeof this.exec)return i.call(this,e);var t=this.exec(e);if(null!==t&&!o(t))throw new Error("RegExp exec method returned something other than an Object or null");return!!t}})},function(e,t,n){"use strict";var r=n(51),o=n(16),i=n(6),a=n(145),s=RegExp.prototype,l=s.toString,u=i(function(){return"/a/b"!=l.call({source:"a",flags:"b"})}),c="toString"!=l.name;(u||c)&&r(RegExp.prototype,"toString",function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)},{unsafe:!0})},function(e,t,n){var r=n(3),o=n(383);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(3),o=n(384);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){"use strict";var r=n(19),o=n(9),i=n(172),a=n(51),s=n(37),l=n(100),u=n(220),c=n(81),f=n(6),d=n(93),p=n(123).f,h=n(48).f,m=n(25).f,v=n(146).trim,g=o.Number,y=g.prototype,b="Number"==l(d(y)),_=function(e){var t,n,r,o,i,a,s,l,u=c(e,!1);if("string"==typeof u&&u.length>2)if(u=v(u),43===(t=u.charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(i=u.slice(2),a=i.length,s=0;s<a;s++)if((l=i.charCodeAt(s))<48||l>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var w,x=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof x&&(b?f(function(){y.valueOf.call(n)}):"Number"!=l(n))?u(new g(_(t)),n,x):_(t)},E=r?p(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;E.length>T;T++)s(g,w=E[T])&&!s(x,w)&&m(x,w,h(g,w));x.prototype=y,y.constructor=x,a(o,"Number",x)}},function(e,t,n){n(3)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(3)({target:"Number",stat:!0},{isFinite:n(741)})},function(e,t,n){var r=n(9),o=r.isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){n(3)({target:"Number",stat:!0},{isInteger:n(385)})},function(e,t,n){n(3)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(3),o=n(385),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(3)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(3)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(3),o=n(384);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(3),o=n(383);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(3),o=n(72),i=n(386),a=n(280),s=n(6),l=1..toFixed,u=Math.floor,c=function(e,t,n){return 0===t?n:t%2==1?c(e,t-1,n*e):c(e*e,t/2,n)},f=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t},d=function(e,t,n){for(var r=-1,o=n;++r<6;)o+=t*e[r],e[r]=o%1e7,o=u(o/1e7)},p=function(e,t){for(var n=6,r=0;--n>=0;)r+=e[n],e[n]=u(r/t),r=r%t*1e7},h=function(e){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==e[t]){var r=String(e[t]);n=""===n?r:n+a.call("0",7-r.length)+r}return n};r({target:"Number",proto:!0,forced:l&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s(function(){l.call({})})},{toFixed:function(e){var t,n,r,s,l=i(this),u=o(e),m=[0,0,0,0,0,0],v="",g="0";if(u<0||u>20)throw RangeError("Incorrect fraction digits");if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(v="-",l=-l),l>1e-21)if(t=f(l*c(2,69,1))-69,n=t<0?l*c(2,-t,1):l/c(2,t,1),n*=4503599627370496,(t=52-t)>0){for(d(m,0,n),r=u;r>=7;)d(m,1e7,0),r-=7;for(d(m,c(10,r,1),0),r=t-1;r>=23;)p(m,1<<23),r-=23;p(m,1<<r),d(m,1,1),p(m,2),g=h(m)}else d(m,0,n),d(m,1<<-t,0),g=h(m)+a.call("0",u);return u>0?(s=g.length,g=v+(s<=u?"0."+a.call("0",u-s)+g:g.slice(0,s-u)+"."+g.slice(s-u))):g=v+g,g}})},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(386),a=1..toPrecision;r({target:"Number",proto:!0,forced:o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})},{toPrecision:function(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(3),o=n(387),i=Math.acosh,a=Math.log,s=Math.sqrt,l=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+l:o(e-1+s(e-1)*s(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):a(e+s(e*e+1)):e}var o=n(3),i=Math.asinh,a=Math.log,s=Math.sqrt;o({target:"Math",stat:!0,forced:!(i&&1/i(0)>0)},{asinh:r})},function(e,t,n){var r=n(3),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(3),o=n(282),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(3),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,n){var r=n(3),o=n(221),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},function(e,t,n){var r=n(3),o=n(221);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(3)({target:"Math",stat:!0},{fround:n(759)})},function(e,t,n){var r=n(282),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),l=i(2,127)*(2-s),u=i(2,-126),c=function(e){return e+1/a-1/a};e.exports=Math.fround||function(e){var t,n,i=o(e),f=r(e);return i<u?f*c(i/u/s)*u*s:(t=(1+s/a)*i,n=t-(t-i),n>l||n!=n?f*(1/0):f*n)}},function(e,t,n){var r=n(3),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(e,t){for(var n,r,o=0,s=0,l=arguments.length,u=0;s<l;)n=i(arguments[s++]),u<n?(r=u/n,o=o*r*r+1,u=n):n>0?(r=n/u,o+=r*r):o+=n;return u===1/0?1/0:u*a(o)}})},function(e,t,n){var r=n(3),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o(function(){return-5!=i(4294967295,5)||2!=i.length})},{imul:function(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(3),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(3)({target:"Math",stat:!0},{log1p:n(387)})},function(e,t,n){var r=n(3),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(3)({target:"Math",stat:!0},{sign:n(282)})},function(e,t,n){var r=n(3),o=n(6),i=n(221),a=Math.abs,s=Math.exp,l=Math.E;r({target:"Math",stat:!0,forced:o(function(){return-2e-17!=Math.sinh(-2e-17)})},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(l/2)}})},function(e,t,n){var r=n(3),o=n(221),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(82)(Math,"Math",!0)},function(e,t,n){var r=n(3),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){n(3)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(33),a=n(81);r({target:"Date",proto:!0,forced:o(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})},{toJSON:function(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(3),o=n(773);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(279).start,i=Math.abs,a=Date.prototype,s=a.getTime,l=a.toISOString;e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=l.call(new Date(-5e13-1))})||!r(function(){l.call(new Date(NaN))})?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+o(i(t),r?6:4,0)+"-"+o(e.getUTCMonth()+1,2,0)+"-"+o(e.getUTCDate(),2,0)+"T"+o(e.getUTCHours(),2,0)+":"+o(e.getUTCMinutes(),2,0)+":"+o(e.getUTCSeconds(),2,0)+"."+o(n,3,0)+"Z"}:l},function(e,t,n){var r=n(51),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",function(){var e=a.call(this);return e===e?i.call(this):"Invalid Date"})},function(e,t,n){var r=n(50),o=n(776),i=n(20),a=i("toPrimitive"),s=Date.prototype;a in s||r(s,a,o)},function(e,t,n){"use strict";var r=n(16),o=n(81);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(3),o=n(63),i=n(6),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,n){var r=n.charAt(t-1),o=n.charAt(t+1);return l.test(e)&&!u.test(o)||u.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},f=i(function(){return'"\\udf06\\ud834"'!==a("��")||'"\\udead"'!==a("�")});a&&r({target:"JSON",stat:!0,forced:f},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,c):r}})},function(e,t,n){var r=n(9);n(82)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r,o,i,a,s=n(3),l=n(71),u=n(9),c=n(63),f=n(388),d=n(51),p=n(147),h=n(82),m=n(144),v=n(15),g=n(58),y=n(114),b=n(262),_=n(112),w=n(209),x=n(102),E=n(283).set,T=n(390),S=n(391),k=n(781),O=n(222),A=n(284),C=n(57),R=n(172),I=n(20),N=n(124),M=n(143),P=I("species"),L="Promise",D=C.get,j=C.set,F=C.getterFor(L),U=f,B=u.TypeError,V=u.document,q=u.process,H=c("fetch"),W=O.f,z=W,K=!!(V&&V.createEvent&&u.dispatchEvent),$="function"==typeof PromiseRejectionEvent,G=R(L,function(){if(b(U)===String(U)){if(66===M)return!0;if(!N&&!$)return!0}if(l&&!U.prototype.finally)return!0;if(M>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e(function(){},function(){})},n=e.constructor={};return n[P]=t,!(e.then(function(){})instanceof t)}),Y=G||!w(function(e){U.all(e).catch(function(){})}),J=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;T(function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,s,l,u=n[i++],c=o?u.ok:u.fail,f=u.resolve,d=u.reject,p=u.domain;try{c?(o||(2===e.rejection&&te(e),e.rejection=1),!0===c?a=r:(p&&p.enter(),a=c(r),p&&(p.exit(),l=!0)),a===u.promise?d(B("Promise-chain cycle")):(s=J(a))?s.call(a,f,d):f(a)):d(r)}catch(e){p&&!l&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Z(e)})}},X=function(e,t,n){var r,o;K?(r=V.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},!$&&(o=u["on"+e])?o(r):"unhandledrejection"===e&&k("Unhandled promise rejection",n)},Z=function(e){E.call(u,function(){var t,n=e.facade,r=e.value,o=ee(e);if(o&&(t=A(function(){N?q.emit("unhandledRejection",r,n):X("unhandledrejection",n,r)}),e.rejection=N||ee(e)?2:1,t.error))throw t.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e){E.call(u,function(){var t=e.facade;N?q.emit("rejectionHandled",t):X("rejectionhandled",t,e.value)})},ne=function(e,t,n){return function(r){e(t,r,n)}},re=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Q(e,!0))},oe=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw B("Promise can't be resolved itself");var r=J(t);r?T(function(){var n={done:!1};try{r.call(t,ne(oe,n,e),ne(re,n,e))}catch(t){re(n,t,e)}}):(e.value=t,e.state=1,Q(e,!1))}catch(t){re({done:!1},t,e)}}};G&&(U=function(e){y(this,U,L),g(e),r.call(this);var t=D(this);try{e(ne(oe,t),ne(re,t))}catch(e){re(t,e)}},r=function(e){j(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})},r.prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=W(x(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=N?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=ne(oe,t),this.reject=ne(re,t)},O.f=W=function(e){return e===U||e===i?new o(e):z(e)},l||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",function(e,t){var n=this;return new U(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(U,H.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:G},{Promise:U}),h(U,L,!1,!0),m(L),i=c(L),s({target:L,stat:!0,forced:G},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||G},{resolve:function(e){return S(l&&this===i?U:this,e)}}),s({target:L,stat:!0,forced:Y},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=A(function(){var n=g(t.resolve),i=[],a=0,s=1;_(e,function(e){var l=a++,u=!1;i.push(void 0),s++,n.call(t,e).then(function(e){u||(u=!0,i[l]=e,--s||r(i))},o)}),--s||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=A(function(){var o=g(t.resolve);_(e,function(e){o.call(t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(173);e.exports=/web0s(?!.*chrome)/i.test(r)},function(e,t,n){var r=n(9);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(3),o=n(58),i=n(222),a=n(284),s=n(112);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=i.f(t),r=n.resolve,l=n.reject,u=a(function(){var n=o(t.resolve),i=[],a=0,l=1;s(e,function(e){var o=a++,s=!1;i.push(void 0),l++,n.call(t,e).then(function(e){s||(s=!0,i[o]={status:"fulfilled",value:e},--l||r(i))},function(e){s||(s=!0,i[o]={status:"rejected",reason:e},--l||r(i))})}),--l||r(i)});return u.error&&l(u.value),n.promise}})},function(e,t,n){"use strict";var r=n(3),o=n(58),i=n(63),a=n(222),s=n(284),l=n(112);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,c=s(function(){var n=o(t.resolve),a=[],s=0,c=1,f=!1;l(e,function(e){var o=s++,l=!1;a.push(void 0),c++,n.call(t,e).then(function(e){l||f||(f=!0,r(e))},function(e){l||f||(l=!0,a[o]=e,--c||u(new(i("AggregateError"))(a,"No one promise resolved")))})}),--c||u(new(i("AggregateError"))(a,"No one promise resolved"))});return c.error&&u(c.value),n.promise}})},function(e,t,n){"use strict";var r=n(3),o=n(71),i=n(388),a=n(6),s=n(63),l=n(102),u=n(391),c=n(51);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a(function(){i.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){"use strict";var r=n(223),o=n(392);e.exports=r("Map",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},o)},function(e,t,n){"use strict";var r=n(223),o=n(392);e.exports=r("Set",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},o)},function(e,t,n){"use strict";var r,o=n(9),i=n(147),a=n(127),s=n(223),l=n(393),u=n(15),c=n(57).enforce,f=n(361),d=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,b=v.get,_=v.set;i(v,{delete:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!p(e)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(223),o=n(393);r("WeakSet",function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},o)},function(e,t,n){"use strict";var r=n(3),o=n(9),i=n(224),a=n(144),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(e,t){var n=Math.abs,r=Math.pow,o=Math.floor,i=Math.log,a=Math.LN2,s=function(e,t,s){var l,u,c,f=new Array(s),d=8*s-t-1,p=(1<<d)-1,h=p>>1,m=23===t?r(2,-24)-r(2,-77):0,v=e<0||0===e&&1/e<0?1:0,g=0;for(e=n(e),e!=e||e===1/0?(u=e!=e?1:0,l=p):(l=o(i(e)/a),e*(c=r(2,-l))<1&&(l--,c*=2),e+=l+h>=1?m/c:m*r(2,1-h),e*c>=2&&(l++,c/=2),l+h>=p?(u=0,l=p):l+h>=1?(u=(e*c-1)*r(2,t),l+=h):(u=e*r(2,h-1)*r(2,t),l=0));t>=8;f[g++]=255&u,u/=256,t-=8);for(l=l<<t|u,d+=t;d>0;f[g++]=255&l,l/=256,d-=8);return f[--g]|=128*v,f},l=function(e,t){var n,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,u=o-1,c=e[u--],f=127&c;for(c>>=7;l>0;f=256*f+e[u],u--,l-=8);for(n=f&(1<<-l)-1,f>>=-l,l+=t;l>0;n=256*n+e[u],u--,l-=8);if(0===f)f=1-s;else{if(f===a)return n?NaN:c?-1/0:1/0;n+=r(2,t),f-=s}return(c?-1:1)*n*r(2,f-t)};e.exports={pack:s,unpack:l}},function(e,t,n){var r=n(3),o=n(21);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(3),o=n(6),i=n(224),a=n(16),s=n(109),l=n(23),u=n(102),c=i.ArrayBuffer,f=i.DataView,d=c.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o(function(){return!new c(2).slice(1,void 0).byteLength})},{slice:function(e,t){if(void 0!==d&&void 0===t)return d.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(u(this,c))(l(o-r)),p=new f(this),h=new f(i),m=0;r<o;)h.setUint8(m++,p.getUint8(r++));return i}})},function(e,t,n){var r=n(3),o=n(224);r({global:!0,forced:!n(285)},{DataView:o.DataView})},function(e,t,n){n(103)("Int8",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){var r=n(72);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){n(103)("Uint8",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Uint8",function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(103)("Int16",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Uint16",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Int32",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Uint32",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Float32",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(103)("Float64",function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){"use strict";var r=n(286);(0,n(21).exportTypedArrayStaticMethod)("from",n(396),r)},function(e,t,n){"use strict";var r=n(21),o=n(286),i=r.aTypedArrayConstructor;(0,r.exportTypedArrayStaticMethod)("of",function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n},o)},function(e,t,n){"use strict";var r=n(21),o=n(371),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(46).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(273),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(21),o=n(46).filter,i=n(810),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)})},function(e,t,n){var r=n(21).aTypedArrayConstructor,o=n(102);e.exports=function(e,t){for(var n=o(e,e.constructor),i=0,a=t.length,s=new(r(n))(a);a>i;)s[i]=t[i++];return s}},function(e,t,n){"use strict";var r=n(21),o=n(46).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(46).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(46).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(171).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(171).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(9),o=n(21),i=n(211),a=n(20),s=a("iterator"),l=r.Uint8Array,u=i.values,c=i.keys,f=i.entries,d=o.aTypedArray,p=o.exportTypedArrayMethod,h=l&&l.prototype[s],m=!!h&&("values"==h.name||void 0==h.name),v=function(){return u.call(d(this))};p("entries",function(){return f.call(d(this))}),p("keys",function(){return c.call(d(this))}),p("values",v,!m),p(s,v,!m)},function(e,t,n){"use strict";var r=n(21),o=r.aTypedArray,i=[].join;(0,r.exportTypedArrayMethod)("join",function(e){return i.apply(o(this),arguments)})},function(e,t,n){"use strict";var r=n(21),o=n(374),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",function(e){return o.apply(i(this),arguments)})},function(e,t,n){"use strict";var r=n(21),o=n(46).map,i=n(102),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,function(e,t){return new(s(i(e,e.constructor)))(t)})})},function(e,t,n){"use strict";var r=n(21),o=n(210).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=n(210).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t})},function(e,t,n){"use strict";var r=n(21),o=n(23),i=n(395),a=n(33),s=n(6),l=r.aTypedArray,u=r.exportTypedArrayMethod,c=s(function(){new Int8Array(1).set({})});u("set",function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),u=0;if(s+t>n)throw RangeError("Wrong length");for(;u<s;)this[t+u]=r[u++]},c)},function(e,t,n){"use strict";var r=n(21),o=n(102),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,u=[].slice,c=i(function(){new Int8Array(1).slice()});l("slice",function(e,t){for(var n=u.call(a(this),e,t),r=o(this,this.constructor),i=0,l=n.length,c=new(s(r))(l);l>i;)c[i]=n[i++];return c},c)},function(e,t,n){"use strict";var r=n(21),o=n(46).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)})},function(e,t,n){"use strict";var r=n(21),o=r.aTypedArray,i=[].sort;(0,r.exportTypedArrayMethod)("sort",function(e){return i.call(o(this),e)})},function(e,t,n){"use strict";var r=n(21),o=n(23),i=n(109),a=n(102),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))})},function(e,t,n){"use strict";var r=n(9),o=n(21),i=n(6),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,u=[].toLocaleString,c=[].slice,f=!!a&&i(function(){u.call(new a(1))}),d=i(function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()})||!i(function(){a.prototype.toLocaleString.call([1,2])});l("toLocaleString",function(){return u.apply(f?c.call(s(this)):s(this),arguments)},d)},function(e,t,n){"use strict";var r=n(21).exportTypedArrayMethod,o=n(6),i=n(9),a=i.Uint8Array,s=a&&a.prototype||{},l=[].toString,u=[].join;o(function(){l.call({})})&&(l=function(){return u.call(this)}),r("toString",l,s.toString!=l)},function(e,t,n){var r=n(3),o=n(63),i=n(58),a=n(16),s=n(6),l=o("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!s(function(){l(function(){})})},{apply:function(e,t,n){return i(e),a(n),l?l(e,t,n):u.call(e,t,n)}})},function(e,t,n){var r=n(3),o=n(63),i=n(58),a=n(16),s=n(15),l=n(93),u=n(376),c=n(6),f=o("Reflect","construct"),d=c(function(){function e(){}return!(f(function(){},[],e)instanceof e)}),p=!c(function(){f(function(){})}),h=d||p;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(p&&!d)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var o=n.prototype,c=l(s(o)?o:Object.prototype),h=Function.apply.call(e,c,t);return s(h)?h:c}})},function(e,t,n){var r=n(3),o=n(19),i=n(16),a=n(81),s=n(25);r({target:"Reflect",stat:!0,forced:n(6)(function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})}),sham:!o},{defineProperty:function(e,t,n){i(e);var r=a(t,!0);i(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(16),i=n(48).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){function r(e,t){var n,o,c=arguments.length<3?e:arguments[2];return a(e)===c?e[t]:(n=l.f(e,t))?s(n,"value")?n.value:void 0===n.get?void 0:n.get.call(c):i(o=u(e))?r(o,t,c):void 0}var o=n(3),i=n(15),a=n(16),s=n(37),l=n(48),u=n(73);o({target:"Reflect",stat:!0},{get:r})},function(e,t,n){var r=n(3),o=n(19),i=n(16),a=n(48);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(3),o=n(16),i=n(73);r({target:"Reflect",stat:!0,sham:!n(270)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(3)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(3),o=n(16),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(3)({target:"Reflect",stat:!0},{ownKeys:n(265)})},function(e,t,n){var r=n(3),o=n(63),i=n(16);r({target:"Reflect",stat:!0,sham:!n(180)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var o,l,p=arguments.length<4?e:arguments[3],h=c.f(i(e),t);if(!h){if(a(l=f(e)))return r(l,t,n,p);h=d(0)}if(s(h,"value")){if(!1===h.writable||!a(p))return!1;if(o=c.f(p,t)){if(o.get||o.set||!1===o.writable)return!1;o.value=n,u.f(p,t,o)}else u.f(p,t,d(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(3),i=n(16),a=n(15),s=n(37),l=n(6),u=n(25),c=n(48),f=n(73),d=n(99);o({target:"Reflect",stat:!0,forced:l(function(){var e=function(){},t=u.f(new e,"a",{configurable:!0});return!1!==Reflect.set(e.prototype,"a",1,t)})},{set:r})},function(e,t,n){var r=n(3),o=n(16),i=n(368),a=n(111);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(3),o=n(9),i=n(82);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},function(e,t,n){n(845),n(846),n(847),n(848),n(849),n(850),n(853),n(399);var r=n(170);e.exports=r},function(e,t,n){var r=n(9),o=n(397),i=n(373),a=n(50);for(var s in o){var l=r[s],u=l&&l.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(9),o=n(397),i=n(211),a=n(50),s=n(20),l=s("iterator"),u=s("toStringTag"),c=i.values;for(var f in o){var d=r[f],p=d&&d.prototype;if(p){if(p[l]!==c)try{a(p,l,c)}catch(e){p[l]=c}if(p[u]||a(p,u,f),o[f])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},function(e,t,n){var r=n(3),o=n(9),i=n(283);r({global:!0,bind:!0,enumerable:!0,forced:!o.setImmediate||!o.clearImmediate},{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(3),o=n(9),i=n(390),a=n(124),s=o.process;r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=a&&s.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(3),o=n(9),i=n(173),a=[].slice,s=/MSIE .\./.test(i),l=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:s},{setTimeout:l(o.setTimeout),setInterval:l(o.setInterval)})},function(e,t,n){"use strict";n(382);var r,o=n(3),i=n(19),a=n(398),s=n(9),l=n(269),u=n(51),c=n(114),f=n(37),d=n(377),p=n(370),h=n(213).codeAt,m=n(851),v=n(82),g=n(399),y=n(57),b=s.URL,_=g.URLSearchParams,w=g.getState,x=y.set,E=y.getterFor("URL"),T=Math.floor,S=Math.pow,k=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,A=/\d/,C=/^(0x|0X)/,R=/^[0-7]+$/,I=/^\d+$/,N=/^[\dA-Fa-f]+$/,M=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,P=/[\u0000\t\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\t\u000A\u000D]/g,j=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=m(t),M.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(P.test(t))return"Invalid host";for(n="",r=p(t),o=0;o<r.length;o++)n+=K(r[o],q);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=C.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?R:N).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,u++,c=u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&N.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!A.test(d()))return;for(;A.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}l[u]=256*l[u]+o,r++,2!=r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[u++]=t}else{if(null!==c)return;f++,u++,c=u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},B=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=T(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=B(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},q={},H=d({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),W=d({},H,{"#":1,"?":1,"{":1,"}":1}),z=d({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return f($,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te=function(e){return".."===(e=e.toLowerCase())||"%2e."===e||".%2e"===e||"%2e%2e"===e},ne={},re={},oe={},ie={},ae={},se={},le={},ue={},ce={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},_e={},we={},xe={},Ee=function(e,t,n,o){var i,a,s,l,u=n||ne,c=0,d="",h=!1,m=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(L,"")),t=t.replace(D,""),i=p(t);c<=i.length;){switch(a=i[c],u){case ne:if(!a||!k.test(a)){if(n)return"Invalid scheme";u=oe;continue}d+=a.toLowerCase(),u=re;break;case re:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))d+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";d="",u=oe,c=0;continue}if(n&&(G(e)!=f($,d)||"file"==d&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(G(e)&&$[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?u=me:G(e)&&o&&o.scheme==e.scheme?u=ie:G(e)?u=ue:"/"==i[c+1]?(u=ae,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=_e)}break;case oe:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==o.scheme?me:se;continue;case ie:if("/"!=a||"/"!=i[c+1]){u=se;continue}u=ce,c++;break;case ae:if("/"==a){u=fe;break}u=be;continue;case se:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&G(e))u=le;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}break;case le:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=be;continue}u=fe}else u=ce;break;case ue:if(u=ce,"/"!=a||"/"!=d.charAt(c+1))continue;c++;break;case ce:if("/"!=a&&"\\"!=a){u=fe;continue}break;case fe:if("@"==a){h&&(d="%40"+d),h=!0,s=p(d);for(var g=0;g<s.length;g++){var y=s[g];if(":"!=y||v){var b=K(y,z);v?e.password+=b:e.username+=b}else v=!0}d=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(h&&""==d)return"Invalid authority";c-=p(d).length+1,d="",u=de}else d+=a;break;case de:case pe:if(n&&"file"==e.scheme){u=ge;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==d)return"Invalid host";if(n&&""==d&&(Y(e)||null!==e.port))return;if(l=j(e,d))return l;if(d="",u=ye,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),d+=a}else{if(""==d)return"Invalid host";if(l=j(e,d))return l;if(d="",u=he,n==pe)return}break;case he:if(!A.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=d){var _=parseInt(d,10);if(_>65535)return"Invalid port";e.port=G(e)&&_===$[e.scheme]?null:_,d=""}if(n)return;u=ye;continue}return"Invalid port"}d+=a;break;case me:if(e.scheme="file","/"==a||"\\"==a)u=ve;else{if(!o||"file"!=o.scheme){u=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){X(i.slice(c).join(""))||(e.host=o.host,e.path=o.path.slice(),Z(e)),u=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}}break;case ve:if("/"==a||"\\"==a){u=ge;break}o&&"file"==o.scheme&&!X(i.slice(c).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=be;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(d))u=be;else if(""==d){if(e.host="",n)return;u=ye}else{if(l=j(e,d))return l;if("localhost"==e.host&&(e.host=""),n)return;d="",u=ye}continue}d+=a;break;case ye:if(G(e)){if(u=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=be,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=we;break;case be:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(te(d)?(Z(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):ee(d)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=we):"#"==a&&(e.fragment="",u=xe)}else d+=K(a,W);break;case _e:"?"==a?(e.query="",u=we):"#"==a?(e.fragment="",u=xe):a!=r&&(e.path[0]+=K(a,q));break;case we:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,q)):(e.fragment="",u=xe);break;case xe:a!=r&&(e.fragment+=K(a,H))}c++}},Te=function(e){var t,n,r=c(this,Te,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Te)t=E(o);else if(n=Ee(t={},String(o)))throw TypeError(n);if(n=Ee(s,a,null,t))throw TypeError(n);var l=s.searchParams=new _,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(r.href=ke.call(r),r.origin=Oe.call(r),r.protocol=Ae.call(r),r.username=Ce.call(r),r.password=Re.call(r),r.host=Ie.call(r),r.hostname=Ne.call(r),r.port=Me.call(r),r.pathname=Pe.call(r),r.search=Le.call(r),r.searchParams=De.call(r),r.hash=je.call(r))},Se=Te.prototype,ke=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==o?(u+="//",Y(e)&&(u+=n+(r?":"+r:"")+"@"),u+=V(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Oe=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ae=function(){return E(this).scheme+":"},Ce=function(){return E(this).username},Re=function(){return E(this).password},Ie=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Ne=function(){var e=E(this).host;return null===e?"":V(e)},Me=function(){var e=E(this).port;return null===e?"":String(e)},Pe=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Le=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},je=function(){var e=E(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Se,{href:Fe(ke,function(e){var t=E(this),n=String(e),r=Ee(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)}),origin:Fe(Oe),protocol:Fe(Ae,function(e){var t=E(this);Ee(t,String(e)+":",ne)}),username:Fe(Ce,function(e){var t=E(this),n=p(String(e));if(!J(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=K(n[r],z)}}),password:Fe(Re,function(e){var t=E(this),n=p(String(e));if(!J(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=K(n[r],z)}}),host:Fe(Ie,function(e){var t=E(this);t.cannotBeABaseURL||Ee(t,String(e),de)}),hostname:Fe(Ne,function(e){var t=E(this);t.cannotBeABaseURL||Ee(t,String(e),pe)}),port:Fe(Me,function(e){var t=E(this);J(t)||(e=String(e),""==e?t.port=null:Ee(t,e,he))}),pathname:Fe(Pe,function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Ee(t,e+"",ye))}),search:Fe(Le,function(e){var t=E(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ee(t,e,we)),w(t.searchParams).updateSearchParams(t.query)}),searchParams:Fe(De),hash:Fe(je,function(e){var t=E(this);if(""==(e=String(e)))return void(t.fragment=null);"#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ee(t,e,xe)})}),u(Se,"toJSON",function(){return ke.call(this)},{enumerable:!0}),u(Se,"toString",function(){return ke.call(this)},{enumerable:!0}),b){var Ue=b.createObjectURL,Be=b.revokeObjectURL;Ue&&u(Te,"createObjectURL",function(e){return Ue.apply(b,arguments)}),Be&&u(Te,"revokeObjectURL",function(e){return Be.apply(b,arguments)})}v(Te,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Te})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},u=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},f=function(e){var t=[];e=l(e);var n,r,o=e.length,f=128,d=0,p=72;for(n=0;n<e.length;n++)(r=e[n])<128&&t.push(s(r));var h=t.length,m=h;for(h&&t.push("-");m<o;){var v=2147483647;for(n=0;n<e.length;n++)(r=e[n])>=f&&r<v&&(v=r);var g=m+1;if(v-f>a((2147483647-d)/g))throw RangeError(i);for(d+=(v-f)*g,f=v,n=0;n<e.length;n++){if((r=e[n])<f&&++d>2147483647)throw RangeError(i);if(r==f){for(var y=d,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(y<_)break;var w=y-_,x=36-_;t.push(s(u(_+w%x))),y=a(w/x)}t.push(s(u(y))),p=c(d,g,m==h),d=0,++m}}++d,++f}return t.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+f(n):n);return i.join(".")}},function(e,t,n){var r=n(16),o=n(177);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(3)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t,n){"use strict";var r=n(1),o=r(n(52)),i=r(n(10)),a=r(n(229)),s=r(n(55)),l=r(n(28)),u=r(n(79)),c=r(n(1104)),f=r(n(1105)),d=r(n(1106)),p=r(n(1112)),h=r(n(1233)),m=["ready","afterError","afterRender"],v=function(){function e(e,t){function r(r,o,i){if(n)throw new Error("An instance of the widget has already been rendered. Call remove() first.");var a=(0,d.default)(t,h,r,e,o,i);return n=a.router,a.promise}function o(){n&&n.hide()}function a(){n&&n.show()}function l(){n&&(n.remove(),n=void 0)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)((0,f.default)(h,e),{redirect:"never"}),r=this.renderEl(t).then(function(e){return e.tokens}),o=n.settings.getAuthClient();if(o.isAuthorizationCodeFlow()&&!o.isPKCE())throw new s.default.ConfigError('"showSignInToGetTokens()" should not be used for authorization_code flow. Use "showSignInAndRedirect()" instead');return r}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)((0,f.default)(h,e),{redirect:"always"});return this.renderEl(t)}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.default)((0,f.default)(h,e));return this.renderEl(t)}var h=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{renderEl:r,authClient:e,showSignIn:p,showSignInToGetTokens:u,showSignInAndRedirect:c,hide:o,show:a,remove:l}}function t(t){l.default.debugMessage("\n        The Okta Sign-In Widget is running in development mode.\n        When you are ready to publish your app, embed the minified version to turn on production mode.\n        See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn\n      ");var n=a.default.extend({clientId:t.clientId,redirectUri:t.redirectUri,state:t.state,scopes:t.scopes},t.authParams);n.issuer||(n.issuer=t.baseUrl+"/oauth2/default");var r=t.authClient?t.authClient:(0,c.default)(n);if(t.useInteractionCodeFlow&&!1===r.isPKCE())throw new s.default.ConfigError('The "useInteractionCodeFlow" option requires PKCE to be enabled on the authClient.');var i;i=t.stateToken&&!l.default.isV1StateToken(t.stateToken)||t.useInteractionCodeFlow||t.proxyIdxResponse?h.default:p.default,a.default.extend(this,i.prototype.Events,{on:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],a=t[1];(0,o.default)(m).call(m,r)&&(t[1]=function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];a.apply(this,t)}catch(e){u.default.error('[okta-signin-widget] "'.concat(r,'" event handler error:'),e)}}),i.prototype.Events.on.apply(this,t)}}),a.default.extend(this,e(r,i,t)),this.listenTo(i.prototype,"all",this.trigger),this.once("afterRender",function(e){this.trigger("ready",e)})}var n;return t}();e.exports=v},function(e,t,n){var r=n(856);e.exports=r},function(e,t,n){var r=n(857),o=n(859),i=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===i||e instanceof Array&&t===i.includes?r:"string"==typeof e||e===a||e instanceof String&&t===a.includes?o:t}},function(e,t,n){n(858);var r=n(30);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(7),o=n(288).includes,i=n(182);r({target:"Array",proto:!0,forced:!n(67)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){n(860);var r=n(30);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(7),o=n(290),i=n(131);r({target:"String",proto:!0,forced:!n(293)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(38),o=n(130),i=n(35),a=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(34),o=n(85);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(864);e.exports=r},function(e,t,n){n(865);var r=n(22);e.exports=r.Object.assign},function(e,t,n){var r=n(7),o=n(404);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(296),o=Object(r.mixin)(r);o._=o,t.a=o},function(e,t,n){"use strict";function r(e){return null===e}t.a=r},function(e,t,n){"use strict";function r(e){return!(!e||1!==e.nodeType)}t.a=r},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("Date")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("RegExp")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("Error")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("Object")},function(e,t,n){"use strict";function r(e){return!Object(i.a)(e)&&Object(o.f)(e)&&!isNaN(parseFloat(e))}t.a=r;var o=n(31),i=n(409)},function(e,t,n){"use strict";var r=n(414),o=n(300);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";function r(e){if(null==e)return!0;var t=Object(o.a)(e);return"number"==typeof t&&(Object(i.a)(e)||Object(a.a)(e)||Object(s.a)(e))?0===t:0===Object(o.a)(Object(l.a)(e))}t.a=r;var o=n(76),i=n(133),a=n(297),s=n(299),l=n(47)},function(e,t,n){"use strict";function r(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var i=typeof e;return("function"===i||"object"===i||"object"==typeof t)&&o(e,t,n,r)}function o(e,t,n,i){e instanceof a.a&&(e=e._wrapped),t instanceof a.a&&(t=t._wrapped);var g=s.t.call(e);if(g!==s.t.call(t))return!1;if(f.a&&"[object Object]"==g&&Object(d.a)(e)){if(!Object(d.a)(t))return!1;g=v}switch(g){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return s.d.valueOf.call(e)===s.d.valueOf.call(t);case"[object ArrayBuffer]":case v:return o(Object(m.a)(e),Object(m.a)(t),n,i)}var y="[object Array]"===g;if(!y&&Object(u.a)(e)){if(Object(l.a)(e)!==Object(l.a)(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;y=!0}if(!y){if("object"!=typeof e||"object"!=typeof t)return!1;var b=e.constructor,_=t.constructor;if(b!==_&&!(Object(c.a)(b)&&b instanceof b&&Object(c.a)(_)&&_ instanceof _)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],i=i||[];for(var w=n.length;w--;)if(n[w]===e)return i[w]===t;if(n.push(e),i.push(t),y){if((w=e.length)!==t.length)return!1;for(;w--;)if(!r(e[w],t[w],n,i))return!1}else{var x,E=Object(p.a)(e);if(w=E.length,Object(p.a)(t).length!==w)return!1;for(;w--;)if(x=E[w],!Object(h.a)(t,x)||!r(e[x],t[x],n,i))return!1}return n.pop(),i.pop(),!0}function i(e,t){return r(e,t)}t.a=i;var a=n(69),s=n(31),l=n(300),u=n(412),c=n(75),f=n(185),d=n(298),p=n(47),h=n(116),m=n(877),v="[object DataView]"},function(e,t,n){"use strict";function r(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Object(o.a)(e))}t.a=r;var o=n(300)},function(e,t,n){"use strict";var r=n(54),o=n(185),i=n(301);t.a=o.b?Object(i.a)(i.b):Object(r.a)("Map")},function(e,t,n){"use strict";var r=n(54),o=n(185),i=n(301);t.a=o.b?Object(i.a)(i.d):Object(r.a)("WeakMap")},function(e,t,n){"use strict";var r=n(54),o=n(185),i=n(301);t.a=o.b?Object(i.a)(i.c):Object(r.a)("Set")},function(e,t,n){"use strict";var r=n(54);t.a=Object(r.a)("WeakSet")},function(e,t,n){"use strict";function r(e){for(var t=Object(o.a)(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r}t.a=r;var o=n(47)},function(e,t,n){"use strict";function r(e,t){var n=Object(o.a)(e);return t&&Object(i.a)(n,t),n}t.a=r;var o=n(422),i=n(303)},function(e,t,n){"use strict";function r(e,t){return t(e),e}t.a=r},function(e,t,n){"use strict";function r(e,t){t=Object(i.a)(t);for(var n=t.length,r=0;r<n;r++){var a=t[r];if(!Object(o.a)(e,a))return!1;e=e[a]}return!!n}t.a=r;var o=n(116),i=n(187)},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);for(var r=Object(i.a)(e),a=r.length,s={},l=0;l<a;l++){var u=r[l];s[u]=t(e[u],u,e)}return s}t.a=r;var o=n(61),i=n(47)},function(e,t,n){"use strict";function r(e){return null==e?o.a:function(t){return Object(i.a)(e,t)}}t.a=r;var o=n(428),i=n(424)},function(e,t,n){"use strict";function r(e,t,n){var r=Array(Math.max(0,e));t=Object(o.a)(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r}t.a=r;var o=n(188)},function(e,t,n){"use strict";var r=n(430),o=n(431);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";var r=n(430),o=n(891);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";var r=n(418),o=n(431);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";function r(e){return"\\"+l[e]}function o(e,t,n){!t&&n&&(t=n),t=Object(i.a)({},t,a.a.templateSettings);var o=RegExp([(t.escape||s).source,(t.interpolate||s).source,(t.evaluate||s).source].join("|")+"|$","g"),l=0,f="__p+='";e.replace(o,function(t,n,o,i,a){return f+=e.slice(l,a).replace(u,r),l=a+t.length,n?f+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":o?f+="'+\n((__t=("+o+"))==null?'':__t)+\n'":i&&(f+="';\n"+i+"\n__p+='"),t}),f+="';\n";var d=t.variable;if(d){if(!c.test(d))throw new Error("variable is not a bare identifier: "+d)}else f="with(obj||{}){\n"+f+"}\n",d="obj";f="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+f+"return __p;\n";var p;try{p=new Function(d,"_",f)}catch(e){throw e.source=f,e}var h=function(e){return p.call(this,e,a.a)};return h.source="function("+d+"){\n"+f+"}",h}t.a=o;var i=n(421),a=n(69),s=(n(432),/(.)^/),l={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},u=/\\|'|\r|\n|\u2028|\u2029/g,c=/^\s*(\w|\$)+\s*$/},function(e,t,n){"use strict";function r(e,t,n){t=Object(i.a)(t);var r=t.length;if(!r)return Object(o.a)(n)?n.call(e):n;for(var a=0;a<r;a++){var s=null==e?void 0:e[t[a]];void 0===s&&(s=n,a=r),e=Object(o.a)(s)?s.call(e):s}return e}t.a=r;var o=n(75),i=n(187)},function(e,t,n){"use strict";function r(e){var t=++o+"";return e?e+t:t}t.a=r;var o=0},function(e,t,n){"use strict";function r(e){var t=Object(o.a)(e);return t._chain=!0,t}t.a=r;var o=n(69)},function(e,t,n){"use strict";var r=n(68),o=n(150),i=n(434);t.a=Object(r.a)(function(e,t){t=Object(o.a)(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=Object(i.a)(e[r],e)}return e})},function(e,t,n){"use strict";function r(e,t){var n=function(r){var i=n.cache,a=""+(t?t.apply(this,arguments):r);return Object(o.a)(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return n.cache={},n}t.a=r;var o=n(116)},function(e,t,n){"use strict";var r=n(231),o=n(435),i=n(69);t.a=Object(r.a)(o.a,i.a,1)},function(e,t,n){"use strict";function r(e,t,n){var r,i,a,s,l=0;n||(n={});var u=function(){l=!1===n.leading?0:Object(o.a)(),r=null,s=e.apply(i,a),r||(i=a=null)},c=function(){var c=Object(o.a)();l||!1!==n.leading||(l=c);var f=t-(c-l);return i=this,a=arguments,f<=0||f>t?(r&&(clearTimeout(r),r=null),l=c,s=e.apply(i,a),r||(i=a=null)):r||!1===n.trailing||(r=setTimeout(u,f)),s};return c.cancel=function(){clearTimeout(r),l=0,r=i=a=null},c}t.a=r;var o=n(307)},function(e,t,n){"use strict";function r(e,t,n){var r,a,s,l,u,c=function(){var o=Object(i.a)()-a;t>o?r=setTimeout(c,t-o):(r=null,n||(l=e.apply(u,s)),r||(s=u=null))},f=Object(o.a)(function(o){return u=this,s=o,a=Object(i.a)(),r||(r=setTimeout(c,t),n&&(l=e.apply(u,s))),l});return f.cancel=function(){clearTimeout(r),r=s=u=null},f}t.a=r;var o=n(68),i=n(307)},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(t,e)}t.a=r;var o=n(231)},function(e,t,n){"use strict";function r(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}}t.a=r},function(e,t,n){"use strict";function r(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}t.a=r},function(e,t,n){"use strict";var r=n(231),o=n(436);t.a=Object(r.a)(o.a,2)},function(e,t,n){"use strict";var r=n(439),o=n(442);t.a=Object(o.a)(-1,r.a)},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e,Object(i.a)(t))}t.a=r;var o=n(443),i=n(230)},function(e,t,n){"use strict";var r=n(444);t.a=Object(r.a)(1)},function(e,t,n){"use strict";var r=n(444);t.a=Object(r.a)(-1)},function(e,t,n){"use strict";function r(e,t,n){return Object(o.a)(e,Object(i.a)(Object(a.a)(t)),n)}t.a=r;var o=n(189),i=n(308),a=n(61)},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);for(var r=!Object(i.a)(e)&&Object(a.a)(e),s=(r||e).length,l=0;l<s;l++){var u=r?r[l]:l;if(!t(e[u],u,e))return!1}return!0}t.a=r;var o=n(61),i=n(70),a=n(47)},function(e,t,n){"use strict";function r(e,t,n){t=Object(o.a)(t,n);for(var r=!Object(i.a)(e)&&Object(a.a)(e),s=(r||e).length,l=0;l<s;l++){var u=r?r[l]:l;if(t(e[u],u,e))return!0}return!1}t.a=r;var o=n(61),i=n(70),a=n(47)},function(e,t,n){"use strict";var r=n(68),o=n(75),i=n(151),a=n(304),s=n(187);t.a=Object(r.a)(function(e,t,n){var r,l;return Object(o.a)(t)?l=t:(t=Object(s.a)(t),r=t.slice(0,-1),t=t[t.length-1]),Object(i.a)(e,function(e){var o=l;if(!o){if(r&&r.length&&(e=Object(a.a)(e,r)),null==e)return;o=e[t]}return null==o?o:o.apply(e,n)})})},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e,Object(i.a)(t))}t.a=r;var o=n(189),i=n(230)},function(e,t,n){"use strict";function r(e,t,n){var r,l,u=1/0,c=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=Object(o.a)(e)?e:Object(i.a)(e);for(var f=0,d=e.length;f<d;f++)null!=(r=e[f])&&r<u&&(u=r)}else t=Object(a.a)(t,n),Object(s.a)(e,function(e,n,r){((l=t(e,n,r))<c||l===1/0&&u===1/0)&&(u=e,c=l)});return u}t.a=r;var o=n(70),i=n(149),a=n(61),s=n(134)},function(e,t,n){"use strict";function r(e){return Object(o.a)(e,1/0)}t.a=r;var o=n(446)},function(e,t,n){"use strict";function r(e,t,n){var r=0;return t=Object(o.a)(t,n),Object(i.a)(Object(a.a)(e,function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")}t.a=r;var o=n(61),i=n(310),a=n(151)},function(e,t,n){"use strict";var r=n(232),o=n(116);t.a=Object(r.a)(function(e,t,n){Object(o.a)(e,n)?e[n].push(t):e[n]=[t]})},function(e,t,n){"use strict";var r=n(232);t.a=Object(r.a)(function(e,t,n){e[n]=t})},function(e,t,n){"use strict";var r=n(232),o=n(116);t.a=Object(r.a)(function(e,t,n){Object(o.a)(e,n)?e[n]++:e[n]=1})},function(e,t,n){"use strict";var r=n(232);t.a=Object(r.a)(function(e,t,n){e[n?0:1].push(t)},!0)},function(e,t,n){"use strict";function r(e){return e?Object(o.a)(e)?i.q.call(e):Object(a.a)(e)?e.match(f):Object(s.a)(e)?Object(l.a)(e,u.a):Object(c.a)(e):[]}t.a=r;var o=n(133),i=n(31),a=n(297),s=n(70),l=n(151),u=n(305),c=n(149),f=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g},function(e,t,n){"use strict";function r(e){return null==e?0:Object(o.a)(e)?e.length:Object(i.a)(e).length}t.a=r;var o=n(70),i=n(47)},function(e,t,n){"use strict";function r(e,t,n){return t in n}t.a=r},function(e,t,n){"use strict";var r=n(68),o=n(75),i=n(308),a=n(151),s=n(150),l=n(190),u=n(447);t.a=Object(r.a)(function(e,t){var n,r=t[0];return Object(o.a)(r)?(r=Object(i.a)(r),t.length>1&&(n=t[1])):(t=Object(a.a)(Object(s.a)(t,!1,!1),String),r=function(e,n){return!Object(l.a)(t,n)}),Object(u.a)(e,r,n)})},function(e,t,n){"use strict";function r(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Object(o.a)(e,e.length-t)}t.a=r;var o=n(448)},function(e,t,n){"use strict";function r(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:Object(o.a)(e,Math.max(0,e.length-t))}t.a=r;var o=n(449)},function(e,t,n){"use strict";function r(e){return Object(o.a)(e,Boolean)}t.a=r;var o=n(189)},function(e,t,n){"use strict";function r(e,t){return Object(o.a)(e,t,!1)}t.a=r;var o=n(150)},function(e,t,n){"use strict";var r=n(68),o=n(450);t.a=Object(r.a)(function(e,t){return Object(o.a)(e,t)})},function(e,t,n){"use strict";var r=n(68),o=n(451),i=n(150);t.a=Object(r.a)(function(e){return Object(o.a)(Object(i.a)(e,!0,!0))})},function(e,t,n){"use strict";function r(e){for(var t=[],n=arguments.length,r=0,a=Object(o.a)(e);r<a;r++){var s=e[r];if(!Object(i.a)(t,s)){var l;for(l=1;l<n&&Object(i.a)(arguments[l],s);l++);l===n&&t.push(s)}}return t}t.a=r;var o=n(76),i=n(190)},function(e,t,n){"use strict";var r=n(68),o=n(452);t.a=Object(r.a)(o.a)},function(e,t,n){"use strict";function r(e,t){for(var n={},r=0,i=Object(o.a)(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n}t.a=r;var o=n(76)},function(e,t,n){"use strict";function r(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o}t.a=r},function(e,t,n){"use strict";function r(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(o.q.call(e,r,r+=t));return n}t.a=r;var o=n(31)},function(e,t,n){"use strict";function r(e){return Object(i.a)(Object(a.a)(e),function(t){var n=o.a[t]=e[t];o.a.prototype[t]=function(){var e=[this._wrapped];return s.o.apply(e,arguments),Object(l.a)(this,n.apply(o.a,e))}}),o.a}t.a=r;var o=n(69),i=n(134),a=n(419),s=n(31),l=n(453)},function(e,t,n){"use strict";var r=n(69),o=n(134),i=n(31),a=n(453);Object(o.a)(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=i.a[e];r.a.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Object(a.a)(this,n)}}),Object(o.a)(["concat","join","slice"],function(e){var t=i.a[e];r.a.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Object(a.a)(this,e)}}),t.a=r.a},function(e,t,n){var r=n(7),o=n(44);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(86).f})},function(e,t,n){var r=n(940);e.exports=r},function(e,t,n){var r=n(941),o=Array.prototype;e.exports=function(e){var t=e.lastIndexOf;return e===o||e instanceof Array&&t===o.lastIndexOf?r:t}},function(e,t,n){n(942);var r=n(30);e.exports=r("Array").lastIndexOf},function(e,t,n){var r=n(7),o=n(943);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(83),o=n(148),i=n(66),a=n(135),s=n(67),l=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,f=a("lastIndexOf"),d=s("indexOf",{ACCESSORS:!0,1:0}),p=c||!f||!d;e.exports=p?function(e){if(c)return u.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=l(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:u},function(e,t,n){e.exports=n(945)},function(e,t,n){var r=n(946);e.exports=r},function(e,t,n){var r=n(947),o=Array.prototype;e.exports=function(e){var t=e.reverse;return e===o||e instanceof Array&&t===o.reverse?r:t}},function(e,t,n){n(948);var r=n(30);e.exports=r("Array").reverse},function(e,t,n){"use strict";var r=n(7),o=n(136),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(e,t,n){var r=n(7),o=n(74),i=n(183);r({target:"Object",stat:!0,forced:n(29)(function(){i(1)})},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(312),o=n(118);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(38);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){var r=n(118),o=n(35),i=n(137),a=o("iterator");e.exports=function(e){var t=Object(e);return void 0!==t[a]||"@@iterator"in t||i.hasOwnProperty(r(t))}},function(e,t,n){e.exports=n(471)},function(e,t,n){var r=n(7),o=n(473);r({target:"Array",stat:!0,forced:!n(476)(function(e){Array.from(e)})},{from:o})},function(e,t,n){e.exports=n(957)},function(e,t,n){var r=n(958);e.exports=r},function(e,t,n){n(959);var r=n(22);e.exports=r.Object.getPrototypeOf},function(e,t,n){var r=n(7),o=n(29),i=n(74),a=n(234),s=n(466);r({target:"Object",stat:!0,forced:o(function(){a(1)}),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},function(e,t,n){e.exports=n(961)},function(e,t,n){var r=n(962);e.exports=r},function(e,t,n){n(963);var r=n(22);e.exports=r.Object.setPrototypeOf},function(e,t,n){n(7)({target:"Object",stat:!0},{setPrototypeOf:n(313)})},function(e,t,n){e.exports=n(965)},function(e,t,n){var r=n(966);e.exports=r},function(e,t,n){n(967);var r=n(22),o=r.Object;e.exports=function(e,t){return o.create(e,t)}},function(e,t,n){n(7)({target:"Object",stat:!0,sham:!n(44)},{create:n(192)})},function(e,t,n){e.exports=n(477)},function(e,t,n){var r=n(83),o=n(320).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return o(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?s(e):o(r(e))}},function(e,t,n){n(42)("asyncIterator")},function(e,t){},function(e,t,n){n(42)("hasInstance")},function(e,t,n){n(42)("isConcatSpreadable")},function(e,t,n){n(42)("match")},function(e,t,n){n(42)("matchAll")},function(e,t,n){n(42)("replace")},function(e,t,n){n(42)("search")},function(e,t,n){n(42)("species")},function(e,t,n){n(42)("split")},function(e,t,n){n(42)("toPrimitive")},function(e,t,n){n(42)("toStringTag")},function(e,t,n){n(42)("unscopables")},function(e,t,n){n(105)(Math,"Math",!0)},function(e,t,n){var r=n(34);n(105)(r.JSON,"JSON",!0)},function(e,t,n){n(42)("asyncDispose")},function(e,t,n){n(42)("dispose")},function(e,t,n){n(42)("observable")},function(e,t,n){n(42)("patternMatch")},function(e,t,n){n(42)("replaceAll")},function(e,t,n){e.exports=n(991)},function(e,t,n){var r=n(992);e.exports=r},function(e,t,n){var r=n(993),o=Array.prototype;e.exports=function(e){var t=e.flat;return e===o||e instanceof Array&&t===o.flat?r:t}},function(e,t,n){n(994),n(996);var r=n(30);e.exports=r("Array").flat},function(e,t,n){"use strict";var r=n(7),o=n(995),i=n(74),a=n(66),s=n(148),l=n(235);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=l(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){"use strict";var r=n(136),o=n(66),i=n(115),a=function(e,t,n,s,l,u,c,f){for(var d,p=l,h=0,m=!!c&&i(c,f,3);h<s;){if(h in n){if(d=m?m(n[h],h,t):n[h],u>0&&r(d))p=a(e,t,d,o(d.length),p,u-1)-1;else{if(p>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[p]=d}p++}h++}return p};e.exports=a},function(e,t,n){n(182)("flat")},function(e,t,n){var r=n(998);e.exports=r},function(e,t,n){var r=n(999),o=RegExp.prototype;e.exports=function(e){return!(e===o||e instanceof RegExp)||"flags"in e?e.flags:r(e)}},function(e,t,n){n(1e3);var r=n(1001);e.exports=function(e){return r.call(e)}},function(e,t){},function(e,t,n){"use strict";var r=n(53);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){n(7)({target:"Array",stat:!0},{isArray:n(136)})},function(e,t,n){var r=n(1004);e.exports=r},function(e,t,n){n(1005);var r=n(30);e.exports=r("Array").forEach},function(e,t,n){"use strict";var r=n(7),o=n(1006);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(96).forEach,o=n(135),i=n(67),a=o("forEach"),s=i("forEach");e.exports=a&&s?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){e.exports=n(1008)},function(e,t,n){var r=n(1009);e.exports=r},function(e,t,n){var r=n(1010),o=Array.prototype;e.exports=function(e){var t=e.every;return e===o||e instanceof Array&&t===o.every?r:t}},function(e,t,n){n(1011);var r=n(30);e.exports=r("Array").every},function(e,t,n){"use strict";var r=n(7),o=n(96).every,i=n(135),a=n(67),s=i("every"),l=a("every");r({target:"Array",proto:!0,forced:!s||!l},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1013);e.exports=r},function(e,t,n){var r=n(1014),o=Array.prototype;e.exports=function(e){var t=e.findIndex;return e===o||e instanceof Array&&t===o.findIndex?r:t}},function(e,t,n){n(1015);var r=n(30);e.exports=r("Array").findIndex},function(e,t,n){"use strict";var r=n(7),o=n(96).findIndex,i=n(182),a=n(67),s=!0,l=a("findIndex");"findIndex"in[]&&Array(1).findIndex(function(){s=!1}),r({target:"Array",proto:!0,forced:s||!l},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){var r=n(1017),o=Array.prototype;e.exports=function(e){var t=e.filter;return e===o||e instanceof Array&&t===o.filter?r:t}},function(e,t,n){n(1018);var r=n(30);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(7),o=n(96).filter,i=n(194),a=n(67),s=i("filter"),l=a("filter");r({target:"Array",proto:!0,forced:!s||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(1020);var r=n(30);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(7),o=n(288).indexOf,i=n(135),a=n(67),s=[].indexOf,l=!!s&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:l||!u||!c},{indexOf:function(e){return l?s.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1022);e.exports=r},function(e,t,n){var r=n(1023),o=Array.prototype;e.exports=function(e){var t=e.some;return e===o||e instanceof Array&&t===o.some?r:t}},function(e,t,n){n(1024);var r=n(30);e.exports=r("Array").some},function(e,t,n){"use strict";var r=n(7),o=n(96).some,i=n(135),a=n(67),s=i("some"),l=a("some");r({target:"Array",proto:!0,forced:!s||!l},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1026);e.exports=r},function(e,t,n){var r=n(1027),o=Array.prototype;e.exports=function(e){var t=e.splice;return e===o||e instanceof Array&&t===o.splice?r:t}},function(e,t,n){n(1028);var r=n(30);e.exports=r("Array").splice},function(e,t,n){"use strict";var r=n(7),o=n(289),i=n(148),a=n(66),s=n(74),l=n(235),u=n(152),c=n(194),f=n(67),d=c("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),h=Math.max,m=Math.min;r({target:"Array",proto:!0,forced:!d||!p},{splice:function(e,t){var n,r,c,f,d,p,v=s(this),g=a(v.length),y=o(e,g),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=g-y):(n=b-2,r=m(h(i(t),0),g-y)),g+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(v,r),f=0;f<r;f++)(d=y+f)in v&&u(c,f,v[d]);if(c.length=r,n<r){for(f=y;f<g-r;f++)d=f+r,p=f+n,d in v?v[p]=v[d]:delete v[p];for(f=g;f>g-r+n;f--)delete v[f-1]}else if(n>r)for(f=g-r;f>y;f--)d=f+r-1,p=f+n-1,d in v?v[p]=v[d]:delete v[p];for(f=0;f<n;f++)v[f+y]=arguments[f+2];return v.length=g-r+n,c}})},function(e,t,n){var r=n(1030);e.exports=r},function(e,t,n){var r=n(1031),o=Array.prototype;e.exports=function(e){var t=e.reduce;return e===o||e instanceof Array&&t===o.reduce?r:t}},function(e,t,n){n(1032);var r=n(30);e.exports=r("Array").reduce},function(e,t,n){"use strict";var r=n(7),o=n(1033).left,i=n(135),a=n(67),s=i("reduce"),l=a("reduce",{1:0});r({target:"Array",proto:!0,forced:!s||!l},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(84),o=n(74),i=n(226),a=n(66),s=function(e){return function(t,n,s,l){r(n);var u=o(t),c=i(u),f=a(u.length),d=e?f-1:0,p=e?-1:1;if(s<2)for(;;){if(d in c){l=c[d],d+=p;break}if(d+=p,e?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;e?d>=0:f>d;d+=p)d in c&&(l=n(l,c[d],d,u));return l}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){e.exports=n(1035)},function(e,t,n){n(104);var r=n(1036),o=n(118),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.values;return e===i||e instanceof Array&&t===i.values||a.hasOwnProperty(o(e))?r:t}},function(e,t,n){var r=n(1037);e.exports=r},function(e,t,n){n(191);var r=n(30);e.exports=r("Array").values},function(e,t,n){var r=n(1039),o=Array.prototype;e.exports=function(e){var t=e.map;return e===o||e instanceof Array&&t===o.map?r:t}},function(e,t,n){n(1040);var r=n(30);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(7),o=n(96).map,i=n(194),a=n(67),s=i("map"),l=a("map");r({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(492);var r=n(22);e.exports=r.setInterval},function(e,t,n){n(492);var r=n(22);e.exports=r.setTimeout},function(e,t,n){var r=n(1044);e.exports=r},function(e,t,n){n(1045);var r=n(22);e.exports=r.Number.isInteger},function(e,t,n){n(7)({target:"Number",stat:!0},{isInteger:n(1046)})},function(e,t,n){var r=n(38),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(1048),o=Array.prototype;e.exports=function(e){var t=e.find;return e===o||e instanceof Array&&t===o.find?r:t}},function(e,t,n){n(1049);var r=n(30);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(7),o=n(96).find,i=n(182),a=n(67),s=!0,l=a("find");"find"in[]&&Array(1).find(function(){s=!1}),r({target:"Array",proto:!0,forced:s||!l},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,n){var r=n(1051);e.exports=r},function(e,t,n){var r=n(1052),o=String.prototype;e.exports=function(e){var t=e.trim;return"string"==typeof e||e===o||e instanceof String&&t===o.trim?r:t}},function(e,t,n){n(1053);var r=n(30);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(7),o=n(323).trim;r({target:"String",proto:!0,forced:n(1054)("trim")},{trim:function(){return o(this)}})},function(e,t,n){var r=n(29),o=n(236),i="​᠎";e.exports=function(e){return r(function(){return!!o[e]()||i[e]()!=i||o[e].name!==e})}},function(e,t,n){var r=n(1056);e.exports=r},function(e,t,n){n(1057);var r=n(22);e.exports=r.parseInt},function(e,t,n){var r=n(7),o=n(1058);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(34),o=n(323).trim,i=n(236),a=r.parseInt,s=/^[+-]?0[Xx]/,l=8!==a(i+"08")||22!==a(i+"0x16");e.exports=l?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){e.exports=n(1060)},function(e,t,n){var r=n(1061);e.exports=r},function(e,t,n){n(1062);var r=n(22);e.exports=r.parseFloat},function(e,t,n){var r=n(7),o=n(1063);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(34),o=n(323).trim,i=n(236),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){n(1065);var r=n(22);r.JSON||(r.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return r.JSON.stringify.apply(null,arguments)}},function(e,t,n){var r=n(7),o=n(95),i=n(29),a=o("JSON","stringify"),s=/[\uD800-\uDFFF]/g,l=/^[\uD800-\uDBFF]$/,u=/^[\uDC00-\uDFFF]$/,c=function(e,t,n){var r=n.charAt(t-1),o=n.charAt(t+1);return l.test(e)&&!u.test(o)||u.test(e)&&!l.test(r)?"\\u"+e.charCodeAt(0).toString(16):e},f=i(function(){return'"\\udf06\\ud834"'!==a("��")||'"\\udead"'!==a("�")});a&&r({target:"JSON",stat:!0,forced:f},{stringify:function(e,t,n){var r=a.apply(null,arguments);return"string"==typeof r?r.replace(s,c):r}})},function(e,t,n){n(1067);var r=n(30);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(7),o=n(38),i=n(136),a=n(289),s=n(66),l=n(83),u=n(152),c=n(35),f=n(194),d=n(67),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=c("species"),v=[].slice,g=Math.max;r({target:"Array",proto:!0,forced:!p||!h},{slice:function(e,t){var n,r,c,f=l(this),d=s(f.length),p=a(e,d),h=a(void 0===t?d:t,d);if(i(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[m])&&(n=void 0):n=void 0,n===Array||void 0===n))return v.call(f,p,h);for(r=new(void 0===n?Array:n)(g(h-p,0)),c=0;p<h;p++,c++)p in f&&u(r,c,f[p]);return r.length=c,r}})},function(e,t,n){var r=n(1069),o=Array.prototype;e.exports=function(e){var t=e.concat;return e===o||e instanceof Array&&t===o.concat?r:t}},function(e,t,n){n(482);var r=n(30);e.exports=r("Array").concat},function(e,t,n){n(104);var r=n(1071),o=n(118),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.keys;return e===i||e instanceof Array&&t===i.keys||a.hasOwnProperty(o(e))?r:t}},function(e,t,n){var r=n(1072);e.exports=r},function(e,t,n){n(191);var r=n(30);e.exports=r("Array").keys},function(e,t,n){var r=n(1074);e.exports=r},function(e,t,n){var r=n(1075),o=Function.prototype;e.exports=function(e){var t=e.bind;return e===o||e instanceof Function&&t===o.bind?r:t}},function(e,t,n){n(1076);var r=n(30);e.exports=r("Function").bind},function(e,t,n){n(7)({target:"Function",proto:!0},{bind:n(1077)})},function(e,t,n){"use strict";var r=n(84),o=n(38),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){e.exports=n(1079)},function(e,t,n){var r=n(478);e.exports=r},function(e,t,n){e.exports=n(500)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(98);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var o=n.inverse,i=n.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):o(this);if(n.data&&n.ids){var a=r.createFrame(n.data);a.contextPath=r.appendContextPath(n.data.contextPath,n.name),n={data:a}}return i(t,n)})},e.exports=t.default},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var o=n(98),i=n(141),a=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){e.registerHelper("each",function(e,t){function n(t,n,r){c&&(c.key=t,c.index=n,c.first=0===n,c.last=!!r,f&&(c.contextPath=f+t)),u+=i(e[t],{data:c,blockParams:o.blockParams([e[t],t],[f+t,null])})}if(!t)throw new a.default("Must pass iterator to #each");var i=t.fn,s=t.inverse,l=0,u="",c=void 0,f=void 0;if(t.data&&t.ids&&(f=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(c=o.createFrame(t.data)),e&&"object"==typeof e)if(o.isArray(e))for(var d=e.length;l<d;l++)l in e&&n(l,l,l===e.length-1);else if(r.Symbol&&e[r.Symbol.iterator]){for(var p=[],h=e[r.Symbol.iterator](),m=h.next();!m.done;m=h.next())p.push(m.value);e=p;for(var d=e.length;l<d;l++)n(l,l,l===e.length-1)}else!function(){var t=void 0;Object.keys(e).forEach(function(e){void 0!==t&&n(t,l-1),t=e,l++}),void 0!==t&&n(t,l-1,!0)}();return 0===l&&(u=s(this)),u})},e.exports=t.default}).call(t,n(108))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(141),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new o.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(98),o=n(141),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new i.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)}),e.registerHelper("unless",function(t,n){if(2!=arguments.length)throw new i.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("log",function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",function(e,t,n){return e?n.lookupProperty(e,t):e})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(98),o=n(141),i=function(e){return e&&e.__esModule?e:{default:e}}(o);t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new i.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var o=t.data;return t.data&&t.ids&&(o=r.createFrame(t.data),o.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:o,blockParams:r.blockParams([e],[o&&o.contextPath])})})},e.exports=t.default},function(e,t,n){"use strict";function r(e){i.default(e)}t.__esModule=!0,t.registerDefaultDecorators=r;var o=n(1089),i=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(98);t.default=function(e){e.registerDecorator("inline",function(e,t,n,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=n.partials;n.partials=r.extend({},a,t.partials);var s=e(o,i);return n.partials=a,s}),t.partials[o.args[0]]=o.fn,i})},e.exports=t.default},function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.extend.apply(void 0,[Object.create(null)].concat(t))}t.__esModule=!0,t.createNewLookupObject=r;var o=n(98)},function(e,t,n){"use strict";function r(e){this.string=e}t.__esModule=!0,r.prototype.toString=r.prototype.toHTML=function(){return""+this.string},t.default=r,e.exports=t.default},function(e,t,n){"use strict";function r(e){var t=e&&e[0]||1,n=g.COMPILER_REVISION;if(!(t>=g.LAST_COMPATIBLE_COMPILER_REVISION&&t<=g.COMPILER_REVISION)){if(t<g.LAST_COMPATIBLE_COMPILER_REVISION){var r=g.REVISION_CHANGES[n],o=g.REVISION_CHANGES[t];throw new v.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new v.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")}}function o(e,t){function n(n,r,o){o.hash&&(r=h.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,o);var i=h.extend({},o,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),a=t.VM.invokePartial.call(this,n,r,i);if(null==a&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),a=o.partials[o.name](r,i)),null!=a){if(o.indent){for(var s=a.split("\n"),l=0,u=s.length;l<u&&(s[l]||l+1!==u);l++)s[l]=o.indent+s[l];a=s.join("\n")}return a}throw new v.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")}function r(t){function n(t){return""+e.main(a,t,a.helpers,a.partials,i,l,s)}var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=o.data;r._setup(o),!o.partial&&e.useData&&(i=u(t,i));var s=void 0,l=e.useBlockParams?[]:void 0;return e.useDepths&&(s=o.depths?t!=o.depths[0]?[t].concat(o.depths):o.depths:[t]),(n=c(e.main,n,a,o.depths||[],i,l))(t,o)}if(!t)throw new v.default("No environment passed to template");if(!e||!e.main)throw new v.default("Unknown template object: "+typeof e);e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var o=e.compiler&&7===e.compiler[0],a={strict:function(e,t,n){if(!(e&&t in e))throw new v.default('"'+t+'" not defined in '+e,{loc:n});return e[t]},lookupProperty:function(e,t){var n=e[t];return null==n?n:Object.prototype.hasOwnProperty.call(e,t)?n:_.resultIsAllowed(n,a.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,r=0;r<n;r++){if(null!=(e[r]&&a.lookupProperty(e[r],t)))return e[r][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:h.escapeExpression,invokePartial:n,fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var a=this.programs[e],s=this.fn(e);return t||o||r||n?a=i(this,e,s,t,n,r,o):a||(a=this.programs[e]=i(this,e,s)),a},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=h.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};return r.isTop=!0,r._setup=function(n){if(n.partial)a.protoAccessControl=n.protoAccessControl,a.helpers=n.helpers,a.partials=n.partials,a.decorators=n.decorators,a.hooks=n.hooks;else{var r=h.extend({},t.helpers,n.helpers);f(r,a),a.helpers=r,e.usePartial&&(a.partials=a.mergeIfNeeded(n.partials,t.partials)),(e.usePartial||e.useDecorators)&&(a.decorators=h.extend({},t.decorators,n.decorators)),a.hooks={},a.protoAccessControl=_.createProtoAccessControl(n);var i=n.allowCallsToHelperMissing||o;y.moveHelperToHooks(a,"helperMissing",i),y.moveHelperToHooks(a,"blockHelperMissing",i)}},r._child=function(t,n,r,o){if(e.useBlockParams&&!r)throw new v.default("must pass block params");if(e.useDepths&&!o)throw new v.default("must pass parent depths");return i(a,t,e[t],n,0,r,o)},r}function i(e,t,n,r,o,i,a){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return s=c(n,s,e,a,r,i),s.program=t,s.depth=a?a.length:0,s.blockParams=o||0,s}function a(e,t,n){return e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name],e}function s(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;if(n.fn&&n.fn!==l&&function(){n.data=g.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=g.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=h.extend({},n.partials,e.partials))}(),void 0===e&&o&&(e=o),void 0===e)throw new v.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)}function l(){return""}function u(e,t){return t&&"root"in t||(t=t?g.createFrame(t):{},t.root=e),t}function c(e,t,n,r,o,i){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],o,i,r),h.extend(t,a)}return t}function f(e,t){Object.keys(e).forEach(function(n){var r=e[n];e[n]=d(r,t)})}function d(e,t){var n=t.lookupProperty;return b.wrapHelper(e,function(e){return h.extend({lookupProperty:n},e)})}t.__esModule=!0,t.checkRevision=r,t.template=o,t.wrapProgram=i,t.resolvePartial=a,t.invokePartial=s,t.noop=l;var p=n(98),h=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(p),m=n(141),v=function(e){return e&&e.__esModule?e:{default:e}}(m),g=n(501),y=n(502),b=n(1093),_=n(504)},function(e,t,n){"use strict";function r(e,t){return"function"!=typeof e?e:function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=t(n),e.apply(this,arguments)}}t.__esModule=!0,t.wrapHelper=r},function(e,t,n){"use strict";(function(n){t.__esModule=!0,t.default=function(e){var t=void 0!==n?n:window,r=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=r),e}},e.exports=t.default}).call(t,n(108))},function(e,t,n){(function(r){var o,i;
//     (c) 2010-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Backbone may be freely distributed under the MIT license.
!function(a){var s="object"==typeof self&&self.self==self&&self||"object"==typeof r&&r.global==r&&r;o=[n(1096),n(326),t],void 0!==(i=function(e,t,n){s.Backbone=a(s,n,e,t)}.apply(t,o))&&(e.exports=i)}(function(e,t,n,r){var o=e.Backbone,i=[].slice;t.VERSION="1.2.1",t.$=r,t.noConflict=function(){return e.Backbone=o,this},t.emulateHTTP=!1,t.emulateJSON=!1;var a=function(e,t,r){switch(e){case 1:return function(){return n[t](this[r])};case 2:return function(e){return n[t](this[r],e)};case 3:return function(e,o){return n[t](this[r],e,o)};case 4:return function(e,o,i){return n[t](this[r],e,o,i)};default:return function(){var e=i.call(arguments);return e.unshift(this[r]),n[t].apply(n,e)}}},s=function(e,t,r){n.each(t,function(t,o){n[o]&&(e.prototype[o]=a(t,o,r))})},l=t.Events={},u=/\s+/,c=function(e,t,r,o,i){var a,s=0;if(r&&"object"==typeof r){void 0!==o&&"context"in i&&void 0===i.context&&(i.context=o);for(a=n.keys(r);s<a.length;s++)t=e(t,a[s],r[a[s]],i)}else if(r&&u.test(r))for(a=r.split(u);s<a.length;s++)t=e(t,a[s],o,i);else t=e(t,r,o,i);return t};l.on=function(e,t,n){return f(this,e,t,n)};var f=function(e,t,n,r,o){if(e._events=c(d,e._events||{},t,n,{context:r,ctx:e,listening:o}),o){(e._listeners||(e._listeners={}))[o.id]=o}return e};l.listenTo=function(e,t,r){if(!e)return this;var o=e._listenId||(e._listenId=n.uniqueId("l")),i=this._listeningTo||(this._listeningTo={}),a=i[o];if(!a){var s=this._listenId||(this._listenId=n.uniqueId("l"));a=i[o]={obj:e,objId:o,id:s,listeningTo:i,count:0}}return f(e,t,r,this,a),this};var d=function(e,t,n,r){if(n){var o=e[t]||(e[t]=[]),i=r.context,a=r.ctx,s=r.listening;s&&s.count++,o.push({callback:n,context:i,ctx:i||a,listening:s})}return e};l.off=function(e,t,n){return this._events?(this._events=c(p,this._events,e,t,{context:n,listeners:this._listeners}),this):this},l.stopListening=function(e,t,r){var o=this._listeningTo;if(!o)return this;for(var i=e?[e._listenId]:n.keys(o),a=0;a<i.length;a++){var s=o[i[a]];if(!s)break;s.obj.off(t,r,this)}return n.isEmpty(o)&&(this._listeningTo=void 0),this};var p=function(e,t,r,o){if(e){var i,a=0,s=o.context,l=o.listeners;if(t||r||s){for(var u=t?[t]:n.keys(e);a<u.length;a++){t=u[a];var c=e[t];if(!c)break;for(var f=[],d=0;d<c.length;d++){var p=c[d];r&&r!==p.callback&&r!==p.callback._callback||s&&s!==p.context?f.push(p):(i=p.listening)&&0==--i.count&&(delete l[i.id],delete i.listeningTo[i.objId])}f.length?e[t]=f:delete e[t]}return n.size(e)?e:void 0}for(var h=n.keys(l);a<h.length;a++)i=l[h[a]],delete l[i.id],delete i.listeningTo[i.objId]}};l.once=function(e,t,r){var o=c(h,{},e,t,n.bind(this.off,this));return this.on(o,void 0,r)},l.listenToOnce=function(e,t,r){var o=c(h,{},t,r,n.bind(this.stopListening,this,e));return this.listenTo(e,o)};var h=function(e,t,r,o){if(r){var i=e[t]=n.once(function(){o(t,i),r.apply(this,arguments)});i._callback=r}return e};l.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),r=0;r<t;r++)n[r]=arguments[r+1];return c(m,this._events,e,void 0,n),this};var m=function(e,t,n,r){if(e){var o=e[t],i=e.all;o&&i&&(i=i.slice()),o&&v(o,r),i&&v(i,[t].concat(r))}return e},v=function(e,t){var n,r=-1,o=e.length,i=t[0],a=t[1],s=t[2];switch(t.length){case 0:for(;++r<o;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i);return;case 2:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a);return;case 3:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a,s);return;default:for(;++r<o;)(n=e[r]).callback.apply(n.ctx,t);return}};l.bind=l.on,l.unbind=l.off,n.extend(t,l);var g=t.Model=function(e,t){var r=e||{};t||(t={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(r=this.parse(r,t)||{}),r=n.defaults({},r,n.result(this,"defaults")),this.set(r,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(g.prototype,l,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,r){if(null==e)return this;var o;if("object"==typeof e?(o=e,r=t):(o={})[e]=t,r||(r={}),!this._validate(o,r))return!1;var i=r.unset,a=r.silent,s=[],l=this._changing;this._changing=!0,l||(this._previousAttributes=n.clone(this.attributes),this.changed={});var u=this.attributes,c=this.changed,f=this._previousAttributes;this.idAttribute in o&&(this.id=o[this.idAttribute]);for(var d in o)t=o[d],n.isEqual(u[d],t)||s.push(d),n.isEqual(f[d],t)?delete c[d]:c[d]=t,i?delete u[d]:u[d]=t;if(!a){s.length&&(this._pending=r);for(var p=0;p<s.length;p++)this.trigger("change:"+s[p],this,u[s[p]],r)}if(l)return this;if(!a)for(;this._pending;)r=this._pending,this._pending=!1,this.trigger("change",this,r);return this._pending=!1,this._changing=!1,this},unset:function(e,t){return this.set(e,void 0,n.extend({},t,{unset:!0}))},clear:function(e){var t={};for(var r in this.attributes)t[r]=void 0;return this.set(t,n.extend({},e,{unset:!0}))},hasChanged:function(e){return null==e?!n.isEmpty(this.changed):n.has(this.changed,e)},changedAttributes:function(e){if(!e)return!!this.hasChanged()&&n.clone(this.changed);var t=this._changing?this._previousAttributes:this.attributes,r={};for(var o in e){var i=e[o];n.isEqual(t[o],i)||(r[o]=i)}return!!n.size(r)&&r},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,r=e.success;return e.success=function(n){var o=e.parse?t.parse(n,e):n;if(!t.set(o,e))return!1;r&&r.call(e.context,t,n,e),t.trigger("sync",t,n,e)},j(this,e),this.sync("read",this,e)},save:function(e,t,r){var o;null==e||"object"==typeof e?(o=e,r=t):(o={})[e]=t,r=n.extend({validate:!0,parse:!0},r);var i=r.wait;if(o&&!i){if(!this.set(o,r))return!1}else if(!this._validate(o,r))return!1;var a=this,s=r.success,l=this.attributes;r.success=function(e){a.attributes=l;var t=r.parse?a.parse(e,r):e;if(i&&(t=n.extend({},o,t)),t&&!a.set(t,r))return!1;s&&s.call(r.context,a,e,r),a.trigger("sync",a,e,r)},j(this,r),o&&i&&(this.attributes=n.extend({},l,o));var u=this.isNew()?"create":r.patch?"patch":"update";"patch"!==u||r.attrs||(r.attrs=o);var c=this.sync(u,this,r);return this.attributes=l,c},destroy:function(e){e=e?n.clone(e):{};var t=this,r=e.success,o=e.wait,i=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){o&&i(),r&&r.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var a=!1;return this.isNew()?n.defer(e.success):(j(this,e),a=this.sync("delete",this,e)),o||i(),a},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||D();if(this.isNew())return e;var t=this.get(this.idAttribute);return e.replace(/[^\/]$/,"$&/")+encodeURIComponent(t)},parse:function(e,t){return e},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(e){return this._validate({},n.defaults({validate:!0},e))},_validate:function(e,t){if(!t.validate||!this.validate)return!0;e=n.extend({},this.attributes,e);var r=this.validationError=this.validate(e,t)||null;return!r||(this.trigger("invalid",this,r,n.extend(t,{validationError:r})),!1)}}),s(g,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},"attributes");var y=t.Collection=function(e,t){t||(t={}),t.model&&(this.model=t.model),void 0!==t.comparator&&(this.comparator=t.comparator),this._reset(),this.initialize.apply(this,arguments),e&&this.reset(e,n.extend({silent:!0},t))},b={add:!0,remove:!0,merge:!0},_={add:!0,remove:!1};n.extend(y.prototype,l,{model:g,initialize:function(){},toJSON:function(e){return this.map(function(t){return t.toJSON(e)})},sync:function(){return t.sync.apply(this,arguments)},add:function(e,t){return this.set(e,n.extend({merge:!1},t,_))},remove:function(e,t){t=n.extend({},t);var r=!n.isArray(e);e=r?[e]:n.clone(e);var o=this._removeModels(e,t);return!t.silent&&o&&this.trigger("update",this,t),r?o[0]:o},set:function(e,t){t=n.defaults({},t,b),t.parse&&!this._isModel(e)&&(e=this.parse(e,t));var r=!n.isArray(e);e=r?e?[e]:[]:e.slice();var o,i,a,s,l,u=t.at;null!=u&&(u=+u),u<0&&(u+=this.length+1);for(var c=this.comparator&&null==u&&!1!==t.sort,f=n.isString(this.comparator)?this.comparator:null,d=[],p=[],h={},m=t.add,v=t.merge,g=t.remove,y=!(c||!m||!g)&&[],_=!1,w=0;w<e.length;w++){if(a=e[w],s=this.get(a))g&&(h[s.cid]=!0),v&&a!==s&&(a=this._isModel(a)?a.attributes:a,t.parse&&(a=s.parse(a,t)),s.set(a,t),c&&!l&&s.hasChanged(f)&&(l=!0)),e[w]=s;else if(m){if(!(i=e[w]=this._prepareModel(a,t)))continue;d.push(i),this._addReference(i,t)}i=s||i,i&&(o=this.modelId(i.attributes),!y||!i.isNew()&&h[o]||(y.push(i),_=_||!this.models[w]||i.cid!==this.models[w].cid),h[o]=!0)}if(g){for(var w=0;w<this.length;w++)h[(i=this.models[w]).cid]||p.push(i);p.length&&this._removeModels(p,t)}if(d.length||_)if(c&&(l=!0),this.length+=d.length,null!=u)for(var w=0;w<d.length;w++)this.models.splice(u+w,0,d[w]);else{y&&(this.models.length=0);for(var x=y||d,w=0;w<x.length;w++)this.models.push(x[w])}if(l&&this.sort({silent:!0}),!t.silent){for(var E=null!=u?n.clone(t):t,w=0;w<d.length;w++)null!=u&&(E.index=u+w),(i=d[w]).trigger("add",i,this,E);(l||_)&&this.trigger("sort",this,t),(d.length||p.length)&&this.trigger("update",this,t)}return r?e[0]:e},reset:function(e,t){t=t?n.clone(t):{};for(var r=0;r<this.models.length;r++)this._removeReference(this.models[r],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return i.apply(this.models,arguments)},get:function(e){if(null!=e){var t=this.modelId(this._isModel(e)?e.attributes:e);return this._byId[e]||this._byId[t]||this._byId[e.cid]}},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){var r=n.matches(e);return this[t?"find":"filter"](function(e){return r(e.attributes)})},findWhere:function(e){return this.where(e,!0)},sort:function(e){if(!this.comparator)throw new Error("Cannot sort a set without a comparator");return e||(e={}),n.isString(this.comparator)||1===this.comparator.length?this.models=this.sortBy(this.comparator,this):this.models.sort(n.bind(this.comparator,this)),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return n.invoke(this.models,"get",e)},fetch:function(e){e=n.extend({parse:!0},e);var t=e.success,r=this;return e.success=function(n){var o=e.reset?"reset":"set";r[o](n,e),t&&t.call(e.context,r,n,e),r.trigger("sync",r,n,e)},j(this,e),this.sync("read",this,e)},create:function(e,t){t=t?n.clone(t):{};var r=t.wait;if(!(e=this._prepareModel(e,t)))return!1;r||this.add(e,t);var o=this,i=t.success;return t.success=function(e,t,n){r&&o.add(e,n),i&&i.call(n.context,e,t,n)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(e,t){if(this._isModel(e))return e.collection||(e.collection=this),e;t=t?n.clone(t):{},t.collection=this;var r=new this.model(e,t);return r.validationError?(this.trigger("invalid",this,r.validationError,t),!1):r},_removeModels:function(e,t){for(var n=[],r=0;r<e.length;r++){var o=this.get(e[r]);if(o){var i=this.indexOf(o);this.models.splice(i,1),this.length--,t.silent||(t.index=i,o.trigger("remove",o,this,t)),n.push(o),this._removeReference(o,t)}}return!!n.length&&n},_isModel:function(e){return e instanceof g},_addReference:function(e,t){this._byId[e.cid]=e;var n=this.modelId(e.attributes);null!=n&&(this._byId[n]=e),e.on("all",this._onModelEvent,this)},_removeReference:function(e,t){delete this._byId[e.cid];var n=this.modelId(e.attributes);null!=n&&delete this._byId[n],this===e.collection&&delete e.collection,e.off("all",this._onModelEvent,this)},_onModelEvent:function(e,t,n,r){if("add"!==e&&"remove"!==e||n===this){if("destroy"===e&&this.remove(t,r),"change"===e){var o=this.modelId(t.previousAttributes()),i=this.modelId(t.attributes);o!==i&&(null!=o&&delete this._byId[o],null!=i&&(this._byId[i]=t))}this.trigger.apply(this,arguments)}}}),s(y,{forEach:3,each:3,map:3,collect:3,reduce:4,foldl:4,inject:4,reduceRight:4,foldr:4,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:2,contains:2,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3},"models");var w=["groupBy","countBy","sortBy","indexBy"];n.each(w,function(e){n[e]&&(y.prototype[e]=function(t,r){var o=n.isFunction(t)?t:function(e){return e.get(t)};return n[e](this.models,o,r)})});var x=t.View=function(e){this.cid=n.uniqueId("view"),n.extend(this,n.pick(e,T)),this._ensureElement(),this.initialize.apply(this,arguments)},E=/^(\S+)\s*(.*)$/,T=["model","collection","el","id","attributes","className","tagName","events"];n.extend(x.prototype,l,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;this.undelegateEvents();for(var t in e){var r=e[t];if(n.isFunction(r)||(r=this[r]),r){var o=t.match(E);this.delegate(o[1],o[2],n.bind(r,this))}}return this},delegate:function(e,t,n){return this.$el.on(e+".delegateEvents"+this.cid,t,n),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(e,t,n){return this.$el.off(e+".delegateEvents"+this.cid,t,n),this},_createElement:function(e){return document.createElement(e)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var e=n.extend({},n.result(this,"attributes"));this.id&&(e.id=n.result(this,"id")),this.className&&(e.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(e)}},_setAttributes:function(e){this.$el.attr(e)}}),t.sync=function(e,r,o){var i=S[e];n.defaults(o||(o={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var a={type:i,dataType:"json"};if(o.url||(a.url=n.result(r,"url")||D()),null!=o.data||!r||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(o.attrs||r.toJSON(o))),o.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),o.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){a.type="POST",o.emulateJSON&&(a.data._method=i);var s=o.beforeSend;o.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",i),s)return s.apply(this,arguments)}}"GET"===a.type||o.emulateJSON||(a.processData=!1);var l=o.error;o.error=function(e,t,n){o.textStatus=t,o.errorThrown=n,l&&l.call(o.context,e,t,n)};var u=o.xhr=t.ajax(n.extend(a,o));return r.trigger("request",r,u,o),u};var S={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var k=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},O=/\((.*?)\)/g,A=/(\(\?)?:\w+/g,C=/\*\w+/g,R=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(k.prototype,l,{initialize:function(){},route:function(e,r,o){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(o=r,r=""),o||(o=this[r]);var i=this;return t.history.route(e,function(n){var a=i._extractParameters(e,n);!1!==i.execute(o,a,r)&&(i.trigger.apply(i,["route:"+r].concat(a)),i.trigger("route",r,a),t.history.trigger("route",i,r,a))}),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(R,"\\$&").replace(O,"(?:$1)?").replace(A,function(e,t){return t?e:"([^/?]+)"}).replace(C,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var I=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},N=/^[#\/]|\s+$/g,M=/^\/+|\/+$/g,P=/#.*$/;I.started=!1,n.extend(I.prototype,l,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root&&!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+"/"===this.root},decodeFragment:function(e){return decodeURI(e.replace(/%25/g,"%2525"))},getSearch:function(){var e=this.location.href.replace(/#.*/,"").match(/\?.+/);return e?e[0]:""},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getPath:function(){var e=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return"/"===e.charAt(0)?e.slice(1):e},getFragment:function(e){return null==e&&(e=this._usePushState||!this._wantsHashChange?this.getPath():this.getHash()),e.replace(N,"")},start:function(e){if(I.started)throw new Error("Backbone.history has already been started");if(I.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange="onhashchange"in window,this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!(!this.history||!this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(M,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,o=r.insertBefore(this.iframe,r.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var i=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?i("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?i("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),I.started=!1},route:function(e,t){this.handlers.unshift({route:e,callback:t})},checkUrl:function(e){var t=this.getFragment();if(t===this.fragment&&this.iframe&&(t=this.getHash(this.iframe.contentWindow)),t===this.fragment)return!1;this.iframe&&this.navigate(t),this.loadUrl()},loadUrl:function(e){return!!this.matchRoot()&&(e=this.fragment=this.getFragment(e),n.any(this.handlers,function(t){if(t.route.test(e))return t.callback(e),!0}))},navigate:function(e,t){if(!I.started)return!1;t&&!0!==t||(t={trigger:!!t}),e=this.getFragment(e||"");var n=this.root;""!==e&&"?"!==e.charAt(0)||(n=n.slice(0,-1)||"/");var r=n+e;if(e=this.decodeFragment(e.replace(P,"")),this.fragment!==e){if(this.fragment=e,this._usePushState)this.history[t.replace?"replaceState":"pushState"]({},document.title,r);else{if(!this._wantsHashChange)return this.location.assign(r);if(this._updateHash(this.location,e,t.replace),this.iframe&&e!==this.getHash(this.iframe.contentWindow)){var o=this.iframe.contentWindow;t.replace||(o.document.open(),o.document.close()),this._updateHash(o.location,e,t.replace)}}return t.trigger?this.loadUrl(e):void 0}},_updateHash:function(e,t,n){if(n){var r=e.href.replace(/(javascript:|#).*$/,"");e.replace(r+"#"+t)}else e.hash="#"+t}}),t.history=new I;var L=function(e,t){var r,o=this;r=e&&n.has(e,"constructor")?e.constructor:function(){return o.apply(this,arguments)},n.extend(r,o,t);var i=function(){this.constructor=r};return i.prototype=o.prototype,r.prototype=new i,e&&n.extend(r.prototype,e),r.__super__=o.prototype,r};g.extend=y.extend=k.extend=x.extend=I.extend=L;var D=function(){throw new Error('A "url" property or function must be specified')},j=function(e,t){var n=t.error;t.error=function(r){n&&n.call(t.context,e,r,t),e.trigger("error",e,r,t)}};return t})}).call(t,n(108))},function(e,t,n){(function(e,n){var r,o;
//     (c) 2009-2018 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
!function(){var i="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},a=i._,s=Array.prototype,l=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=s.push,f=s.slice,d=l.toString,p=l.hasOwnProperty,h=Array.isArray,m=Object.keys,v=Object.create,g=function(){},y=function(e){return e instanceof y?e:this instanceof y?void(this._wrapped=e):new y(e)};void 0===t||t.nodeType?i._=y:(void 0!==n&&!n.nodeType&&n.exports&&(t=n.exports=y),t._=y),y.VERSION="1.9.1";var b,_=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}},w=function(e,t,n){return y.iteratee!==b?y.iteratee(e,t):null==e?y.identity:y.isFunction(e)?_(e,t,n):y.isObject(e)&&!y.isArray(e)?y.matcher(e):y.property(e)};y.iteratee=b=function(e,t){return w(e,t,1/0)};var x=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}},E=function(e){if(!y.isObject(e))return{};if(v)return v(e);g.prototype=e;var t=new g;return g.prototype=null,t},T=function(e){return function(t){return null==t?void 0:t[e]}},S=function(e,t){return null!=e&&p.call(e,t)},k=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},O=Math.pow(2,53)-1,A=T("length"),C=function(e){var t=A(e);return"number"==typeof t&&t>=0&&t<=O};y.each=y.forEach=function(e,t,n){t=_(t,n);var r,o;if(C(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=y.keys(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e},y.map=y.collect=function(e,t,n){t=w(t,n);for(var r=!C(e)&&y.keys(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var s=r?r[a]:a;i[a]=t(e[s],s,e)}return i};var R=function(e){var t=function(t,n,r,o){var i=!C(t)&&y.keys(t),a=(i||t).length,s=e>0?0:a-1;for(o||(r=t[i?i[s]:s],s+=e);s>=0&&s<a;s+=e){var l=i?i[s]:s;r=n(r,t[l],l,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,_(n,o,4),r,i)}};y.reduce=y.foldl=y.inject=R(1),y.reduceRight=y.foldr=R(-1),y.find=y.detect=function(e,t,n){var r=C(e)?y.findIndex:y.findKey,o=r(e,t,n);if(void 0!==o&&-1!==o)return e[o]},y.filter=y.select=function(e,t,n){var r=[];return t=w(t,n),y.each(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r},y.reject=function(e,t,n){return y.filter(e,y.negate(w(t)),n)},y.every=y.all=function(e,t,n){t=w(t,n);for(var r=!C(e)&&y.keys(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0},y.some=y.any=function(e,t,n){t=w(t,n);for(var r=!C(e)&&y.keys(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1},y.contains=y.includes=y.include=function(e,t,n,r){return C(e)||(e=y.values(e)),("number"!=typeof n||r)&&(n=0),y.indexOf(e,t,n)>=0},y.invoke=x(function(e,t,n){var r,o;return y.isFunction(t)?o=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,function(e){var i=o;if(!i){if(r&&r.length&&(e=k(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)})}),y.pluck=function(e,t){return y.map(e,y.property(t))},y.where=function(e,t){return y.filter(e,y.matcher(t))},y.findWhere=function(e,t){return y.find(e,y.matcher(t))},y.max=function(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=C(e)?e:y.values(e);for(var s=0,l=e.length;s<l;s++)null!=(r=e[s])&&r>i&&(i=r)}else t=w(t,n),y.each(e,function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)});return i},y.min=function(e,t,n){var r,o,i=1/0,a=1/0;if(null==t||"number"==typeof t&&"object"!=typeof e[0]&&null!=e){e=C(e)?e:y.values(e);for(var s=0,l=e.length;s<l;s++)null!=(r=e[s])&&r<i&&(i=r)}else t=w(t,n),y.each(e,function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)});return i},y.shuffle=function(e){return y.sample(e,1/0)},y.sample=function(e,t,n){if(null==t||n)return C(e)||(e=y.values(e)),e[y.random(e.length-1)];var r=C(e)?y.clone(e):y.values(e),o=A(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var s=y.random(a,i),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,t)},y.sortBy=function(e,t,n){var r=0;return t=w(t,n),y.pluck(y.map(e,function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var I=function(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=w(r,o),y.each(n,function(t,o){var a=r(t,o,n);e(i,t,a)}),i}};y.groupBy=I(function(e,t,n){S(e,n)?e[n].push(t):e[n]=[t]}),y.indexBy=I(function(e,t,n){e[n]=t}),y.countBy=I(function(e,t,n){S(e,n)?e[n]++:e[n]=1});var N=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;y.toArray=function(e){return e?y.isArray(e)?f.call(e):y.isString(e)?e.match(N):C(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:C(e)?e.length:y.keys(e).length},y.partition=I(function(e,t,n){e[n?0:1].push(t)},!0),y.first=y.head=y.take=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[0]:y.initial(e,e.length-t)},y.initial=function(e,t,n){return f.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},y.last=function(e,t,n){return null==e||e.length<1?null==t?void 0:[]:null==t||n?e[e.length-1]:y.rest(e,Math.max(0,e.length-t))},y.rest=y.tail=y.drop=function(e,t,n){return f.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,Boolean)};var M=function(e,t,n,r){r=r||[];for(var o=r.length,i=0,a=A(e);i<a;i++){var s=e[i];if(C(s)&&(y.isArray(s)||y.isArguments(s)))if(t)for(var l=0,u=s.length;l<u;)r[o++]=s[l++];else M(s,t,n,r),o=r.length;else n||(r[o++]=s)}return r};y.flatten=function(e,t){return M(e,t,!1)},y.without=x(function(e,t){return y.difference(e,t)}),y.uniq=y.unique=function(e,t,n,r){y.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=w(n,r));for(var o=[],i=[],a=0,s=A(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t&&!n?(a&&i===u||o.push(l),i=u):n?y.contains(i,u)||(i.push(u),o.push(l)):y.contains(o,l)||o.push(l)}return o},y.union=x(function(e){return y.uniq(M(e,!0,!0))}),y.intersection=function(e){for(var t=[],n=arguments.length,r=0,o=A(e);r<o;r++){var i=e[r];if(!y.contains(t,i)){var a;for(a=1;a<n&&y.contains(arguments[a],i);a++);a===n&&t.push(i)}}return t},y.difference=x(function(e,t){return t=M(t,!0,!0),y.filter(e,function(e){return!y.contains(t,e)})}),y.unzip=function(e){for(var t=e&&y.max(e,A).length||0,n=Array(t),r=0;r<t;r++)n[r]=y.pluck(e,r);return n},y.zip=x(y.unzip),y.object=function(e,t){for(var n={},r=0,o=A(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var P=function(e){return function(t,n,r){n=w(n,r);for(var o=A(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}};y.findIndex=P(1),y.findLastIndex=P(-1),y.sortedIndex=function(e,t,n,r){n=w(n,r,1);for(var o=n(t),i=0,a=A(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])<o?i=s+1:a=s}return i};var L=function(e,t,n){return function(r,o,i){var a=0,s=A(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return i=n(r,o),r[i]===o?i:-1;if(o!==o)return i=t(f.call(r,a,s),y.isNaN),i>=0?i+a:-1;for(i=e>0?a:s-1;i>=0&&i<s;i+=e)if(r[i]===o)return i;return-1}};y.indexOf=L(1,y.findIndex,y.sortedIndex),y.lastIndexOf=L(-1,y.findLastIndex),y.range=function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o},y.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(f.call(e,r,r+=t));return n};var D=function(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=E(e.prototype),a=e.apply(i,o);return y.isObject(a)?a:i};y.bind=x(function(e,t,n){if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var r=x(function(o){return D(e,r,t,this,n.concat(o))});return r}),y.partial=x(function(e,t){var n=y.partial.placeholder,r=function(){for(var o=0,i=t.length,a=Array(i),s=0;s<i;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return D(e,r,this,this,a)};return r}),y.partial.placeholder=y,y.bindAll=x(function(e,t){t=M(t,!1,!1);var n=t.length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=y.bind(e[r],e)}}),y.memoize=function(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return S(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n},y.delay=x(function(e,t,n){return setTimeout(function(){return e.apply(null,n)},t)}),y.defer=y.partial(y.delay,y,1),y.throttle=function(e,t,n){var r,o,i,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:y.now(),r=null,a=e.apply(o,i),r||(o=i=null)},u=function(){var u=y.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return o=this,i=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=u,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=o=i=null},u},y.debounce=function(e,t,n){var r,o,i=function(t,n){r=null,n&&(o=e.apply(t,n))},a=x(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(i,t),s&&(o=e.apply(this,a))}else r=y.delay(i,t,this,a);return o});return a.cancel=function(){clearTimeout(r),r=null},a},y.wrap=function(e,t){return y.partial(t,e)},y.negate=function(e){return function(){return!e.apply(this,arguments)}},y.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},y.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},y.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},y.once=y.partial(y.before,2),y.restArguments=x;var j=!{toString:null}.propertyIsEnumerable("toString"),F=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],U=function(e,t){var n=F.length,r=e.constructor,o=y.isFunction(r)&&r.prototype||l,i="constructor";for(S(e,i)&&!y.contains(t,i)&&t.push(i);n--;)(i=F[n])in e&&e[i]!==o[i]&&!y.contains(t,i)&&t.push(i)};y.keys=function(e){if(!y.isObject(e))return[];if(m)return m(e);var t=[];for(var n in e)S(e,n)&&t.push(n);return j&&U(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return j&&U(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r},y.mapObject=function(e,t,n){t=w(t,n);for(var r=y.keys(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i},y.pairs=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r},y.invert=function(e){for(var t={},n=y.keys(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t},y.functions=y.methods=function(e){var t=[];for(var n in e)y.isFunction(e[n])&&t.push(n);return t.sort()};var B=function(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=i[u])}return n}};y.extend=B(y.allKeys),y.extendOwn=y.assign=B(y.keys),y.findKey=function(e,t,n){t=w(t,n);for(var r,o=y.keys(e),i=0,a=o.length;i<a;i++)if(r=o[i],t(e[r],r,e))return r};var V=function(e,t,n){return t in n};y.pick=x(function(e,t){var n={},r=t[0];if(null==e)return n;y.isFunction(r)?(t.length>1&&(r=_(r,t[1])),t=y.allKeys(e)):(r=V,t=M(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),y.omit=x(function(e,t){var n,r=t[0];return y.isFunction(r)?(r=y.negate(r),t.length>1&&(n=t[1])):(t=y.map(M(t,!1,!1),String),r=function(e,n){return!y.contains(t,n)}),y.pick(e,r,n)}),y.defaults=B(y.allKeys,!0),y.create=function(e,t){var n=E(e);return t&&y.extendOwn(n,t),n},y.clone=function(e){return y.isObject(e)?y.isArray(e)?e.slice():y.extend({},e):e},y.tap=function(e,t){return t(e),e},y.isMatch=function(e,t){var n=y.keys(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0};var q,H;q=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var o=typeof e;return("function"===o||"object"===o||"object"==typeof t)&&H(e,t,n,r)},H=function(e,t,n,r){e instanceof y&&(e=e._wrapped),t instanceof y&&(t=t._wrapped);var o=d.call(e);if(o!==d.call(t))return!1;switch(o){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return u.valueOf.call(e)===u.valueOf.call(t)}var i="[object Array]"===o;if(!i){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(y.isFunction(a)&&a instanceof a&&y.isFunction(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}n=n||[],r=r||[];for(var l=n.length;l--;)if(n[l]===e)return r[l]===t;if(n.push(e),r.push(t),i){if((l=e.length)!==t.length)return!1;for(;l--;)if(!q(e[l],t[l],n,r))return!1}else{var c,f=y.keys(e);if(l=f.length,y.keys(t).length!==l)return!1;for(;l--;)if(c=f[l],!S(t,c)||!q(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(e,t){return q(e,t)},y.isEmpty=function(e){return null==e||(C(e)&&(y.isArray(e)||y.isString(e)||y.isArguments(e))?0===e.length:0===y.keys(e).length)},y.isElement=function(e){return!(!e||1!==e.nodeType)},y.isArray=h||function(e){return"[object Array]"===d.call(e)},y.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},y.each(["Arguments","Function","String","Number","Date","RegExp","Error","Symbol","Map","WeakMap","Set","WeakSet"],function(e){y["is"+e]=function(t){return d.call(t)==="[object "+e+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return S(e,"callee")});var W=i.document&&i.document.childNodes;"function"!=typeof/./&&"object"!=typeof Int8Array&&"function"!=typeof W&&(y.isFunction=function(e){return"function"==typeof e||!1}),y.isFinite=function(e){return!y.isSymbol(e)&&isFinite(e)&&!isNaN(parseFloat(e))},y.isNaN=function(e){return y.isNumber(e)&&isNaN(e)},y.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===d.call(e)},y.isNull=function(e){return null===e},y.isUndefined=function(e){return void 0===e},y.has=function(e,t){if(!y.isArray(t))return S(e,t);for(var n=t.length,r=0;r<n;r++){var o=t[r];if(null==e||!p.call(e,o))return!1;e=e[o]}return!!n},y.noConflict=function(){return i._=a,this},y.identity=function(e){return e},y.constant=function(e){return function(){return e}},y.noop=function(){},y.property=function(e){return y.isArray(e)?function(t){return k(t,e)}:T(e)},y.propertyOf=function(e){return null==e?function(){}:function(t){return y.isArray(t)?k(e,t):e[t]}},y.matcher=y.matches=function(e){return e=y.extendOwn({},e),function(t){return y.isMatch(t,e)}},y.times=function(e,t,n){var r=Array(Math.max(0,e));t=_(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r},y.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},y.now=Date.now||function(){return(new Date).getTime()};var z={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},K=y.invert(z),$=function(e){var t=function(t){return e[t]},n="(?:"+y.keys(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}};y.escape=$(z),y.unescape=$(K),y.result=function(e,t,n){y.isArray(t)||(t=[t]);var r=t.length;if(!r)return y.isFunction(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=y.isFunction(i)?i.call(e):i}return e};var G=0;y.uniqueId=function(e){var t=++G+"";return e?e+t:t},y.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Y=/(.)^/,J={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Q=/\\|'|\r|\n|\u2028|\u2029/g,X=function(e){return"\\"+J[e]};y.template=function(e,t,n){!t&&n&&(t=n),t=y.defaults({},t,y.templateSettings);var r=RegExp([(t.escape||Y).source,(t.interpolate||Y).source,(t.evaluate||Y).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,function(t,n,r,a,s){return i+=e.slice(o,s).replace(Q,X),o=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t}),i+="';\n",t.variable||(i="with(obj||{}){\n"+i+"}\n"),i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";var a;try{a=new Function(t.variable||"obj","_",i)}catch(e){throw e.source=i,e}var s=function(e){return a.call(this,e,y)};return s.source="function("+(t.variable||"obj")+"){\n"+i+"}",s},y.chain=function(e){var t=y(e);return t._chain=!0,t};var Z=function(e,t){return e._chain?y(t).chain():t};y.mixin=function(e){return y.each(y.functions(e),function(t){var n=y[t]=e[t];y.prototype[t]=function(){var e=[this._wrapped];return c.apply(e,arguments),Z(this,n.apply(y,e))}}),y},y.mixin(y),y.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=s[e];y.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],Z(this,n)}}),y.each(["concat","join","slice"],function(e){var t=s[e];y.prototype[e]=function(){return Z(this,t.apply(this._wrapped,arguments))}}),y.prototype.value=function(){return this._wrapped},y.prototype.valueOf=y.prototype.toJSON=y.prototype.value,y.prototype.toString=function(){return String(this._wrapped)},r=[],void 0!==(o=function(){return y}.apply(t,r))&&(n.exports=o)}()}).call(t,n(108),n(1097)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){e.exports={AF:"Afghanistan",AX:"Åland Islands",AL:"Albania",DZ:"Algeria",AS:"American Samoa",AD:"Andorra",AO:"Angola",AI:"Anguilla",AQ:"Antarctica",AG:"Antigua and Barbuda",AR:"Argentina",AM:"Armenia",AW:"Aruba",AU:"Australia",AT:"Austria",AZ:"Azerbaijan",BS:"Bahamas",BH:"Bahrain",BD:"Bangladesh",BB:"Barbados",BY:"Belarus",BE:"Belgium",BZ:"Belize",BJ:"Benin",BM:"Bermuda",BT:"Bhutan",BO:"Bolivia, Plurinational State of",BA:"Bosnia and Herzegovina",BW:"Botswana",BV:"Bouvet Island",BR:"Brazil",IO:"British Indian Ocean Territory",VG:"Virgin Islands, British",BN:"Brunei Darussalam",BG:"Bulgaria",BF:"Burkina Faso",BI:"Burundi",KH:"Cambodia",CM:"Cameroon",CA:"Canada",CV:"Cape Verde",KY:"Cayman Islands",CF:"Central African Republic",TD:"Chad",CL:"Chile",CN:"China",CX:"Christmas Island",CO:"Colombia",KM:"Comoros",CG:"Congo",CK:"Cook Islands",CR:"Costa Rica",CI:"Côte d'Ivoire",HR:"Croatia",CU:"Cuba",CY:"Cyprus",CZ:"Czech Republic",CD:"Congo, the Democratic Republic of the",DK:"Denmark",DJ:"Djibouti",DM:"Dominica",DO:"Dominican Republic",TL:"Timor-Leste",EC:"Ecuador",EG:"Egypt",SV:"El Salvador",GQ:"Equatorial Guinea",ER:"Eritrea",EE:"Estonia",ET:"Ethiopia",FK:"Falkland Islands (Malvinas)",FO:"Faroe Islands",FJ:"Fiji",FI:"Finland",FR:"France",GF:"French Guiana",PF:"French Polynesia",TF:"French Southern Territories",GA:"Gabon",GM:"Gambia",GE:"Georgia",DE:"Germany",GH:"Ghana",GI:"Gibraltar",GR:"Greece",GL:"Greenland",GD:"Grenada",GP:"Guadeloupe",GU:"Guam",GT:"Guatemala",GG:"Guernsey",GN:"Guinea",GW:"Guinea-Bissau",GY:"Guyana",HT:"Haiti",HM:"Heard Island and McDonald Islands",HN:"Honduras",HK:"Hong Kong",HU:"Hungary",IS:"Iceland",IN:"India",ID:"Indonesia",IR:"Iran, Islamic Republic of",IQ:"Iraq",IE:"Ireland",IL:"Israel",IT:"Italy",JM:"Jamaica",JP:"Japan",JE:"Jersey",JO:"Jordan",KZ:"Kazakhstan",KE:"Kenya",KI:"Kiribati",KR:"Korea, Republic of",XK:"Kosovo, Republic of",KW:"Kuwait",KG:"Kyrgyzstan",LA:"Lao People's Democratic Republic",LV:"Latvia",LB:"Lebanon",LS:"Lesotho",LR:"Liberia",LY:"Libya",LI:"Liechtenstein",LT:"Lithuania",LU:"Luxembourg",MO:"Macao",MK:"Macedonia, the former Yugoslav Republic of",MG:"Madagascar",MW:"Malawi",MY:"Malaysia",MV:"Maldives",ML:"Mali",MT:"Malta",MH:"Marshall Islands",MQ:"Martinique",MR:"Mauritania",MU:"Mauritius",YT:"Mayotte",MX:"Mexico",FM:"Micronesia, Federated States of",MD:"Moldova, Republic of",MC:"Monaco",MN:"Mongolia",ME:"Montenegro",MS:"Montserrat",MA:"Morocco",MZ:"Mozambique",MM:"Myanmar",NA:"Namibia",NR:"Nauru",NP:"Nepal",NL:"Netherlands",AN:"Netherlands Antilles",NC:"New Caledonia",NZ:"New Zealand",NI:"Nicaragua",NE:"Niger",NG:"Nigeria",NU:"Niue",NF:"Norfolk Island",KP:"Korea, Democratic People's Republic of",MP:"Northern Mariana Islands",NO:"Norway",OM:"Oman",PK:"Pakistan",PW:"Palau",PS:"Palestine, State of",PA:"Panama",PG:"Papua New Guinea",PY:"Paraguay",PE:"Peru",PH:"Philippines",PN:"Pitcairn",PL:"Poland",PT:"Portugal",PR:"Puerto Rico",QA:"Qatar",RE:"Réunion",RO:"Romania",RU:"Russian Federation",RW:"Rwanda",SH:"Saint Helena, Ascension and Tristan da Cunha",KN:"Saint Kitts and Nevis",LC:"Saint Lucia",PM:"Saint Pierre and Miquelon",VC:"Saint Vincent and the Grenadines",WS:"Samoa",SM:"San Marino",ST:"São Tomé and Príncipe",SA:"Saudi Arabia",SN:"Senegal",RS:"Serbia",SC:"Seychelles",SL:"Sierra Leone",SG:"Singapore",SK:"Slovakia",SI:"Slovenia",SB:"Solomon Islands",SO:"Somalia",ZA:"South Africa",GS:"South Georgia and the South Sandwich Islands",SS:"South Sudan",ES:"Spain",LK:"Sri Lanka",SD:"Sudan",SR:"Suriname",SJ:"Svalbard and Jan Mayen",SZ:"Swaziland",SE:"Sweden",CH:"Switzerland",SY:"Syrian Arab Republic",TW:"Taiwan",TJ:"Tajikistan",TZ:"Tanzania, United Republic of",TH:"Thailand",TG:"Togo",TK:"Tokelau",TO:"Tonga",TT:"Trinidad and Tobago",TN:"Tunisia",TR:"Turkey",TM:"Turkmenistan",TC:"Turks and Caicos Islands",TV:"Tuvalu",VI:"Virgin Islands, U.S.",UG:"Uganda",UA:"Ukraine",AE:"United Arab Emirates",GB:"United Kingdom",US:"United States",UM:"United States Minor Outlying Islands",UY:"Uruguay",UZ:"Uzbekistan",VU:"Vanuatu",VA:"Holy See (Vatican City State)",VE:"Venezuela, Bolivarian Republic of",VN:"Viet Nam",WF:"Wallis and Futuna",EH:"Western Sahara",YE:"Yemen",ZM:"Zambia",ZW:"Zimbabwe"}},function(e,t){e.exports={signout:"Sign Out",signin:"Sign In",signup:"Sign Up",remember:"Remember me",rememberDevice:"Trust this device","rememberDevice.timebased":"Do not challenge me on this device for the next {0}","rememberDevice.devicebased":"Do not challenge me on this device again",autoPush:"Send push automatically",unlockaccount:"Unlock account?",haveaccount:"Already have an account?",needhelp:"Need help signing in?",forgotpassword:"Forgot password?",help:"Help",retry:"Retry",iphone:"iPhone",android:"Android",goback:"Back to sign in",closeWindow:"You can close this window","country.label":"Country","phone.extention.label":"Extension","skip.to.main.content":"Skip to main content","minutes.oneMinute":"minute",minutes:"{0} minutes",hours:"{0} hours",days:"{0} days","error.config":"There was a configuration error","error.required.authParams":'Missing parameters for the configured authentication scheme - "OAUTH2"',"error.required.baseUrl":'"baseUrl" is a required widget parameter',"error.required.success":"A success handler is required","error.required.el":'"el" is a required widget parameter',"error.invalid.colors.brand":'"colors.brand" must be in six-digit hex format',"error.unsupported.browser":"Unsupported browser","error.unsupported.cors":"Unsupported browser - missing CORS support","error.unsupported.localStorage":"Unsupported browser - missing localStorage support","error.enabled.cors":"There was an error sending the request - have you enabled CORS?","error.expired.session":"Your session has expired. Please try to sign in again.","error.mfa.only.expired.session":"Unable to authenticate at this time.","error.auth.lockedOut":"Your account is locked. Please contact your administrator.","error.oauth.idToken":"There was a problem generating the id_token for the user. Please try again.","error.network.connection":"Unable to connect to the server. Please check your network connection.","error.username.required":"Please enter a username","error.password.required":"Please enter a password","error.mfa.required":"The current sign on policy requires this client to redirect for re-authentication or MFA. Please contact your administrator.","errors.E0000004":"Unable to sign in","errors.E0000069":"Your account is locked because of too many authentication attempts.","errors.E0000047":"You exceeded the maximum number of requests. Try again in a while.","errors.E0000079":"The operation is not allowed. Please refresh the page to proceed.","errors.E0000001":"Api validation failed: {0}","errors.E0000002":"The request was not valid: {0}","errors.E0000003":"The request body was not well-formed.","errors.E0000005":"Invalid session","errors.E0000006":"You do not have permission to perform the requested action","errors.E0000007":"Not found: {0}","errors.E0000008":"The requested path was not found","errors.E0000009":"Internal Server Error","errors.E0000010":"Service is in read only mode","errors.E0000011":"Invalid token provided","errors.E0000012":"Unsupported media type","errors.E0000013":"Invalid client app id","errors.E0000015":"You do not have permission to access the feature you are requesting","errors.E0000016":"Activation failed because the user is already active","errors.E0000017":"Password reset failed","errors.E0000018":"Bad request.  Accept and/or Content-Type headers are likely not set.","errors.E0000019":"Bad request.  Accept and/or Content-Type headers likely do not match supported values.","errors.E0000020":"Bad request.","errors.E0000021":"Bad request.  Accept and/or Content-Type headers likely do not match supported values.","errors.E0000022":"The endpoint does not support the provided HTTP method","errors.E0000023":"Operation failed because user profile is mastered under another system","errors.E0000024":"Bad request.  This operation on app metadata is not yet supported.","errors.E0000025":"App version assignment failed.","errors.E0000026":"This endpoint has been deprecated.","errors.E0000027":"Group push bad request : {0}","errors.E0000028":"The request is missing a required parameter.","errors.E0000029":"Invalid paging request.","errors.E0000030":"Bad request. Invalid date. Dates must be of the form yyyy-MM-dd''T''HH:mm:ss.SSSZZ, e.g. 2013-01-01T12:00:00.000-07:00.","errors.E0000031":"Invalid search criteria.","errors.E0000032":"Unlock is not allowed for this user.","errors.E0000033":"Bad request. Can't specify a search query and filter in the same request.","errors.E0000034":"Forgot password not allowed on specified user.","errors.E0000035":"Change password not allowed on specified user.","errors.E0000036":"Change recovery question not allowed on specified user.","errors.E0000037":"Type mismatch exception.","errors.E0000038":"This operation is not allowed in the user''s current status.","errors.E0000039":"Operation on application settings failed.","errors.E0000040":"Application label must not be the same as an existing application label.","errors.E0000041":"Credentials should not be set on this resource based on the scheme.","errors.E0000042":"Setting the error page redirect URL failed.","errors.E0000043":"Self service application assignment is not enabled.","errors.E0000044":"Self service application assignment is not supported.","errors.E0000045":"Field mapping bad request.","errors.E0000046":"Deactivate application for user forbidden.","errors.E0000048":"Entity not found exception.","errors.E0000049":"Invalid SCIM data from SCIM implementation.","errors.E0000050":"Invalid SCIM data from client.","errors.E0000051":"No response from SCIM implementation.","errors.E0000052":"Endpoint not implemented.","errors.E0000053":"Invalid SCIM filter.","errors.E0000054":"Invalid pagination properties.","errors.E0000055":"Duplicate group.","errors.E0000056":"Delete application forbidden.","errors.E0000057":"Access to this application is denied due to a policy.","errors.E0000058":"Access to this application requires MFA: {0}","errors.E0000059":"The connector configuration could not be tested. Make sure that the URL, Authentication Parameters are correct and that there is an implementation available at the URL provided.","errors.E0000060":"Unsupported operation.","errors.E0000061":"Tab error: {0}","errors.E0000062":"The specified user is already assigned to the application.","errors.E0000063":"Invalid combination of parameters specified.","errors.E0000064":"Password is expired and must be changed.","errors.E0000065":"Internal error processing app metadata.","errors.E0000066":"APNS is not configured, contact your admin","errors.E0000067":"Factors Service Error.","errors.E0000070":"Waiting for ACK","errors.E0000071":"Unsupported OS Version: {0}","errors.E0000072":"MIM policy settings have disallowed enrollment for this user","errors.E0000073":"User rejected authentication","errors.E0000074":"Factor Service Error","errors.E0000075":"Cannot modify the {0} attribute because it has a field mapping and profile push is enabled.","errors.E0000076":"Cannot modify the app user because it is mastered by an external app.","errors.E0000077":"Cannot modify the {0} attribute because it is read-only.","errors.E0000078":"Cannot modify the {0} attribute because it is immutable.","errors.E0000081":"Cannot modify the {0} attribute because it is a reserved attribute for this application.","errors.E0000082":"Each code can only be used once. Please wait for a new code and try again.","errors.E0000083":"PassCode is valid but exceeded time window.","errors.E0000084":"App evaluation error.","errors.E0000085":"You do not have permission to access your account at this time.","errors.E0000086":"This policy cannot be activated at this time.","errors.E0000087":"The recovery question answer did not match our records.","errors.E0000090":"The role specified is already assigned to the user.","errors.E0000091":"The provided role type was not the same as required role type.","errors.E0000092":"Access to this application requires re-authentication: {0}","errors.E0000093":"Target count limit exceeded","errors.E0000094":"The provided filter is unsupported.","errors.E0000095":"Recovery not allowed for unknown user.","errors.E0000096":"This certificate has already been uploaded with kid={0}.","errors.E0000097":"There is no verified phone number on file.","errors.E0000098":"This phone number is invalid.","errors.E0000099":"Only numbers located in US and Canada are allowed.  Contact your administrator if this is a problem.","errors.E0000100":"Unable to perform search query.","errors.E0000101":"Upload failed because of a problem with your ipa file, {0}","errors.E0000102":"YubiKey cannot be deleted while assigned to an user. Please deactivate YubiKey using reset MFA and try again","errors.E0000103":"Action on device already in queue or in progress","errors.E0000104":"Device is already locked and cannot be locked again","errors.E0000105":"You have accessed an account recovery link that has expired or been previously used.","errors.E0000106":"Wait for token to change, then enter the new tokencode.","errors.E0000107":"The entity is not in the expected state for the requested transition.","errors.E0000109":"An SMS message was recently sent. Please wait 30 seconds before trying again.","errors.E0000110":"You have accessed a link that has expired or has been previously used.","errors.E0000111":"Cannot modify the {0} object because it is read-only.","errors.E0000112":"Cannot update this user because they are still being activated. Please try again in a few minutes.","errors.E0000113":"{0}.","errors.E0000114":"A user with this login already exists in the current organization.","errors.E0000115":"Upload failed, {0}","errors.E0000116":"{0}","errors.E0000119":"Your account is locked. Please contact your administrator.","errors.E0000124":"Could not create user. To create a user and expire their password immediately, a password must be specified","errors.E0000125":'Could not create user. To create a user and expire their password immediately, "activate" must be true',"errors.E0000133":"A phone call was recently made. Please wait 30 seconds before trying again.","oform.next":"Next","oform.verify":"Verify","oform.send":"Send","oform.back":"Back","oform.title.authenticate":"Authenticate","oform.save":"Save","oform.cancel":"Cancel","oform.edit":"Edit","oform.previous":"Previous","oform.error.icon.ariaLabel":"Error","oform.errorbanner.title":"We found some errors. Please review the form and make corrections.","oform.errormsg.title":"Please review the form to correct the following errors:","oform.error.unexpected":"There was an unexpected internal error. Please try again.","model.validation.field.blank":"This field cannot be left blank","model.validation.field.wrong.type":"This field is of the wrong type","model.validation.field.invalid":"This field has an invalid value","model.validation.field.value.not.allowed":"This field value is not allowed","model.validation.field.array.minItems":"This array does not have enough items","model.validation.field.array.maxItems":"This array contains too many items","model.validation.field.array.unique":"This array can only have unique values","model.validation.field.string.minLength":"This field cannot be less than the minimum required characters","model.validation.field.string.maxLength":"This field cannot exceed the maximum allowed characters","model.validation.field.invalid.format.email":"This value is not a valid email address","model.validation.field.invalid.format.uri":"This value is not a valid URI","model.validation.field.invalid.format.ipv4":"This value is not a valid IPv4 address","model.validation.field.invalid.format.hostname":"This value is not a valid hostname","model.validation.field.username":"Please check your username","schema.validation.field.value.must.string":"Value must be a string","schema.validation.field.value.must.number":"Value must be a number","schema.validation.field.value.must.integer":"Value must be an integer","schema.validation.field.value.must.object":"Value must be an object","universal-directory.profiles.attribute.source.oktamastered":"Inherit from Okta","universal-directory.profiles.attribute.source.override":"Override profile source","universal-directory.profiles.attribute.form.union.disable.display":"Combine values across groups","universal-directory.profiles.attribute.source.inherit":"Inherit from profile source","universal-directory.profiles.attribute.enduser.permission.readonly":"Read Only","universal-directory.profiles.attribute.enduser.permission.hide":"Hide","universal-directory.profiles.attribute.enduser.permission.readwrite":"Read-Write","universal-directory.profiles.attribute.form.union.enable.display":"Use Group Priority","factor.totpSoft.oktaVerify":"Okta Verify","factor.totpSoft.googleAuthenticator":"Google Authenticator","factor.totpSoft.description":"Enter single-use code from the mobile app.","factor.totpHard.rsaSecurId":"RSA SecurID","factor.totpHard.symantecVip":"Symantec VIP","factor.totpHard.description":"Enter a single-use code from a hardware token.","factor.totpHard.yubikey":"YubiKey","factor.totpHard.yubikey.description":"Insert your YubiKey and tap it to get a verification code.","factor.totpHard.yubikey.placeholder":"Click here, then tap your YubiKey","factor.oktaVerifyPush":"Okta Verify","factor.push.description":"Use a push notification sent to the mobile app.","factor.duo":"Duo Security","factor.duo.description":"Use Push Notification, SMS, or Voice call to authenticate.","factor.sms":"SMS Authentication","factor.sms.description":"Enter a single-use code sent to your mobile phone.","factor.sms.time.warning":'Haven\'t received an SMS? To try again, click <span style="font-weight:bold">Re-send code</span>.',"factor.call":"Voice Call Authentication","factor.call.description":"Use a phone to authenticate by following voice instructions.","factor.call.time.warning":'Haven\'t received a voice call? To try again, click <span style="font-weight:bold">Redial</span>.',"factor.securityQuestion":"Security Question","factor.securityQuestion.description":"Use the answer to a security question to authenticate.","factor.windowsHello":"Windows Hello","factor.windowsHello.signin.description":"Sign in to Okta using Windows Hello.","factor.windowsHello.signin.description.generic":"Sign in using Windows Hello.","factor.windowsHello.signin.description.specific":"Sign in to {0} using Windows Hello.","factor.u2f":"Security Key (U2F)","factor.u2f.description":"Use a Universal 2nd Factor (U2F) security key to sign on to Okta.","factor.u2f.description.generic":"Use a Universal 2nd Factor (U2F) security key to sign in.","factor.u2f.description.specific":"Use a Universal 2nd Factor (U2F) security key to sign in to {0}.","factor.email":"Email Authentication","factor.email.description":"Enter a verification code sent to your email.","factor.password":"Password","factor.customFactor.description":"Redirect to a third party MFA provider to sign in to Okta.","factor.customFactor.description.generic":"Redirect to a third party MFA provider to sign in.","factor.customFactor.description.specific":"Redirect to a third party MFA provider to sign in to {0}.","factor.webauthn.biometric":"Security Key or Biometric Authenticator","factor.webauthn.biometric.description":"Use a security key (USB or bluetooth) or a biometric authenticator (Windows Hello, Touch ID, etc.)","factor.hotp.description":"Enter a single-use code from an authenticator.","mfa.challenge.verify":"Verify","mfa.challenge.answer.placeholder":"Answer","mfa.challenge.answer.tooltip":"Answer","mfa.challenge.answer.showAnswer":"Show","mfa.challenge.answer.hideAnswer":"Hide","mfa.challenge.enterCode.placeholder":"Enter Code","mfa.challenge.enterCode.tooltip":"Enter Code","mfa.challenge.password.placeholder":"Password","mfa.backToFactors":"Back to factor list","mfa.enroll":"Enroll","mfa.phoneNumber.placeholder":"Phone number","mfa.phoneNumber.ext.placeholder":"Extension","mfa.sendCode":"Send code","mfa.sent":"Sent","mfa.resendCode":"Re-send code","mfa.call":"Call","mfa.calling":"Calling","mfa.redial":"Redial","mfa.sendEmail":"Send email","mfa.resendEmail":"Re-send email","mfa.scanBarcode":"Scan barcode","mfa.altQrCode":"qr code","mfa.noAccessToEmail":"Can't access email","password.reset":"Reset Password","password.oldPassword.placeholder":"Old password","password.oldPassword.tooltip":"Old password","password.newPassword.placeholder":"New password","password.newPassword.tooltip":"New password","password.confirmPassword.placeholder":"Repeat password","password.confirmPassword.tooltip":"Repeat password","password.error.match":"New passwords must match","password.enroll.error.match":"Passwords must match","recovery.sms.hint":"SMS can only be used if a mobile phone number has been configured.","recovery.mobile.hint":"{0} can only be used if a mobile phone number has been configured.","recovery.sms":"SMS","recovery.call":"Voice Call","recovery.smsOrCall":"SMS or Voice Call","verify.choices.description":"Verify with one of the following factors.","email.button.send":"Send me the code","email.button.resend":"Send again","email.code.label":"Verification code","email.code.not.received":"Haven't received an email?","email.enroll.title":"Set up Email Authentication","email.enroll.description":"Send a verification code to your registered email.","email.enroll.enterCode":"Enter code","email.link.terminal.msg":"To finish signing in, return to the screen where you requested the email link.","email.mfa.title":"Verify with Email Authentication","email.mfa.description":"Send a verification code to {0}.","email.mfa.email.sent.description":"A verification code was sent to {0}. Check your email and enter the code below.","email.mfa.email.sent.description.sentText":"A verification code was sent to","email.mfa.email.sent.description.emailCodeText":"Check your email and enter the code below.","enroll.choices.title":"Set up multifactor authentication","enroll.choices.description":"Your company requires multifactor authentication to add an additional layer of security when signing in to your Okta account","enroll.choices.description.generic":"Your company requires multifactor authentication to add an additional layer of security when signing in to your account","enroll.choices.description.specific":"Your company requires multifactor authentication to add an additional layer of security when signing in to your {0} account","enroll.choices.description.gracePeriod.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>{0} day(s)</b>.","enroll.choices.description.gracePeriod.oneDay.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>less than 1 day</b>.","enroll.choices.optional":"You can configure any additional optional factor or click finish","enroll.choices.list.setup":"Setup required","enroll.choices.list.enrolled":"Enrolled factors","enroll.choices.list.optional":"Additional optional factors","enroll.choices.setup":"Setup","enroll.choices.setup.another":"Set up another","enroll.choices.submit.finish":"Finish","enroll.choices.submit.configure":"Configure factor","enroll.choices.submit.next":"Configure next factor","enroll.choices.cardinality.setup":"({0} set up)","enroll.choices.cardinality.setup.remaining":"({0} of {1} set up)","enroll.choices.setup.skip":"Skip set up","enroll.securityQuestion.setup":"Setup secret question authentication","security.disliked_food":"What is the food you least liked as a child?","security.name_of_first_plush_toy":"What is the name of your first stuffed animal?","security.first_award":"What did you earn your first medal or award for?","security.favorite_security_question":"What is your favorite security question?","security.favorite_toy":"What is the toy/stuffed animal you liked the most as a kid?","security.first_computer_game":"What was the first computer game you played?","security.favorite_movie_quote":"What is your favorite movie quote?","security.first_sports_team_mascot":"What was the mascot of the first sports team you played on?","security.first_music_purchase":"What music album or song did you first purchase?","security.favorite_art_piece":"What is your favorite piece of art?","security.grandmother_favorite_desert":"What was your grandmother's favorite dessert?","security.first_thing_cooked":"What was the first thing you learned to cook?","security.childhood_dream_job":"What was your dream job as a child?","security.first_kiss_location":"Where did you have your first kiss?","security.place_where_significant_other_was_met":"Where did you meet your spouse/significant other?","security.favorite_vacation_location":"Where did you go for your favorite vacation?","security.new_years_two_thousand":"Where were you on New Year's Eve in the year 2000?","security.favorite_speaker_actor":"Who is your favorite speaker/orator?","security.favorite_book_movie_character":"Who is your favorite book/movie character?","security.favorite_sports_player":"Who is your favorite sports player?","enroll.password.setup":"Select a password","save.password":"Save password","enroll.sms.setup":"Receive a code via SMS to authenticate","enroll.sms.try_again":"The number you entered seems invalid. If the number is correct, please try again.","enroll.call.setup":"Follow phone call instructions to authenticate","enroll.onprem.username.placeholder":"Enter {0} username","enroll.onprem.username.tooltip":"Enter {0} username","enroll.onprem.passcode.placeholder":"Enter {0} passcode","enroll.onprem.passcode.tooltip":"Enter {0} passcode","enroll.symantecVip.subtitle":"Enter Credential ID and two consecutive generated codes","enroll.symantecVip.credentialId.placeholder":"Enter credential ID","enroll.symantecVip.credentialId.tooltip":"Enter credential ID","enroll.symantecVip.passcode1.placeholder":"Security code 1","enroll.symantecVip.passcode1.tooltip":"Security code 1","enroll.symantecVip.passcode2.placeholder":"Security code 2","enroll.symantecVip.passcode2.tooltip":"Security code 2","enroll.yubikey.title":"Setup YubiKey","enroll.yubikey.subtitle":"Insert your YubiKey into a USB port and tap it to generate a verification code","enroll.totp.title":"Setup {0}","enroll.totp.selectDevice":"Select your device type","enroll.totp.downloadApp":'Download <a href="{0}" class="inline-link">{1} from the {2}</a> onto your mobile device.',"enroll.hotp.restricted":"Contact your administrator to continue enrollment.","enroll.duo.title":"Setup Duo Security","enroll.windowsHello.title":"Enroll Windows Hello","enroll.windowsHello.subtitle":"Click below to enroll Windows Hello as a second form of authentication","enroll.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","enroll.windowsHello.save":"Enroll Windows Hello","enroll.windowsHello.error.notWindows":"Windows Hello can only be used on Windows Edge with Windows 10. Contact your admin for assistance.","enroll.windowsHello.error.notConfiguredHtml":"Windows Hello is not configured. Select the <b>Start</b> button, then select <b>Settings</b> - <b>Accounts</b> - <b>Sign-in</b> to configure Windows Hello.","verify.windowsHello.subtitle":"Verify your identity with Windows Hello","verify.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","verify.windowsHello.subtitle.signingIn":"Signing in to Okta...","verify.windowsHello.subtitle.signingIn.generic":"Signing in...","verify.windowsHello.subtitle.signingIn.specific":"Signing in to {0}...","verify.windowsHello.save":"Verify with Windows Hello","verify.windowsHello.error.notFound":"Your Windows Hello enrollment does not match our records. Contact your administrator for assistance.","verify.windowsHello.error.notFound.selectAnother":"Your Windows Hello enrollment does not match our records. Select another factor or contact your administrator for assistance.","enroll.u2f.title":"Setup Security Key (U2F)","enroll.u2f.save":"Register Security Key","enroll.u2f.general2":"Make sure you have a Security Key. If already inserted, remove it now.<br>If you have a Bluetooth Security Key, turn on your computer's Bluetooth.","enroll.u2f.general3":"Click the button below to register","enroll.u2f.instructions":"Insert your Security Key into a USB port on this computer. If it has a button or gold disk, tap it.","enroll.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, press the button.","u2f.error.factorNotSupported":"Security Key (U2F) is not supported on this browser. Select another factor or contact your admin for assistance.","u2f.error.factorNotSupported.oneFactor":"Security Key (U2F) is not supported on this browser. Contact your admin for assistance.","u2f.error.other":"An unknown error has occured. Try again or select another factor.","u2f.error.other.oneFactor":"An unknown error has occured. Try again or contact your admin for assistance.","u2f.error.badRequest":"There was an error with the U2F request. Try again or select another factor.","u2f.error.badRequest.oneFactor":"There was an error with the U2F request. Try again or contact your admin for assistance.","u2f.error.unsupported":"The security key is unsupported. Select another factor.","u2f.error.unsupported.oneFactor":"The security key is unsupported. Contact your admin for assistance.","u2f.error.timeout":"You have timed out of the authentication period. Please try again.","verify.u2f.instructions":"Insert your Security Key. If it has a button or gold disk, tap it.","verify.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, turn on your computer's Bluetooth and press the button.","verify.u2f.retry":"Retry","enroll.customFactor.subtitle":"Clicking below will redirect to MFA enrollment with {0}","enroll.customFactor.save":"Enroll","verify.customFactor.subtitle":"Clicking below will redirect to verification with {0}","enroll.webauthn.biometric.title":"Set up security key or biometric authenticator","enroll.webauthn.save":"Enroll","enroll.webauthn.biometric.instructions":"Your browser will prompt to register a security key or biometric authenticator (Windows Hello, Touch ID, etc.). Follow the instructions to complete enrollment.","enroll.webauthn.biometric.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select '<b>Cancel</b>' in the prompt before continuing.","verify.webauthn.biometric.instructions":"Your browser or device will prompt you to verify with a security key or biometric authenticator. Follow the instructions to complete authentication.","webauthn.biometric.error.factorNotSupported":"Security key or biometric authenticator is not supported on this browser. Select another factor or contact your admin for assistance.","webauthn.biometric.error.factorNotSupported.oneFactor":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","enroll.webauthn.instructions.noSupportForBiometric":"Note: Some browsers may not support biometric authenticators.","authfactor.webauthn.error":"You are currently unable to use a Security key or biometric authenticator. Try again.","enroll.totp.enterCode":"Enter code displayed from the application","enroll.totp.setupApp":"Launch {0} application on your mobile device and select Add an account.","enroll.totp.setupGoogleAuthApp":'Launch {0}, tap the "+" icon, then select "Scan barcode".',"enroll.totp.cannotScan":"Can't scan?","enroll.totp.refreshBarcode":"Refresh code","enroll.totp.cannotScanBarcode":"Can't scan barcode?","enroll.totp.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.generic":"To set up manually enter your Account username and then input the following in the Secret Key Field","enroll.totp.manualSetupInstructions.specific":"To set up manually enter your {0} Account username and then input the following in the Secret Key Field","enroll.totp.sharedSecretInstructions":"Enter your Okta Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.generic":"Enter your Account username and enter the following in the Secret Key Field","enroll.totp.sharedSecretInstructions.specific":"Enter your {0} Account username and enter the following in the Secret Key Field","enroll.totp.sendSms":"Send activation link via SMS","enroll.totp.sendEmail":"Send activation link via email","enroll.totp.setupManually":"Setup manually without push notification","enroll.totp.enrollViaEmail.title":"Activation email sent!","enroll.totp.enrollViaEmail.msg":"Open the email from your mobile device.","enroll.totp.enrollViaSms.title":"SMS sent!","enroll.totp.enrollViaSms.msg":"View the SMS on your mobile device.","recoveryChallenge.sms.title":"Enter verification code sent via SMS","recoveryChallenge.call.title":"Enter verification code received via Voice Call","mfa.factors.dropdown.title":"Select an authentication factor","mfa.factors.dropdown.sr.text":"Select Authentication Factor - {0} Factor Selected","mfa.duoSecurity.push":"Push — {0}","mfa.duoSecurity.sms":"SMS — {0}","mfa.duoSecurity.call":"Call — {0}","mfa.switch":"Switch Factor","mfa.challenge.title":"Enter your {0} passcode","mfa.challenge.orEnterCode":"Or enter code","mfa.challenge.totp.subtitle.multiple":"Enter code from any registered {0} device.","mfa.emailVerification.checkEmail":"To finish signing in, click the link in your email.","mfa.emailVerification.title":"Sign in using a link sent to your email.","mfa.emailVerification.subtitle":"Emails will be sent to {0}","mfa.emailVerification.otc.finish":"To finish signing in, enter the code which was emailed to you.","oktaverify.send":"Send Push","oktaverify.resend":"Re-send Push","oktaverify.sent":"Push sent!","oktaverify.rejected":"You have chosen to reject this login.","oktaverify.rejected.upgradeRequired.ios":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on the App Store, then try again.","oktaverify.rejected.upgradeRequired.android":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on Google Play, then try again.","oktaverify.timeout":"Your push notification has expired.","oktaverify.warning":"Haven't received a push notification yet? Try opening the Okta Verify App on your phone.","oktaverify.numberchallenge.instruction":'On your phone, tap <span class="challenge-number">{0}</span> on Okta Verify prompt to continue.',"oktaverify.numberchallenge.explain":"This extra step helps us make sure it's really you signing in.","primaryauth.title":"Sign In","primaryauth.username.placeholder":"Username","primaryauth.username.tooltip":"Username","primaryauth.password.placeholder":"Password","primaryauth.password.tooltip":"Password","primaryauth.submit":"Sign In","primaryauth.newUser.tooltip":"This is the first time you are connecting to {0} from this browser","primaryauth.newUser.tooltip.close":"Close","oktaVerify.description":"To access this resource, your organization requires you to sign in using your device.","oktaVerify.button":"Sign in with Okta FastPass","idpDiscovery.email.placeholder":"Email","password.forgot.email.or.username.placeholder":"Email or Username","password.forgot.email.or.username.tooltip":"Email or Username","password.forgot.sendText":"Reset via SMS","password.forgot.sendEmail":"Reset via Email","password.forgot.call":"Reset via Voice Call","password.forgot.emailSent.title":"Email sent!","password.forgot.emailSent.desc":"Email has been sent to {0} with instructions on resetting your password.","password.forgot.question.title":"Answer Forgotten Password Challenge","password.forgot.question.submit":"Reset Password","password.forgot.code.notReceived":"Didn't receive a code? Reset via email","password.forgot.noFactorsEnabled":"No password reset options available. Please contact your administrator.","password.reset.title":"Reset your Okta password","password.reset.title.generic":"Reset your password","password.reset.title.specific":"Reset your {0} password","password.complexity.requirements":"Password requirements: {0}.","password.complexity.history":"Your password cannot be any of your last {0} passwords.","password.complexity.minAgeMinutes":"At least {0} minute(s) must have elapsed since you last changed your password.","password.complexity.minAgeHours":"At least {0} hour(s) must have elapsed since you last changed your password.","password.complexity.minAgeDays":"At least {0} day(s) must have elapsed since you last changed your password.","password.reset.verification":"Verify with one of the following factors to reset your password.","password.complexity.length":"at least {0} characters","password.complexity.list.element":", {0}","password.complexity.lowercase":"a lowercase letter","password.complexity.uppercase":"an uppercase letter","password.complexity.number":"a number","password.complexity.symbol":"a symbol","password.complexity.no_username":"no parts of your username","password.complexity.no_first_name":"does not include your first name","password.complexity.no_last_name":"does not include your last name","password.complexity.requirements.header":"Password requirements:","password.complexity.length.description":"At least {0} characters","password.complexity.lowercase.description":"A lowercase letter","password.complexity.uppercase.description":"An uppercase letter","password.complexity.number.description":"A number","password.complexity.symbol.description":"A symbol","password.complexity.no_username.description":"No parts of your username","password.complexity.no_first_name.description":"Does not include your first name","password.complexity.no_last_name.description":"Does not include your last name","password.complexity.history.description":"Your password cannot be any of your last {0} passwords","password.complexity.minAgeMinutes.description":"At least {0} minute(s) must have elapsed since you last changed your password","password.complexity.minAgeHours.description":"At least {0} hour(s) must have elapsed since you last changed your password","password.complexity.minAgeDays.description":"At least {0} day(s) must have elapsed since you last changed your password","password.expired.submit":"Change Password","password.expired.title":"Your Okta password has expired","password.expired.title.generic":"Your password has expired","password.expired.title.specific":"Your {0} password has expired","password.expiring.later":"Remind me later","password.expiring.title":"Your password will expire in {0} days","password.expiring.today":"Your password will expire later today","password.expiring.soon":"Your password is expiring soon","password.expiring.subtitle":"When password expires you may be locked out of Okta Mobile, mobile email, and other services.","password.expiring.subtitle.generic":"When password expires you will be locked out of your account.","password.expiring.subtitle.specific":"When password expires you will be locked out of your {0} account.","password.expired.custom.submit":"Go to {0}","password.expired.custom.subtitle":"This password is set on another website. Click the button below to go there and set a new password.","hcaptcha.footer.label":"This site is protected by hCaptcha and its <$1>Privacy Policy</$1> and <$2>Terms of Service</$2> apply.","account.unlock.title":"Unlock account","account.unlock.email.or.username.placeholder":"Email or username","account.unlock.email.or.username.tooltip":"Email or username","account.unlock.sendText":"Send SMS","account.unlock.voiceCall":"Voice Call","account.unlock.sendEmail":"Send Email","account.unlock.emailSent.title":"Email sent!","account.unlock.emailSent.desc":"Email has been sent to {0} with instructions on unlocking your account.","account.unlock.question.title":"Answer Unlock Account Challenge","account.unlock.question.submit":"Unlock Account","account.unlock.unlocked.title":"Account successfully unlocked!","account.unlock.unlocked.desc":"You can log in using your existing username and password.","account.unlock.code.notReceived":"Didn't receive a code? Unlock via email","account.unlock.noFactorsEnabled":"No unlock options available. Please contact your administrator.","contact.support":"If you didn't provide a secondary email address or don't have access to email, please contact your administrator at {0}","customauth.sign.in.with.label":"Sign in with {0}","socialauth.divider.text":"OR","socialauth.facebook.label":"Sign in with Facebook","socialauth.google.label":"Sign in with Google","socialauth.linkedin.label":"Sign in with LinkedIn","socialauth.microsoft.label":"Sign in with Microsoft","socialauth.apple.label":"Sign in with Apple","socialauth.popup.title":"External Identity Provider User Authentication","authbutton.divider.text":"or","registration.signup.label":"Don't have an account?","registration.signup.text":"Sign up","registration.complete.title":"Verification email sent","registration.complete.confirm.text":"To finish signing in, check your email.","registration.form.title":"Create Account","registration.form.submit":"Register","registration.passwordComplexity.minLength":"At least {0} character(s)","registration.passwordComplexity.minLower":"At least {0} lowercase letter(s)","registration.passwordComplexity.minUpper":"At least {0} uppercase letter(s)","registration.passwordComplexity.minNumber":"At least {0} number(s)","registration.passwordComplexity.minSymbol":"At least {0} symbol(s)","registration.passwordComplexity.excludeUsername":"Does not contain part of username","registration.passwordComplexity.excludeAttribute":"Does not contain '{0}'","registration.required.fields.label":"* indicates required field","registration.default.callbackhook.error":"We could not process your registration at this time. Please try again later.","registration.error.userName.invalidEmail":"Invalid email address","registration.error.password.passwordRequirementsNotMet":"Password requirements were not met","registration.error.userName.notUniqueWithinOrg":"An account with that {0} already exists","registration.error.notUniqueWithinOrg.Email":"A user with this Email already exists","registration.error.notUniqueWithinOrg.custom":"A user with this {0} already exists","registration.error.invalidLoginEmail.Email":"'Email' must be in the form of an email address","registration.error.invalidLoginEmail.custom":"'{0}' must be in the form of an email address","registration.error.doesNotMatchPattern.Email":"Provided value for property 'Email' does not match required pattern","registration.error.doesNotMatchPattern.custom":"Provided value for property '{0}' does not match required pattern","registration.error.generic":"There was an error creating your account. Please try registering again.","registration.error.request.not.completed":"Your request could not be completed. Try again later.","registration.model.validation.field.string.too.short":"Please enter something at least {0} characters long","registration.model.validation.field.string.too.long":"Please enter something shorter than {0} characters","piv.card":"PIV Card","piv.card.insert":"Please insert your PIV card and select the user certificate.","piv.card.error":"Certificate authentication failed. Contact your admin.","piv.card.error.empty":"No certificate selected. Choose a certificate and try again.","piv.card.error.invalid":"Certificate validation failed. Choose another certificate and try again.","piv.cac.card":"Sign in with PIV / CAC card","piv.cac.title":"PIV / CAC card","piv.cac.card.insert":"Please insert your PIV / CAC card and select the user certificate.","piv.cac.error":"There was an error signing in. Click the button below to try again.","unsupported.oneDrive.title":"Your OneDrive version is not supported","unsupported.oneDrive.desc":"Upgrade now by installing the OneDrive for Business Next Generation Sync Client to login to Okta","unsupported.oneDrive.action":"Learn how to upgrade","unsupported.cookies.title":"Cookies are required","unsupported.cookies.desc":"Cookies are disabled on your browser. Please enable Cookies and refresh this page.","unsupported.cookies.action":"Refresh","deviceTrust.sso.text":"Sign in to access company resources","deviceTrust.sso.subtitle.2":"Your company uses Okta Mobile to get you approved to access this app.","deviceTrust.sso.button":"Sign in with Okta Mobile","deviceTrust.sso.expire.title":"Oops let's get you back on track","deviceTrust.sso.redirectText":"Verifying your identity","deviceTrust.sso.expire.subtitle":"Unfortunately the steps required to sign in took longer than expected and your attempt timed out.","deviceTrust.sso.expire.button":"Sign in using Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.title":"Get Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.subtitle":"Go to the {0}AppStore{1}, {0}search{1} for {0}Okta Mobile{1} and tap on {0}GET{1} Okta Mobile. Once installed, sign in to Okta Mobile and follow the instructions to secure your device.","loopback.polling.cancel.link":"Cancel and take me to sign in","loopback.polling.cancel.link.with.form.error":"Take me to sign in","customUri.subtitle":"Launching Okta Verify...","customUri.content":'<div class="skinny-content"> If nothing prompts from the browser, <a href="#" id="launch-ov" class="link">click here</a> to launch Okta Verify, or make sure Okta Verify is installed.</div>',"customUri.title":'Click "Open Okta Verify" on the browser prompt',"customUri.required.content.prompt":"Didn’t get a prompt?","customUri.required.content.download.title":"Don’t have Okta Verify?","customUri.required.content.download.linkText":"Download here","customUri.required.content.button":"Launch Okta Verify","universalLink.title":"Sign in with Okta FastPass","universalLink.content":"Open Okta Verify to continue signing in. If Okta Verify did not open automatically, tap the button below to reopen Okta Verify.","appLink.title":"Sign in with Okta FastPass","appLink.content":"If Okta Verify did not open automatically, tap the button below to reopen Okta Verify.","oktaVerify.open.button":"Open Okta Verify","oktaVerify.reopen.button":"Reopen Okta Verify","consent.required.text":"<b>{0}</b> would like to access:","consent.required.description":"By clicking Allow Access, you allow the actions listed above.","consent.required.termsOfService":"Terms of Service","consent.required.privacyPolicy":"Privacy Policy","consent.required.consentButton":"Allow Access","consent.required.cancelButton":"Don't Allow","admin.consent.group.user.group":"User and groups","admin.consent.group.resource.policy":"Resource and policies","admin.consent.group.hook":"Hooks","admin.consent.group.system":"System","polling.title":"There are too many users trying to sign in right now. We will automatically retry in {0} seconds.","poll.form.title":"Unable to complete your request","poll.form.message":"We will automatically retry in <$1>{0}</$1> seconds.","cert.authentication.title":"Certificate authentication","common.logo.alt":"aria logo","oie.authenticator.enroll.error.fail":"Unable to enroll authenticator. Try again.","oie.authenticator.verify.error.fail":"Unable to verify authenticator. Try again.","oie.form.field.optional":"Optional","oie.password.label":"Password","oie.password.newPasswordLabel":"New password","oie.password.authenticator.description":"Choose a password for your account","oie.password.challenge.title":"Verify with your password","oie.password.enroll.title":"Set up password","oie.password.passwordLabel":"Enter password","oie.password.confirmPasswordLabel":"Re-enter password","oie.password.reset.verification":"Verify with one of the following security methods to reset your password.","idx.password.expiring.message":"When your password expires you will be locked out of your Okta account.","oie.password.incorrect.message":"Password is incorrect","oie.selfservice.reset.password.not.allowed":"Reset password is not allowed at this time. Please contact support for assistance.","password.common":"This password was found in a list of commonly used passwords. Please try another password.","idx.recovery.completed":"You can now sign in with your existing username and new password.","oie.phone.label":"Phone","oie.phone.authenticator.description":"Verify with a code sent to your phone","oie.phone.enroll.sms.label":"SMS","oie.phone.enroll.voice.label":"Voice call","oie.phone.enroll.title":"Set up phone authentication","oie.phone.enroll.call.subtitle":"Enter your phone number to receive a verification code via voice call.","oie.phone.enroll.sms.subtitle":"Enter your phone number to receive a verification code via SMS.","oie.phone.sms.primaryButton":"Receive a code via SMS","oie.phone.sms.secondaryButton":"Receive an SMS instead","oie.phone.call.primaryButton":"Receive a code via voice call","oie.phone.call.secondaryButton":"Receive a voice call instead","oie.phone.verify.sms.resendText":"Haven't received an SMS?","oie.phone.verify.sms.codeSentText":"A code was sent to","oie.phone.verify.sms.sendText":"Send a code via SMS to","oie.phone.verify.call.sendText":"Send a code via voice call to","oie.phone.verify.call.resendText":"Haven't received a call?","oie.phone.verify.call.resendLinkText":"Call again","oie.phone.verify.sms.resendLinkText":"Send again","oie.phone.verify.enterCodeText":"Enter the code below to verify.","oie.phone.verify.title":"Verify with your phone","oie.phone.alternate.title":"your phone","oie.phone.carrier.charges":"Carrier messaging charges may apply","oie.phone.invalid":"Invalid Phone Number.","oie.email.label":"Email","oie.email.authenticator.description":"Verify with a link or code sent to your email","oie.email.mfa.title":"Verify with your email","oie.email.verify.alternate.magicLinkToEmailAddress":"An email magic link was sent to <$1>{0}</$1>. ","oie.email.verify.alternate.magicLinkToYourEmail":"An email magic link was sent to <$1>your email</$1>. ","oie.email.verify.alternate.instructions":"Click the link in the email or enter the code below to continue.","oie.email.verify.alternate.showCodeTextField":"Enter a code from the email instead","oie.email.enroll.subtitle":"Please check your email and enter the code below.","oie.email.return.link.expired.title":"Verify with your email","oie.profile.additional.title":"Additional Profile information","oie.profile.additional.secondemail.subtitle":"Use a second email to <$1> recover your account </$1> in case you become locked out. This email must be verified after setup.","oie.webauthn.label":"Security Key or Biometric Authenticator","oie.webauthn.description":"Use a security key or a biometric authenticator to sign in","oie.enroll.webauthn.title":"Set up security key or biometric authenticator","oie.enroll.webauthn.instructions":"You will be prompted to register a security key or biometric authenticator (Windows Hello, Touch ID, Face ID, etc.). Follow the instructions to complete set up.","oie.enroll.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to setup this authenticator.","oie.enroll.webauthn.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select 'Cancel' in the prompt before continuing.","oie.enroll.webauthn.save":"Set up","oie.webauthn.error.not.supported":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","oie.verify.webauth.title":"Verify with Security Key or Biometric Authenticator","oie.verify.webauthn.instructions":"You will be prompted to use a security key or biometric verification (Windows Hello, Touch ID, etc.). Follow the instructions to complete verification.","oie.verify.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to sign in with this authenticator.","oie.verify.webauthn.cant.verify":"Can't verify?","oie.verify.webauthn.cant.verify.biometric.authenticator.title":"Are you trying to use a biometric authenticator?","oie.verify.webauthn.cant.verify.biometric.authenticator.description1":"Biometric authenticators (fingerprint, face recognition, PIN) will only work on the same device on which they were set up.","oie.verify.webauthn.cant.verify.biometric.authenticator.description2":"If available, set up another security method on the device you used to set up your biometric authenticator.","oie.verify.webauthn.cant.verify.security.key.title":"Are you trying to use a security key?","oie.verify.webauthn.cant.verify.security.key.description":"If you have set up a security key, insert it in a USB port when prompted by the browser and tap on the button or gold disk. Security keys can work on multiple devices.","oie.verify.webauthn.cant.verify.enrollment.step1":"Open your Okta Dashboard (e.g. yourcompany.okta.com) on the device you used to setup your security key or biometric authenticator","oie.verify.webauthn.cant.verify.enrollment.step2":"Go to Settings > Security Methods","oie.verify.webauthn.cant.verify.enrollment.step3":'On Okta Verify, click "Set up"',"oie.verify.webauthn.cant.verify.enrollment.step4":"Scan the QR code using Okta Verify and follow instructions to finish enrolling your account","oie.security.question.label":"Security Question","oie.security.question.enroll.title":"Set up security question","oie.security.question.challenge.title":"Verify with your Security Question","oie.security.question.questionKey.label":"Choose a security question","oie.security.question.createQuestion.label":"Create my own security question","oie.security.question.authenticator.description":"Choose a security question and answer that will be used for signing in","securityQuestion.answer.tooShort.arg":"The security question answer must be at least {0} characters in length","oie.okta_verify.label":"Okta Verify","oie.okta_verify.authenticator.description":"Okta Verify is an authenticator app, installed on your phone, used to prove your identity","oie.enroll.okta_verify.setup.title":"Set up Okta Verify","oie.enroll.okta_verify.setup.email.title":"Check your email","oie.enroll.okta_verify.setup.sms.title":"Check your text messages","oie.enroll.okta_verify.select.channel.description":"Which option do you want to try?","oie.enroll.okta_verify.select.channel.qrcode.label":"Scan a QR code","oie.enroll.okta_verify.select.channel.email.label":"Email me a setup link","oie.enroll.okta_verify.select.channel.sms.label":"Text me a setup link","oie.enroll.okta_verify.select.channel.title":"More options","oie.enroll.okta_verify.channel.email.label":"Email","oie.enroll.okta_verify.enroll.channel.email.title":"Set up Okta Verify via email link","oie.enroll.okta_verify.enroll.channel.sms.title":"Set up Okta Verify via SMS","oie.enroll.okta_verify.channel.email.description":"Make sure you can access the email on your mobile device.","oie.enroll.okta_verify.channel.sms.description":"Make sure you can access the text on your mobile device.","oie.enroll.okta_verify.qrcode.step1":"On your mobile device, download the Okta Verify app from the App Store (iPhone and iPad) or Google Play (Android devices).","oie.enroll.okta_verify.qrcode.step2":"Open the app and follow the instructions to add your account","oie.enroll.okta_verify.qrcode.step3":"When prompted, tap Scan a QR code, then scan the QR code below:","oie.enroll.okta_verify.qrcode.cannotScan":"Can't scan?","oie.enroll.okta_verify.switch.channel.link.text":'Or <a href="#" class="switch-channel-link">try a different way</a> to set up Okta Verify.',"oie.enroll.okta_verify.email.info":'We sent an email to <span class="strong">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.',"oie.enroll.okta_verify.email.notReceived":'Haven’t received an email? Check your spam folder or <a href="#" class="resend-link">send again</a>',"oie.enroll.okta_verify.sms.info":'We sent an SMS to <span class="strong">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.',"oie.enroll.okta_verify.sms.notReceived":'Haven’t received an SMS? <a href="#" class="resend-link">Send again</a>',"oie.enroll.okta_verify.setupLink":"Send me the setup link","oie.okta_verify.totp.title":"Enter a code","oie.okta_verify.totp.enterCodeText":"Enter code from Okta Verify app","oie.okta_verify.push.title":"Get a push notification","oie.okta_verify.push.sent":"Push notification sent","oie.okta_verify.push.resend":"Resend push notification","oie.okta_verify.signed_nonce.label":"Use Okta FastPass","oie.okta_verify.enroll.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible":"The device used to set up Okta Verify does not meet your organization’s security requirements because it is not FIPS compliant. Contact your administrator for help.","oie.authenticator.app.non_fips_compliant_enrollment_app_update_required":"The Okta Verify version on the device used does not meet your organization’s security requirements. To add your account, update Okta Verify to the latest version, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.app.method.push.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.app.method.push.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.app.method.push.enroll.enable.biometrics":"Your organization requires biometrics. To proceed, ensure your device supports biometrics, then add your account and enable biometrics when prompted.","oie.authenticator.app.method.push.enroll.enable.biometrics.title":"Enable biometrics to add an account in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.google_authenticator.label":"Google Authenticator","oie.google_authenticator.authenticator.description":"Enter a temporary code generated from the Google Authenticator app.","oie.enroll.google_authenticator.setup.title":"Set up Google Authenticator","oie.enroll.google_authenticator.scanBarcode.title":"Scan barcode","oie.enroll.google_authenticator.scanBarcode.description":'Launch Google Authenticator, tap the "+" icon, then select "Scan barcode".',"oie.enroll.google_authenticator.scanBarcode.cannotScan":"Can't scan?","oie.enroll.google_authenticator.cannotScanBarcode.title":"Can't scan barcode?","oie.enroll.google_authenticator.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","oie.enroll.google_authenticator.enterCode.title":"Enter code displayed from application","oie.verify.google_authenticator.otp.title":"Verify with Google Authenticator","oie.verify.google_authenticator.otp.description":"Enter the temporary code generated in your Google Authenticator app","oie.google_authenticator.otp.enterCodeText":"Enter code","oie.verify.custom_otp.title":"Verify with {0}","oie.verify.custom_otp.description":"Enter the code generated on your authenticator and verify.","oie.custom_otp.description":"Enter a temporary code generated from an authenticator device.","oie.custom_otp.authenticator.default.vendorName":"Custom OTP Authenticator","oie.custom_otp.verify.passcode.label":"Enter code","oie.verify.custom_app.title":"Verify with {0}","oie.custom_app.push.sent":"Push notification sent","oie.custom_app.push.resend":"Resend push notification","oie.custom_app.push.warning":"Haven't received a push notification yet? Try opening {0} on your phone.","oie.on_prem.authenticator.description":"Verify by entering a code generated by {0}.","oie.on_prem.authenticator.default.vendorName":"Custom On-prem Authenticator","oie.on_prem.enroll.title":"Set up {0}","oie.on_prem.verify.title":"Verify with {0}","oie.numberchallenge.warning":"Haven't received a push notification yet? Try opening the Okta Verify app on your device, or <$1>resend the push notification</$1>.","oie.numberchallenge.instruction":"On your mobile device, open the Okta Verify prompt, then tap <$1>{0}</$1> in Okta Verify to continue.","oie.numberchallenge.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.method.push.force.upgrade.number_challenge":"Your response was received, but your Okta Verify version is no longer supported by your organization. To verify your identity with push notifications, update Okta Verify to the latest version, then try again.","oie.rsa.authenticator.description":"Verify by entering a code generated by RSA SecurID","oie.duo.authenticator.description":"Verify your identity using Duo Security.","oie.duo.enroll.title":"Set up Duo Security","oie.duo.verify.title":"Verify with Duo Security","oie.duo.iFrameError":"Error loading Duo. Try again or contact your admin for assistance.","oie.authenticator.duo.error":"We were unable to verify with Duo. Try again.","oie.idp.authenticator.description":"Redirect to verify with {0}.","oie.idp.enroll.title":"Set up {0}","oie.idp.enroll.description":"Clicking below will redirect to enrollment in {0}","oie.idp.challenge.title":"Verify with {0}","oie.idp.challenge.description":"You will be redirected to verify with {0}","oie.symantecVip.authenticator.description":"Verify by entering a temporary code from the {0} app.","oie.symantecVip.enroll.title":"Set up {0}","oie.symantecVip.enroll.description":"From the {0} app, enter your credential ID and two consecutive generated codes","oie.symantecVip.challenge.title":"Verify with {0}","oie.symantecVip.challenge.description":"Enter the generated security code from the {0} app.","oie.symantecVip.verify.passcode.label":"Enter security code","oie.yubikey.label":"YubiKey Authenticator","oie.yubikey.authenticator.description":"Verify your identity using YubiKey","oie.yubikey.enroll.title":"Set up YubiKey","oie.yubikey.challenge.title":"Verify with YubiKey","oie.yubikey.description":"Insert the YubiKey into a USB port and tap it to generate a verification code.","oie.yubikey.passcode.label":"Insert then tap your YubiKey","oie.select.authenticators.enroll.title":"Set up security methods","oie.select.authenticators.enroll.subtitle":"Security methods help protect your account by ensuring only you have access.","oie.select.authenticators.enroll.subtitle.custom":"Security methods help protect your {0} account by ensuring only you have access.","oie.setup.required":"Set up required","oie.setup.optional":"Set up optional","oie.optional.authenticator.button.title":"Finish","oie.verify.authenticator.button.text":"Select","oie.enroll.authenticator.button.text":"Set up","oie.select.authenticators.verify.title":"Verify it's you with a security method","oie.select.authenticators.verify.subtitle":"Select from the following options","oie.success.text.signingIn":"Signing in","oie.success.text.signingIn.with.ellipsis":"Signing in...","oie.success.text.signingIn.with.appName":"Signing in to {0}","oie.success.text.signingIn.with.appName.and.identifier":"Signing in to {0} as {1}","oie.go.back":"Go back","oie.enroll.switch.authenticator":"Return to authenticator list","oie.enroll.skip.setup":"Skip set up","oie.enroll.skip.profile":"Skip Profile","oie.verification.switch.authenticator":"Verify with something else","oie.remember":"Keep me signed in","oie.try.again":"Try again","enroll.title.oda":"Download Okta Verify","enroll.title.mdm":"Additional setup required","enroll.explanation.p1":"To sign in using Okta Verify, you will need to set up Okta Verify on this device.","enroll.explanation.p2":'In the app, follow the instructions to add an organizational account. When prompted, choose <span class="semi-strong">Sign In</span>, then enter the <span class="semi-strong">sign-in URL</span>:',"enroll.oda.android.step1":"On Google Play, download the Okta Verify app.","enroll.oda.step1":"Open Okta Verify and follow the steps to add your account.","enroll.oda.step2":"When prompted, choose Sign In, then enter the sign-in URL:","enroll.oda.step3":"Download the Okta Verify app.","enroll.oda.step6":"Finish setting up your account in Okta Verify, then try accessing this app again.","enroll.appleStore":"the App Store","enroll.googleStore":"Google Play","enroll.copy.ios":"Apple®, App Store, and the Apple logo are trademarks of Apple Inc.","enroll.copy.android":"Google Play and the Google Play logo are trademarks of Google LLC.","enroll.explanation.mdm":"To access this app, your device needs to meet your organization's security requirements. Follow the instructions below to continue.","enroll.oda.org.copyLink":"Copy sign-in URL to clipboard","enroll.oda.org.copyLink.success":"Sign-in URL copied.","enroll.mdm.copyLink":"Copy link to clipboard","enroll.mdm.copyLink.success":"Link copied.","enroll.mdm.step1":"Tap the Copy Link button below.","enroll.mdm.step2":"On this device, open your browser, then paste the copied link into the address bar.","enroll.mdm.step3":'Follow the instructions in your browser to set up <span class="semi-strong">{0}</span>, then try accessing this app again.',"oie.safe.mode.title":"Authenticator set up unavailable","idx.error.server.safe.mode.enrollment.unavailable":"Set up is temporarily unavailable due to server maintenance. Try again later.","oie.primaryauth.submit":"Sign in","oie.registration.form.title":"Sign up","oie.registration.form.submit":"Sign Up","oie.user.profile.lastname":"Last name","oie.user.profile.firstname":"First name","oie.user.profile.primary.email":"Email","oie.selfservice.unlock_user.success.message":"You can log in using your existing username and password.","oie.selfservice.unlock_user.failed.message":"We are unable to unlock your account at this time, please contact your administrator","oie.selfservice.user.unlock.not.allowed":"Self Service Unlock is not allowed at this time. Please contact support for assistance.","idx.session.expired":"The session has expired.","oie.registration.is.not.enabled":"Sign up is not enabled for this organization.","oie.forgot.password.is.not.enabled":"Forgot password is not enabled for this organization.","idx.return.error":"Could not process this email link. Return to the screen where you requested it.","idx.return.stale":"This email link is out of date. Return to the screen where you requested it.","idx.invalid.forgot.password.token":"Your reset password token is no longer valid.","idx.invalid.reset.password.token":"Your reset password token is no longer valid. Contact your administrator to obtain a new token.","idx.reset.password.activating.user":"Reset password cannot be performed while the user is activating. Contact your administrator to obtain a new token.",tagsNotAllowed:"The field must not contain HTML tags","api.authn.error.PASSCODE_INVALID":"Invalid code. Try again.","oie.feature.disabled":"The requested feature is not enabled in this environment.","authfactor.challenge.suspended_factor":"This factor is suspended for your account due to too many failed attempts","oie.post.password.update.auth.failure.error":"Your password has been updated but there was a problem signing you in. Please try again or contact your administrator.","oie.assurance.unsatisfiable":'Unable to login to "{0}" at this time. For assistance, please contact your administrator.',"errors.E0000150":"You have reached the limit of sms requests, please try again later.","errors.E0000151":"You have reached the limit of call requests, please try again later.","oie.consent.scopes.admin.title":"would like to access:","oie.consent.scopes.enduser.title":"would like to:","oie.consent.enduser.accept.label":"Yes, it's me","oie.consent.enduser.deny.label":"No, it's not me","oie.consent.enduser.title":"Did you just try to sign in?","oie.consent.enduser.email.allow.title":"Success! Return to the original tab or window","oie.consent.enduser.email.allow.description":"To continue, please return to the original browser tab or window you used to verify.","oie.consent.enduser.deny.description":"Close this window anytime.","oie.return.to.original.tab":"Close this window anytime.","idx.operation.cancelled.by.user":"Operation cancelled by user.","idx.transferred.to.new.tab":"Flow continued in a new tab.","idx.return.link.expired":"This email link has expired. To resend it, return to the screen where you requested it.","consent.scopes.email.label":"View your email address.","consent.scopes.profile.label":"View your profile information.","consent.scopes.phone.label":"View your phone number.","consent.scopes.address.label":"View your address.","consent.scopes.offlineAccess.label":"Keep you signed in to the app.","consent.scopes.onlineAccess.label":"Keep you signed in to the app.","consent.scopes.deviceSSO.label":"Request device secret.","consent.scopes.openid.desc":"Signals that a request is an OpenID request.","consent.scopes.profile.desc":"The exact data varies based on what profile information you have provided, such as: name, time zone, picture, or birthday.","consent.scopes.email.desc":"This allows the app to view your email address.","consent.scopes.address.desc":"This allows the app to view your address, such as: street address, city, state, and zip code.","consent.scopes.phone.desc":"This allows the app to view your phone number.","consent.scopes.offlineAccess.desc":"This keeps you signed in to the app, even when you are not using it.","consent.scopes.onlineAccess.desc":"This allows the app to access your data only when you are logged in to the application.","consent.scopes.deviceSSO.desc":"This allows you to single sign on between native client applications on your device.","consent.scopes.okta.users.manage.desc":"Allows the app to create new users and to manage all users'' profile and credentials information.","consent.scopes.okta.users.manage.self.desc":"Allows the app to manage the signed-in user''s profile and credentials.","consent.scopes.okta.users.read.desc":"Allows the app to read the existing users'' profiles and credentials.","consent.scopes.okta.users.read.self.desc":"Allows the app to read the signed-in user''s profile and credentials.","consent.scopes.okta.linkedObjects.manage.desc":"Allows the app to manage linked object definitions in your Okta organization.","consent.scopes.okta.linkedObjects.read.desc":"Allows the app to read linked object definitions in your Okta organization.","consent.scopes.okta.myAccount.manage.desc":"Allows the end-user to manage their account profile.","consent.scopes.okta.myAccount.read.desc":"Allows the end-user to read their account profile.","consent.scopes.okta.riskEvents.manage.desc":"Allows the app to publish risk events to your Okta organization.","consent.scopes.okta.clients.manage.desc":"Allows the app to manage clients in your Okta organization.","consent.scopes.okta.clients.read.desc":"Allows the app to read information about clients in your Okta organization.","consent.scopes.okta.clients.register.desc":"Allows the app to create new clients in your Okta organization.","consent.scopes.okta.authorizationServers.manage.desc":"Allows the app to create and manage Authorization Servers in your Okta organization.","consent.scopes.okta.authorizationServers.read.desc":"Allows the app to read information about Authorization Servers in your Okta organization.","consent.scopes.okta.groups.manage.desc":"Allows the app to manage existing groups in your Okta organization.","consent.scopes.okta.groups.read.desc":"Allows the app to read information about groups and their members in your Okta organization.","consent.scopes.okta.groups.register.desc":"Allows the app to create new groups in your Okta organization.","consent.scopes.okta.events.read.desc":"Allows the app to read information about deprecated Events v1 API entries in your Okta organization.","consent.scopes.okta.logs.read.desc":"Allows the app to read information about System Log entries in your Okta organization.","consent.scopes.okta.inlineHooks.manage.desc":"Allows the app to create and manage Inline Hooks in your Okta organization.","consent.scopes.okta.inlineHooks.read.desc":"Allows the app to read information about Inline Hooks in your Okta organization.","consent.scopes.okta.eventHooks.manage.desc":"Allows the app to create and manage Event Hooks in your Okta organization.","consent.scopes.okta.eventHooks.read.desc":"Allows the app to read information about Event Hooks in your Okta organization.","consent.scopes.okta.apps.manage.desc":"Allows the app to create and manage Apps in your Okta organization.","consent.scopes.okta.apps.read.desc":"Allows the app to read information about Apps in your Okta organization.","consent.scopes.okta.schemas.manage.desc":"Allows the app to create and manage Schemas in your Okta organization.","consent.scopes.okta.schemas.read.desc":"Allows the app to read information about Schemas in your Okta organization.","consent.scopes.okta.idps.manage.desc":"Allows the app to create and manage Identity Providers in your Okta organization.","consent.scopes.okta.idps.read.desc":"Allows the app to read information about Identity Providers in your Okta organization.","consent.scopes.okta.roles.manage.desc":"Allows the app to manage administrative role assignments for users in your Okta organization.","consent.scopes.okta.roles.read.desc":"Allows the app to read administrative role assignments for users in your Okta organization.","consent.scopes.okta.policies.manage.desc":"Allows the app to manage policies in your Okta organization.","consent.scopes.okta.policies.read.desc":"Allows the app to read information about policies in your Okta organization.","consent.scopes.okta.orgs.manage.desc":"Allows the app to manage organization-specific details for your Okta organization.","consent.scopes.okta.orgs.read.desc":"Allows the app to read organization-specific details about your Okta organization.","consent.scopes.okta.captchas.manage.desc":"Allows the app to create and manage CAPTCHAs in your Okta organization.","consent.scopes.okta.captchas.read.desc":"Allows the app to read information about CAPTCHAs in your Okta organization.","consent.scopes.okta.sessions.manage.desc":"Allows the app to manage all sessions in your Okta organization.","consent.scopes.okta.sessions.read.desc":"Allows the app to read all sessions in your Okta organization.","consent.scopes.okta.trustedOrigins.manage.desc":"Allows the app to manage all Trusted Origins in your Okta organization.","consent.scopes.okta.trustedOrigins.read.desc":"Allows the app to read all Trusted Origins in your Okta organization.","consent.scopes.okta.templates.manage.desc":"Allows the app to manage all custom templates in your Okta organization.","consent.scopes.okta.templates.read.desc":"Allows the app to read all custom templates in your Okta organization.","consent.scopes.okta.factors.manage.desc":"Allows the app to manage all admin operations for org factors (e.g. activate, deactivate, read).","consent.scopes.okta.factors.read.desc":"Allows the app to read org factors information.","consent.scopes.okta.authenticators.manage.desc":"Allows the app to manage all security methods (e.g. enrollments, reset).","consent.scopes.okta.authenticators.read.desc":"Allows the app to read org security method information.","consent.scopes.okta.authenticators.manage.self.desc":"Allows the app to manage users own security methods (e.g. enrollments, reset).","consent.scopes.idSnapshot.read.desc":"Allows the app to read your identity snapshot attestation.","consent.scopes.idSnapshot.manage.desc":"Allows the app to create and manage your identity snapshot attestation.","logo.for.the.app.alt.text":"Logo for the app","device.code.activate.title":"Activate your device","device.code.activate.subtitle":"Follow the instructions on your device to get an activation code","device.code.activate.label":"Activation Code","device.code.activated.success.title":"Device activated","device.code.activated.error.title":"Device not activated","idx.device.activated":"Follow the instructions on your device for next steps","idx.device.not.activated.consent.denied":"Your device cannot be activated because you did not allow access","idx.device.not.activated.internal.error":"Your device cannot be activated because of an internal error","idx.invalid.device.code":"Invalid code. Try again.","idx.operation.cancelled.on.other.device":"Access denied on other device.","idx.expired.activation.token":"Your account activation link is no longer valid. Request a new activation email below.","idx.missing.activation.token":"This can happen if you have already activated your account, or if the URL you are trying to use is invalid. Contact your administrator for further assistance.","idx.activating.inactive.user":"Your account has been temporarily suspended. Contact your administrator for further assistance.","idx.request.activation.email":"New activation link requested. If your information matches our records, you will receive a new activation link in your inbox soon.","oie.activation.request.email.title.expire":"Activation link has expired","oie.activation.request.email.title.invalid":"Activation link no longer valid","oie.activation.request.email.title.suspended":"Account suspended","oie.activation.request.email.title.submitted":"Request submitted","oie.activation.request.email.button":"Request activation email","oie.browser.error.NotAllowedError":"The operation either timed out or was not allowed.","authfactor.challenge.soft_token.invalid_passcode":"Your code doesn't match our records. Please try again.","authfactor.challenge.soft_token.used_passcode":"Each code can only be used once. Please wait for a new code and try again.","oie.tooManyRequests":"Too many attempts. Try again later.",E0000010:"Server is unable to respond at the moment.","idx.error.registration.unavailable":"Registration is currently unavailable.","idx.error.user.not.assigned.to.app":"User is not assigned to this application.","idx.error.code.user_not_assigned":"You are not allowed to access this app. To request access, contact an admin."}},function(e,t,n){var r=n(1101);e.exports=r},function(e,t,n){var r=n(1102),o=String.prototype;e.exports=function(e){var t=e.startsWith;return"string"==typeof e||e===o||e instanceof String&&t===o.startsWith?r:t}},function(e,t,n){n(1103);var r=n(30);e.exports=r("String").startsWith},function(e,t,n){"use strict";var r=n(7),o=n(128).f,i=n(66),a=n(290),s=n(131),l=n(293),u=n(87),c="".startsWith,f=Math.min,d=l("startsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&!!function(){var e=o(String.prototype,"startsWith");return e&&!e.writable}()||d)},{startsWith:function(e){var t=String(s(this));a(e);var n=i(f(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";function r(e){var t=l.default.extend({transformErrorXHR:a.default.transformErrorXHR,headers:{"X-Okta-User-Agent-Extended":"okta-signin-widget-"+s.default.version}},e);return t.tokenManager=l.default.extend({},t.tokenManager,{autoRenew:!1}),t.headers=a.default.removeNils(t.headers),new i.OktaAuth(t)}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=r;var i=n(506),a=o(n(28)),s=o(n(238)),l=o(n(229))},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.$.extend(!0,{},e.authParams,a._.pick(t,l.default.AUTH_PARAMS)),r=(0,i.default)({},e,t),o=r.el,u=r.clientId,c=r.redirectUri,f=(0,i.default)({},{el:o,clientId:u,redirectUri:c,authParams:n});if(!f.el)throw new s.default.ConfigError('"el" is required');if(!f.clientId)throw new s.default.ConfigError('"clientId" is required');if(!f.redirectUri)throw new s.default.ConfigError('"redirectUri" is required');return f}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=r;var i=o(n(10)),a=n(2),s=o(n(55)),l=o(n(327))},function(e,t,n){"use strict";function r(e,t,n,r,o,l){var u,c,f=new i.default(function(i,f){c=a.$.extend(!0,{},t,n,{authClient:r,globalSuccessFn:function(e){o&&o(e),e&&e.status===s.default.SUCCESS&&i(e)},globalErrorFn:function(e){l&&l(e),f(e)}}),u=new e(c),u.start()});return{router:u,routerOptions:c,promise:f}}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=r;var i=o(n(195)),a=n(2),s=o(n(11))},function(e,t,n){"use strict";var r,o,i,a,s=n(7),l=n(87),u=n(34),c=n(95),f=n(509),d=n(138),p=n(240),h=n(105),m=n(1108),v=n(38),g=n(84),y=n(196),b=n(130),_=n(462),w=n(119),x=n(476),E=n(510),T=n(511).set,S=n(1109),k=n(513),O=n(1110),A=n(197),C=n(241),R=n(94),I=n(401),N=n(35),M=n(317),P=N("species"),L="Promise",D=R.get,j=R.set,F=R.getterFor(L),U=f,B=u.TypeError,V=u.document,q=u.process,H=c("fetch"),W=A.f,z=W,K="process"==b(q),$=!!(V&&V.createEvent&&u.dispatchEvent),G=I(L,function(){if(_(U)===String(U)){if(66===M)return!0;if(!K&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!U.prototype.finally)return!0;if(M>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e(function(){},function(){})},n=e.constructor={};return n[P]=t,!(e.then(function(){})instanceof t)}),Y=G||!x(function(e){U.all(e).catch(function(){})}),J=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;S(function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var s,l,u,c=r[a++],f=i?c.ok:c.fail,d=c.resolve,p=c.reject,h=c.domain;try{f?(i||(2===t.rejection&&te(e,t),t.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),u=!0)),s===c.promise?p(B("Promise-chain cycle")):(l=J(s))?l.call(s,d,p):d(s)):p(o)}catch(e){h&&!u&&h.exit(),p(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&Z(e,t)})}},X=function(e,t,n){var r,o;$?(r=V.createEvent("Event"),r.promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(o=u["on"+e])?o(r):"unhandledrejection"===e&&O("Unhandled promise rejection",n)},Z=function(e,t){T.call(u,function(){var n,r=t.value,o=ee(t);if(o&&(n=C(function(){K?q.emit("unhandledRejection",r,e):X("unhandledrejection",e,r)}),t.rejection=K||ee(t)?2:1,n.error))throw n.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){T.call(u,function(){K?q.emit("rejectionHandled",e):X("rejectionhandled",e,t.value)})},ne=function(e,t,n,r){return function(o){e(t,n,o,r)}},re=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,Q(e,t,!0))},oe=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw B("Promise can't be resolved itself");var o=J(n);o?S(function(){var r={done:!1};try{o.call(n,ne(oe,e,r,t),ne(re,e,r,t))}catch(n){re(e,r,n,t)}}):(t.value=n,t.state=1,Q(e,t,!1))}catch(n){re(e,{done:!1},n,t)}}};G&&(U=function(e){y(this,U,L),g(e),r.call(this);var t=D(this);try{e(ne(oe,this,t),ne(re,this,t))}catch(e){re(this,t,e)}},r=function(e){j(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})},r.prototype=p(U.prototype,{then:function(e,t){var n=F(this),r=W(E(this,U));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=K?q.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Q(this,n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=D(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(re,e,t)},A.f=W=function(e){return e===U||e===i?new o(e):z(e)},l||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",function(e,t){var n=this;return new U(function(e,t){a.call(n,e,t)}).then(e,t)},{unsafe:!0}),"function"==typeof H&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return k(U,H.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:G},{Promise:U}),h(U,L,!1,!0),m(L),i=c(L),s({target:L,stat:!0,forced:G},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||G},{resolve:function(e){return k(l&&this===i?U:this,e)}}),s({target:L,stat:!0,forced:Y},{all:function(e){var t=this,n=W(t),r=n.resolve,o=n.reject,i=C(function(){var n=g(t.resolve),i=[],a=0,s=1;w(e,function(e){var l=a++,u=!1;i.push(void 0),s++,n.call(t,e).then(function(e){u||(u=!0,i[l]=e,--s||r(i))},o)}),--s||r(i)});return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=W(t),r=n.reject,o=C(function(){var o=g(t.resolve);w(e,function(e){o.call(t,e).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}})},function(e,t,n){"use strict";var r=n(95),o=n(86),i=n(35),a=n(44),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r,o,i,a,s,l,u,c,f=n(34),d=n(128).f,p=n(130),h=n(511).set,m=n(512),v=f.MutationObserver||f.WebKitMutationObserver,g=f.process,y=f.Promise,b="process"==p(g),_=d(f,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(b&&(e=g.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){g.nextTick(r)}:v&&!m?(s=!0,l=document.createTextNode(""),new v(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),c=u.then,a=function(){c.call(u,r)}):a=function(){h.call(f,r)}),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(34);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var r=n(7),o=n(87),i=n(509),a=n(29),s=n(95),l=n(510),u=n(513),c=n(138);r({target:"Promise",proto:!0,real:!0,forced:!!i&&a(function(){i.prototype.finally.call({then:function(){}},function(){})})},{finally:function(e){var t=l(this,s("Promise")),n="function"==typeof e;return this.then(n?function(n){return u(t,e()).then(function(){return n})}:e,n?function(n){return u(t,e()).then(function(){throw n})}:e)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",s("Promise").prototype.finally)},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1113)),i=r(n(1114)),a=r(n(1126)),s=r(n(1128)),l=r(n(1130)),u=r(n(1131)),c=r(n(1134)),f=r(n(1135)),d=r(n(1136)),p=r(n(1137)),h=r(n(1138)),m=r(n(1139)),v=r(n(1141)),g=r(n(532)),y=r(n(1144)),b=r(n(1149)),_=r(n(1150)),w=r(n(1151)),x=r(n(1152)),E=r(n(1153)),T=r(n(1154)),S=r(n(1155)),k=r(n(1157)),O=r(n(1158)),A=r(n(1162)),C=r(n(1167)),R=r(n(1168)),I=r(n(1169)),N=r(n(1170)),M=r(n(1171)),P=r(n(1172)),L=r(n(1183)),D=r(n(1185)),j=r(n(1187)),F=r(n(1198)),U=r(n(1199)),B=r(n(1200)),V=r(n(543)),q=r(n(1201)),H=r(n(1202)),W=r(n(1203)),z=r(n(1204)),K=r(n(1205)),$=r(n(1206)),G=r(n(1207)),Y=r(n(1211)),J=r(n(1212)),Q=r(n(1213)),X=r(n(1214)),Z=r(n(1215)),ee=r(n(1222)),te=r(n(1223)),ne=r(n(1224)),re=r(n(1225)),oe=r(n(1226)),ie=r(n(1229)),ae=r(n(1232)),se=r(n(553)),le=r(n(11)),ue=oe.default.extend({routes:{"":"defaultAuth",signin:"primaryAuth","signin/verify/duo/web":"verifyDuo","signin/verify/piv":"verifyPIV","signin/poll":"poll","signin/verify/fido/webauthn":"verifyWebauthn","signin/verify/webauthn":"verifyWebauthn","signin/verify/fido/u2f":"verifyU2F","signin/verify/u2f":"verifyU2F","signin/verify/generic_saml/assertion:saml2":"verifySAMLFactor","signin/verify/generic_oidc/assertion:oidc":"verifyOIDCFactor","signin/verify/custom/claims_provider":"verifyClaimsFactor","signin/verify/:factorType":"verifyNoProvider","signin/verify/:provider/:factorType(/:factorIndex)":"verify","signin/enroll":"enrollChoices","signin/enroll/duo/web":"enrollDuo","signin/enroll/okta/question":"enrollQuestion","signin/enroll/okta/password":"enrollPassword","signin/enroll/okta/sms":"enrollSms","signin/enroll/okta/call":"enrollCall","signin/enroll/okta/email":"enrollEmail","signin/enroll-activate/okta/sms":"enrollSms","signin/enroll-activate/okta/call":"enrollCall","signin/enroll/rsa/token":"enrollRsa","signin/enroll/del_oath/token":"enrollOnPrem","signin/enroll/symantec/token":"enrollSymantecVip","signin/enroll/yubico/token:hardware":"enrollYubikey","signin/enroll/fido/webauthn":"enrollWebauthn","signin/enroll/fido/u2f":"enrollU2F","signin/enroll/generic_saml/assertion:saml2":"enrollSAMLFactor","signin/enroll/generic_oidc/assertion:oidc":"enrollOIDCFactor","signin/enroll/custom/claims_provider":"enrollClaimsFactor","signin/enroll/custom/token:hotp":"enrollHotpFactor","signin/enroll/:provider/:factorType":"enrollTotpFactor","signin/enroll-activate/okta/email":"enrollActivateEmail","signin/enroll-activate/okta/push":"scanBarcodePushFactor","signin/enroll-activate/okta/push/manual":"manualSetupPushFactor","signin/enroll-activate/okta/push/sent":"activationLinkSent","signin/enroll-activate/okta/token:software:totp/passcode":"enterPasscodeInPushEnrollmentFlow","signin/enroll-activate/custom/claims_provider":"enrollActivateClaimsFactor","signin/enroll-activate/:provider/:factorType":"scanBarcodeTotpFactor","signin/enroll-activate/:provider/:factorType/activate":"activateTotpFactor","signin/enroll-activate/:provider/:factorType/manual":"manualSetupTotpFactor","signin/password-expired":"passwordExpired","signin/custom-password-expired":"customPasswordExpired","signin/forgot-password":"forgotPassword","signin/recovery-challenge":"recoveryChallenge","signin/recovery-emailed":"recoveryEmailSent","signin/recovery-question":"recoveryQuestion","signin/password-reset":"passwordReset","signin/reset-password/:token":"recoveryLoading","signin/user-unlock/:token":"recoveryLoading","signin/recovery/:token":"recoveryLoading","signin/unlock-emailed":"unlockEmailSent","signin/unlock":"unlockAccount","signin/account-unlocked":"accountUnlocked","signin/refresh-auth-state(/:token)":"refreshAuthState","signin/register":"register","signin/register-complete":"registerComplete","signin/error":"errorState","signin/consent":"consentRequired","signin/admin-consent":"adminConsentRequired","signin/enroll-user":"enrollUser","signin/device-activate-complete":"deviceActivateComplete","signin/device-activate":"deviceActivate","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete","errorState","verifyPIV"],defaultAuth:function(){if(location.hash==="#".concat(le.default.WIDGET_CONTAINER_ID))return void document.getElementById(le.default.WIDGET_CONTAINER_ID).focus();this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth()},idpDiscovery:function(){this.render(P.default,{Beacon:se.default})},primaryAuth:function(){this.render(V.default,{Beacon:se.default})},verifyDuo:function(){this.render(X.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},verifyPIV:function(){this.render(Z.default,{Beacon:ae.default})},poll:function(){this.render(B.default)},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(te.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(ne.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},verifyU2F:function(){this.render(ee.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},verifySAMLFactor:function(){this.render(Q.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},verifyOIDCFactor:function(){this.render(Q.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},verifyClaimsFactor:function(){this.render(Q.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},verify:function(e,t,n){this.render(j.default,{provider:e.toUpperCase(),factorType:t,factorIndex:n,Beacon:ie.default})},verifyNoProvider:function(e){this.render(j.default,{factorType:e,Beacon:ie.default})},enrollChoices:function(){this.render(v.default,{Beacon:se.default})},enrollDuo:function(){this.render(y.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},enrollQuestion:function(){this.render(E.default,{provider:"OKTA",factorType:"question",Beacon:ie.default})},enrollPassword:function(){this.render(x.default,{provider:"OKTA",factorType:"password",Beacon:ie.default})},enrollSms:function(){this.render(m.default,{provider:"OKTA",factorType:"sms",Beacon:ie.default})},enrollCall:function(){this.render(m.default,{provider:"OKTA",factorType:"call",Beacon:ie.default})},enrollEmail:function(){this.render(b.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollActivateEmail:function(){this.render(h.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollRsa:function(){this.render(w.default,{provider:"RSA",factorType:"token",Beacon:ie.default})},enrollOnPrem:function(){this.render(w.default,{provider:"DEL_OATH",factorType:"token",Beacon:ie.default})},enrollSymantecVip:function(){this.render(T.default,{provider:"SYMANTEC",factorType:"token",Beacon:ie.default})},enrollYubikey:function(){this.render(R.default,{provider:"YUBICO",factorType:"token:hardware",Beacon:ie.default})},enrollSAMLFactor:function(){this.render(g.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},enrollOIDCFactor:function(){this.render(g.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},enrollClaimsFactor:function(){this.render(g.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollActivateClaimsFactor:function(){this.render(p.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollTotpFactor:function(e,t){this.render(S.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},enrollHotpFactor:function(){this.render(_.default,{provider:"CUSTOM",factorType:"token:hotp",Beacon:ie.default})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(A.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(C.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},enrollU2F:function(){this.render(k.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},scanBarcodeTotpFactor:function(e,t){this.render(l.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},scanBarcodePushFactor:function(){this.render(s.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activateTotpFactor:function(e,t){this.render(i.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupTotpFactor:function(e,t){this.render(D.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupPushFactor:function(){this.render(L.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activationLinkSent:function(){this.render(I.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},enterPasscodeInPushEnrollmentFlow:function(){this.render(N.default,{provider:"OKTA",factorType:"token:software:totp",Beacon:ie.default})},passwordExpired:function(){this.render(F.default,{Beacon:se.default})},customPasswordExpired:function(){this.render(c.default,{Beacon:se.default})},forgotPassword:function(){this.render(M.default)},recoveryChallenge:function(){this.render(H.default,{Beacon:se.default})},recoveryEmailSent:function(){this.render(q.default,{Beacon:se.default})},unlockEmailSent:function(){this.render(J.default,{Beacon:se.default})},recoveryQuestion:function(){this.render(z.default,{Beacon:se.default})},passwordReset:function(){this.render(U.default,{Beacon:se.default})},recoveryLoading:function(e){this.render(W.default,{token:e,Beacon:se.default})},unlockAccount:function(){this.render(Y.default)},accountUnlocked:function(){this.render(o.default,{Beacon:se.default})},refreshAuthState:function(e){this.render(K.default,{token:e,Beacon:se.default})},register:function(){this.render(G.default)},registerComplete:function(){this.render($.default)},errorState:function(){this.render(re.default,{Beacon:se.default})},consentRequired:function(){this.render(u.default)},adminConsentRequired:function(){this.render(a.default)},enrollUser:function(){this.render(O.default)},deviceActivate:function(){this.render(f.default)},deviceActivateComplete:function(){this.render(d.default)}});t.default=ue},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(11)),a=r(n(8)),s=r(n(12)),l=a.default.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o._.partial(o.loc,"account.unlock.unlocked.title","login"),subtitle:o._.partial(o.loc,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[s.default.Button({title:(0,o.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8)),i=r(n(515)),a=r(n(45)),s=o.default.extend({className:"activate-totp",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:i.default,Footer:a.default});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(140)),a=r(n(88)),s=r(n(10)),l=r(n(39)),u=r(n(117)),c=r(n(1116)),f=r(n(1125)),d={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},p=(0,u.default)(d),h=function(e){var t=(0,l.default)(p).call(p,function(t){return d[t]===e});return 1===t.length?t[0]:e},m={getTimeInHighestRelevantUnit:function(e,t){var n,r,l={days:0,hours:0,minutes:0,seconds:0,milliseconds:0},p=d[t]||t;try{var m=(0,c.default)((0,s.default)(l,(0,a.default)({},p,e)));r=(0,f.default)(m)}catch(e){r={}}var v,g,y=(0,i.default)(n=(0,u.default)(r)).call(n,function(e,t){return 0!==r[t]&&(e[t]=r[t]),e},{});if(1===(0,u.default)(y).length){var b;(0,o.default)(b=(0,u.default)(y)).call(b,function(e){g=y[e],v=e})}else g=e,v=p;return{time:g,unit:h(v)}}};t.default=m},function(e,t,n){"use strict";var r=n(1),o=r(n(26)),i=r(n(18)),a=r(n(518)),s=r(n(1121)),l=r(n(140)),u={days:function(e){return 864e5*e},hours:function(e){return 36e5*e},minutes:function(e){return 6e4*e},seconds:function(e){return 1e3*e},milliseconds:function(e){return e},microseconds:function(e){return e/1e3},nanoseconds:function(e){return e/1e6}},c=function(e){var t;return(0,l.default)(t=(0,s.default)(e)).call(t,function(e,t){var n=(0,a.default)(t,2),r=n[0],s=n[1];if("number"!=typeof s){var l,c;throw new TypeError((0,i.default)(l=(0,i.default)(c="Expected a `number` for key `".concat(r,"`, got `")).call(c,s,"` (")).call(l,(0,o.default)(s),")"))}if(!u[r])throw new Error("Unsupported time key");return e+u[r](s)},0)};e.exports=c,e.exports.default=c},function(e,t,n){function r(e){if(o(e))return e}var o=n(519);e.exports=r},function(e,t,n){function r(e,t){if(void 0!==a&&i(Object(e))){var n=[],r=!0,s=!1,l=void 0;try{for(var u,c=o(e);!(r=(u=c.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){s=!0,l=e}finally{try{r||null==c.return||c.return()}finally{if(s)throw l}}return n}}var o=n(459),i=n(314),a=n(316);e.exports=r},function(e,t,n){e.exports=n(524)},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},function(e,t,n){e.exports=n(526)},function(e,t,n){n(1123);var r=n(22);e.exports=r.Object.entries},function(e,t,n){var r=n(7),o=n(1124).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(44),o=n(183),i=n(83),a=n(225).f,s=function(e){return function(t){for(var n,s=i(t),l=o(s),u=l.length,c=0,f=[];u>c;)n=l[c++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t,n){"use strict";e.exports=function(e){if("number"!=typeof e)throw new TypeError("Expected a number");var t=e>0?Math.floor:Math.ceil;return{days:t(e/864e5),hours:t(e/36e5)%24,minutes:t(e/6e4)%60,seconds:t(e/1e3)%60,milliseconds:t(e)%1e3,microseconds:t(1e3*e)%1e3,nanoseconds:t(1e6*e)%1e3}}},function(e,t,n){"use strict";var r=n(1),o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(527)),l=r(n(528)),u={props:{scopes:["array",!0]},save:function(){return this.doTransaction(function(e){return e.consent({consent:{scopes:o._.pluck(this.get("scopes"),"name")}})})},cancel:function(){var e=this;return this.doTransaction(function(e){return e.cancel()}).then(function(){var t=e.settings.get("consent.cancel");o._.isFunction(t)&&t()})}},c=o.View.extend({className:"consent-title detail-row",template:l.default,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetLogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href,issuer:e.get("issuer")}}}),f={noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:o._.partial(o.loc,"consent.required.consentButton","login"),cancel:o._.partial(o.loc,"consent.required.cancelButton","login"),formChildren:[a.default.View({View:c}),a.default.View({View:s.default})]},d=i.default.extend({Model:u,Form:f,className:"admin-consent-required",initialize:function(){var e=this;this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",function(){e.model.cancel()})}});e.exports=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2);n(237);var a=i.View.extend({className:"scope-item",template:o.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16" />'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="scope-item-text no-translate">'+e.escapeExpression((a=null!=(a=l(n,"name")||(null!=t?l(t,"name"):t))?a:e.hooks.helperMissing,"function"==typeof a?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:48}}}):a))+"</p>"+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:52},end:{line:1,column:131}}}))?i:"")},useData:!0}),postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:i._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse"}})}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(41)),a=r(n(8)),s=r(n(12)),l=r(n(529)),u=r(n(45)),c=a.default.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",function(){this.clearErrors()})},formChildren:[s.default.View({View:l.default})]},Footer:u.default,initialize:function(){this.pollForEnrollment()},pollForEnrollment:function(){return this.model.doTransaction(function(e){return e.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=c},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r={INVALID_TOKEN_EXCEPTION:"E0000011"};t.default=r},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(41)),a=r(n(8)),s=r(n(12)),l=r(n(89)),u=r(n(529)),c=r(n(45)),f=a.default.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},save:o._.partial(o.loc,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[s.default.View({View:u.default})]},Footer:c.default,initialize:function(){this.listenTo(this.form,"save",function(){var e=l.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(4)),a=n(2),s=r(n(11)),l=r(n(8)),u=r(n(12)),c=r(n(530)),f=r(n(1133)),d=r(n(528)),p=l.default.extend({className:"consent-required",initialize:function(){this.model.set("expiresAt",this.options.appState.get("expiresAt")),this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",(0,o.default)(a._).call(a._,this.model.cancel,this.model));var e=new f.default;(0,a.$)("#".concat(s.default.WIDGET_LOGIN_CONTAINER_ID)).prepend(e.render().$el)},postRender:function(){l.default.prototype.postRender.apply(this,arguments),this.$(".o-form-button-bar .button-primary").removeClass("button-primary")},Model:{props:{expiresAt:["string",!0],scopes:["array",!0]},save:function(){return this.doTransaction(function(e){return e.consent({consent:{expiresAt:this.get("expiresAt"),scopes:a._.pluck(this.get("scopes"),"name")}})})},cancel:function(){var e=this;return this.doTransaction(function(e){return e.cancel()}).then(function(){var t=e.settings.get("consent.cancel");a._.isFunction(t)&&t()})}},Form:{noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:a._.partial(a.loc,"consent.required.consentButton","login"),cancel:a._.partial(a.loc,"consent.required.cancelButton","login"),formChildren:function(){return[u.default.View({View:a.View.extend({className:"consent-title detail-row",template:d.default,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetLogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href}}})}),u.default.View({View:new c.default({model:this.model})}),u.default.View({View:a.View.extend({className:"consent-description detail-row",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})})})]}},Footer:a.View.extend({className:"consent-footer",template:i.default.template({1:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="terms-of-service" href="'+u((a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:l,"function"==typeof a?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a))+'" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:o,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(i=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:158},end:{line:1,column:194}}}))?i:"")},2:function(e,t,n,r,o){return" &#8226 "},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+l((i=null!=(i=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?i:s,"function"==typeof i?i.call(a,{name:"privacyPolicy",hash:{},data:o,loc:{start:{line:1,column:254},end:{line:1,column:271}}}):i))+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:o,loc:{start:{line:1,column:289},end:{line:1,column:350}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"termsOfService"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:201}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:201},end:{line:1,column:361}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options.appState;return{termsOfService:e.get("targetTermsOfService")&&e.get("targetTermsOfService").href,privacyPolicy:e.get("targetPrivacyPolicy")&&e.get("targetPrivacyPolicy").href}}})});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2);n(237);var s=a.View.extend({className:"scope-item",template:i.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+c((s=null!=(s=f(n,"classNames")||(null!=t?f(t,"classNames"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"classNames",hash:{},data:i,loc:{start:{line:1,column:12},end:{line:1,column:26}}}):s))+'"><p>'+c((s=null!=(s=f(n,"name")||(null!=t?f(t,"name"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"name",hash:{},data:i,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):s))+"</p></div>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"description"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:49},end:{line:1,column:133}}}))?a:"")},useData:!0}),getTemplateData:function(){var e=this.options,t=e.name,n=e.description,r=e.isCustomized;return{classNames:"openid"===t||r?"".concat("scope-item-text"," no-translate"):"scope-item-text",name:t,description:n}},postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:a._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(11)),a=o.View.extend({tagName:"a",className:"skip-to-content-link",attributes:{href:"#".concat(i.default.WIDGET_CONTAINER_ID)},initialize:function(){this.$el.append((0,o.loc)("skip.to.main.content","login"))}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(531)),l=o.internal.util.Util,u=i.default.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,o.loc)("password.expiring.title","login",[t]):e&&0===t?(0,o.loc)("password.expiring.today","login"):e?(0,o.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,o.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,o.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon")){return(this.settings.get("brandName")?(0,o.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,o.loc)("password.expiring.subtitle.generic","login"))+" "+(0,o.loc)("password.expired.custom.subtitle","login")}return(0,o.loc)("password.expired.custom.subtitle","login")},formChildren:function(){return[a.default.Button({title:o._.partial(o.loc,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){l.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(52)),a=r(n(4)),s=n(2),l=r(n(8)),u=r(n(12)),c=r(n(36)),f=s.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"api.authn.error.PASSCODE_INVALID"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),d=l.default.extend({className:"device-code-activate",Model:{props:{userCode:["string",!0],stateToken:"string"},save:function(){var e=this;return this.doTransaction(function(t){return t.deviceActivate({userCode:e.get("userCode")})})}},Form:{noCancelButton:!0,autoSave:!0,save:function(){return(0,s.loc)("oform.next","login")},title:function(){return(0,s.loc)("device.code.activate.title","login")},subtitle:function(){return(0,s.loc)("device.code.activate.subtitle","login")},formChildren:function(){return"INVALID_USER_CODE"===this.options.appState.get("deviceActivationStatus")&&this.add(f,".o-form-error-container"),[u.default.Input({label:(0,s.loc)("device.code.activate.label","login"),"label-top":!0,name:"userCode",input:c.default,inputId:"user-code",type:"text",inlineValidation:!1})]},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){var t,n=e.target.value;n&&4===n.length&&!(0,i.default)(t=["Backspace","Delete","-"]).call(t,e.key)&&(e.target.value=(0,o.default)(n).call(n,"-"))}}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(8)),s=r(n(12)),l=["DEVICE_NOT_ACTIVATED_CONSENT_DENIED","DEVICE_NOT_ACTIVATED"],u=a.default.extend({className:"device-code-terminal",postRender:function(){a.default.prototype.postRender.apply(this,arguments);var e="DEVICE_ACTIVATED"===this.options.appState.get("deviceActivationStatus")?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')},Model:{},Form:{noCancelButton:!0,noButtonBar:!0,title:function(){var e=this.options.appState.get("deviceActivationStatus");return"DEVICE_ACTIVATED"===e?(0,i.loc)("device.code.activated.success.title","login"):i._.contains(l,e)?(0,i.loc)("device.code.activated.error.title","login"):void 0},subtitle:function(){var e=this.options.appState.get("deviceActivationStatus");return"DEVICE_ACTIVATED"===e?(0,i.loc)("idx.device.activated","login"):"DEVICE_NOT_ACTIVATED_CONSENT_DENIED"===e?(0,i.loc)("idx.device.not.activated.consent.denied","login"):"DEVICE_NOT_ACTIVATED"===e?(0,i.loc)("idx.device.not.activated.internal.error","login"):void 0},formChildren:function(){return[s.default.View({View:i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="/activate" class="button button-primary text-align-c retry-button" data-se="try-again">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.try.again"},data:o,loc:{start:{line:1,column:121},end:{line:1,column:165}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isDeviceCodeError"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:176}}}))?i:""},useData:!0}),getTemplateData:function(){return{isDeviceCodeError:i._.contains(l,this.options.appState.get("deviceActivationStatus"))}}})})]}}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(532)),a=r(n(242)),s=r(n(12)),l=r(n(106)),u=o.internal.util.Util,c=i.default.extend({Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction(function(){var t=e.appState.get("enrollCustomFactorRedirectUrl");null!==t&&u.redirect(t)})}},Form:function(){var e=new a.default.Model(this.options.appState.get("factor"),this.toJSON()),t=e.get("vendorName");return{autoSave:!0,title:t,subtitle:(0,o.loc)("enroll.customFactor.subtitle","login",[t]),save:(0,o.loc)("enroll.customFactor.save","login"),formChildren:function(){var e=[];return this.options.appState.get("isFactorResultFailed")&&e.push(s.default.View({View:new l.default({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),e}}}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(8)),s=r(n(12)),l=r(n(533)),u=r(n(45)),c={props:{passCode:"string"},resend:function(){return this.trigger("form:clear-errors"),this.doTransaction(function(e){return e.resend("email")})},save:function(){this.trigger("save");var e=this.toJSON();return this.doTransaction(function(t){return t.activate(e)})}},f=function(){return{title:i._.partial(i.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:i._.partial(i.loc,"oform.verify","login"),formChildren:[s.default.View({View:i.View.extend({className:"enroll-activate-email-content",attributes:{"data-se":"enroll-activate-email-content"},template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:function(){var e=this.options.appState.get("factor"),t=e&&e.profile?e.profile.email:"";return{factorEmail:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression((i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i))+"</span>"},useData:!0})({email:t})}}})}),s.default.View({View:l.default}),s.default.Input({label:(0,i.loc)("email.code.label","login"),"label-top":!0,name:"passCode",type:"text",wide:!0})]}},d=a.default.extend({className:"enroll-activate-email",Model:c,Form:f,Footer:u.default});t.default=d},function(e,t,n){"use strict";function r(e){return"call"===e}function o(e){return r(e)?"enroll-call":"enroll-sms"}function i(e){y.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var a=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(27)),l=a(n(4)),u=n(2),c=a(n(158)),f=a(n(11)),d=a(n(8)),p=a(n(12)),h=a(n(28)),m=a(n(45)),v=a(n(534)),g=a(n(36)),y=u.internal.util.Keys,b=u.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing,i="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})}),_={factorId:function(e){return!u._.isUndefined(e)}},w=d.default.extend({className:function(){return o(this.options.factorType)},Model:function(){return{props:{phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+c.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return t?e+t:""}},enrolled:{deps:["lastEnrolledPhoneNumber","fullPhoneNumber"],fn:function(e,t){return e===t}}},limitResending:function(){this.set({ableToResend:!1}),u._.delay((0,s.default)(u._).call(u._,this.set,this),f.default.API_RATE_LIMIT,{ableToResend:!0})},sendCode:function(){var e=this,t=this.get("fullPhoneNumber"),n=this.get("phoneExtension");return e.trigger("errors:clear"),t.length?this.doTransaction(function(o){var i="MFA_ENROLL"===o.status||"FACTOR_ENROLL"===o.status,a={phoneNumber:t,updatePhone:!i||e.get("hasExistingPhones")};r(e.get("factorType"))&&(a.phoneExtension=n),e.get("skipPhoneValidation")&&(a.validatePhone=!1);var s=function(t){return u._.findWhere(t.factors,{factorType:e.get("factorType"),provider:"OKTA"}).enroll({profile:a}).catch(function(t){throw"E0000098"===t.errorCode&&(e.set("skipPhoneValidation",!0),t.xhr.responseJSON.errorSummary=(0,u.loc)("enroll.sms.try_again","login")),t})};return i?s(o):(e.set("trapEnrollment",!0),o.prev().then(s).then(function(t){return e.set("trapEnrollment",!1),t}))},!0).then(function(){e.set("lastEnrolledPhoneNumber",t),e.limitResending()}).catch(function(){e.set("ableToResend",!0),e.set("trapEnrollment",!1)}):void e.trigger("invalid",e,{phoneNumber:"model.validation.field.blank"})},resendCode:function(){return this.trigger("errors:clear"),this.limitResending(),this.doTransaction(function(e){return e.resend(this.get("factorType"))})},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:function(){var e=this.options.factorType,t=r(e),n=(0,u.loc)(t?"enroll.call.setup":"enroll.sms.setup","login"),a=(0,u.loc)(t?"mfa.call":"mfa.sendCode","login"),s=(0,u.loc)(t?"mfa.redial":"mfa.resendCode","login"),l=(0,u.loc)(t?"mfa.calling":"mfa.sent","login"),f=t?"enroll-call-phone":"enroll-sms-phone",d=t?"call-request-button":"sms-request-button",m=[p.default.Input({name:"countryCode",type:"select",wide:!0,options:c.default.getCountries()}),p.default.Input({label:(0,u.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:f,name:"phoneNumber",input:v.default,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",i).keydown(i).keyup({model:this.model},i)}})];return t&&m.push(p.default.Input({label:(0,u.loc)("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:g.default,type:"text"})),m.push(p.default.Button({title:a,attributes:{"data-se":d},className:"button button-primary js-enroll-phone margin-top-30 "+d,click:function(){this.model.sendCode()}}),p.default.Button({title:s,attributes:{"data-se":d},className:"button js-enroll-phone margin-top-30 "+d,click:function(){this.model.resendCode()},initialize:function(){this.$el.css({display:"none"}),this.listenTo(this.model,"change:ableToResend",function(e,t){t?(this.options.title=s,this.enable()):(this.options.title=l,this.disable()),this.render()})}}),p.default.Divider({showWhen:_}),p.default.Input({label:(0,u.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:h.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:g.default,type:"tel",showWhen:_}),p.default.Toolbar({noCancelButton:!0,save:(0,u.loc)("mfa.challenge.verify","login"),showWhen:_})),{title:n,noButtonBar:!0,autoSave:!0,className:o(e),showWarning:function(e){this.clearWarnings(),this.add(b,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){this.listenTo(this.model,"change:ableToResend",function(e,n){n?this.showWarning((0,u.loc)(t?"factor.call.time.warning":"factor.sms.time.warning","login")):this.clearWarnings()}),this.listenTo(this.model,"error errors:clear",function(){this.clearWarnings(),this.clearErrors()}),this.listenTo(this.model,"change:enrolled",function(){this.$(".js-enroll-phone").toggle()})},formChildren:m}},Footer:m.default,trapAuthResponse:function(){return this.options.appState.get("isMfaEnrollActivate")?(this.model.set("factorId",this.options.appState.get("activatedFactorId")),!0):!(!this.options.appState.get("isMfaEnroll")||!this.model.get("trapEnrollment"))||void 0},initialize:function(){r(this.options.factorType)?this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhonesForCall")):this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhones")),this.model.set("factorType",this.options.factorType)}});t.default=w},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r={US:"1",AG:"1",AI:"1",AS:"1",BB:"1",BM:"1",BS:"1",CA:"1",DM:"1",DO:"1",GD:"1",GU:"1",JM:"1",KN:"1",KY:"1",LC:"1",MP:"1",MS:"1",PR:"1",SX:"1",TC:"1",TT:"1",VC:"1",VG:"1",VI:"1",RU:"7",KZ:"7",EG:"20",ZA:"27",GR:"30",NL:"31",BE:"32",FR:"33",ES:"34",HU:"36",IT:"39",VA:"39",RO:"40",CH:"41",AT:"43",GB:"44",GG:"44",IM:"44",JE:"44",DK:"45",SE:"46",NO:"47",SJ:"47",PL:"48",DE:"49",PE:"51",MX:"52",CU:"53",AR:"54",BR:"55",CL:"56",CO:"57",VE:"58",MY:"60",AU:"61",CC:"61",CX:"61",ID:"62",PH:"63",NZ:"64",SG:"65",TH:"66",JP:"81",KR:"82",VN:"84",CN:"86",TR:"90",IN:"91",PK:"92",AF:"93",LK:"94",MM:"95",IR:"98",SS:"211",MA:"212",EH:"212",DZ:"213",TN:"216",LY:"218",GM:"220",SN:"221",MR:"222",ML:"223",GN:"224",CI:"225",BF:"226",NE:"227",TG:"228",BJ:"229",MU:"230",LR:"231",SL:"232",GH:"233",NG:"234",TD:"235",CF:"236",CM:"237",CV:"238",ST:"239",GQ:"240",GA:"241",CG:"242",CD:"243",AO:"244",GW:"245",IO:"246",AC:"247",SC:"248",SD:"249",RW:"250",ET:"251",SO:"252",DJ:"253",KE:"254",TZ:"255",UG:"256",BI:"257",MZ:"258",ZM:"260",MG:"261",RE:"262",YT:"262",ZW:"263",NA:"264",MW:"265",LS:"266",BW:"267",SZ:"268",KM:"269",SH:"290",TA:"290",ER:"291",AW:"297",FO:"298",GL:"299",GI:"350",PT:"351",LU:"352",IE:"353",IS:"354",AL:"355",MT:"356",CY:"357",FI:"358",AX:"358",BG:"359",LT:"370",LV:"371",EE:"372",MD:"373",AM:"374",BY:"375",AD:"376",MC:"377",SM:"378",UA:"380",RS:"381",ME:"382",XK:"383",HR:"385",SI:"386",BA:"387",MK:"389",CZ:"420",SK:"421",LI:"423",FK:"500",BZ:"501",GT:"502",SV:"503",HN:"504",NI:"505",CR:"506",PA:"507",PM:"508",HT:"509",GP:"590",BL:"590",MF:"590",BO:"591",GY:"592",EC:"593",GF:"594",PY:"595",MQ:"596",SR:"597",UY:"598",CW:"599",BQ:"599",TL:"670",NF:"672",BN:"673",NR:"674",PG:"675",TO:"676",SB:"677",VU:"678",FJ:"679",PW:"680",WF:"681",CK:"682",NU:"683",WS:"685",KI:"686",NC:"687",TV:"688",PF:"689",TK:"690",FM:"691",MH:"692","001":"979",KP:"850",HK:"852",MO:"853",KH:"855",LA:"856",BD:"880",TW:"886",MV:"960",LB:"961",JO:"962",SY:"963",IQ:"964",KW:"965",SA:"966",YE:"967",OM:"968",PS:"970",AE:"971",IL:"972",BH:"973",QA:"974",BT:"975",MN:"976",NP:"977",TJ:"992",TM:"993",AZ:"994",GE:"995",KG:"996",UZ:"998",GS:"500",PN:"64",AQ:"672",UM:"1",AN:"599"};t.default=r},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=r(n(493)),a=r(n(4)),s=n(2),l=r(n(535)),u=r(n(1142)),c=r(n(1143)),f=r(n(11)),d=r(n(8)),p=r(n(89)),h=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<span>"+(null!=(a=null!=(a=s(n,"subtitle")||(null!=t?s(t,"subtitle"):t))?a:e.hooks.helperMissing,i="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:6},end:{line:1,column:20}}}):a)?i:"")+"</span>"},useData:!0}),m=d.default.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:s._.partial(s.loc,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===f.default.ALL_OPTIONAL_NONE_ENROLLED},subtitle:" ",getSubtitle:function(){switch(this.state.get("pageType")){case f.default.ALL_OPTIONAL_SOME_ENROLLED:case f.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,s.loc)("enroll.choices.optional","login");case f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:var e=this.options.appState.get("gracePeriodRemainingDays");return(0,i.default)(e)&&e>=0?this.getGracePeriodSubtitle(e):this.getDefaultSubtitle();default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?(0,s.loc)("enroll.choices.description.specific","login",[this.settings.get("brandName")]):(0,s.loc)("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(e){return e>=1?(0,s.loc)("enroll.choices.description.gracePeriod.bold","login",[e]):(0,s.loc)("enroll.choices.description.gracePeriod.oneDay.bold","login")},save:function(){switch(this.state.get("pageType")){case f.default.ALL_OPTIONAL_SOME_ENROLLED:case f.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,s.loc)("enroll.choices.submit.finish","login");case f.default.HAS_REQUIRED_NONE_ENROLLED:return(0,s.loc)("enroll.choices.submit.configure","login");case f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return(0,s.loc)("enroll.choices.submit.next","login");default:return""}},initialize:function(e){this.listenTo(this,"save",function(){var t;switch(this.state.get("pageType")){case f.default.HAS_REQUIRED_NONE_ENROLLED:case f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t=e.appState.get("factors").getFirstUnenrolledRequiredFactor(),e.appState.trigger("navigate",p.default.createEnrollFactorUrl(t.get("provider"),t.get("factorType")));break;default:return this.model.doTransaction(function(e){return e.skip()})}})},preRender:function(){this.add(h({subtitle:this.getSubtitle()}),"p.okta-form-subtitle");var e=this.options.appState.get("factors");switch(this.state.get("pageType")){case f.default.HAS_REQUIRED_NONE_ENROLLED:case f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new c.default({minimize:!0,collection:new s.Collection(e.where({required:!0})),appState:this.options.appState}));break;case f.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case f.default.ALL_OPTIONAL_SOME_ENROLLED:case f.default.ALL_OPTIONAL_NONE_ENROLLED:var t,n=e.where({enrolled:!0}),r=(0,o.default)(e).call(e,function(e){return!e.get("enrolled")||e.get("additionalEnrollment")});n.length>0&&(t=(0,s.loc)("enroll.choices.list.optional","login"),this.add(new l.default({listTitle:(0,s.loc)("enroll.choices.list.enrolled","login"),minimize:!0,collection:new s.Collection(n),appState:this.options.appState}))),this.add(new l.default({listTitle:t,collection:new s.Collection(r),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(e){var t,n,r=0,o=0,i=0,a=0;e.appState.get("factors").each(function(e){var t=e.get("required"),n=e.get("enrolled"),s=e.get("additionalEnrollment");t&&n?r++:t&&!n?o++:!t&&n?i++:t||n||a++,n&&s&&a++}),t=r>0||o>0,t&&0===r?n=f.default.HAS_REQUIRED_NONE_ENROLLED:t&&o>0?n=f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t&&a>0?n=f.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===i&&a>0?n=f.default.ALL_OPTIONAL_NONE_ENROLLED:a>0?n=f.default.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction(function(e){return e.skip()}),this.state.set("pageType",n),this.options.appState.get("skipLink")&&n===f.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new u.default(this.toJSON()))}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.choices.setup.skip"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:114}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction(function(e){return e.skip()})}}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=n(2),a=r(n(535)),s=a.default.extend({listTitle:i._.partial(i.loc,"enroll.choices.list.setup","login"),className:function(){return a.default.prototype.className+" enroll-required-factor-list"},postRender:function(){var e,t,n;a.default.prototype.postRender.apply(this,arguments),t=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),n=(0,o.default)(e=this).call(e,function(e){return e.model===t}),n.maximize()}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(2),a=r(n(328)),s=r(n(43)),l=r(n(8)),u=r(n(45)),c=l.default.extend({className:"enroll-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string"},getInitOptions:function(){return this.doTransaction(function(e){return i._.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()})},activate:function(e){var t=this.get("postAction"),n=this.get("factorId"),r=this,o={id:n,stateToken:this.get("stateToken"),sig_response:e};return(0,s.default)(i.$.post(t,o)).then(function(){return r.doTransaction(function(e){return e.poll()})}).catch(function(e){r.trigger("error",r,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:i._.partial(i.loc,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),a.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:(0,o.default)(i._).call(i._,this.model.activate,this.model)})}},Footer:u.default,fetchInitialData:function(){var e=this;return this.model.getInitOptions(this.options.appState).then(function(t){var n=t.data;if(!(n&&n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.activation))throw new Error("Response does not have duo activation options");var r=n._embedded.factor,o=r._embedded.activation;e.model.set({host:o.host,signature:o.signature,postAction:o._links.complete.href,factorId:r.id,stateToken:n.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=c},function(e,t,n){var r=n(1146);e.exports=r},function(e,t,n){var r=n(1147),o=String.prototype;e.exports=function(e){var t=e.endsWith;return"string"==typeof e||e===o||e instanceof String&&t===o.endsWith?r:t}},function(e,t,n){n(1148);var r=n(30);e.exports=r("String").endsWith},function(e,t,n){"use strict";var r=n(7),o=n(128).f,i=n(66),a=n(290),s=n(131),l=n(293),u=n(87),c="".endsWith,f=Math.min,d=l("endsWith");r({target:"String",proto:!0,forced:!(!u&&!d&&!!function(){var e=o(String.prototype,"endsWith");return e&&!e.writable}()||d)},{endsWith:function(e){var t=String(s(this));a(e);var n=arguments.length>1?arguments[1]:void 0,r=i(t.length),o=void 0===n?r:f(i(n),r),l=String(e);return c?c.call(t,l,o):t.slice(o-l.length,o)===l}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(8)),s=r(n(12)),l=r(n(45)),u={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");var e=this.pick("factorType","provider");return this.doTransaction(function(t){return i._.findWhere(t.factors,e).enroll()})}},c=function(){return{title:i._.partial(i.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:i._.partial(i.loc,"email.button.send","login"),formChildren:[s.default.View({View:i.View.extend({attributes:{"data-se":"enroll-email-content"},template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"email.enroll.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:55}}}))},useData:!0})})})]}},f=a.default.extend({className:"enroll-email",Model:u,Form:c,Footer:l.default,initialize:function(){this.model.set(i._.pick(this.options,"factorType","provider"))}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(45)),l=r(n(106)),u=i.default.extend({className:"enroll-hotp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=this.options.appState.get("factors"),t=e.findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return(0,o.loc)("enroll.totp.title","login",[t.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[a.default.View({View:new l.default({message:(0,o.loc)("enroll.hotp.restricted","login")})})]}},Footer:s.default});t.default=u},function(e,t,n){"use strict";function r(e){return"RSA"===e}function o(e){return r(e)?"enroll-rsa":"enroll-onprem"}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var a=n(2),s=i(n(8)),l=i(n(12)),u=i(n(28)),c=i(n(45)),f=i(n(36)),d=s.default.extend({className:function(){return o(this.options.provider)},Model:function(){var e=this.options.provider,t=this.options.appState.get("factors"),n=t.findWhere(a._.pick(this.options,"provider","factorType")),r=n.get("profile");return{props:{credentialId:["string",!0,r&&r.credentialId?r.credentialId:""],passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(t){return a._.findWhere(t.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})})}}},Form:function(){var e=this.options.provider,t=this.options.appState.get("factors"),n=t.findWhere(a._.pick(this.options,"provider","factorType")),i=n.get("vendorName");return{title:r(e)?(0,a.loc)("factor.totpHard.rsaSecurId","login"):i,noButtonBar:!0,autoSave:!0,className:o(e),initialize:function(){var e=this;this.listenTo(this.model,"error",function(t,n){n&&409===n.status&&(e.$(".o-form-input-name-passCode input").val(""),e.$(".o-form-input-name-passCode input").trigger("change"),e.$(".o-form-input-name-passCode input").focus())})},formChildren:[l.default.Input({label:(0,a.loc)("enroll.onprem.username.placeholder","login",[i]),"label-top":!0,explain:u.default.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[i],[i]),"explain-top":!0,name:"credentialId",input:f.default,type:"text"}),l.default.Input({label:(0,a.loc)("enroll.onprem.passcode.placeholder","login",[i]),"label-top":!0,explain:u.default.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[i],[i]),"explain-top":!0,name:"passCode",input:f.default,type:"password"}),l.default.Toolbar({noCancelButton:!0,save:(0,a.loc)("mfa.challenge.verify","login")})]}},Footer:c.default});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(199)),s=r(n(45)),l=r(n(36)),u=i.default.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return a.default.validateFieldsMatch(this,"password","confirmPassword",(0,o.loc)("password.enroll.error.match","login"))},save:function(){return this.doTransaction(function(e){return o._.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})})}},Form:{autoSave:!0,title:o._.partial(o.loc,"enroll.password.setup","login"),inputs:function(){return[{label:(0,o.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:l.default,type:"password"},{label:(0,o.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:l.default,type:"password"}]}},Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(41)),a=r(n(8)),s=r(n(28)),l=r(n(45)),u=r(n(36)),c=a.default.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction(function(e){return o._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})})}},Form:{autoSave:!0,title:o._.partial(o.loc,"enroll.securityQuestion.setup","login"),inputs:function(){return[{label:!1,"label-top":!0,name:"question",type:"select",wide:!0,options:function(){return this.model.get("securityQuestions")},params:{searchThreshold:25}},{label:(0,o.loc)("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("mfa.challenge.answer.tooltip","mfa.challenge.answer.placeholder","login"),"explain-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:u.default,type:"text"}]}},Footer:l.default,fetchInitialData:function(){var e=this;return this.model.manageTransaction(function(e){return o._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).questions()}).then(function(t){var n={};o._.each(t,function(e){n[e.question]=i.default.getSecurityQuestionLabel(e)}),e.model.set("securityQuestions",n)})}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(28)),l=r(n(45)),u=r(n(36)),c=i.default.extend({className:"enroll-symantec",Model:{props:{credentialId:["string",!0],passCode:["string",!0],nextPassCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return o._.findWhere(e.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})})}},Form:{title:o._.partial(o.loc,"factor.totpHard.symantecVip","login"),subtitle:o._.partial(o.loc,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[a.default.Input({label:(0,o.loc)("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:u.default,type:"text"}),a.default.Input({label:(0,o.loc)("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:u.default,type:"text"}),a.default.Input({label:(0,o.loc)("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:u.default,type:"text"}),a.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("mfa.challenge.verify","login")})]}},Footer:l.default});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(26)),a=r(n(4)),s=n(2),l=r(n(41)),u=r(n(8)),c=r(n(12)),f=r(n(1156)),d=r(n(45)),p={__deviceType__:function(e){return void 0!==e}},h=s.View.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="app-logo '+e.escapeExpression((s=null!=(s=c(n,"appIcon")||(null!=t?c(t,"appIcon"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"appIcon",hash:{},data:o,loc:{start:{line:1,column:22},end:{line:1,column:33}}}):s))+'"></span><p class="instructions">'+(null!=(s=null!=(s=c(n,"appStoreLinkText")||(null!=t?c(t,"appStoreLinkText"):t))?s:u,a="function"===(0,i.default)(s)?s.call(l,{name:"appStoreLinkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):s)?a:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},postRender:function(){var e,t=(0,o.default)(e=this.$el).call(e,".instructions a");t.length&&(t[0].setAttribute("target","_blank"),t[0].setAttribute("rel","noreferer noopener"))},getTemplateData:function(){var e,t,n,r=l.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return n=f.default.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(e=f.default.GOOGLE[this.model.get("__deviceType__")],t="google-auth-38"):(e=f.default.OKTA[this.model.get("__deviceType__")],t="okta-verify-download-icon"),{appStoreLinkText:(0,s.loc)("enroll.totp.downloadApp","login",[e,r,n]),appIcon:t}}}),m=u.default.extend({className:"enroll-totp",Model:function(){return{local:{__deviceType__:"string",__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return s._.findWhere(e.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()})}}},Form:{title:function(){var e=l.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,s.loc)("enroll.totp.title","login",[e])},subtitle:s._.partial(s.loc,"enroll.totp.selectDevice","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){var e={APPLE:(0,s.loc)("iphone","login"),ANDROID:(0,s.loc)("android","login")};return[c.default.Input({name:"__deviceType__",type:"radio",options:e}),c.default.Divider({showWhen:p}),c.default.View({View:h,showWhen:p}),c.default.Toolbar({noCancelButton:!0,save:(0,s.loc)("oform.next","login"),showWhen:p})]}},Footer:d.default}),v=m;t.default=v},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r={OKTA:{APPLE:"https://itunes.apple.com/us/app/okta-verify/id490179405",ANDROID:"https://play.google.com/store/apps/details?id=com.okta.android.auth"},GOOGLE:{APPLE:"https://itunes.apple.com/us/app/google-authenticator/id388497605",ANDROID:"https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2"},STORE:{APPLE:"App Store",ANDROID:"Google Play Store"}};t.default=r},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(43));n(537);var s=r(n(55)),l=r(n(329)),u=r(n(8)),c=r(n(12)),f=r(n(45)),d=r(n(106)),p=u.default.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return i._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction(function(e){var t=e.factor.activation,n=t.appId,r=[{version:l.default.getU2fVersion(),challenge:t.nonce}],o=this,i=a.default.defer();return u2f.register(n,r,[],function(t){o.trigger("errors:clear"),t.errorCode&&0!==t.errorCode?i.reject(new s.default.U2FError({xhr:{responseJSON:{errorSummary:l.default.getU2fEnrollErrorMessageByCode(t.errorCode)}}})):i.resolve(e.activate({registrationData:t.registrationData,version:t.version,challenge:t.challenge,clientData:t.clientData}))}),i.promise})}},Form:{title:i._.partial(i.loc,"enroll.u2f.title","login"),save:i._.partial(i.loc,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!l.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(l.default.isU2fAvailable())e.push(c.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-instructions"><ol><li>'+(null!=(i=(l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general2"},data:o,loc:{start:{line:1,column:38},end:{line:1,column:90}}}))?i:"")+"</li><li>"+e.escapeExpression((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general3"},data:o,loc:{start:{line:1,column:99},end:{line:1,column:149}}}))+"</li></ol></div>"},useData:!0})})})),e.push(c.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-enroll-text hide"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:91}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:98},end:{line:1,column:161}}}))+'</p><div data-se="u2f-devices" class="u2f-devices-images"><div class="u2f-usb"></div><div class="u2f-bluetooth"></div></div><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new d.default({message:(0,i.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".u2f-instructions").addClass("hide"),this.$(".u2f-enroll-text").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".u2f-instructions").removeClass("hide"),this.$(".u2f-enroll-text").addClass("hide"),this.$(".o-form-button-bar").show()}},Footer:f.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(1159)),i=r(n(157)),a=r(n(1160)),s=r(n(539)),l=i.default.extend({className:"enroll-user",initialize:function(e){this.options=e||{},this.model=new o.default(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():i.default.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){var e=new a.default(this.toJSON());this.add(e),this.add(new s.default(this.toJSON())),this.addListeners()}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(198)),a=i.default.extend({initialize:function(e){this.options=e||{},this.appState=this.options.appState},constructPostData:function(e){var t={registration:{profile:e}};return this.appState.get("policy").registration.createNewAccount&&(t.registration.createNewAccount=!0),t},getEnrollFormData:function(){return this.manageTransaction(function(e,t){return e.enroll().then(function(e){t(e)})})},save:function(){var e=i.default.prototype.toJSON.apply(this,arguments);if(e=o._.omit(e,["appState","settings","createNewAccount"]),!o._.isEmpty(e))return this.manageTransaction(function(t,n){t.enroll(this.constructPostData(e)).then(function(e){n(e)})});var t={errorSummary:(0,o.loc)("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:t})}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(1161)),s=r(n(538)),l=i.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:function(){return(0,i.loc)("registration.form.title","login")},save:function(){return(0,i.loc)("registration.form.submit","login")},initialize:function(e){var t=this;this.options=e||{},this.schema=new a.default({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each(function(e){var n=s.default.createInputOptions(e);t.addInput(n)});var n=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression((i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i))+"</span>"},useData:!0})({label:(0,i.loc)("registration.required.fields.label","login")});this.add(n)}});t.default=l},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=r.internal.models.BaseSchema,i=o.Model.extend({expand:["schema"],setFieldPlaceholder:function(e){return r._.each(e,function(e){e.title=e.label}),e},initialize:function(e){var t=e.profileSchemaAttributes;if(t=this.setFieldPlaceholder(t)){for(var n={properties:{}},r=0;r<t.length;r++){var o=t[r];n.properties[o.name]=o}this.parse.apply(this,[{schema:n}])}}});t.default=i},function(e,t,n){"use strict";function r(e){var t=[];return a._.each(e,function(e){t.push({type:"public-key",id:u.default.strToBin(e.id)})}),t}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(4)),a=n(2),s=o(n(43)),l=o(n(56)),u=o(n(243)),c=o(n(55)),f=o(n(8)),d=o(n(12)),p=o(n(159)),h=o(n(45)),m=o(n(106)),v=f.default.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return a._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()})},activate:function(){var e=this;return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.appState.on("backToFactors",function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)}),this.doTransaction(function(e){var t=e.factor.activation,n=this;if(p.default.isNewApiAvailable()){var o=a._.extend({},t,{challenge:u.default.strToBin(t.challenge),user:{id:u.default.strToBin(t.user.id),name:t.user.name,displayName:t.user.displayName},excludeCredentials:r(t.excludeCredentials)});return n.webauthnAbortController=new AbortController,new s.default(navigator.credentials.create({publicKey:o,signal:n.webauthnAbortController.signal})).then(function(t){return e.activate({attestation:u.default.binToStr(t.response.attestationObject),clientData:u.default.binToStr(t.response.clientDataJSON)})}).catch(function(e){throw n.trigger("errors:clear"),n.webauthnAbortController?new c.default.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new c.default.WebauthnAbortError}).finally(function(){n.webauthnAbortController=null})}})}},Form:{title:a._.partial(a.loc,"enroll.webauthn.biometric.title","login"),save:a._.partial(a.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!p.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(p.default.isNewApiAvailable())e.push(d.default.View({View:a.View.extend({className:"webauthn-enroll-text",template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-edge-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions.edge"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:249}}}))?i:"")+"</p></div>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-restrictions-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.instructions.noSupportForBiometric"},data:o,loc:{start:{line:1,column:340},end:{line:1,column:423}}}))?i:"")+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-enroll-instructions"><p>'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:114}}}))+"</p></div>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"isEdge"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:124},end:{line:1,column:266}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"onlySupportsSecurityKey"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:266},end:{line:1,column:440}}}))?i:"")+'<div data-se="webauthn-waiting" class="okta-waiting-spinner hide"></div>'},useData:!0}),getTemplateData:function(){return{isEdge:l.default.isEdge(),onlySupportsSecurityKey:(l.default.isFirefox()||l.default.isSafari())&&l.default.isMac()}}})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(d.default.View({View:new m.default({message:(0,a.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}},Footer:h.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=v},function(e,t,n){e.exports=n(1164)},function(e,t,n){var r=n(1165);e.exports=r},function(e,t,n){n(1166);var r=n(22);e.exports=r.Object.freeze},function(e,t,n){var r=n(7),o=n(540),i=n(29),a=n(38),s=n(244).onFreeze,l=Object.freeze;r({target:"Object",stat:!0,forced:i(function(){l(1)}),sham:!o},{freeze:function(e){return l&&a(e)?l(s(e)):e}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(159)),l=r(n(45)),u=r(n(106)),c=r(n(541)),f=i.default.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(s.default.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction(function(e){return this._enroll(e)})},_enroll:function(e){return o._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()},activate:function(){return this.set("__isEnrolled__",!0),this.doTransaction(function(e){var t=e.factor.activation,n=e.user,r=this,o={rpDisplayName:t.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},i=[{algorithm:t.algorithm}],a=t.nonce;return s.default.makeCredential(o,i,a).then(function(t){return e.activate({credentialId:t.credential.id,publicKey:t.publicKey,attestation:null})}).catch(function(t){switch(t.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return r.trigger("abort",t.message),e}throw t})})}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"enroll.windowsHello.title","login"),subtitle:function(){return s.default.isAvailable()?(0,o.loc)("enroll.windowsHello.subtitle","login"):""},save:o._.partial(o.loc,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return s.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!s.default.isAvailable()},formChildren:function(){var e=[];return s.default.isAvailable()||e.push(a.default.View({View:new u.default({message:(0,o.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(a.default.View({View:new c.default({model:this.model,visible:!1})})),e},_startEnrollment:function(){this.subtitle=(0,o.loc)("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){this.subtitle=(0,o.loc)("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide");var t;switch(e){case"NotSupportedError":t=(0,o.loc)("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),t){var n=new u.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render(),this.$(".o-form-button-bar").removeClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},Footer:l.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(45)),l=r(n(36)),u=i.default.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return o._.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})})}},Form:{title:o._.partial(o.loc,"enroll.yubikey.title","login"),subtitle:o._.partial(o.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[a.default.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),a.default.Input({name:"passCode",input:l.default,type:"password"})]},Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(158)),s=r(n(8)),l=r(n(12)),u=r(n(89)),c=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=u.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),f={title:i._.partial(i.loc,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaEmail.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:64}}}))+'</p><p class="email-address">'+l((i=null!=(i=u(n,"email")||(null!=t?u(t,"email"):t))?i:s,"function"==typeof i?i.call(a,{name:"email",hash:{},data:o,loc:{start:{line:1,column:93},end:{line:1,column:102}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},d={title:i._.partial(i.loc,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaSms.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+'</p><p class="phone-number">'+l((i=null!=(i=u(n,"phoneNumber")||(null!=t?u(t,"phoneNumber"):t))?i:s,"function"==typeof i?i.call(a,{name:"phoneNumber",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:105}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{phoneNumber:this.model.get("fullPhoneNumber")}}})})]},p=s.default.extend({className:"enroll-activation-link-sent",Model:function(){return{local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:["string",!1,this.options.appState.get("userPhoneNumber")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+a.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:function(){var e=this.options.appState.get("factorActivationType");switch(e){case"SMS":return d;case"EMAIL":return f;default:throw new Error("Unknown activation option: "+e)}},Footer:c,initialize:function(){this.pollForEnrollment()},remove:function(){return s.default.prototype.remove.apply(this,arguments)},pollForEnrollment:function(){return this.model.doTransaction(function(e){return e.poll(6e3)})},trapAuthResponse:function(){if(this.options.appState.get("isWaitingForActivation"))return this.pollForEnrollment(),!0}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(8)),s=r(n(89)),l=r(n(515)),u=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=s.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",e)}}),c=a.default.extend({className:"activate-push",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction(function(e){return e.activate({passCode:this.get("passCode")})})}}},Form:l.default,Footer:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=r(n(8)),l=r(n(12)),u=r(n(28)),c=r(n(199)),f=r(n(542)),d=r(n(36)),p=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),h=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:94},end:{line:1,column:131}}}))+"</a>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"unless").call(a,null!=t?s(t,"hideBackToSignInForReset"):t,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:146}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:146},end:{line:1,column:281}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return{hideBackToSignInForReset:this.settings.get("features.hideBackToSignInForReset"),helpSupportNumber:this.settings.get("helpSupportNumber")}},back:function(){this.state.set("navigateDir",a.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=s.default.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return c.default.validateUsername(this)},save:function(){var e=this,t=this.settings.get("relayState");this.startTransaction(function(n){return n.forgotPassword({username:e.settings.transformUsername(e.get("username"),a.default.FORGOT_PASSWORD),factorType:e.get("factorType"),relayState:t})}).catch(function(){})}},Form:{noButtonBar:!0,title:i._.partial(i.loc,"password.reset","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),r=!(e||t||n),s=[];return r?this.add(p,".o-form-error-container"):(s.push(l.default.Input({label:(0,i.loc)("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:u.default.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:d.default,inputId:"account-recovery-username",autoComplete:"username",type:"text",inlineValidation:!1})),(e||t)&&s.push(l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){var n;return n=e&&t?(0,i.loc)("recovery.smsOrCall"):t?(0,i.loc)("recovery.call"):(0,i.loc)("recovery.sms"),{mobileFactors:n}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),s.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",a.default.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),s.push(this.createRecoveryFactorButton("call-button","password.forgot.call",a.default.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),s.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",a.default.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_EMAIL))),s},initialize:function(){this.listenTo(this.state,"contactSupport",function(){this.add(f.default,".o-form-error-container")}),this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()})},setDefaultFactorType:function(e){i._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return l.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,i.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h,initialize:function(){this.options.appState.unset("username")}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(543)),i=r(n(1181)),a=r(n(330)),s=r(n(157)),l=r(n(1182)),u=r(n(544)),c=r(n(331)),f=r(n(28)),d=o.default.extend({className:"idp-discovery",View:l.default,constructor:function(e){e.appState.unset("username");var t=e.settings.get("idpDiscovery.requestContext"),n=e.appState.get("lastAuthResponse"),r=n&&(null===n||void 0===n?void 0:n.stateToken);f.default.isV1StateToken(t)&&(t=r),this.model=new i.default({requestContext:t,settings:e.settings,appState:e.appState},{parse:!0}),s.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(u.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},initialize:function(){o.default.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",function(){this.settings.set("username",this.model.get("username"));var e=this;this.settings.get("features.deviceFingerprinting")?c.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then(function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))}).catch(function(){e.options.appState.set("username",e.model.get("username"))}).finally(function(){e.doPrimaryAuth()}):e.doPrimaryAuth()})},doPrimaryAuth:function(){if(this.settings.get("features.passwordlessAuth")){var e=new a.default({username:this.model.get("username"),multiOptionalFactorEnroll:this.options.settings.get("features.multiOptionalFactorEnroll"),settings:this.options.settings,appState:this.options.appState},{parse:!0});this.addModelListeners(e),e.save()}else this.options.appState.set("disableUsername",!0),this.options.appState.trigger("navigate","signin")}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o,i=r(n(1174)),a={track:function(e){try{o=new i.default,o.addTarget(e),o.start()}catch(e){}},getTypingPattern:function(){try{return o.getTypingPattern({type:1})}catch(e){return null}}};t.default=a},function(e,t,n){"use strict";var r=n(1),o=r(n(496)),i=r(n(324)),a=r(n(546)),s=r(n(18)),l=r(n(484)),u=r(n(518)),c=r(n(26)),f=r(n(154)),d=r(n(77)),p=r(n(155));/**
 * TypingDNA - Typing Biometrics JavaScript API
 * https://api.typingdna.com/scripts/typingdna.js
 * https://typingdna.com/scripts/typingdna.js (alternative)
 *
 * @version 2.15
 * @author Raul Popa
 * @copyright SC TypingDNA SRL, http://typingdna.com
 * @license http://www.apache.org/licenses/LICENSE-2.0
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Typical usage:
 * var tdna = new TypingDNA(); // creates a new TypingDNA object and starts recording
 * var typingPattern = tdna.getTypingPattern({type=1, text="Hello5g21?*"});
 * returns a type 1 typing pattern (and continues recording afterwards)
 *
 * Optional:
 * tdna.stop(); // ends recording and clears history stack (returns recording flag: false)
 * tdna.start(); // restarts the recording after a stop (returns recording flag: true)
 * tdna.reset(); // restarts the recording anytime, clears history stack and starts from scratch (returns nothing)
 * var typingPatternQuality = TypingDNA.getQuality(typingPattern); //returns the quality/strength of any typing pattern
 * (there is no need to initialize the class to do pattern quality checking)
 */
e.exports=function e(){if(1==e.initialized)return e.instance;e.prototype.start=function(){return e.start.apply(this,arguments)},e.prototype.stop=function(){return e.stop.apply(this,arguments)},e.prototype.reset=function(){return e.reset.apply(this,arguments)},e.prototype.addTarget=function(){return e.addTarget.apply(this,arguments)},e.prototype.removeTarget=function(){return e.removeTarget.apply(this,arguments)},e.prototype.getTypingPattern=function(){return e.getTypingPattern.apply(this,arguments)},e.prototype.get=function(){return e.get.apply(this,arguments)},e.prototype.startDiagram=function(){},e.prototype.stopDiagram=function(){},e.prototype.getDiagram=function(){return e.getDiagram.apply(this,arguments)},e.prototype.getExtendedDiagram=function(){return e.getExtendedDiagram.apply(this,arguments)},e.prototype.getMouseDiagram=function(){return e.getMouseDiagram.apply(this,arguments)},e.prototype.startMouse=function(){return e.startMouse.apply(this,arguments)},e.prototype.stopMouse=function(){return e.stopMouse.apply(this,arguments)},e.prototype.getQuality=function(){return e.getQuality.apply(this,arguments)},e.prototype.getLength=function(){return e.getLength.apply(this,arguments)},e.prototype.isMobile=function(){return e.isMobile.apply(this,arguments)},e.prototype.getTextId=function(){return e.getTextId.apply(this,arguments)},e.initialized=!0,e.prototype.maxHistoryLength=e.maxHistoryLength,e.prototype.defaultHistoryLength=e.defaultHistoryLength,e.prototype.maxSeekTime=e.maxSeekTime,e.prototype.maxPressTime=e.maxPressTime,e.version=2.15,e.flags=0,e.instance=this,e.document=document,e.maxHistoryLength=2e3,e.maxSeekTime=1500,e.maxPressTime=300,e.defaultHistoryLength=160,e.spKeyCodes=[8,13,32],e.spKeyCodesObj={8:1,13:1,32:1},e.keyCodes=[65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,32,222,188,190,186,187,189,191,48,49,50,51,52,53,54,55,56,57],e.keyCodesObj={};for(var t in e.keyCodes)e.keyCodesObj[e.keyCodes[t]]=1;e.pt1=e.ut1=(new Date).getTime(),e.wfk=[],e.sti=[],e.skt=[],e.recording=!0,e.mouseRecording=!0,e.mouseMoveRecording=!1,e.spKeyRecording=!0,e.diagramRecording=!0,e.dwfk=[],e.dsti=[],e.dskt=[],e.drkc=[],e.dlastDownKey,e.prevKeyCode=0,e.maxMoveDeltaTime=600,e.maxScrollDeltaTime=800,e.maxStopTime=1500,e.maxClickTime=600,e.maxMouseHistoryLength=500,e.lastMouseMoveTime=e.lastMouseDownTime=(new Date).getTime(),e.stopTimes=[],e.clickTimes=[],e.lastMouseStop=!0,e.zl=1e-7,e.isAndroidChrome=!1,e.ACLastTime=(new Date).getTime(),e.ACSeekTime=0,e.ACPressTime=0,e.ACLastCharCode=0,e.ACLastKeyCode=0,e.ACInputLengths={inputs:[],lastLength:[]},e.ACPreviousKeyCode=0,e.targetIds=[],e.lastTarget="",e.lastTargetFound=!1,e.replaceMissingKeys=!0,e.replaceMissingKeysPerc=7,e.keyDown=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var n=t.keyCode;if(1==e.wfk[n]||e.dwfk[n],229==n&&e.isMobile()&&!e.isAndroidChrome)e.isAndroidChrome=!0,e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.document.removeEventListener("keydown",e.keyDown),e.document.removeEventListener("keyup",e.keyUp),e.document.removeEventListener("keypress",e.keyPress),e.document.addEventListener("keydown",e.ACKeyDown),e.document.addEventListener("keyup",e.ACKeyUp);else{var r=e.pt1;e.pt1=(new Date).getTime();var o=e.pt1-r,i=e.pt1;(1==e.recording||e.spKeyCodesObj[n]&&1==e.spKeyRecording)&&(t.shiftKey&&!e.isMobile()||(e.wfk[n]=1,e.skt[n]=o,e.sti[n]=i)),1==e.diagramRecording&&(e.dwfk[n]=1,e.dskt[n]=o,e.dsti[n]=i,e.dlastDownKey=n)}}},e.keyPress=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)&&1==e.diagramRecording){var n=e.dlastDownKey;e.drkc[n]=t.charCode}},e.keyUp=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var n=(new Date).getTime(),r=t.keyCode;if(1==e.recording||e.spKeyCodesObj[r]&&1==e.spKeyRecording){if((!t.shiftKey||e.isMobile())&&1==e.wfk[r]){var o=n-e.sti[r],i=e.skt[r],a=[r,i,o,e.prevKeyCode,n,t.target.id];e.history.add(a),e.prevKeyCode=r}e.wfk[r]=0}if(1==e.diagramRecording){if(void 0!=e.drkc[r]&&0!=e.drkc[r]&&1==e.dwfk[r]){var o=n-e.dsti[r],i=e.dskt[r],s=e.drkc[r],l=[r,i,o,s,n,t.target.id];e.history.addDiagram(l)}e.dwfk[r]=0}}},e.mouseScroll=function(t){if(1==e.mouseRecording&&1==e.mouseMoveRecording)if(1==e.mouse.scrollStarted){var n=(new Date).getTime();e.mouse.scrollTimes.push(n),e.mouse.scrollTopArr.push(e.document.body.scrollTop),clearInterval(e.scrollInterval),e.scrollInterval=(0,p.default)(e.mouse.checkScroll,e.maxScrollDeltaTime)}else e.mouse.scrollStarted=!0},e.mouseMove=function(t){if(1==e.mouseRecording){var n=(new Date).getTime();1==e.mouseMoveRecording&&(1==e.mouse.started?(e.mouse.times.push(n),e.mouse.xPositions.push(t.screenX),e.mouse.yPositions.push(t.screenY),clearInterval(e.moveInterval),e.moveInterval=(0,p.default)(e.mouse.checkMove,e.maxMoveDeltaTime)):e.mouse.started=!0),e.lastMouseMoveTime=n}},e.mouseDown=function(t){if(1==e.mouseRecording&&(e.mouse.checkMove(),e.mouse.checkScroll(),1==t.which)){e.lastMouseDownTime=(new Date).getTime();var n=e.lastMouseDownTime-e.lastMouseMoveTime;if(n<e.maxStopTime&&0==e.lastMouseStop&&(e.stopTimes.push(n),1==e.mouseMoveRecording)){var r=[3,n];e.mouse.history.add(r),e.lastMouseStop=!0}}},e.mouseUp=function(t){if(1==e.mouseRecording&&1==t.which){var n=(new Date).getTime()-e.lastMouseDownTime;if(n<e.maxClickTime&&e.lastMouseDownTime>e.lastMouseMoveTime&&(e.clickTimes.push(n),1==e.mouseMoveRecording)){var r=[4,n];e.mouse.history.add(r)}}},e.ACKeyDown=function(t){var n;(e.recording||e.diagramRecording)&&(e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id)&&-1===(0,d.default)(n=e.ACInputLengths.inputs).call(n,t.target)&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0)))},e.ACKeyUp=function(t){var n;if((e.recording||e.diagramRecording)&&(e.ACPressTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id))){var r=t.keyCode,o=(0,d.default)(n=e.ACInputLengths.inputs).call(n,t.target);if(-1===o){var i;e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0),o=(0,d.default)(i=e.ACInputLengths.inputs).call(i,t.target)}if(229==r&&t.target.value.length>=e.ACInputLengths.lastLength[o]){var a=t.target.value.substr(t.target.selectionStart-1||0,1);r=a.toUpperCase().charCodeAt(0),e.ACLastCharCode=a.charCodeAt(0),e.ACLastKeyCode=a.toUpperCase().charCodeAt(0)}e.ACInputLengths.lastLength[o]=t.target.value.length;var s=[r,e.ACSeekTime,e.ACPressTime,e.ACPreviousKeyCode,e.ACLastTime];if(e.history.add(s),e.ACPreviousKeyCode=r,1==e.diagramRecording){var l=[r,e.ACSeekTime,e.ACPressTime,e.ACLastCharCode];e.history.addDiagram(l)}}},e.isTarget=function(t){if(e.lastTarget==t&&e.lastTargetFound)return!0;var n=e.targetIds.length,r=!1;if(n>0){for(var o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}return e.lastTarget=t,e.lastTargetFound=r,r}return e.lastTarget=t,e.lastTargetFound=!0,!0},e.document.addEventListener?(e.document.addEventListener("keydown",e.keyDown),e.document.addEventListener("keyup",e.keyUp),e.document.addEventListener("keypress",e.keyPress),e.document.addEventListener("mousemove",e.mouseMove),e.document.addEventListener("mousedown",e.mouseDown),e.document.addEventListener("mouseup",e.mouseUp),e.document.addEventListener("scroll",e.mouseScroll)):e.document.attachEvent&&(e.document.attachEvent("onkeydown",e.keyDown),e.document.attachEvent("onkeyup",e.keyUp),e.document.attachEvent("onkeypress",e.keyPress),e.document.attachEvent("onmousemove",e.mouseMove),e.document.attachEvent("onmousedown",e.mouseDown),e.document.attachEvent("onmouseup",e.mouseUp),e.document.attachEvent("onscroll",e.mouseScroll)),e.mouse={},e.mouse.times=[],e.mouse.xPositions=[],e.mouse.yPositions=[],e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[],e.mouse.history={},e.mouse.history.stack=[],e.mouse.getDistance=function(e,t){return Math.sqrt(e*e+t*t)},e.mouse.getTotalDistance=function(n,r){var o=0,i=n.length;for(t=1;t<i-1;t++){var a=n[t]-n[t-1],s=r[t]-r[t-1];o+=e.mouse.getDistance(a,s)}return o},e.mouse.getAngle=function(e,t){var n=e>=0,r=t<0;return n?r?180+Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251):90-Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)+270:r?90-Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)+90:Math.round(Math.atan(Math.abs(e)/(Math.abs(t)+1e-7))/.01745329251)},e.mouse.recordMoveAction=function(){var n=e.mouse.times.length;if(!(n<3)){var r=e.mouse.times[n-1]-e.mouse.times[0],o=e.mouse.xPositions[n-1]-e.mouse.xPositions[0],i=e.mouse.yPositions[n-1]-e.mouse.yPositions[0],a=Math.round(e.mouse.getDistance(o,i)),s=Math.round(e.mouse.getTotalDistance(e.mouse.xPositions,e.mouse.yPositions)),l=Math.round(100*s/a),u=Math.round(100*a/r),c=e.mouse.getAngle(o,i),f=[1,r,a,u,c,l];for(t in f)if(isNaN(f[t]))return;e.mouse.history.add(f),e.lastMouseStop=!1}},e.mouse.recordScrollAction=function(){var n=e.mouse.scrollTimes.length;if(!(n<2)){var r=e.mouse.scrollTimes[n-1]-e.mouse.scrollTimes[0],o=e.mouse.scrollTopArr[n-1]-e.mouse.scrollTopArr[0],i=Math.round(100*o/r),a=[2,r,o,i];for(t in a)if(isNaN(a[t])&&!isFinite(a[t]))return;e.mouse.history.add(a)}},e.mouse.history.add=function(t){this.stack.push(t),this.stack.length>e.maxMouseHistoryLength&&this.stack.shift()},e.mouse.history.getDiagram=function(){var t=this.stack.join("|");return[String(e.isMobile())+","+String(e.version),t].join("|")},e.mouse.clearLastMove=function(){e.mouse.times=[],e.mouse.xPositions=[],e.mouse.yPositions=[]},e.mouse.checkMove=function(){clearInterval(e.moveInterval),1==e.mouse.started&&(e.mouse.started=!1,e.mouse.recordMoveAction(),e.mouse.clearLastMove())},e.mouse.clearLastScroll=function(){e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[]},e.mouse.checkScroll=function(){clearInterval(e.scrollInterval),1==e.mouse.scrollStarted&&(e.mouse.scrollStarted=!1,e.mouse.recordScrollAction(),e.mouse.clearLastScroll())},e.addTarget=function(t){var n=e.targetIds.length,r=!1;if(n>0){for(var o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}r||e.targetIds.push(t)}else e.targetIds.push(t)},e.removeTarget=function(t){var n=e.targetIds.length;if(n>0)for(var r=0;r<n;r++)if(e.targetIds[r]==t){var o;(0,f.default)(o=e.targetIds).call(o,r,1);break}},e.reset=function(t){e.history.stack=[],e.history.stackDiagram=[],e.clickTimes=[],e.stopTimes=[],e.ACInputLengths={inputs:[],lastLength:[]},1==t&&(e.mouse.history.stack=[])},e.start=function(){return e.diagramRecording=!0,e.recording=!0},e.stop=function(){return e.diagramRecording=!1,e.recording=!1},e.startMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!0},e.stopMouse=function(){return e.mouseRecording=e.mouseMoveRecording=!1},e.getTypingPattern=function(t){if("object"!==(0,c.default)(t))return e.get();switch(t.type){case 0:return e.get(t.length,t.targetId);case 1:var n=void 0!=t.text?t.text:t.length;return e.history.getDiagram(t.extended,n,t.textId,t.targetId,t.caseSensitive);case 2:var n=void 0!=t.text?t.text:t.length;return e.history.getDiagram(!0,n,t.textId,t.targetId,t.caseSensitive);default:return e.get(t.length)}},e.getDiagram=function(t,n){return e.history.getDiagram(!1,t,n,void 0,!1)},e.getExtendedDiagram=function(t,n){return e.history.getDiagram(!0,t,n,void 0,!1)},e.getMouseDiagram=function(){return e.mouse.history.getDiagram()},e.get=function(t,n){var r=e.history.stack.length;void 0!=t&&0!=t||(t=e.defaultHistoryLength),t>r&&(t=r);var o={},i=e.history.get(t,"",n),a=(0,u.default)(i,2);o.arr=a[0],targetLength=a[1],void 0!=n&&""!=n&&(t=targetLength);var s=e.zl,c=t,f=e.math.fo(e.history.get(t,"seek",n)),d=e.math.fo(e.history.get(t,"press",n)),p=Math.round(e.math.avg(d)),h=Math.round(e.math.avg(f)),m=Math.round(e.math.sd(d)),v=Math.round(e.math.sd(f)),g=h+p,y=e.math.rd((p+s)/(g+s),4),b=e.math.rd((1-y)/y,4),_=e.math.rd((m+s)/(p+s),4),w=e.math.rd((v+s)/(p+s),4),x=Math.round(6e4/(g+s));0==c&&(x=0);for(var E in o.arr){var T=o.arr[E][1].length,S=0,k=0,O=0,A=0,C=0,R=0;switch(o.arr[E][0].length){case 0:break;case 1:var S=e.math.rd((o.arr[E][0][0]+s)/(h+s),4);break;default:var I=e.math.fo(o.arr[E][0]);S=e.math.rd((e.math.avg(I)+s)/(h+s),4),A=e.math.rd((e.math.sd(I)+s)/(v+s),4)}switch(o.arr[E][1].length){case 0:break;case 1:var k=e.math.rd((o.arr[E][1][0]+s)/(p+s),4);break;default:var I=e.math.fo(o.arr[E][1]);k=e.math.rd((e.math.avg(I)+s)/(p+s),4),C=e.math.rd((e.math.sd(I)+s)/(m+s),4)}switch(o.arr[E][2].length){case 0:break;case 1:var O=e.math.rd((o.arr[E][2][0]+s)/(h+s),4);break;default:var I=e.math.fo(o.arr[E][2]);O=e.math.rd((e.math.avg(I)+s)/(h+s),4),R=e.math.rd((e.math.sd(I)+s)/(v+s),4)}delete o.arr[E][2],delete o.arr[E][1],delete o.arr[E][0],o.arr[E][0]=T,o.arr[E][1]=S,o.arr[E][2]=k,o.arr[E][3]=O,o.arr[E][4]=A,o.arr[E][5]=C,o.arr[E][6]=R}var I=[];e.apu(I,c),e.apu(I,x),e.apu(I,g),e.apu(I,y),e.apu(I,b),e.apu(I,_),e.apu(I,w),e.apu(I,p),e.apu(I,h),e.apu(I,m),e.apu(I,v);for(var N=0;N<=6;N++)for(var E=0;E<44;E++){var M=e.keyCodes[E],P=o.arr[M][N];0==P&&N>0&&(P=1),e.apu(I,P)}return e.apu(I,e.isMobile()),e.apu(I,e.version),e.apu(I,(0,l.default)(e)),I.push(e.history.getSpecialKeys()),I.join(",")},e.apu=function(e,t){"NaN"==String(t)&&(t=0),e.push(t)},e.math={},e.math.rd=function(e,t){return Number(e.toFixed(t))},e.math.avg=function(e){var t=e.length;if(t>0){for(var n=0,r=0;r<t;r++)n+=e[r];return this.rd(n/t,4)}return 0},e.math.sd=function(e){var t=e.length;if(t<2)return 0;for(var n=0,r=this.avg(e),o=0;o<t;o++)n+=(e[o]-r)*(e[o]-r);return Math.sqrt(n/t)},e.math.fo=function(e){if(e.length>1){var t=(0,s.default)(e).call(e),n=e.length;(0,a.default)(t).call(t,function(e,t){return e-t});var r=this.sd(t),o=t[Math.ceil(e.length/2)],i=o+2*r,l=o-2*r;n<20&&(l=0);for(var u=[],c=0;c<n;c++){var f=t[c];f<i&&f>l&&u.push(f)}return u}return e},e.math.fnv1aHash=function(e){if(void 0==e&&"string"!=typeof e)return 0;e=e.toLowerCase();var t,n,r=1914395348;for(t=0,n=e.length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return r>>>0},e.history={},e.history.stack=[],e.history.stackDiagram=[],e.history.add=function(t){this.stack.push(t),this.stack.length>e.maxHistoryLength&&this.stack.shift()},e.history.addDiagram=function(e){this.stackDiagram.push(e)},e.history.getDiagram=function(t,n,r,o,a){var a=void 0!=a?a:void 0==n||""==n,s=[],u=1==t?1:0,f=this.stackDiagram;if(void 0!=o&&""!=o&&f.length>0){if(f=e.sliceStackByTargetId(f,o),void 0==n||""==n){var d=e.document.getElementById(o);null!=d&&(n=d.value)}}else{var p=e.targetIds.length;if((void 0==n||""==n)&&p>0){n="";for(var h=0;h<p;h++){var d=e.document.getElementById(e.targetIds[h]);null!=d&&(n+=d.value)}}}var m=0,v=f.length,g=v;"string"==typeof n?g=n.length:"number"==typeof n&&n<v&&(g=n);var y=0;if(void 0!=r?y=isNaN((0,i.default)(r))?e.math.fnv1aHash(r):(0,i.default)(r):"string"==typeof n&&(y=e.math.fnv1aHash(n)),s.push([e.isMobile(),e.version,(0,l.default)(e),u,g,y,e.history.getSpecialKeys()]),void 0!=n&&n.length>0&&"string"==typeof n)for(var b,_,w=n.toLowerCase(),x=n.toUpperCase(),E=[],T=0,h=0;h<n.length;h++){var S=n.charCodeAt(h);a||(b=x.charCodeAt(h),_=b!=S?b:w.charCodeAt(h));for(var k=T,O=v,A=!1;0==A;){for(var C=k;C<O;C++){var R=f[C],I=R[3];if(I==S||!a&&I==_){if(A=!0,C==T)T++,E=[];else{E.push(C);var N=E.length;N>1&&E[N-1]==E[N-2]+1&&(T=C+1,E=[])}var M=R[0],P=R[1],L=R[2];t?s.push([I,P,L,M]):s.push([P,L]);break}}if(0==A)if(0!=k)k=0,O=T;else if(A=!0,e.replaceMissingKeys){if(m++,"object"!==(0,c.default)(e.savedMissingAvgValues)||e.savedMissingAvgValues.historyLength!=v){var D=e.math.fo(e.history.get(0,"seek")),j=e.math.fo(e.history.get(0,"press")),P=Math.round(e.math.avg(D)),L=Math.round(e.math.avg(j));e.savedMissingAvgValues={seekTime:P,pressTime:L,historyLength:v}}else var P=e.savedMissingAvgValues.seekTime,L=e.savedMissingAvgValues.pressTime;t?s.push([S,P,L,S,1]):s.push([P,L,1]);break}}if(e.replaceMissingKeysPerc<100*m/g)return null}else{var F=0;"number"==typeof n&&(F=v-n),F<0&&(F=0);for(var h=F;h<v;h++){var R=f[h],M=R[0],P=R[1],L=R[2];if(t){var I=R[3];s.push([I,P,L,M])}else s.push([P,L])}}return s.join("|")},e.sliceStackByTargetId=function(e,n){var r=e.length,o=[];for(t=0;t<r;t++){var i=e[t];i[5]==n&&o.push(i)}return o},e.history.get=function(t,n,r){var o=this.stack;void 0!=r&&""!=r&&o.length>0&&(o=e.sliceStackByTargetId(o,r));var i=o.length;switch(0!=t&&void 0!=t||(t=e.defaultHistoryLength),t>i&&(t=i),n){case"seek":var a=[];for(f=1;f<=t;f++){var s=o[i-f][1];s<=e.maxSeekTime&&a.push(s)}return a;case"press":var l=[];for(f=1;f<=t;f++){var u=o[i-f][2];u<=e.maxPressTime&&l.push(u)}return l;default:var c={};for(var f in e.keyCodes)c[e.keyCodes[f]]=[[],[],[]];for(f=1;f<=t;f++){var d=o[i-f],p=d[0],s=d[1],u=d[2],h=d[3];e.keyCodesObj[p]&&(s<=e.maxSeekTime&&(c[p][0].push(s),0!=h&&e.keyCodesObj[h]&&c[h][2].push(s)),u<=e.maxPressTime&&c[p][1].push(u))}return[c,t]}},e.history.getSpecialKeys=function(){var t=[],n=this.stack.length,r={};for(var o in e.spKeyCodes)r[e.spKeyCodes[o]]=[[]];for(o=1;o<=n;o++){var i=this.stack[n-o];if(e.spKeyCodesObj[i[0]]){var a=i[0],s=i[2];s<=e.maxPressTime&&r[a][0].push(s)}}for(var o in e.spKeyCodes){var i=e.math.fo(r[e.spKeyCodes[o]][0]),l=i.length;t.push(l),l>1?(t.push(Math.round(e.math.avg(i))),t.push(Math.round(e.math.sd(i)))):1==l?t.push([i[0],-1]):t.push([-1,-1])}var u=e.clickTimes.length;t.push(u),u>1?(t.push(Math.round(e.math.avg(e.clickTimes))),t.push(Math.round(e.math.sd(e.clickTimes)))):1==u?t.push(e.clickTimes[0],-1):t.push([-1,-1]);var c=e.stopTimes.length;return t.push(c),c>1?(t.push(Math.round(e.math.avg(e.stopTimes))),t.push(Math.round(e.math.sd(e.stopTimes)))):1==c?t.push(e.stopTimes[0],-1):t.push([-1,-1]),t},e.getQuality=function(t){var n=t.split(",");for(s=0;s<n.length;s++)n[s]=Number(n[s]);var r=(n[0],rec=avgAcc=0),i=e.math.avg(n),a=(0,o.default)(n).call(n,11,55);for(var s in a)rec+=Number(a[s]>0),r+=Number(a[s]>4),avgAcc+=Number(a[s]>i);var l=Math.sqrt(rec*r*avgAcc)/80;return l>1?1:l},e.checkMobileValidity=function(e){var t=e.split(","),n=t[0];if(0==n)return 0;var r=0,i=(0,o.default)(t).call(t,11,55);for(var a in i)r+=Number(i[a]);return r/n},e.getLength=function(e){return Number(e.split(",")[1])},e.isMobile=function(){if(void 0!=e.mobile)return e.mobile;var t=0;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=1)}(navigator.userAgent||navigator.vendor||window.opera),e.mobile=t,t},e.getTextId=function(t){return e.math.fnv1aHash(t)}}},function(e,t,n){var r=n(1176);e.exports=r},function(e,t,n){var r=n(1177),o=Array.prototype;e.exports=function(e){var t=e.sort;return e===o||e instanceof Array&&t===o.sort?r:t}},function(e,t,n){n(1178);var r=n(30);e.exports=r("Array").sort},function(e,t,n){"use strict";var r=n(7),o=n(84),i=n(74),a=n(29),s=n(135),l=[],u=l.sort,c=a(function(){l.sort(void 0)}),f=a(function(){l.sort(null)}),d=s("sort");r({target:"Array",proto:!0,forced:c||!f||!d},{sort:function(e){return void 0===e?u.call(i(this)):u.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=a.internal.util.Util,l=a.View.extend({template:i.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="#" data-se="unlock" class="link js-unlock">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"unlockaccount"},data:o,loc:{start:{line:1,column:440},end:{line:1,column:484}}}))+"</a></li>"},3:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="'+c((s=null!=(s=f(n,"href")||(null!=t?f(t,"href"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"href",hash:{},data:i,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):s))+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(a=f(n,"if").call(l,null!=t?f(t,"target"):t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?a:"")+">"+c((s=null!=(s=f(n,"text")||(null!=t?f(t,"text"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"text",hash:{},data:i,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):s))+"</a></li>"},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'target="'+e.escapeExpression((i=null!=(i=a(n,"target")||(null!=t?a(t,"target"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"target",hash:{},data:o,loc:{start:{line:1,column:620},end:{line:1,column:630}}}):i))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" data-se="needhelp" aria-expanded="false" aria-controls="help-links-container" class="link help js-help">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"needhelp"},data:o,loc:{start:{line:1,column:116},end:{line:1,column:155}}}))+'</a><ul class="help-links js-help-links" id="help-links-container"><li><a href="#" data-se="forgot-password" class="link js-forgot-password">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"forgotpassword"},data:o,loc:{start:{line:1,column:296},end:{line:1,column:341}}}))+"</a></li>"+(null!=(i=c(n,"if").call(s,null!=(i=null!=t?c(t,"features"):t)?c(i,"selfServiceUnlock"):i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:350},end:{line:1,column:500}}}))?i:"")+(null!=(i=c(n,"each").call(s,null!=(i=null!=t?c(t,"helpLinks"):t)?c(i,"custom"):i,{name:"each",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:500},end:{line:1,column:665}}}))?i:"")+'<li><a href="'+u((a=null!=(a=c(n,"helpLinkUrl")||(null!=t?c(t,"helpLinkUrl"):t))?a:l,"function"==typeof a?a.call(s,{name:"helpLinkUrl",hash:{},data:o,loc:{start:{line:1,column:678},end:{line:1,column:693}}}):a))+'" data-se="help-link" class="link js-help-link" rel="noopener noreferrer" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"help"},data:o,loc:{start:{line:1,column:783},end:{line:1,column:818}}}))+"</a></li></ul>"},useData:!0}),className:"auth-footer",initialize:function(){this.listenTo(this.state,"change:enabled",function(e,t){this.$(".link").toggleClass("o-form-disabled",!t)})},getTemplateData:function(){var e,t=this.settings.get("helpLinks.help");return e=t||i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i=null!=(i=a(n,"baseUrl")||(null!=t?a(t,"baseUrl"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i))+"/help/login"},useData:!0})({baseUrl:this.settings.get("baseUrl")}),a._.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:e})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(e){var t=this;e.preventDefault(),this.$(".js-help-links").slideToggle(200,function(){t.$(".js-help").attr("aria-expanded",t.$(".js-help-links").is(":visible"))})},events:{"click .js-help":function(e){e.preventDefault(),this.state.get("enabled")&&this.toggleLinks(e)},"click .js-forgot-password":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.forgotPassword");t?s.redirect(t):this.options.appState.trigger("navigate","signin/forgot-password")}},"click .js-unlock":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.unlock");t?s.redirect(t):this.options.appState.trigger("navigate","signin/unlock")}}}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="content-container"><span class="registration-label">'+u((a=null!=(a=c(n,"label")||(null!=t?c(t,"label"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"label",hash:{},data:i,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):a))+'</span><a title="'+u((a=null!=(a=c(n,"text")||(null!=t?c(t,"text"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):a))+'" aria-label="'+u((a=null!=(a=c(n,"text")||(null!=t?c(t,"text"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):a))+'" class="registration-link" href="#">'+u((a=null!=(a=c(n,"text")||(null!=t?c(t,"text"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):a))+"</a></div>"},useData:!0}),className:"registration-container",events:{"click a.registration-link":"handleClickEvent"},handleClickEvent:function(e){e.preventDefault();var t=this.settings.get("registration.click");t?t():this.options.appState.get("isIdxStateToken")?this.options.appState.trigger("navigate","signin/enroll-user"):this.options.appState.trigger("navigate","signin/register")},getTemplateData:function(){return{label:(0,a.loc)("registration.signup.label","login"),text:(0,a.loc)("registration.signup.text","login")}}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(52)),a=r(n(330)),s=r(n(245)),l=r(n(11)),u=r(n(28)),c=a.default.extend({props:function(){var e=s.default.getCookieUsername(),t=this.getUsernameAndRemember(e);return{username:["string",!0,t.username],lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember]}},local:{},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),l.default.IDP_DISCOVERY),n=this.get("remember"),r=this.get("lastUsername"),a="okta:acct:"+t,c=this.get("requestContext");this.setUsernameCookie(t,n,r),this.trigger("save"),this.appState.trigger("loading",!0);var f={resource:a,requestContext:c};this.appState.settings.authClient.webfinger(f).then(function(t){if(t&&t.links&&t.links[0])if("OKTA"===t.links[0].properties["okta:idp:type"])e.trigger("goToPrimaryAuth");else if(t.links[0].href){var n,r,a=(0,i.default)(n=t.links[0].href).call(n,"OKTA_INVALID_SESSION_REPOST%3Dtrue")?(0,o.default)(r=u.default.redirectWithFormGet).call(r,u.default):e.settings.get("redirectUtilFn");a(t.links[0].href)}}).catch(function(){e.trigger("error"),e.appState.trigger("removeLoading"),s.default.removeUsernameCookie()}).finally(function(){e.appState.trigger("loading",!1)})}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(2),a=r(n(545)),s=a.default.extend({className:"idp-discovery-form",save:function(){return(0,i.loc)("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",(0,o.default)(i._).call(i._,this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var e=[],t={className:"margin-btm-30",label:(0,i.loc)("primaryauth.username.placeholder","login"),inputId:"idp-discovery-username",disabled:!1};return e.push(i._.extend(this.getUsernameField(),t)),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}});t.default=s},function(e,t,n){"use strict";function r(e,t){var n=p.default.createActivateFactorUrl(e.options.appState.get("activatedFactorProvider"),e.options.appState.get("activatedFactorType"),t);e.options.appState.trigger("navigate",n)}function o(e){var t,n;"SMS"===e.model.get("activationType")&&(n=e.model.get("countryCode"),t=e.model.get("phoneNumber")),e.options.appState.set({factorActivationType:e.model.get("activationType"),userCountryCode:n,userPhoneNumber:t})}function i(e,t){return e.model.doTransaction(function(n){return n.prev().then(function(e){return l._.findWhere(e.factors,{factorType:t,provider:"OKTA"}).enroll()}).then(function(t){var n,r,o,i=t.data;if(i&&i._embedded&&i._embedded.factor&&i._embedded.factor._embedded&&i._embedded.factor._embedded.activation){var a=i._embedded.factor;if(o=a._embedded.activation.sharedSecret,a._embedded.activation._links&&a._embedded.activation._links.send){var s=a._embedded.activation._links.send,u=l._.findWhere(s,{name:"sms"});n=u?u.href:null;var c=l._.findWhere(s,{name:"email"});r=c?c.href:null}}return e.model.set({SMS:n,EMAIL:r,sharedSecret:o}),t})})}var a=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(4)),l=n(2),u=a(n(158)),c=a(n(41)),f=a(n(8)),d=a(n(12)),p=a(n(89)),h=a(n(1184)),m=a(n(534)),v=a(n(36)),g=f.default.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:"string",SMS:["string",!1,this.options.appState.get("textActivationLinkUrl")],EMAIL:["string",!1,this.options.appState.get("emailActivationLinkUrl")],sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+u.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:{title:function(){var e=c.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,l.loc)("enroll.totp.title","login",[e])},subtitle:l._.partial(l.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this,t=this.settings.get("brandName")?(0,l.loc)("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):(0,l.loc)("enroll.totp.sharedSecretInstructions.generic","login");return[d.default.Input({name:"activationType",type:"select",wide:!0,options:{SMS:(0,l.loc)("enroll.totp.sendSms","login"),EMAIL:(0,l.loc)("enroll.totp.sendEmail","login"),MANUAL:(0,l.loc)("enroll.totp.setupManually","login")}}),d.default.Input({name:"countryCode",type:"select",wide:!0,options:u.default.getCountries(),showWhen:{activationType:"SMS"}}),d.default.Input({label:(0,l.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:m.default,type:"text",showWhen:{activationType:"SMS"}}),d.default.View({View:l.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="okta-form-subtitle o-form-explain text-align-c">'+e.escapeExpression((i=null!=(i=a(n,"instructions")||(null!=t?a(t,"instructions"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:58},end:{line:1,column:74}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{instructions:t}}}),showWhen:{activationType:"MANUAL"}}),d.default.Input({name:"sharedSecret",input:v.default,type:"text",disabled:!0,showWhen:{activationType:"MANUAL"},initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)}}),d.default.View({View:l.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div data-type="next-button-wrap"></div>'},useData:!0})}),showWhen:{activationType:"MANUAL"}}),d.default.Button({title:(0,l.loc)("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:function(){o(e),r(e,"passcode")}},'[data-type="next-button-wrap"]'),d.default.Toolbar({noCancelButton:!0,save:(0,l.loc)("oform.send","login"),showWhen:{activationType:function(e){return"SMS"===e||"EMAIL"===e}}})]}},Footer:h.default,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",function(){var e=this;this.model.doTransaction(function(t){var n=this.get("activationType").toLowerCase(),i={};return"sms"===n&&(i.profile={phoneNumber:this.get("fullPhoneNumber")}),t.factor.activation.send(n,i).then(function(t){return o(e),l._.defer(function(){r(e,"sent")}),t})})}),this.listenTo(this.model,"change:activationType",function(e,t){this.form.clearErrors(),"MANUAL"===t&&"token:software:totp"!==this.options.appState.get("activatedFactorType")?i(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&i(this,"push")})},setInitialModel:function(){"SMS"===this.options.appState.get("factorActivationType")&&this.model.set({countryCode:this.options.appState.get("userCountryCode")||"US",phoneNumber:this.options.appState.get("userPhoneNumber")})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate")||this.options.appState.get("isMfaEnroll"))return!0}});t.default=g},function(e,t,n){"use strict";function r(e){var t=s.default.createActivateFactorUrl(e.get("activatedFactorProvider"),e.get("activatedFactorType"));e.trigger("navigate",t)}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(4)),a=n(2),s=o(n(89)),l=a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault();var t=a._.partial(r,this.options.appState);this.options.appState.unset("factorActivationType"),this.model.doTransaction(function(e){return e.prev().then(function(e){return a._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(t)}},back:function(){var e=this;e.options.appState.unset("factorActivationType"),e.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}).then(function(){e.options.appState.trigger("navigate","signin/enroll")}):e.options.appState.trigger("navigate","signin/enroll")}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(41)),s=r(n(8)),l=r(n(12)),u=r(n(89)),c=r(n(1186)),f=r(n(36)),d=s.default.extend({className:"enroll-manual-totp",Model:function(){return{local:{sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=a.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,i.loc)("enroll.totp.title","login",[e])},subtitle:i._.partial(i.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this.settings.get("brandName")?(0,i.loc)("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):(0,i.loc)("enroll.totp.manualSetupInstructions.generic","login");return[l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="okta-form-subtitle o-form-explain text-align-c">'+e.escapeExpression((i=null!=(i=a(n,"instructions")||(null!=t?a(t,"instructions"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:58},end:{line:1,column:74}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{instructions:e}}})}),l.default.Input({name:"sharedSecret",input:f.default,type:"text",disabled:!0}),l.default.Toolbar({noCancelButton:!0,save:(0,i.loc)("oform.next","login")})]}},Footer:c.default,initialize:function(){this.listenTo(this.form,"save",function(){var e=u.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault(),this.model.startTransaction(function(e){return e.tx.resume()})}},back:function(){this.state.set("navigateDir",a.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(157)),a=r(n(1188)),s=r(n(1189)),l=r(n(1190)),u=r(n(1191)),c=r(n(1192)),f=r(n(1194)),d=r(n(1195)),p=r(n(1196)),h=r(n(1197)),m=r(n(160)),v=o.internal.views.forms.inputs.CheckBox,g=i.default.extend({className:"mfa-verify",initialize:function(e){var t,n=e.factorType;switch(n){case"question":t=f.default;break;case"email":t=this.options.appState.get("isIdxStateToken")?a.default:d.default;break;case"sms":case"call":t=l.default;break;case"token":case"token:software:totp":case"token:hotp":t=p.default;break;case"token:hardware":t=h.default;break;case"push":t=c.default;break;case"password":t=u.default;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(n,e),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new t(this.toJSON())),"push"===n&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&(this.inlineTotpForm=this.add(s.default,{options:{model:this.model.get("backupFactor")}}).last()),this.settings.get("features.autoPush")&&(this.autoPushCheckBox=this.add(v,{options:{model:this.model,name:"autoPush",placeholder:(0,o.loc)("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}).last()),this.options.appState.get("allowRememberDevice")&&(this.rememberDeviceCheckbox=this.add(v,{options:{model:this.model,name:"rememberDevice",placeholder:this.options.appState.get("rememberDeviceLabel"),label:!1,"label-top":!0,className:"margin-btm-0"}}).last()),this.model.get("backupFactor")&&this.listenTo(this.model,"change:rememberDevice",function(e,t){e.get("backupFactor").set("rememberDevice",t)})),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",function(e,t){t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.autoPushCheckBox&&this.autoPushCheckBox.$el.hide(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.hide(),this.inlineTotpForm&&this.inlineTotpForm.$el.hide()):(this.autoPushCheckBox&&this.autoPushCheckBox.$el.show(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.show(),this.inlineTotpForm&&this.inlineTotpForm.$el.show())}),this.add(new m.default(this.toJSON()))},findModel:function(e,t){var n=t.appState.get("factors"),r=t.provider,o=t.factorIndex;return r?n.hasMultipleFactorsOfSameType(e)&&o?n.getFactorByTypeAndIndex(e,o):n.findWhere({provider:r,factorType:e}):n.findWhere({factorType:e,isFactorTypeVerification:!0})},trapAuthResponse:function(){return!!(this.options.appState.get("isMfaRequired")&&this.options.appState.get("trapMfaRequiredResponse")||this.options.appState.get("isMfaChallenge"))&&(this.options.appState.set("trapMfaRequiredResponse",!1),!0)},back:function(){}});t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(43)),a=r(n(11)),s=o.Form.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+t+")",this.add((0,o.createButton)({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:(0,o.loc)("mfa.sendEmail","login"),click:function(){var t=this;e.clearErrors(),this.disable(),this.options.title=(0,o.loc)("mfa.sent","login"),this.render(),this.model.save().then(function(){return i.default.delay(a.default.API_RATE_LIMIT)}).then(function(){t.options.title=(0,o.loc)("mfa.resendEmail","login"),t.enable(),t.render()})}}))}});t.default=s},function(e,t,n){"use strict";function r(e){e.addDivider(),e.addInput({label:(0,i.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:a.default,type:"tel"}),e.add((0,i.createButton)({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:(0,i.loc)("mfa.challenge.verify","login"),click:function(){e.clearErrors(),e.isValid()&&e.model.manageTransaction(function(t,n){if("MFA_CHALLENGE"===t.status&&t.prev)return e.options.appState.set("trapMfaRequiredResponse",!0),t.prev().then(function(t){n(t),e.model.save()});e.model.save()})}})),e.at(1).focus()}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=n(2),a=o(n(36)),s=i.Form.extend({autoSave:!0,noButtonBar:!0,scrollOnError:!1,layout:"o-form-theme",className:"mfa-verify-totp-inline",attributes:{"data-se":"factor-inline-totp"},initialize:function(){var e=this;this.listenTo(this.model,"error",function(){this.clearErrors()}),this.add((0,i.createButton)({className:"link",attributes:{"data-se":"inline-totp-add"},title:(0,i.loc)("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),r(e)}}))}});t.default=s},function(e,t,n){"use strict";function r(e){switch(e){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:(0,a.loc)("mfa.sendCode","login"),formRetry:(0,a.loc)("mfa.resendCode","login"),formSubmitted:(0,a.loc)("mfa.sent","login"),subtitle:c({subtitle:this.model.get("phoneNumber")}),warning:(0,a.loc)("factor.sms.time.warning","login")};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:(0,a.loc)("mfa.call","login"),formRetry:(0,a.loc)("mfa.redial","login"),formSubmitted:(0,a.loc)("mfa.calling","login"),subtitle:c({subtitle:this.model.get("phoneNumber")}),warning:(0,a.loc)("factor.call.time.warning","login")};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:(0,a.loc)("mfa.sendEmail","login"),formRetry:(0,a.loc)("mfa.resendEmail","login"),formSubmitted:(0,a.loc)("mfa.sent","login"),subtitle:c({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(4)),a=n(2),s=o(n(43)),l=o(n(11)),u=o(n(36)),c=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression((i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:1},end:{line:1,column:13}}}):i))+")"},useData:!0}),f=a.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing,i="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})}),d=a.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:a._.partial(a.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",disableSubmitButton:function(){return this.model.appState.get("isMfaChallenge")&&this.model.get("answer")},showWarning:function(e){this.clearWarnings(),this.add(f,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("factorType"),n=r.call(this,t),o=n.warning;this.$el.attr("data-se","factor-"+t),this.subtitle=n.subtitle,this.listenTo(this.model,"error",function(){this.clearErrors()}),this.addInput({label:(0,a.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:u.default,type:"tel"}),this.add((0,a.createButton)({attributes:{"data-se":n.buttonDataSe},className:"button "+n.buttonClassName,title:n.formSubmit,click:function(){var r=this;e.clearErrors(),this.disable(),e.clearWarnings(),this.options.title=n.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then(function(){return e.getInputs().first().render().focus(),s.default.delay(l.default.API_RATE_LIMIT)}).then(function(){r.options.title=n.formRetry,r.enable(),"call"!==t&&"sms"!==t||e.showWarning(o),r.render()})}})),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=d},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=r.Form.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-password"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:(0,r.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"auth-passcode",name:"password",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(13)),a=r(n(26)),s=r(n(4)),l=n(2),u=r(n(28)),c=r(n(1193)),f=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((s=null!=(s=c(n,"factorName")||(null!=t?c(t,"factorName"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s))+" ("+(null!=(s=null!=(s=c(n,"deviceName")||(null!=t?c(t,"deviceName"):t))?s:u,i="function"===(0,a.default)(s)?s.call(l,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):s)?i:"")+")"},useData:!0}),d=l.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",attributes:{"aria-live":"polite"},template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression((i=null!=(i=a(n,"warning")||(null!=t?a(t,"warning"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):i))+"</p>"},useData:!0})}),p=l.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:l._.partial(l.loc,"oktaverify.send","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-push"},events:{submit:"submit"},initialize:function(){this.enabled=!0,this.listenTo(this.options.appState,"change:isMfaRejected",this.handleRejectStateChange),this.numberChallengeView=this.add(c.default).last(),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",function(e,t){if(t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status){var n;this.clearWarnings(),(0,i.default)(n=this.$el).call(n,".button").hide(),this.numberChallengeView.$el.show()}else{var r;this.numberChallengeView.$el.hide(),(0,i.default)(r=this.$el).call(r,".button").show()}}),this.listenTo(this.options.appState,"change:isMfaTimeout",function(e,t){this.setSubmitState(t),t&&this.showError((0,l.loc)("oktaverify.timeout","login"))}),this.listenTo(this.options.appState,"change:isMfaRequired",function(e,t){t&&(this.clearErrors(),this.clearWarnings())}),this.title=f({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(e){var t,n,r=(0,i.default)(t=this.$el).call(t,".button"),o=(0,i.default)(n=this.$el).call(n,".accessibility-text");this.enabled=e,e?(r.removeClass("link-button-disabled"),r.prop("value",(0,l.loc)("oktaverify.send","login")),r.prop("disabled",!1),o&&o.remove()):(r.addClass("link-button-disabled"),r.prop("value",(0,l.loc)("oktaverify.sent","login")),r.prop("disabled",!0),this.add("<span class='accessibility-text' role='alert'>".concat((0,l.loc)("oktaverify.sent","login"),"</span>")))},submit:function(e){void 0!==e&&e.preventDefault(),this.enabled&&(this.setSubmitState(!1),this.doSave())},postRender:function(){var e=this.options.appState.get("factorsPolicyInfo"),t=this.model.get("id");!!(this.settings.get("features.autoPush")&&e&&e[t])&&e[t].autoPushEnabled&&(this.model.set("autoPush",!0),l._.defer((0,o.default)(l._).call(l._,this.submit,this)))},doSave:function(){var e,t=this;this.clearErrors(),this.clearWarnings(),this.model.isValid()&&(this.listenToOnce(this.model,"error",function(){this.setSubmitState(!0),this.clearWarnings(),clearTimeout(e)}),this.trigger("save",this.model),e=u.default.callAfterTimeout(function(){t.options.appState.get("isWaitingForNumberChallenge")||t.showWarning((0,l.loc)("oktaverify.warning","login"))},3e4))},showError:function(e){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},showWarning:function(e){this.clearWarnings(),this.add(d,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},handleRejectStateChange:function(e,t){t&&(this.setSubmitState(t),this.setRejectedErrorMessage())},setRejectedErrorMessage:function(){"OKTA_VERIFY_UPGRADE_REQUIRED"===this.options.appState.get("lastAuthResponse").factorResultMessage?"IOS"===this.options.appState.get("factor").profile.platform?this.showError((0,l.loc)("oktaverify.rejected.upgradeRequired.ios","login")):this.showError((0,l.loc)("oktaverify.rejected.upgradeRequired.android","login")):this.showError((0,l.loc)("oktaverify.rejected","login"))}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"number-challenge-view",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="number-challenge-instruction">'+(null!=(i=(c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{arguments:"number",bundle:"login",code:"oktaverify.numberchallenge.instruction"},data:o,loc:{start:{line:1,column:42},end:{line:1,column:132}}}))?i:"")+'</p><div class="phone"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+u((a=null!=(a=c(n,"number")||(null!=t?c(t,"number"):t))?a:l,"function"==typeof a?a.call(s,{name:"number",hash:{},data:o,loc:{start:{line:1,column:262},end:{line:1,column:272}}}):a))+'</span></div><div class="phone--home-button"></div></div></div><p>'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"oktaverify.numberchallenge.explain"},data:o,loc:{start:{line:1,column:338},end:{line:1,column:403}}}))+"</p>"},useData:!0}),initialize:function(){var e=this;this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",function(){"SUCCESS"!==e.options.appState.get("lastAuthResponse").status&&e.render()})},getTemplateData:function(){var e=this.options.appState.get("lastAuthResponse");return this.options.appState.get("isWaitingForNumberChallenge")?{number:e._embedded.factor._embedded.challenge.correctAnswer}:{number:null}}});t.default=a},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=r.Form.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-question"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:this.model.get("securityQuestion"),"label-top":!0,placeholder:(0,r.loc)("mfa.challenge.answer.placeholder","login"),className:"auth-passcode",name:"answer",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(10)),a=r(n(4)),s=n(2),l=r(n(533)),u=r(n(36)),c=function(){var e=this.model.get("email");return{factorEmail:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression((i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i))+"</span>"},useData:!0})({email:e})}},f=s.Form.extend({layout:"o-form-theme",className:"mfa-verify-email",title:s._.partial(s.loc,"email.mfa.title","login"),noButtonBar:!1,autoSave:!0,noCancelButton:!0,attributes:{"data-se":"factor-email"},save:function(){return this.options.appState.get("isMfaChallenge")?(0,s.loc)("mfa.challenge.verify","login"):(0,s.loc)("email.button.send","login")},events:(0,i.default)({},s.Form.prototype.events,{submit:function(e){e.preventDefault(),this.handleSubmit()}}),handleSubmit:function(){if(this.clearErrors(),this.options.appState.get("isMfaChallenge"))this.isValid()&&this.model.save();else{var e;this.model.set("answer",""),this.model.save().then((0,o.default)(e=this.renderChallengView).call(e,this))}},initialize:function(){s.Form.prototype.initialize.apply(this,arguments),this.add(s.View.extend({attributes:{"data-se":"mfa-send-email-content"},className:"mfa-send-email-content",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:78}}}))?i:""},useData:!0}),getTemplateData:c}))},renderChallengView:function(){this.removeChildren(),this.add(s.View.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:c})),this.add(l.default),this.addInput({label:(0,s.loc)("email.code.label","login"),"label-top":!0,name:"answer",input:u.default,wide:!0,type:"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),this.render()}}),d=f;t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(36)),a=o.Form.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){var e=this,t=this.model.get("factorLabel"),n="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=t,this.model.get("isFactorTypeVerification")?this.subtitle=(0,o.loc)("mfa.challenge.totp.subtitle.multiple","login",[t]):this.subtitle=(0,o.loc)("mfa.challenge.title","login",[t]),this.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,type:n?"password":"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),"RSA"!==this.model.get("provider")&&"DEL_OATH"!==this.model.get("provider")||this.listenTo(this.model,"error",function(t,n){n&&409===n.status&&(e.$(".auth-passcode input").val(""),e.$(".auth-passcode input").trigger("change"),e.$(".auth-passcode input").focus())})}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(36)),a=o.Form.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){var e=this.model.get("factorLabel");this.title=e,this.subtitle=(0,o.loc)("factor.totpHard.yubikey.description","login"),this.addInput({label:(0,o.loc)("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,inputId:"mfa-answer",type:"password"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,className:"margin-btm-0",placeholder:this.options.appState.get("rememberDeviceLabel"),name:"rememberDevice",type:"checkbox"})}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(18)),a=n(2),s=r(n(41)),l=r(n(8)),u=r(n(12)),c=r(n(28)),f=r(n(199)),d=r(n(531)),p=r(n(547)),h=r(n(36)),m=l.default.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return f.default.validatePasswordMatch(this)},save:function(){return this.trigger("save"),this.doTransaction(function(e){return e.changePassword({oldPassword:this.get("oldPassword"),newPassword:this.get("newPassword")})})}},Form:{save:a._.partial(a.loc,"password.expired.submit","login"),title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,a.loc)("password.expiring.title","login",[t]):e&&0===t?(0,a.loc)("password.expiring.today","login"):e?(0,a.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,a.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,a.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?(0,a.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,a.loc)("password.expiring.subtitle.generic","login");var e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return s.default.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=s.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(u.default.View({View:new p.default({policy:this.options.appState.get("policy")})})),e=(0,i.default)(e).call(e,[u.default.Input({"label-top":!0,label:(0,a.loc)("password.oldPassword.placeholder","login"),explain:c.default.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:h.default,type:"password"}),u.default.Divider(),u.default.Input({className:"margin-btm-5","label-top":!0,label:(0,a.loc)("password.newPassword.placeholder","login"),explain:c.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:h.default,type:"password"}),u.default.Input({"label-top":!0,label:(0,a.loc)("password.confirmPassword.placeholder","login"),explain:c.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:h.default,type:"password"})])}},Footer:d.default,initialize:function(){this.listenTo(this.form,"save",function(){var e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then((0,o.default)(a._).call(a._,this.model.save,this.model))})}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(18)),a=n(2),s=r(n(41)),l=r(n(8)),u=r(n(12)),c=r(n(28)),f=r(n(199)),d=r(n(246)),p=r(n(547)),h=r(n(36)),m=l.default.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return f.default.validatePasswordMatch(this)},save:function(){this.trigger("save");var e=this;return this.doTransaction(function(t){return t.resetPassword({newPassword:e.get("newPassword")})})}},Form:{save:a._.partial(a.loc,"password.reset","login"),title:function(){return this.settings.get("brandName")?(0,a.loc)("password.reset.title.specific","login",[this.settings.get("brandName")]):(0,a.loc)("password.reset.title.generic","login")},subtitle:function(){var e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return s.default.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=s.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(u.default.View({View:new p.default({policy:this.options.appState.get("policy")})})),e=(0,i.default)(e).call(e,[u.default.Input({className:"margin-btm-5",label:(0,a.loc)("password.newPassword.placeholder","login"),"label-top":!0,explain:c.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:h.default,type:"password",autoComplete:"new-password"}),u.default.Input({label:(0,a.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,explain:c.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:h.default,type:"password",autoComplete:"new-password"})])}},initialize:function(){this.listenTo(this.form,"save",function(){var e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then((0,o.default)(a._).call(a._,this.model.save,this.model))}),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(d.default)}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(78)),a=r(n(155)),s=n(2),l=r(n(8)),u=r(n(12)),c=l.default.extend({className:"poll",Model:{save:function(){var e=this;return this.trigger("cancelRequest"),this.appState.get("transaction").cancel().then(function(){e.options.appState.trigger("navigate","")}).catch(function(){e._stopCountDown()})}},Form:{autoSave:!0,hasSavingState:!1,title:function(){return this.title},className:"poll-controller",noCancelButton:!0,save:(0,s.loc)("oform.cancel","login"),modelEvents:{cancelRequest:"_stopCountDown"},formChildren:[u.default.View({View:'<div >               <div data-se="poll-waiting" class="hide okta-waiting-spinner"></div>             </div>'})],_checkStatus:function(){var e=this;this.transactionObject.poll().then(function(t){if(t.data&&"POLL"!==t.status)return void e.options.appState.set("transaction",t);e.$(".okta-waiting-spinner").hide();var n=Math.ceil(t.transaction.profile.refresh/1e3);e._startCountDown(n)}).catch(function(){e._stopCountDown()})},_startCountDown:function(e){var t=this;this.countDown=(0,a.default)(function(){t._updateTitle(e),0===e?(t._stopCountDown(),t.$(".okta-waiting-spinner").show(),t.checkStatusTimeout=(0,i.default)(function(){t._checkStatus()},200)):e-=1},1e3)},_updateTitle:function(e){var t;this.title=(0,s.loc)("polling.title","login",[e]),(0,o.default)(t=this.$el).call(t,".okta-form-title").text(this.title)},_stopCountDown:function(){this.countDown&&clearInterval(this.countDown),this.checkStatusTimeout&&clearInterval(this.checkStatusTimeout)},initialize:function(e){this.transactionObject=e.appState.get("transaction"),this.factorPollingIntervalSeconds=Math.ceil(this.transactionObject.transaction.profile.refresh/1e3),this._updateTitle(this.factorPollingIntervalSeconds),this._startCountDown(this.factorPollingIntervalSeconds)}},back:function(){},remove:function(){this.form._stopCountDown()}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=r(n(8)),l=r(n(12)),u=s.default.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i._.partial(i.loc,"password.forgot.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,i.loc)("password.forgot.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){var e=[l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="accessibility-text" role="status">'+e.escapeExpression((i=null!=(i=a(n,"alert")||(null!=t?a(t,"alert"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"alert",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:56}}}):i))+"</span>"},useData:!0}),getTemplateData:function(){return{alert:(0,i.loc)("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||e.push(l.default.Button({title:(0,i.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){var e=this;return this.model.doTransaction(function(e){return e.cancel()}).then(function(){e.state.set("navigateDir",a.default.DIRECTION_BACK),e.options.appState.trigger("navigate","")})}})),e}},initialize:function(e){this.settings.callGlobalSuccess(a.default.FORGOT_PASSWORD_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(4)),a=n(2),s=r(n(11)),l=r(n(8)),u=r(n(12)),c=r(n(246)),f=r(n(36)),d=l.default.extend({className:"recovery-challenge",Model:{props:{passCode:["string",!0]},local:{ableToResend:"boolean"},resendCode:function(){return this.limitResending(),this.doTransaction(function(e){return e.resend()})},limitResending:function(){this.set({ableToResend:!1}),a._.delay((0,o.default)(a._).call(a._,this.set,this),s.default.API_RATE_LIMIT,{ableToResend:!0})},save:function(){return this.doTransaction(function(e){return e.verify({passCode:this.get("passCode")})})}},Form:{autoSave:!0,save:a._.partial(a.loc,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===s.default.RECOVERY_FACTOR_TYPE_CALL?(0,a.loc)("recoveryChallenge.call.title","login"):(0,a.loc)("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",function(){this.clearErrors()})},formChildren:function(){return[u.default.Button({title:(0,a.loc)("mfa.resendCode","login"),attributes:{"data-se":"resend-button"},className:"button sms-request-button margin-top-30",click:function(){this.model.resendCode()},initialize:function(){this.listenTo(this.model,"change:ableToResend",function(e,t){t?(this.options.title=(0,a.loc)("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=(0,a.loc)("mfa.sent","login"),this.disable(),this.render())})}}),u.default.Input({label:(0,a.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:f.default,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();var t=this.model.settings,n=this.options.appState.get("username"),r=this.options.appState.get("recoveryType");this.model.startTransaction(function(e){switch(r){case s.default.RECOVERY_TYPE_PASSWORD:return e.forgotPassword({username:t.transformUsername(n,s.default.FORGOT_PASSWORD),factorType:s.default.RECOVERY_FACTOR_TYPE_EMAIL});case s.default.RECOVERY_TYPE_UNLOCK:return e.unlockAccount({username:t.transformUsername(n,s.default.UNLOCK_ACCOUNT),factorType:s.default.RECOVERY_FACTOR_TYPE_EMAIL});default:return}})}},initialize:function(){var e,t=this.options.appState.get("recoveryType");switch(t){case s.default.RECOVERY_TYPE_PASSWORD:e=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:63}}}))},useData:!0});break;case s.default.RECOVERY_TYPE_UNLOCK:e=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:62}}}))},useData:!0})}e&&this.settings.get("features.emailRecovery")&&this.add(a.View.extend({className:"link send-email-link",tagName:"a",attributes:{href:"#","data-se":"send-email-link"},template:e})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(c.default)},postRender:function(){this.model.limitResending()}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8)),i=o.default.extend({className:"recovery-loading",Model:{},Form:{noButtonBar:!0},initialize:function(e){var t=this;return this.model.startTransaction(function(t){return t.verifyRecoveryToken({recoveryToken:e.token})}).catch(function(){t.options.appState.trigger("loading",!1),t.options.appState.trigger("removeLoading")})},preRender:function(){this.options.appState.trigger("loading",!0)},trapAuthResponse:function(){return this.options.appState.trigger("loading",!1),!1}});t.default=i},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(246)),l=r(n(36)),u=i.default.extend({className:"recovery-question",Model:{props:{answer:["string",!0],showAnswer:"boolean"},save:function(){return this.doTransaction(function(e){return e.answer({answer:this.get("answer")})})}},Form:{autoSave:!0,save:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,o.loc)("password.forgot.question.submit","login");case"UNLOCK":return(0,o.loc)("account.unlock.question.submit","login");default:return(0,o.loc)("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,o.loc)("password.forgot.question.title","login");case"UNLOCK":return(0,o.loc)("account.unlock.question.title","login");default:return""}},formChildren:function(){return[a.default.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:(0,o.loc)("mfa.challenge.answer.placeholder","login"),name:"answer",input:l.default,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",function(){var e=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(e)})}}),a.default.Input({label:!1,"label-top":!0,placeholder:(0,o.loc)("mfa.challenge.answer.showAnswer","login"),className:"recovery-question-show margin-btm-0",name:"showAnswer",type:"checkbox"})]}},initialize:function(){this.settings.get("features.hideBackToSignInForReset")||this.addFooter(s.default)}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8)),i=o.default.extend({className:"refresh-auth-state",Model:{},Form:{noButtonBar:!0},preRender:function(){var e=this.options.appState,t=this.options.token;this.model.startTransaction(function(n){return e.trigger("loading",!0),t?n.tx.introspect({stateToken:t}):n.tx.exists()?n.tx.resume():void e.trigger("navigate","")})},remove:function(){return this.options.appState.trigger("loading",!1),o.default.prototype.remove.apply(this,arguments)}});t.default=i},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=r(n(11)),l=r(n(8)),u=r(n(12)),c=l.default.extend({events:{"click .back-btn":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",s.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(s.default.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})},Form:{noButtonBar:!0,formChildren:function(){return[u.default.View({View:a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="container"><span class="title-icon icon icon-16 confirm-16-green"></span><h2 class="title">'+u((a=null!=(a=c(n,"title")||(null!=t?c(t,"title"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"title",hash:{},data:i,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):a))+'</h2><div class="desc">'+u((a=null!=(a=c(n,"desc")||(null!=t?c(t,"desc"):t))?a:l,"function"===(0,o.default)(a)?a.call(s,{name:"desc",hash:{},data:i,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):a))+'</div></div><a href="#" class="back-btn" data-se="back-link">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"goback"},data:i,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:(0,a.loc)("registration.complete.confirm.text","login"),title:(0,a.loc)("registration.complete.title","login")}}})})]}}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(4)),a=n(2),s=r(n(1208)),l=r(n(1209)),u=r(n(43)),c=r(n(157)),f=r(n(11)),d=r(n(55)),p=r(n(538)),h=r(n(28)),m=r(n(1210)),v=a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",f.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),g=c.default.extend({className:"registration",initialize:function(){var e=l.default.extend({settings:this.options.settings,url:this.options.settings.get("baseUrl")+"/api/v1/registration/form"}),t=new e;this.state.set("schema",t)},getRegistrationApiUrl:function(){var e=this.settings.get("defaultPolicyId"),t=this.options.settings.get("policyId");return e?this.getRegistrationPolicyApi(e):this.getRegistrationPolicyApi(t)},getRegistrationPolicyApi:function(e){return this.options.settings.get("baseUrl")+"/api/v1/registration/"+e},doPostSubmit:function(){if(this.model.get("activationToken")){var e=this;e.settings.callGlobalSuccess(f.default.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")});new s.default({settings:e.model.appState.settings}).loginWithActivationToken(this.model.get("activationToken")).then(function(t){e.model.trigger("setTransaction",t)})}else this.model.appState.set("username",this.model.get("email")),this.model.appState.trigger("navigate","signin/register-complete")},registerUser:function(e){var t=this,n=this;this.model.attributes=e,a.Backbone.Model.prototype.save.call(this.model).then(function(){var e=n.model.get("activationToken"),t=e||n.model.get("email");n.settings.postRegistrationSubmit(t,function(){n.doPostSubmit()},function(e){n.showErrors(e)})}).fail(function(e){var n=e.responseJSON;if(n&&n.errorCauses.length){var r=n.errorCode,o=n.errorCauses,i=o[0],a=i.errorSummary,s=i.reason,l=i.location;"E0000001"===r&&"UNIQUE_CONSTRAINT"===s&&t.renderIsNotUniqueError(n),t.renderLegacyLocationErrorIfNeeded(l,a),h.default.triggerAfterError(t,new d.default.RegistrationError(a))}})},renderIsNotUniqueError:function(e){var t,n=e.errorCauses[0].location,r=(0,a.loc)("registration.error.userName.notUniqueWithinOrg","login",[n]);(0,o.default)(t=this.$el).call(t,".okta-form-infobox-error p").text(r)},renderLegacyLocationErrorIfNeeded:function(e,t){if(e&&/^data\.userProfile.*/.test(e)){var n;(0,o.default)(n=this.$el).call(n,".okta-form-infobox-error p").text(t)}},createRegistrationModel:function(e){var t=this;return new(a.Model.extend({url:t.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:e,local:{activationToken:"string"},toJSON:function(){return{userProfile:a.Model.prototype.toJSON.apply(this,arguments),relayState:this.settings.get("relayState")}},parse:function(e){return this.set("activationToken",e.activationToken),delete e.activationToken,e},save:function(){this.settings.preRegistrationSubmit(this.attributes,function(e){t.registerUser(e)},function(e){t.showErrors(e)})}}))},showErrors:function(e,t){"parseRegistrationSchema"===e.callback&&e.errorCauses&&(e.errorSummary=a._.clone(e.errorCauses[0].errorSummary),delete e.errorCauses),this.model.trigger("error",this.model,{responseJSON:e});var n=e.callback?e.callback+":"+e.errorSummary:e.errorSummary;if(h.default.triggerAfterError(this,new d.default.RegistrationError(n)),t){var r;(0,o.default)(r=this.$el).call(r,".button-primary").hide()}},fetchInitialData:function(){var e=this;return e.state.get("schema").on("parseComplete",function(t){var n=t.properties.createModelProperties();e.settings.set("defaultPolicyId",t.properties.defaultPolicyId),e.model=e.createRegistrationModel(n);var r=a.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:(0,a.loc)("registration.form.title","login"),save:(0,a.loc)("registration.form.submit","login"),modelEvents:{invalid:"modifyErrors"},modifyErrors:function(e,t){for(var n in t)"model.validation.field.string.minLength"===t[n]?t[n]=(0,a.loc)("registration.model.validation.field.string.too.short","login",[e.props[n].minLength]):"model.validation.field.string.maxLength"===t[n]&&(t[n]=(0,a.loc)("registration.model.validation.field.string.too.long","login",[e.props[n].maxLength+1]))}}),o=new r(e.toJSON());if(e.add(o),e.footer=new e.Footer(e.toJSON()),e.add(e.footer),e.addListeners(),t.error)e.showErrors(t.error,!0);else{t.properties.each(function(e){var t=p.default.createInputOptions(e),n=e.get("subSchemas"),r=e.get("name");o.addInput(t),"password"===r&&n&&o.add(m.default.extend({id:"subschemas-"+r,subSchemas:n}))});var s=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression((i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i))+"</span>"},useData:!0})({label:(0,a.loc)("registration.required.fields.label","login")});o.add(s)}}),(0,u.default)(this.state.get("schema").fetch())},Footer:v});t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(198)),a=i.default.extend({constructor:function(e){this.settings=e&&e.settings,o.Model.apply(this,arguments)},loginWithActivationToken:function(e){return this.startTransaction(function(t){return t.signInWithCredentials({token:e})})}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(546)),i=n(2),a=i.internal.models,s=a.BaseSchema,l=a.SchemaProperty,u=l.Collection.extend({createModelProperties:function(){var e=l.Collection.prototype.createModelProperties.apply(this);return i._.each(e,function(e,t){e.required=!!this.get(t).get("required")},this),e}}),c=s.Model.extend({expand:["schema"],constructor:function(){this.properties=new u,i.BaseModel.apply(this,arguments)},parse:function(e){var t=this,n=function(e){var n=e.schema.required;i._.isArray(n)&&i._.each(n,function(e){var t=this.properties.get(e);t&&t.set("required",!0)},t);var r=e.schema.fieldOrder;if(i._.isArray(r)){var a;i._.each(r,function(e,t){var n=this.properties.get(e);n&&n.set("sortOrder",t)},t),t.properties.comparator="sortOrder",(0,o.default)(a=t.properties).call(a)}return t.properties.defaultPolicyId=e.policyId,e},r=this;this.settings.parseRegistrationSchema(e,function(e){e.profileSchema&&(e.schema=e.profileSchema,s.Model.prototype.parse.apply(r,[e]),e=n(e)),r.trigger("parseComplete",{properties:r.properties})},function(e){r.trigger("parseComplete",{properties:r.properties,error:e})})}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(40)),i=r(n(4)),a=n(2),s=a.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="default-schema"><span class="icon icon-16"></span>'+e.escapeExpression((i=null!=(i=a(n,"message")||(null!=t?a(t,"message"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:60},end:{line:1,column:71}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}}),l=a.View.extend({className:"subschema",children:function(){var e;return(0,o.default)(e=this.subSchemas).call(e,function(e,t){var n=e.get("description"),r=n;return s.extend({index:t,message:r})})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(11)),s=r(n(8)),l=r(n(12)),u=r(n(28)),c=r(n(199)),f=r(n(542)),d=r(n(36)),p=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),h=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:223}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:95}}}))+"</a>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:99},end:{line:1,column:234}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return this.settings.pick("helpSupportNumber")},back:function(){this.state.set("navigateDir",a.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=s.default.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return c.default.validateUsername(this)},save:function(){var e=this;return this.startTransaction(function(t){return t.unlockAccount({username:e.settings.transformUsername(e.get("username"),a.default.UNLOCK_ACCOUNT),factorType:e.get("factorType")})}).catch(function(){})}},Form:{noButtonBar:!0,title:i._.partial(i.loc,"account.unlock.title","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),r=!(e||t||n),s=[],c=this;return r?this.add(p,".o-form-error-container"):(s.push(l.default.Input({label:(0,i.loc)("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:u.default.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:d.default,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||t)&&s.push(l.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){var n;return n=e&&t?(0,i.loc)("recovery.smsOrCall"):t?(0,i.loc)("recovery.call"):(0,i.loc)("recovery.sms"),{mobileFactors:n}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),s.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",a.default.RECOVERY_FACTOR_TYPE_SMS,c)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),s.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",a.default.RECOVERY_FACTOR_TYPE_CALL,c)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),s.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",a.default.RECOVERY_FACTOR_TYPE_EMAIL,c)),this.setDefaultFactorType(a.default.RECOVERY_FACTOR_TYPE_EMAIL))),s},initialize:function(){this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()}),this.listenTo(this.state,"contactSupport",function(){this.add(f.default,".o-form-error-container")})},setDefaultFactorType:function(e){i._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return l.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,i.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(11)),a=r(n(8)),s=r(n(12)),l=a.default.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o._.partial(o.loc,"account.unlock.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,o.loc)("account.unlock.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[s.default.Button({title:(0,o.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(e){this.settings.callGlobalSuccess(i.default.UNLOCK_ACCOUNT_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(41)),a=r(n(8)),s=r(n(12)),l=r(n(106)),u=r(n(160)),c=o.internal.util.Util,f=a.default.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=i.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){var e=this,t=!!this.get("rememberDevice");return this.manageTransaction(function(n,r){var i={rememberDevice:t};return o._.findWhere(n.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).verify(i).then(function(t){r(t);var n=e.appState.get("verifyCustomFactorRedirectUrl");null!==n&&c.redirect(n)}).catch(function(e){throw e})})}},Form:function(){var e=this.options.appState.get("factors"),t=e.findWhere({provider:this.options.provider,factorType:this.options.factorType}),n=t.get("vendorName");return{autoSave:!0,title:n,save:(0,o.loc)("mfa.challenge.verify","login"),subtitle:(0,o.loc)("verify.customFactor.subtitle","login",[n]),attributes:{"data-se":"factor-custom"},initialize:function(){this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})},formChildren:function(){var e=[],t=this.options.appState.get("lastFailedChallengeFactorData");return t&&e.push(s.default.View({View:new l.default({message:t.errorMessage})},{selector:".o-form-error-container"})),e}}},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},initialize:function(){this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType),this.addFooter(u.default)}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(2),a=r(n(328)),s=r(n(43)),l=r(n(41)),u=r(n(8)),c=r(n(160)),f=u.default.extend({className:"mfa-verify-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string",rememberDevice:"boolean"},initialize:function(){var e=l.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},getInitOptions:function(){var e=!!this.get("rememberDevice");return this.doTransaction(function(t){var n={rememberDevice:e};return i._.findWhere(t.factors,{provider:"DUO",factorType:"web"}).verify(n).catch(function(e){throw e})},!0)},verify:function(e){var t=this.get("postAction"),n=this.get("factorId"),r=this,o={id:n,stateToken:this.get("stateToken"),sig_response:e},a=this.get("rememberDevice");return(0,s.default)(i.$.post(t,o)).then(function(){return r.doTransaction(function(e){var t;return a&&(t={rememberDevice:a}),e.poll(t)})}).catch(function(e){r.trigger("error",r,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:i._.partial(i.loc,"factor.duo"),attributes:{"data-se":"factor-duo"},postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),a.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:(0,o.default)(i._).call(i._,this.model.verify,this.model)})}},fetchInitialData:function(){var e=this;return this.model.getInitOptions().then(function(t){var n=t.data;if(!(n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.verification))throw new Error("Response does not have duo verification options");var r=n._embedded.factor._embedded.verification;e.model.set({host:r.host,signature:r.signature,postAction:r._links.complete.href,factorId:n._embedded.factor.id,stateToken:n.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},Footer:c.default});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(97)),i=r(n(120)),a=r(n(121)),s=r(n(4)),l=n(2),u=r(n(8)),c=r(n(12)),f=r(n(539)),d=l.internal.util.Util,p=u.default.extend({className:"piv-cac-card",Model:{save:function(){function e(){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(){var t,n,r,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.trigger("request"),t=this,n=this.settings.get("piv"),r={fromURI:this.settings.get("relayState"),isCustomDomain:n.isCustomDomain},e.prev=4,e.next=7,this.getCert(n.certAuthUrl);case 7:return e.next=9,this.postCert(n.certAuthUrl,r);case 9:o=e.sent,d.redirect(o.redirectUrl),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(4),l._.isEmpty(e.t0.responseJSON)&&!e.t0.responseText&&(e.t0.responseJSON={errorSummary:(0,l.loc)("piv.cac.error","login")}),t.trigger("error",t,e.t0);case 17:case"end":return e.stop()}},e,this,[[4,13]])}));return e}(),getCert:function(e){return l.$.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,t){return l.$.post({url:e,xhrFields:{withCredentials:!0},data:(0,o.default)(t),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:l._.partial(l.loc,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:l._.partial(l.loc,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[c.default.View({View:l.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="piv-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"piv.cac.card.insert"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:82}}}))+'</p><div data-se="piv-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})})],_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()},postRender:function(){var e=this;l._.defer(function(){e.model.save()})}},back:function(){},Footer:f.default});t.default=p},function(e,t,n){/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var r=function(e){"use strict";function t(e,t,n,o){var i=t&&t.prototype instanceof r?t:r,a=Object.create(i.prototype),s=new d(o||[]);return a._invoke=l(e,n,s),a}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e,t){function r(o,i,a,s){var l=n(e[o],e,i);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&g.call(c,"__await")?t.resolve(c.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return r("throw",e,a,s)})}s(l.arg)}function o(e,n){function o(){return new t(function(t,o){r(e,n,t,o)})}return i=i?i.then(o,o):o()}var i;this._invoke=o}function l(e,t,r){var o=x;return function(i,a){if(o===T)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return h()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=u(s,r);if(l){if(l===k)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===x)throw o=S,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=T;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?S:E,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=S,r.method="throw",r.arg=c.arg)}}}function u(e,t){var r=e.iterator[t.method];if(r===m){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=m,u(e,t),"throw"===t.method))return k;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,k;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=m),t.delegate=null,k):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}function c(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(c,this),this.reset(!0)}function p(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(g.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=m,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:m,done:!0}}var m,v=Object.prototype,g=v.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";e.wrap=t;var x="suspendedStart",E="suspendedYield",T="executing",S="completed",k={},O={};O[b]=function(){return this};var A=Object.getPrototypeOf,C=A&&A(A(p([])));C&&C!==v&&g.call(C,b)&&(O=C);var R=i.prototype=r.prototype=Object.create(O);return o.prototype=R.constructor=i,i.constructor=o,i[w]=o.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(R),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,o,i,a){void 0===a&&(a=Promise);var l=new s(t(n,r,o,i),a);return e.isGeneratorFunction(r)?l:l.next().then(function(e){return e.done?e.value:l.next()})},a(R),R[w]="Generator",R[b]=function(){return this},R.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=p,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=m)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=m),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,k):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),k},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),k}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=m),k}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){e.exports=n(548)},function(e,t,n){"use strict";var r=n(7),o=n(44),i=n(234),a=n(313),s=n(192),l=n(86),u=n(129),c=n(119),f=n(85),d=n(94),p=d.set,h=d.getterFor("AggregateError"),m=function(e,t){var n=this;if(!(n instanceof m))return new m(e,t);a&&(n=a(new Error(t),i(n)));var r=[];return c(e,r.push,r),o?p(n,{errors:r,type:"AggregateError"}):n.errors=r,void 0!==t&&f(n,"message",String(t)),n};m.prototype=s(Error.prototype,{constructor:u(5,m),message:u(5,""),name:u(5,"AggregateError")}),o&&l.f(m.prototype,"errors",{get:function(){return h(this).errors},configurable:!0}),r({global:!0},{AggregateError:m})},function(e,t,n){n(514)},function(e,t,n){"use strict";var r=n(7),o=n(197),i=n(241);r({target:"Promise",stat:!0},{try:function(e){var t=o.f(this),n=i(e);return(n.error?t.reject:t.resolve)(n.value),t.promise}})},function(e,t,n){"use strict";var r=n(7),o=n(84),i=n(95),a=n(197),s=n(241),l=n(119);r({target:"Promise",stat:!0},{any:function(e){var t=this,n=a.f(t),r=n.resolve,u=n.reject,c=s(function(){var n=o(t.resolve),a=[],s=0,c=1,f=!1;l(e,function(e){var o=s++,l=!1;a.push(void 0),c++,n.call(t,e).then(function(e){l||f||(f=!0,r(e))},function(e){l||f||(l=!0,a[o]=e,--c||u(new(i("AggregateError"))(a,"No one promise resolved")))})}),--c||u(new(i("AggregateError"))(a,"No one promise resolved"))});return c.error&&u(c.value),n.promise}})},function(e,t,n){"use strict";function r(e){var t=[];return a._.each(e,function(e){t.push({version:e.profile.version,keyHandle:e.profile.credentialId})}),t}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(4)),a=n(2),s=o(n(43));n(537);var l=o(n(55)),u=o(n(41)),c=o(n(329)),f=o(n(8)),d=o(n(12)),p=o(n(106)),h=o(n(160)),m=f.default.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=u.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){return this.trigger("request"),this.doTransaction(function(e){var t;t=e.factorTypes?a._.findWhere(e.factorTypes,{factorType:"u2f"}):a._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"});var n=this;return t.verify().then(function(e){var o,i,a;if(e.factors){var u=e.factors;i=u[0].profile.appId,a=e.challenge.nonce,o=r(u)}else{var f=e.factor;i=f.profile.appId,a=f.challenge.nonce,o=[{version:c.default.getU2fVersion(),keyHandle:f.profile.credentialId}]}n.trigger("request");var d=s.default.defer();return u2f.sign(i,a,o,function(e){if(n.trigger("errors:clear"),!e.errorCode||0===e.errorCode){var r=!!n.get("rememberDevice");return t.verify({clientData:e.clientData,signatureData:e.signatureData,rememberDevice:r}).then(d.resolve)}var o=1===n.options.appState.get("factors").length;d.reject(new l.default.U2FError({xhr:{responseJSON:{errorSummary:c.default.getU2fVerifyErrorMessageByCode(e.errorCode,o)}}}))}),d.promise})})}},Form:{autoSave:!0,hasSavingState:!1,title:a._.partial(a.loc,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:a._.partial(a.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!c.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(c.default.isU2fAvailable())e.push(d.default.View({View:a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-verify-text"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructions"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:86}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:93},end:{line:1,column:156}}}))+'</p><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(d.default.View({View:new p.default({message:(0,a.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(d.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){var e=this;a._.defer(function(){c.default.isU2fAvailable()?e.model.save():e.$('[data-se="u2f-waiting"]').addClass("hide")})},_startEnrollment:function(){this.$(".okta-waiting-spinner").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").addClass("hide"),this.$(".o-form-button-bar").show()}},back:function(){},Footer:h.default});t.default=m},function(e,t,n){"use strict";function r(e){var t=[];return a._.each(e,function(e){t.push({type:"public-key",id:l.default.strToBin(e.profile.credentialId)})}),t}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(4)),a=n(2),s=o(n(43)),l=o(n(243)),u=o(n(55)),c=o(n(41)),f=o(n(8)),d=o(n(12)),p=o(n(159)),h=o(n(56)),m=o(n(106)),v=o(n(160)),g=f.default.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=this,t=c.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",t),this.appState.on("factorSwitched signOut",function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)})},save:function(){return this.trigger("request"),this.doTransaction(function(e){var t;t=e.factorTypes?a._.findWhere(e.factorTypes,{factorType:"webauthn"}):a._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});var n=this;return t.verify().then(function(e){var o,i;if(e.factors){var c=e.factors;i=e.challenge,o=r(c)}else{var f=e.factor;i=f.challenge,o=r([f])}n.trigger("request");var d=a._.extend({},i,{allowCredentials:o,challenge:l.default.strToBin(i.challenge)});return n.webauthnAbortController=new AbortController,new s.default(navigator.credentials.get({publicKey:d,signal:n.webauthnAbortController.signal})).then(function(e){var r=!!n.get("rememberDevice");return t.verify({clientData:l.default.binToStr(e.response.clientDataJSON),authenticatorData:l.default.binToStr(e.response.authenticatorData),signatureData:l.default.binToStr(e.response.signature),rememberDevice:r})}).catch(function(e){throw n.trigger("errors:clear"),n.webauthnAbortController?new u.default.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new u.default.WebauthnAbortError}).finally(function(){n.webauthnAbortController=null})})})}},Form:{autoSave:!0,hasSavingState:!1,title:a._.partial(a.loc,"factor.webauthn.biometric","login"),className:"verify-webauthn-form",noCancelButton:!0,save:a._.partial(a.loc,"mfa.challenge.verify","login"),noButtonBar:function(){return!p.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(p.default.isNewApiAvailable())e.push(d.default.View({View:a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:106}}}))+'</p><div data-se="webauthn-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(d.default.View({View:new m.default({message:(0,a.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(d.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$('.o-form-button-bar [type="submit"]')[0].value=(0,a.loc)("verify.u2f.retry","login"),this.$(".o-form-button-bar").show()}},postRender:function(){var e=this;a._.defer(function(){p.default.isNewApiAvailable()&&!h.default.isSafari()&&e.model.save()})},back:function(){},Footer:v.default});t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(8)),a=r(n(12)),s=r(n(159)),l=r(n(106)),u=r(n(160)),c=r(n(541)),f=i.default.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(s.default.isAvailable()){this.trigger("request");var e=this;return this.doTransaction(function(t){var n=o._.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"});return n.verify().then(function(r){var o=r.factor;return s.default.getAssertion(o.challenge.nonce,[{id:o.profile.credentialId}]).then(function(e){return n.verify({authenticatorData:e.authenticatorData,clientData:e.clientData,signatureData:e.signature})}).then(function(t){return e.trigger("sync"),e.trigger("signIn"),t}).catch(function(n){switch(n.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return e.trigger("abort",n.message),t}throw n})})})}}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"factor.windowsHello","login"),subtitle:function(){return s.default.isAvailable()?(0,o.loc)("verify.windowsHello.subtitle","login"):""},save:o._.partial(o.loc,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return s.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!s.default.isAvailable()},formChildren:function(){var e=[];return s.default.isAvailable()||e.push(a.default.View({View:new l.default({message:(0,o.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(a.default.View({View:new c.default({model:this.model,visible:!1})})),e},postRender:function(){1!==this.options.appState.get("factors").length||this.model.get("__autoTriggered__")||(this.model.set("__autoTriggered__",!0),this.model.save())},_startEnrollment:function(){this.subtitle=(0,o.loc)("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){this.subtitle=(0,o.loc)("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide");var t;switch(e){case"NotFoundError":t=this.options.appState.get("factors").length>1?(0,o.loc)("verify.windowsHello.error.notFound.selectAnother","login"):(0,o.loc)("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":t=(0,o.loc)("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),t){var n=new l.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?(0,o.loc)("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):(0,o.loc)("verify.windowsHello.subtitle.signingIn.generic","login"),this.render(),this.$(".o-form-button-bar").addClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},back:function(){},Footer:u.default});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(8)),i=o.default.extend({className:"error-state",Model:{},Form:{noButtonBar:!0}});t.default=i},function(e,t,n){"use strict";function r(e,t){return(0,u.default)(c._).call(c._,e.stateLessRouteHandlers,function(n){return t===e[n]})}function o(e,t){return!!e&&(e!==g.default||t.get("features.securityImage"))}function i(e,t,n,r){var o=(0,l.default)(function(){e.trigger("loading",!0)},200);return p.default.loadLanguage(e.get("languageCode"),t,{baseUrl:n,rewrite:r}).then(function(){clearTimeout(o),e.trigger("loading",!1)})}var a=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(27)),l=a(n(78)),u=a(n(13)),c=n(2),f=a(n(1227)),d=a(n(549)),p=a(n(156)),h=a(n(79)),m=a(n(551)),v=a(n(552)),g=a(n(553)),y=a(n(247)),b=a(n(56)),_=a(n(554)),w=a(n(11)),x=a(n(55)),E=a(n(89)),T=a(n(28)),S=c.Router.extend({Events:c.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){h.default.error(e)}),this.settings=new d.default(c._.omit(e,"el","authClient"),{parse:!0}),this.settings.setAuthClient(e.authClient),e.el||this.settings.callGlobalError(new x.default.ConfigError((0,c.loc)("error.required.el"))),(0,c.$)("body > div").on("click",function(){}),this.appState=new f.default({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var t=new m.default({appState:this.appState});(0,c.$)(e.el).append(t.render().$el),this.el="#".concat(w.default.WIDGET_CONTAINER_ID),this.header=new v.default({el:this.el,appState:this.appState,settings:this.settings}),this.listenTo(this.appState,"change:transactionError",function(e,t){E.default.routeAfterAuthStatusChangeError(this,t)}),this.listenTo(this.appState,"change:transaction",function(e,t){E.default.routeAfterAuthStatusChange(this,t.data)}),this.listenTo(this.appState,"navigate",function(e){this.navigate(e,{trigger:!0})})},execute:function(e,t){var n=this.settings.get("recoveryToken");if(n)return this.settings.unset("recoveryToken"),void this.navigate(E.default.createRecoveryUrl(n),{trigger:!0});var o=this.settings.get("stateToken");if(o)return this.settings.unset("stateToken"),void this.navigate(E.default.createRefreshUrl(o),{trigger:!0});var i=this.appState.get("transaction");return i&&i.data||r(this,e)?void e.apply(this,t):this.settings.getAuthClient().tx.exists()?void this.navigate(E.default.createRefreshUrl(),{trigger:!0}):void this.navigate("",{trigger:!0})},navigate:function(e,t){return this.settings.get("features.router")?c.Router.prototype.navigate.apply(this,arguments):t&&t.trigger?c.Backbone.history.loadUrl(e):void 0},render:function(e,t){var n=this;t||(t={});var r=t.Beacon,a=c._.extend({settings:this.settings,appState:this.appState},c._.omit(t,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!p.default.isLoaded(this.appState.get("languageCode")))return i(this.appState,this.settings.get("i18n"),this.settings.get("assets.baseUrl"),this.settings.get("assets.rewrite")).then((0,s.default)(c._).call(c._,this.render,this,e,t));if(this.settings.get("colors.brand")&&!_.default.isLoaded()){var l={brand:this.settings.get("colors.brand")};_.default.addStyle(l)}var u=this.controller;return this.controller=new e(a),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then(function(){return o(r,n.settings)||(r=null),n.header.setBeacon(r,a),n.controller.render(),u?y.default.swapPages({$parent:n.el,$oldRoot:u.$el,$newRoot:n.controller.$el,dir:u.state.get("navigateDir"),ctx:n,success:function(){var e=this.appState.get("flashError"),t=this.controller.model;if(u.remove(),u.$el.remove(),this.controller.postRenderAnimation(),e){var n=this.settings.get("features.mfaOnlyFlow")?"error.mfa.only.expired.session":"error.expired.session";t.trigger("error",t,{responseJSON:{errorSummary:(0,c.loc)(n)}}),this.appState.unset("flashError"),T.default.triggerAfterError(this.controller,e)}}}):(n.el.append(n.controller.el),void n.controller.postRenderAnimation())}).catch(function(){u&&(u.remove(),u.$el.remove())})},start:function(){var e=this,t=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",function(t){e.controller.back&&(t.preventDefault(),t.stopImmediatePropagation(),e.controller.back())}),t=b.default.supportsPushState()),c.Router.prototype.start.call(this,{pushState:t})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller&&this.controller.remove(),this.header.$el.remove(),p.default.remove(),c.Backbone.history.stop()}});t.default=S},function(e,t,n){"use strict";function r(e,t,n){if(d._.isEmpty(t)||d._.isUndefined(t))return(0,h.default)({securityImage:y,securityImageDescription:w});t=encodeURIComponent(t);var r=E({baseUrl:e,username:t}),o={url:r,dataType:"json"};return n&&(o.headers={"X-Device-Fingerprint":n}),(0,h.default)(d.$.ajax(o)).then(function(e){return e.pwdImg===g?{securityImage:b,securityImageDescription:_}:{securityImage:e.pwdImg,securityImageDescription:e.imageDescription||x}})}function o(e){if(e>60&&e<=1440){var t=e/60;return(0,d.loc)("hours","login",[t])}if(e>1440){var n=e/1440;return(0,d.loc)("days","login",[n])}return 1===e?(0,d.loc)("minutes.oneMinute","login"):(0,d.loc)("minutes","login",[e])}function i(e){var t=new Date(e).getTime();return Math.floor((t-(new Date).getTime())/864e5)}function a(e,t){var n=[],r=[];return d._.each(t,function(t){var o=t.factorType;if(!d._.contains(n,o)){var i=d._.findWhere(e,{factorType:o});i?(n.push(o),r.push(i)):r.push(t)}}),r}var s=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var l=s(n(239)),u=s(n(40)),c=s(n(26)),f=s(n(4)),d=n(2),p=s(n(242)),h=s(n(43)),m=s(n(56)),v=s(n(55)),g="/img/security/unknown.png",y="/img/security/default.png",b="/img/security/unknown-device.png",_="",w="",x="",E=f.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return l((i=null!=(i=u(n,"baseUrl")||(null!=t?u(t,"baseUrl"):t))?i:s,"function"===(0,c.default)(i)?i.call(a,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i))+"/login/getimage?username="+l((i=null!=(i=u(n,"username")||(null!=t?u(t,"username"):t))?i:s,"function"===(0,c.default)(i)?i.call(a,{name:"username",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:48}}}):i))},useData:!0}),T=d.Model.extend({initialize:function(){if(this.settings.get("features.securityImage")){var e=this;this.listenTo(this,"change:username",function(t,n){r(this.get("baseUrl"),n,this.get("deviceFingerprint")).then(function(e){t.set("securityImage",e.securityImage),t.set("securityImageDescription",e.securityImageDescription),t.unset("deviceFingerprint")}).fail(function(t){if(!m.default.corsIsNotEnabled(t))throw t;e.settings.callGlobalError(new v.default.UnsupportedBrowserError((0,d.loc)("error.enabled.cors")))}).done()})}},local:{baseUrl:"string",lastAuthResponse:["object",!0,{}],transaction:"object",transactionError:"object",username:"string",factors:"object",policy:"object",securityImage:["string",!0,y],securityImageDescription:["string",!0,w],userCountryCode:"string",userPhoneNumber:"string",factorActivationType:"string",flashError:"object",beaconType:"string",deviceFingerprint:"string",typingPattern:"string",languageCode:["string",!0],disableUsername:["boolean",!1,!1],trapMfaRequiredResponse:["boolean",!1,!1],lastFailedChallengeFactorData:["object",!1]},setAuthResponse:function(e){var t=this;if(e._embedded&&e._embedded.policy&&this.set("policy",e._embedded.policy),e._embedded&&e._embedded.factors){var n=e._embedded.factors;e._embedded.factorTypes&&(n=a(e._embedded.factorTypes,n));var r=(0,u.default)(d._).call(d._,n,function(e){return e.settings=t.settings,e.appState=t,e});this.set("factors",new p.default.Collection(r,{parse:!0}))}this.set("lastAuthResponse",e)},clearLastAuthResponse:function(){this.set("lastAuthResponse",{})},setLastFailedChallengeFactorData:function(){this.set("lastFailedChallengeFactorData",{factor:this.get("factor"),errorMessage:this.get("factorResultErrorMessage")})},clearLastFailedChallengeFactorData:function(){this.unset("lastFailedChallengeFactorData")},derived:{isSuccessResponse:{deps:["lastAuthResponse"],fn:function(e){return"SUCCESS"===e.status}},isMfaRequired:{deps:["lastAuthResponse"],fn:function(e){return"MFA_REQUIRED"===e.status||"FACTOR_REQUIRED"===e.status}},isProfileRequired:{deps:["lastAuthResponse"],fn:function(e){return"PROFILE_REQUIRED"===e.status}},isMfaEnroll:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL"===e.status||"FACTOR_ENROLL"===e.status}},isMfaChallenge:{deps:["lastAuthResponse"],fn:function(e){return"MFA_CHALLENGE"===e.status||"FACTOR_CHALLENGE"===e.status}},isSMSPasswordRecovery:{deps:["lastAuthResponse"],fn:function(e){var t=e.status,n=e.factorType,r=e.recoveryType;return"RECOVERY_CHALLENGE"===t&&"sms"===(null===n||void 0===n?void 0:n.toLowerCase())&&"password"===(null===r||void 0===r?void 0:r.toLowerCase())}},isUnauthenticated:{deps:["lastAuthResponse"],fn:function(e){return"UNAUTHENTICATED"===e.status}},isMfaRejected:{deps:["lastAuthResponse"],fn:function(e){return"REJECTED"===e.factorResult}},isMfaTimeout:{deps:["lastAuthResponse"],fn:function(e){return"TIMEOUT"===e.factorResult}},isMfaEnrollActivate:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL_ACTIVATE"===e.status||"FACTOR_ENROLL_ACTIVATE"===e.status}},isWaitingForActivation:{deps:["isMfaEnrollActivate","lastAuthResponse"],fn:function(e,t){return e&&"WAITING"===t.factorResult}},isWaitingForNumberChallenge:{deps:["lastAuthResponse","isMfaChallenge"],fn:function(e,t){return!!(t&&e&&"WAITING"===e.factorResult&&e._embedded&&e._embedded.factor&&e._embedded.factor._embedded&&e._embedded.factor._embedded.challenge)}},hasMultipleFactorsAvailable:{deps:["factors","isMfaRequired","isMfaChallenge","isUnauthenticated"],fn:function(e,t,n,r){return!!(t||n||r)&&(e&&e.length>1)}},promptForFactorInUnauthenticated:{deps:["lastAuthResponse","factors"],fn:function(e,t){return"UNAUTHENTICATED"===e.status&&(t&&t.length>0)}},userId:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user.id:null}},isIdxStateToken:{deps:["lastAuthResponse"],fn:function(e){var t;return e&&d._.isString(e.stateToken)&&(0,l.default)(t=e.stateToken).call(t,"01")}},isPwdExpiringSoon:{deps:["lastAuthResponse"],fn:function(e){return"PASSWORD_WARN"===e.status}},passwordExpireDays:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.policy&&e._embedded.policy.expiration?e._embedded.policy.expiration.passwordExpireDays:null}},isPwdManagedByOkta:{deps:["lastAuthResponse"],fn:function(e){return!(e._links&&e._links.next&&e._links.next.title)}},passwordExpiredWebsiteName:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title?e._links.next.title:null}},passwordExpiredLinkUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title&&e._links.next.href?e._links.next.href:null}},recoveryType:{deps:["lastAuthResponse"],fn:function(e){return e.recoveryType}},factorType:{deps:["lastAuthResponse"],fn:function(e){return e.factorType}},factor:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.factor?e._embedded.factor:null}},activatedFactorId:{deps:["factor"],fn:function(e){return e?e.id:null}},activatedFactorType:{deps:["factor"],fn:function(e){return e?e.factorType:null}},activatedFactorProvider:{deps:["factor"],fn:function(e){return e?e.provider:null}},qrcode:{deps:["factor"],fn:function(e){try{return e._embedded.activation._links.qrcode.href}catch(e){return null}}},activationSendLinks:{deps:["factor"],fn:function(e){var t;try{t=e._embedded.activation._links.send}catch(e){t=[]}return t}},textActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=d._.findWhere(e,{name:"sms"});return t?t.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=d._.findWhere(e,{name:"email"});return t?t.href:null}},sharedSecret:{deps:["factor"],fn:function(e){try{return e._embedded.activation.sharedSecret}catch(e){return null}}},duoEnrollActivation:{deps:["factor"],fn:function(e){return e&&e._embedded&&e._embedded.activation?e._embedded.activation:null}},prevLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.prev?e._links.prev.href:null}},skipLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.skip?e._links.skip.href:null}},gracePeriodRemainingDays:{deps:["policy"],fn:function(e){return e&&e.gracePeriod&&e.gracePeriod.endDate?i(e.gracePeriod.endDate):null}},user:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user:null}},recoveryQuestion:{deps:["user"],fn:function(e){return e&&e.recovery_question?e.recovery_question.question:null}},userProfile:{deps:["user"],fn:function(e){return e&&e.profile?e.profile:null}},userConsentName:{deps:["userProfile","username"],fn:function(e,t){return!e||d._.isEmpty(e.firstName)?t:d._.isEmpty(e.lastName)?e.firstName:e.firstName+" "+e.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(e){return e&&e.login?e.login:null}},userFullName:{deps:["userProfile"],fn:function(e){return e&&(e.firstName||e.lastName)?e.firstName+" "+e.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(e){return e+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(e){return e.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.target:null}},targetLabel:{deps:["target"],fn:function(e){return e?e.label:null}},targetLogo:{deps:["target"],fn:function(e){return e&&e._links?e._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(e){return e&&e._links?e._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(e){return e&&e._links?e._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(e){return e&&e._links?e._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.scopes:null}},issuer:{deps:["lastAuthResponse"],fn:function(e){var t,n,r;return null===e||void 0===e?void 0:null===(t=e._embedded)||void 0===t?void 0:null===(n=t.authentication)||void 0===n?void 0:null===(r=n.issuer)||void 0===r?void 0:r.uri}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=d._.findWhere(t,{factorType:"sms",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},hasExistingPhonesForCall:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=d._.findWhere(t,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===y}},isNewUser:{deps:["securityImage"],fn:function(e){return e===b}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(e){if(e&&e.rememberDeviceLifetimeInMinutes>0){var t=o(e.rememberDeviceLifetimeInMinutes);return(0,d.loc)("rememberDevice.timebased","login",[t])}return e&&0===e.rememberDeviceLifetimeInMinutes?(0,d.loc)("rememberDevice.devicebased","login"):(0,d.loc)("rememberDevice","login")}},rememberDeviceByDefault:{deps:["policy"],fn:function(e){return e&&e.rememberDeviceByDefault}},factorsPolicyInfo:{deps:["policy"],fn:function(e){return e&&e.factorsPolicyInfo?e.factorsPolicyInfo:null}},verifyCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"redirect"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},enrollCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"activate"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},isFactorResultFailed:{deps:["lastAuthResponse"],fn:function(e){return"FAILED"===e.factorResult}},factorResultErrorMessage:{deps:["lastAuthResponse","isFactorResultFailed"],fn:function(e,t){return t?e.factorResultMessage||(0,d.loc)("oform.error.unexpected","login"):null}},deviceActivationStatus:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.deviceActivationStatus:null}}},parse:function(e){return this.settings=e.settings,d._.extend(d._.omit(e,"settings"),{languageCode:this.settings.get("languageCode"),userCountryCode:this.settings.get("countryCode")})}});t.default=T},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"></div><div class="bg-helper auth-beacon auth-beacon-security" data-se="loading-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(4)),a=n(2),s=r(n(242)),l=r(n(43)),u=r(n(41)),c=r(n(1230)),f=a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression((i=null!=(i=a(n,"className")||(null!=t?a(t,"className"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:o,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):i))+'" data-se="factor-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div><div data-type="factor-types-dropdown" class="factors-dropdown-wrap"></div>'},useData:!0}),events:{"click .auth-beacon-factor":function(e){e.preventDefault(),e.stopPropagation();var t=this.$(".dropdown .options").toggle().is(":visible");if(this.$("a.option-selected").attr("aria-expanded",t),t){var n;(0,o.default)(n=this.$("#okta-dropdown-options")).call(n,"li.factor-option:first a").focus()}}},initialize:function(){this.options.appState.set("beaconType","factor")},getTemplateData:function(){var e,t,n=this.options.appState.get("factors");return e=n?u.default.findFactorInFactorsArray(n,this.options.provider,this.options.factorType):new s.default.Model(this.options.appState.get("factor")),t=e.get("iconClassName"),{className:t||""}},postRender:function(){this.options.animate&&this.$(".auth-beacon-factor").fadeIn(200),this.options.appState.get("hasMultipleFactorsAvailable")&&this.add(c.default,'[data-type="factor-types-dropdown"]')},fadeOut:function(){var e=l.default.defer();return this.$(".auth-beacon-factor").fadeOut(200,function(){e.resolve()}),e.promise},equals:function(e,t){return e&&this instanceof e&&t.provider===this.options.provider&&(t.factorType===this.options.factorType||u.default.isOktaVerify(t.provider,t.factorType)&&u.default.isOktaVerify(this.options.provider,this.options.factorType))}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=n(2),a=r(n(41)),s=r(n(242)),l=r(n(1231)),u=i.internal.views.components.BaseDropDown;(0,i.$)(document).click(function(e){var t=(0,i.$)(e.target);t.closest(".option-selected").length>0&&t.closest(".dropdown").length>0||((0,i.$)(".dropdown .options").hide(),(0,i.$)(".dropdown a.option-selected").attr("aria-expanded",!1))});var c=u.extend({className:"bg-helper icon-button",screenReaderText:function(){var e,t,n=this.options.appState.get("factors");return e=n?a.default.findFactorInFactorsArray(n,this.options.provider,this.options.factorType):new s.default.Model(this.options.appState.get("factor"),this.toJSON()),t=e.get("factorLabel"),(0,i.loc)("mfa.factors.dropdown.sr.text","login",[t])},events:{"click a.option-selected":function(e){if(e.preventDefault(),i._.result(this,"disabled"))e.stopPropagation();else{var t=this.$(".options").toggle().is(":visible");if(this.$("a.option-selected").attr("aria-expanded",t),t){var n;(0,o.default)(n=this.$("#okta-dropdown-options")).call(n,"li.factor-option:first a").focus()}}},"click .dropdown-disabled":function(e){e.preventDefault(),e.stopPropagation()}},initialize:function(){this.addOption(l.default.getDropdownOption("TITLE"));var e=this.options.appState.get("factors"),t=e.hasMultipleFactorsOfSameType("push");e.each(function(e){"token:software:totp"===e.get("factorType")&&t||(this.addOption(l.default.getDropdownOption(e.get("factorName")),{model:e}),this.listenTo(this.last(),"options:toggle",function(){this.$(".options").hide(),this.$("a.option-selected").attr("aria-expanded",!1)}))},this)}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=r(n(89)),l=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((s=null!=(s=c(n,"factorName")||(null!=t?c(t,"factorName"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"factorName",hash:{},data:i,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s))+" ("+(null!=(s=null!=(s=c(n,"deviceName")||(null!=t?c(t,"deviceName"):t))?s:u,a="function"===(0,o.default)(s)?s.call(l,{name:"deviceName",hash:{},data:i,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):s)?a:"")+")"},useData:!0}),u=function(e){var t,n=e.get("factorType"),r=this.options.appState.get("factors");r.hasMultipleFactorsOfSameType(n)&&(t=r.getFactorIndex(n,e.get("id")));var o=s.default.createVerifyUrl(e.get("provider"),n,t),i=this;this.options.appState.trigger("factorSwitched"),this.model.manageTransaction(function(e,t){if("FACTOR_CHALLENGE"===e.status&&this.options.appState.set("trapMfaRequiredResponse",!0),"MFA_CHALLENGE"===e.status&&e.prev)return this.options.appState.set("trapMfaRequiredResponse",!0),e.prev().then(function(e){i.trigger("options:toggle"),t(e),i.options.appState.trigger("navigate",o)});i.trigger("options:toggle"),i.options.appState.trigger("navigate",o)})},c={TITLE:{title:a._.partial(a.loc,"mfa.factors.dropdown.title","login"),className:"dropdown-list-title",disabled:!0},OKTA_VERIFY:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return l({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){u.call(this,this.model)}},GOOGLE_AUTH:{icon:"factor-icon mfa-google-auth-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:a._.partial(a.loc,"factor.totpHard.rsaSecurId","login"),action:function(){u.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:a._.partial(a.loc,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:a._.partial(a.loc,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:a._.partial(a.loc,"mfa.duoSecurity.call","login",["XXX-XXX-7890"])},YUBIKEY:{icon:"factor-icon mfa-yubikey-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WINDOWS_HELLO:{icon:"factor-icon mfa-windows-hello-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_SAML:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_OIDC:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_CLAIMS:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}}},f={getDropdownOption:function(e){return c[e]}};t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"piv-beacon",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon smartcard" data-se="piv-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=a},function(e,t,n){"use strict";var r=n(1),o=r(n(1234)),i=r(n(352)),a=r(n(1432)),s=r(n(1433));e.exports=o.default.extend({routes:{"":"defaultAuth","signin/register":"renderRegister","signin/forgot-password":"renderForgotPassword","*wildcard":"defaultAuth"},defaultAuth:function(){this.render(i.default)},renderRegister:function(){this.render(a.default)},renderForgotPassword:function(){this.render(s.default)}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(120)),i=r(n(121)),a=r(n(10)),s=n(2),l=r(n(549)),u=r(n(156)),c=r(n(56)),f=r(n(554)),d=r(n(11)),p=r(n(55)),h=r(n(79)),m=r(n(1235)),v=r(n(551)),g=r(n(552)),y=r(n(1236)),b=r(n(248)),_=n(556),w=r(n(1328)),x=n(24),E=r(n(245)),T=s.Router.extend({Events:s.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){h.default.error(e)}),this.settings=new l.default(s._.omit(e,"el","authClient"),{parse:!0}),this.settings.setAuthClient(e.authClient),e.el||this.settings.callGlobalError(new p.default.ConfigError((0,s.loc)("error.required.el"))),(0,s.$)("body > div").on("click",function(){}),this.appState=new y.default;var t=new v.default({appState:this.appState});(0,s.$)(e.el).append(t.render().$el),this.el="#".concat(d.default.WIDGET_CONTAINER_ID),this.header=new g.default({el:this.el,appState:this.appState,settings:this.settings}),(0,_.configIdxJsClient)(this.appState),this.listenTo(this.appState,"updateAppState",this.handleUpdateAppState),this.listenTo(this.appState,"remediationError",this.handleIdxResponseFailure),this.listenTo(this.appState,"restartLoginFlow",this.restartLoginFlow)},handleUpdateAppState:function(e){if(this.hasAuthenticationSucceeded(e)&&this.settings.get("features.rememberMyUsernameOnOIE")&&this.updateIdentifierCookie(e),e.interactionCode)return b.default.removeStateHandle(),(0,_.interactionCodeFlow)(this.settings,e);var t=this.appState.get("idx");if(t){var n;b.default.setStateHandle(null===e||void 0===e?void 0:null===(n=e.context)||void 0===n?void 0:n.stateHandle)}this.appState.get("currentFormName")===x.FORMS.CANCEL_TRANSACTION&&b.default.removeStateHandle();var r=(0,w.default)(this.settings,e,t);this.appState.setIonResponse(r)},handleIdxResponseFailure:function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if("access_denied"===(null===(e=r)||void 0===e?void 0:e.error)&&r.error_description){var o={messages:{type:"array",value:[{message:r.error_description,i18n:{key:"oie.feature.disabled"},class:"ERROR"}]}};r=(0,a.default)({details:{rawIdxState:o,context:o,neededToProceed:[]}},r)}if(null===(t=r)||void 0===t?void 0:null===(n=t.details)||void 0===n?void 0:n.rawIdxState){if(!r.details.rawIdxState.messages){var i={type:"array",value:[{message:(0,s.loc)("oform.error.unexpected","login"),class:"ERROR"}]};r.details.rawIdxState.messages=i,r.details.context={messages:i}}return this.handleUpdateAppState(r.details)}this.settings.callGlobalError(new p.default.ConfigError(r))},render:function(){function e(e){return t.apply(this,arguments)}var t=(0,i.default)(o.default.mark(function e(t){var n,r,i,a,l=arguments;return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=l.length>1&&void 0!==l[1]?l[1]:{},b.default.getLastInitiatedLoginUrl()!==window.location.href&&b.default.removeStateHandle(),this.header.rendered()||(this.el=this.header.render().getContentEl()),u.default.isLoaded(this.settings.get("languageCode"))){e.next=6;break}return e.next=6,m.default.loadLanguage(this.appState,this.settings);case 6:if(!this.settings.get("oieEnabled")){e.next=21;break}return e.prev=7,e.next=10,(0,_.startLoginFlow)(this.settings);case 10:r=e.sent,this.appState.trigger("updateAppState",r),e.next=17;break;case 14:e.prev=14,e.t0=e.catch(7),this.appState.trigger("remediationError",e.t0.error||e.t0);case 17:return e.prev=17,this.settings.unset("stateToken"),this.settings.unset("proxyIdxResponse"),e.finish(17);case 21:this.settings.get("colors.brand")&&!f.default.isLoaded()&&(i={brand:this.settings.get("colors.brand")},f.default.addStyle(i)),this.unload(),a=s._.extend({el:this.el,settings:this.settings,appState:this.appState},n),this.controller=new t(a),this.listenTo(this.controller,"all",this.trigger),this.controller.render();case 27:case"end":return e.stop()}},e,this,[[7,14,17,21]])}));return e}(),updateIdentifierCookie:function(e){if(this.settings.get("features.rememberMe")){var t,n=null===e||void 0===e?void 0:null===(t=e.context)||void 0===t?void 0:t.user,r=(null===n||void 0===n?void 0:n.value)||{},o=r.identifier;o&&E.default.setUsernameCookie(o)}else E.default.removeUsernameCookie()},hasAuthenticationSucceeded:function(e){var t,n;return(null===e||void 0===e?void 0:null===(t=e.rawIdxState)||void 0===t?void 0:t.success)||(null===e||void 0===e?void 0:null===(n=e.rawIdxState)||void 0===n?void 0:n.successWithInteractionCode)},restartLoginFlow:function(){this.render(this.controller.constructor)},start:function(){var e=c.default.supportsPushState();s.Router.prototype.start.call(this,{pushState:e})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.unload(),this.header.$el.remove(),this.stopListening(this.appState),this.stopListening(this.settings),u.default.remove(),s.Backbone.history.stop()}});t.default=T},function(e,t,n){"use strict";function r(e,t){var n=t.get("languageCode"),r=t.get("i18n"),o=t.get("assets.baseUrl"),s=t.get("assets.rewrite"),l=(0,i.default)(function(){e.trigger("loading",!0)},200);return a.default.loadLanguage(n,r,{baseUrl:o,rewrite:s}).then(function(){clearTimeout(l),e.trigger("loading",!1)})}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(78)),a=o(n(156)),s={loadLanguage:r};t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(97)),i=r(n(10)),a=r(n(239)),s=r(n(321)),l=r(n(32)),u=r(n(52)),c=r(n(40)),f=r(n(39)),d=r(n(161)),p=r(n(13)),h=n(2),m=r(n(79)),v=n(24),g=n(555),y=n(1240),b=h.Model.extend({local:{user:"object",currentFormName:"string",idx:"object",remediations:"array",dynamicRefreshInterval:"number",deviceFingerprint:"string"},derived:{authenticatorProfile:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.profile||t.profile||{}}},authenticatorKey:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.key||t.key||""}},authenticatorMethodType:{deps:["currentAuthenticator","currentAuthenticatorEnrollment"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.methods&&e.methods[0].type||t.methods&&t.methods[0].type||""}},isPasswordRecovery:{deps:["recoveryAuthenticator"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"password"===(null===e||void 0===e?void 0:e.type)}}},isIdentifierOnlyView:function(){var e,t,n;return!(null===(e=this.get("remediations"))||void 0===e?void 0:null===(t=(0,p.default)(e).call(e,function(e){return"identify"===e.name}))||void 0===t?void 0:null===(n=t.uiSchema)||void 0===n?void 0:(0,p.default)(n).call(n,function(e){return"credentials.passcode"===e.name}))},hasRemediationObject:function(e){var t;return(0,p.default)(t=this.get("idx").neededToProceed).call(t,function(t){return t.name===e})},getRemediationAuthenticationOptions:function(e){var t,n=this.hasRemediationObject(e);if(!n)return[];var r=(0,p.default)(t=n.value).call(t,function(e){return"authenticator"===e.name}),o=(null===r||void 0===r?void 0:r.options)||[];return o=(0,d.default)(o),(0,g.createOVOptions)(o),o},getActionByPath:function(e){var t,n=e.split(".");t=1===n.length?this.get("idx").actions:this.get(n.shift());var r=n.shift();return t&&y._.isFunction(t[r])?t[r]:null},getCurrentViewState:function(){var e,t=this.get("currentFormName");if(t){var n=(0,f.default)(e=this.get("remediations")).call(e,function(e){return e.name===t})[0];if(!n){var r;m.default.error("Panic!!"),m.default.error("\tCannot find view state for form ".concat(t,"."));var o=(0,c.default)(r=this.get("remediations")).call(r,function(e){return e.name});m.default.error("\tAll available form names: ".concat(o))}return n}},getAuthenticatorDisplayName:function(){var e=this.get("currentAuthenticator")||{},t=this.get("currentAuthenticatorEnrollment")||{};return e.displayName||t.displayName},isAuthenticatorChallenge:function(){var e=this.get("currentFormName");return(0,u.default)(v.FORMS_FOR_VERIFICATION).call(v.FORMS_FOR_VERIFICATION,e)},shouldReRenderView:function(e){var t;if(null===e||void 0===e?void 0:null===(t=e.idx)||void 0===t?void 0:t.hasFormError)return!1;var n=this.has("idx")?this.get("idx").rawIdxState:null,r=y._.isEqual(y._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle"]),y._.nestedOmit(n,["expiresAt","refresh","stateHandle"])),o=y._.isEqual(y._.nestedOmit(e.idx.rawIdxState,["expiresAt","stateHandle"]),y._.nestedOmit(n,["expiresAt","stateHandle"]));return r&&!o&&this.set("dynamicRefreshInterval",this.getRefreshInterval(e)),this._isReRenderRequired(r,e,n)},getRefreshInterval:function(e){var t,n,r,o,i,a=this.get("currentFormName");return(0,f.default)(t=e.remediations).call(t,function(e){return e.name===a})[0].refresh||(null===(n=e.currentAuthenticatorEnrollment)||void 0===n?void 0:null===(r=n.poll)||void 0===r?void 0:r.refresh)||(null===(o=e.currentAuthenticator)||void 0===o?void 0:null===(i=o.poll)||void 0===i?void 0:i.refresh)},shouldShowSignOutLinkInCurrentForm:function(e){var t=this.get("idx")&&this.get("idx").actions,n=this.get("currentFormName");return!e&&y._.isFunction(null===t||void 0===t?void 0:t.cancel)&&!(0,u.default)(v.FORMS_WITHOUT_SIGNOUT).call(v.FORMS_WITHOUT_SIGNOUT,n)},containsMessageWithI18nKey:function(e){var t;(0,l.default)(e)||(e=[e]);var n=this.get("messages");return n&&(0,l.default)(n.value)&&(0,s.default)(t=n.value).call(t,function(t){var n;return y._.contains(e,null===(n=t.i18n)||void 0===n?void 0:n.key)})},containsMessageStartingWithI18nKey:function(e){var t,n=this.get("messages");return n&&(0,l.default)(n.value)&&(0,s.default)(t=n.value).call(t,function(t){var n,r;return null===(n=t.i18n)||void 0===n?void 0:(0,a.default)(r=n.key).call(r,e)})},clearAppStateCache:function(){var e={};for(var t in this.attributes)"currentFormName"!==t&&(e[t]=void 0);this.set(e,(0,i.default)({},{unset:!0,silent:!0})),this.trigger("cache:clear")},setIonResponse:function(e){var t=this.shouldReRenderView(e);if(this.clearAppStateCache(),this.set(e),t){var n=null;y._.isEmpty(e.remediations)?(m.default.error("Panic!!"),m.default.error("\tNo remediation found."),m.default.error("\tHere is the entire response"),m.default.error((0,o.default)(e,null,2))):n=e.remediations[0].name,this.unset("currentFormName",{silent:!0}),this.set({currentFormName:n})}},_isReRenderRequired:function(e,t,n){var r,o=!0;return(null===(r=this.get("idx"))||void 0===r?void 0:r.hasFormError)&&this._isChallengeAuthenticatorPoll(t,n)&&(o=!1),e&&(o=!1),e&&"poll"===this.get("currentFormName")&&(o=!0),e&&(0,u.default)(v.FORMS_WITH_STATIC_BACK_LINK).call(v.FORMS_WITH_STATIC_BACK_LINK,this.get("currentFormName"))&&(o=!0),o},_isChallengeAuthenticatorPoll:function(e,t){var n,r=y._.isEqual(y._.nestedOmit(e.idx.rawIdxState,["expiresAt","refresh","stateHandle"]),y._.nestedOmit(t,["expiresAt","refresh","stateHandle","messages"])),o="challenge-authenticator"===this.get("currentFormName"),i=(null===(n=this.get("currentAuthenticatorEnrollment"))||void 0===n?void 0:n.key)===v.AUTHENTICATOR_KEY.EMAIL;return r&&o&&i}});t.default=b},function(e,t,n){function r(e){if(o(e))return i(e)}var o=n(519),i=n(525);e.exports=r},function(e,t,n){function r(e){if(void 0!==a&&i(Object(e)))return o(e)}var o=n(522),i=n(314),a=n(316);e.exports=r},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},function(e,t,n){"use strict";var r=n(1),o=n(0);o(t,"__esModule",{value:!0}),o(t,"_",{enumerable:!0,get:function(){return u._}});var i=r(n(26)),a=r(n(40)),s=r(n(32)),l=r(n(52)),u=n(2);u._.mixin({nestedOmit:function(e,t){var n=u._.omit(e,t);return(0,l.default)(t).call(t,n.name)&&(n=u._.omit(n,"value")),u._.each(n,function(e,r){(0,s.default)(e)?n[r]=(0,a.default)(e).call(e,function(e){return u._.nestedOmit(e,t)}):"object"===(0,i.default)(e)&&(n[r]=u._.nestedOmit(e,t))}),n}})},function(e,t,n){"use strict";function r(e,t){return o.apply(this,arguments)}function o(){return o=(0,s.default)(a.default.mark(function e(t,n){var r,o,i,s,d,p,h,m,v;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r=n.interactionCode,o=t.getAuthClient(),i=o.transactionManager.load(),s=o.options.state||i.state,d="remediation"===t.get("mode"),d&&(0,f.clearTransactionMeta)(t),!(p="always"===t.get("redirect"))){e.next=14;break}if(h=t.get("redirectUri")){e.next=11;break}throw new u.default.ConfigError('"redirectUri" is required');case 11:return m=(0,c.toQueryString)({interaction_code:r,state:s}),window.location.assign(h+m),e.abrupt("return");case 14:if(!d){e.next=17;break}return t.callGlobalSuccess(l.default.SUCCESS,{interaction_code:r,state:s}),e.abrupt("return");case 17:return v=i.codeVerifier,e.abrupt("return",o.token.exchangeCodeForTokens({codeVerifier:v,interactionCode:r}).then(function(e){var n=e.tokens;t.callGlobalSuccess(l.default.SUCCESS,{tokens:n})}).catch(function(e){t.callGlobalError(e)}).finally(function(){(0,f.clearTransactionMeta)(t)}));case 19:case"end":return e.stop()}},e)})),o.apply(this,arguments)}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.interactionCodeFlow=r;var a=i(n(120)),s=i(n(121)),l=i(n(11)),u=i(n(55)),c=n(506),f=n(332)},function(e,t,n){/**
 * Copyright (c) 2014-present, Facebook, Inc.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var r=function(e){"use strict";function t(e,t,n,o){var i=t&&t.prototype instanceof r?t:r,a=Object.create(i.prototype),s=new d(o||[]);return a._invoke=l(e,n,s),a}function n(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function r(){}function o(){}function i(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e,t){function r(o,i,a,s){var l=n(e[o],e,i);if("throw"!==l.type){var u=l.arg,c=u.value;return c&&"object"==typeof c&&g.call(c,"__await")?t.resolve(c.__await).then(function(e){r("next",e,a,s)},function(e){r("throw",e,a,s)}):t.resolve(c).then(function(e){u.value=e,a(u)},function(e){return r("throw",e,a,s)})}s(l.arg)}function o(e,n){function o(){return new t(function(t,o){r(e,n,t,o)})}return i=i?i.then(o,o):o()}var i;this._invoke=o}function l(e,t,r){var o=x;return function(i,a){if(o===T)throw new Error("Generator is already running");if(o===S){if("throw"===i)throw a;return h()}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=u(s,r);if(l){if(l===k)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===x)throw o=S,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=T;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?S:E,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=S,r.method="throw",r.arg=c.arg)}}}function u(e,t){var r=e.iterator[t.method];if(r===m){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=m,u(e,t),"throw"===t.method))return k;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return k}var o=n(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,k;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=m),t.delegate=null,k):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,k)}function c(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function d(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(c,this),this.reset(!0)}function p(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(g.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=m,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:m,done:!0}}var m,v=Object.prototype,g=v.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";e.wrap=t;var x="suspendedStart",E="suspendedYield",T="executing",S="completed",k={},O={};O[b]=function(){return this};var A=Object.getPrototypeOf,C=A&&A(A(p([])));C&&C!==v&&g.call(C,b)&&(O=C);var R=i.prototype=r.prototype=Object.create(O);return o.prototype=R.constructor=i,i.constructor=o,i[w]=o.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,i):(e.__proto__=i,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(R),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,o,i,a){void 0===a&&(a=Promise);var l=new s(t(n,r,o,i),a);return e.isGeneratorFunction(r)?l:l.next().then(function(e){return e.done?e.value:l.next()})},a(R),R[w]="Generator",R[b]=function(){return this},R.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=p,d.prototype={constructor:d,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=m,this.done=!1,this.delegate=null,this.method="next",this.arg=m,this.tryEntries.forEach(f),!e)for(var t in this)"t"===t.charAt(0)&&g.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=m)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=m),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=g.call(o,"catchLoc"),s=g.call(o,"finallyLoc");if(a&&s){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&g.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,k):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),k},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),k}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;f(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:p(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=m),k}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){e.exports=n(489)},function(e,t,n){e.exports=n(1245)},function(e,t,n){var r=n(1246);e.exports=r},function(e,t,n){n(1247),n(1249),n(559);var r=n(22);e.exports=r.URL},function(e,t,n){"use strict";n(139);var r,o=n(7),i=n(44),a=n(558),s=n(34),l=n(311),u=n(138),c=n(196),f=n(59),d=n(404),p=n(473),h=n(468).codeAt,m=n(1248),v=n(105),g=n(559),y=n(94),b=s.URL,_=g.URLSearchParams,w=g.getState,x=y.set,E=y.getterFor("URL"),T=Math.floor,S=Math.pow,k=/[A-Za-z]/,O=/[\d+-.A-Za-z]/,A=/\d/,C=/^(0x|0X)/,R=/^[0-7]+$/,I=/^\d+$/,N=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,P=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,L=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\u0009\u000A\u000D]/g,j=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=U(t.slice(1,-1))))return"Invalid host";e.host=n}else if(G(e)){if(t=m(t),M.test(t))return"Invalid host";if(null===(n=F(t)))return"Invalid host";e.host=n}else{if(P.test(t))return"Invalid host";for(n="",r=p(t),o=0;o<r.length;o++)n+=K(r[o],q);e.host=n}},F=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=C.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?I:8==i?R:N).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=S(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*S(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],u=0,c=null,f=0,d=function(){return e.charAt(f)};if(":"==d()){if(":"!=e.charAt(1))return;f+=2,u++,c=u}for(;d();){if(8==u)return;if(":"!=d()){for(t=n=0;n<4&&N.test(d());)t=16*t+parseInt(d(),16),f++,n++;if("."==d()){if(0==n)return;if(f-=n,u>6)return;for(r=0;d();){if(o=null,r>0){if(!("."==d()&&r<4))return;f++}if(!A.test(d()))return;for(;A.test(d());){if(i=parseInt(d(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}l[u]=256*l[u]+o,r++,2!=r&&4!=r||u++}if(4!=r)return;break}if(":"==d()){if(f++,!d())return}else if(d())return;l[u++]=t}else{if(null!==c)return;f++,u++,c=u}}if(null!==c)for(a=u-c,u=7;0!=u&&a>0;)s=l[u],l[u--]=l[c+a-1],l[c+--a]=s;else if(8!=u)return;return l},B=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t},V=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=T(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=B(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},q={},H=d({},q,{" ":1,'"':1,"<":1,">":1,"`":1}),W=d({},H,{"#":1,"?":1,"{":1,"}":1}),z=d({},W,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),K=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},$={ftp:21,file:null,http:80,https:443,ws:80,wss:443},G=function(e){return f($,e.scheme)},Y=function(e){return""!=e.username||""!=e.password},J=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},Q=function(e,t){var n;return 2==e.length&&k.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},X=function(e){var t;return e.length>1&&Q(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},Z=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&Q(t[0],!0)||t.pop()},ee=function(e){return"."===e||"%2e"===e.toLowerCase()},te=function(e){return".."===(e=e.toLowerCase())||"%2e."===e||".%2e"===e||"%2e%2e"===e},ne={},re={},oe={},ie={},ae={},se={},le={},ue={},ce={},fe={},de={},pe={},he={},me={},ve={},ge={},ye={},be={},_e={},we={},xe={},Ee=function(e,t,n,o){var i,a,s,l,u=n||ne,c=0,d="",h=!1,m=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(L,"")),t=t.replace(D,""),i=p(t);c<=i.length;){switch(a=i[c],u){case ne:if(!a||!k.test(a)){if(n)return"Invalid scheme";u=oe;continue}d+=a.toLowerCase(),u=re;break;case re:if(a&&(O.test(a)||"+"==a||"-"==a||"."==a))d+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";d="",u=oe,c=0;continue}if(n&&(G(e)!=f($,d)||"file"==d&&(Y(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=d,n)return void(G(e)&&$[e.scheme]==e.port&&(e.port=null));d="","file"==e.scheme?u=me:G(e)&&o&&o.scheme==e.scheme?u=ie:G(e)?u=ue:"/"==i[c+1]?(u=ae,c++):(e.cannotBeABaseURL=!0,e.path.push(""),u=_e)}break;case oe:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=xe;break}u="file"==o.scheme?me:se;continue;case ie:if("/"!=a||"/"!=i[c+1]){u=se;continue}u=ce,c++;break;case ae:if("/"==a){u=fe;break}u=be;continue;case se:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&G(e))u=le;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=be;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}break;case le:if(!G(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=be;continue}u=fe}else u=ce;break;case ue:if(u=ce,"/"!=a||"/"!=d.charAt(c+1))continue;c++;break;case ce:if("/"!=a&&"\\"!=a){u=fe;continue}break;case fe:if("@"==a){h&&(d="%40"+d),h=!0,s=p(d);for(var g=0;g<s.length;g++){var y=s[g];if(":"!=y||v){var b=K(y,z);v?e.password+=b:e.username+=b}else v=!0}d=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(h&&""==d)return"Invalid authority";c-=p(d).length+1,d="",u=de}else d+=a;break;case de:case pe:if(n&&"file"==e.scheme){u=ge;continue}if(":"!=a||m){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)){if(G(e)&&""==d)return"Invalid host";if(n&&""==d&&(Y(e)||null!==e.port))return;if(l=j(e,d))return l;if(d="",u=ye,n)return;continue}"["==a?m=!0:"]"==a&&(m=!1),d+=a}else{if(""==d)return"Invalid host";if(l=j(e,d))return l;if(d="",u=he,n==pe)return}break;case he:if(!A.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&G(e)||n){if(""!=d){var _=parseInt(d,10);if(_>65535)return"Invalid port";e.port=G(e)&&_===$[e.scheme]?null:_,d=""}if(n)return;u=ye;continue}return"Invalid port"}d+=a;break;case me:if(e.scheme="file","/"==a||"\\"==a)u=ve;else{if(!o||"file"!=o.scheme){u=be;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=we;else{if("#"!=a){X(i.slice(c).join(""))||(e.host=o.host,e.path=o.path.slice(),Z(e)),u=be;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=xe}}break;case ve:if("/"==a||"\\"==a){u=ge;break}o&&"file"==o.scheme&&!X(i.slice(c).join(""))&&(Q(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=be;continue;case ge:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&Q(d))u=be;else if(""==d){if(e.host="",n)return;u=ye}else{if(l=j(e,d))return l;if("localhost"==e.host&&(e.host=""),n)return;d="",u=ye}continue}d+=a;break;case ye:if(G(e)){if(u=be,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=be,"/"!=a))continue}else e.fragment="",u=xe;else e.query="",u=we;break;case be:if(a==r||"/"==a||"\\"==a&&G(e)||!n&&("?"==a||"#"==a)){if(te(d)?(Z(e),"/"==a||"\\"==a&&G(e)||e.path.push("")):ee(d)?"/"==a||"\\"==a&&G(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&Q(d)&&(e.host&&(e.host=""),d=d.charAt(0)+":"),e.path.push(d)),d="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=we):"#"==a&&(e.fragment="",u=xe)}else d+=K(a,W);break;case _e:"?"==a?(e.query="",u=we):"#"==a?(e.fragment="",u=xe):a!=r&&(e.path[0]+=K(a,q));break;case we:n||"#"!=a?a!=r&&("'"==a&&G(e)?e.query+="%27":e.query+="#"==a?"%23":K(a,q)):(e.fragment="",u=xe);break;case xe:a!=r&&(e.fragment+=K(a,H))}c++}},Te=function(e){var t,n,r=c(this,Te,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=x(r,{type:"URL"});if(void 0!==o)if(o instanceof Te)t=E(o);else if(n=Ee(t={},String(o)))throw TypeError(n);if(n=Ee(s,a,null,t))throw TypeError(n);var l=s.searchParams=new _,u=w(l);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(l)||null},i||(r.href=ke.call(r),r.origin=Oe.call(r),r.protocol=Ae.call(r),r.username=Ce.call(r),r.password=Re.call(r),r.host=Ie.call(r),r.hostname=Ne.call(r),r.port=Me.call(r),r.pathname=Pe.call(r),r.search=Le.call(r),r.searchParams=De.call(r),r.hash=je.call(r))},Se=Te.prototype,ke=function(){var e=E(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,u=t+":";return null!==o?(u+="//",Y(e)&&(u+=n+(r?":"+r:"")+"@"),u+=V(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==l&&(u+="#"+l),u},Oe=function(){var e=E(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&G(e)?t+"://"+V(e.host)+(null!==n?":"+n:""):"null"},Ae=function(){return E(this).scheme+":"},Ce=function(){return E(this).username},Re=function(){return E(this).password},Ie=function(){var e=E(this),t=e.host,n=e.port;return null===t?"":null===n?V(t):V(t)+":"+n},Ne=function(){var e=E(this).host;return null===e?"":V(e)},Me=function(){var e=E(this).port;return null===e?"":String(e)},Pe=function(){var e=E(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Le=function(){var e=E(this).query;return e?"?"+e:""},De=function(){return E(this).searchParams},je=function(){var e=E(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Se,{href:Fe(ke,function(e){var t=E(this),n=String(e),r=Ee(t,n);if(r)throw TypeError(r);w(t.searchParams).updateSearchParams(t.query)}),origin:Fe(Oe),protocol:Fe(Ae,function(e){var t=E(this);Ee(t,String(e)+":",ne)}),username:Fe(Ce,function(e){var t=E(this),n=p(String(e));if(!J(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=K(n[r],z)}}),password:Fe(Re,function(e){var t=E(this),n=p(String(e));if(!J(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=K(n[r],z)}}),host:Fe(Ie,function(e){var t=E(this);t.cannotBeABaseURL||Ee(t,String(e),de)}),hostname:Fe(Ne,function(e){var t=E(this);t.cannotBeABaseURL||Ee(t,String(e),pe)}),port:Fe(Me,function(e){var t=E(this);J(t)||(e=String(e),""==e?t.port=null:Ee(t,e,he))}),pathname:Fe(Pe,function(e){var t=E(this);t.cannotBeABaseURL||(t.path=[],Ee(t,e+"",ye))}),search:Fe(Le,function(e){var t=E(this);e=String(e),""==e?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ee(t,e,we)),w(t.searchParams).updateSearchParams(t.query)}),searchParams:Fe(De),hash:Fe(je,function(e){var t=E(this);if(""==(e=String(e)))return void(t.fragment=null);"#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ee(t,e,xe)})}),u(Se,"toJSON",function(){return ke.call(this)},{enumerable:!0}),u(Se,"toString",function(){return ke.call(this)},{enumerable:!0}),b){var Ue=b.createObjectURL,Be=b.revokeObjectURL;Ue&&u(Te,"createObjectURL",function(e){return Ue.apply(b,arguments)}),Be&&u(Te,"revokeObjectURL",function(e){return Be.apply(b,arguments)})}v(Te,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Te})},function(e,t,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,l=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t},u=function(e){return e+22+75*(e<26)},c=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},f=function(e){var t=[];e=l(e);var n,r,o=e.length,f=128,d=0,p=72;for(n=0;n<e.length;n++)(r=e[n])<128&&t.push(s(r));var h=t.length,m=h;for(h&&t.push("-");m<o;){var v=2147483647;for(n=0;n<e.length;n++)(r=e[n])>=f&&r<v&&(v=r);var g=m+1;if(v-f>a((2147483647-d)/g))throw RangeError(i);for(d+=(v-f)*g,f=v,n=0;n<e.length;n++){if((r=e[n])<f&&++d>2147483647)throw RangeError(i);if(r==f){for(var y=d,b=36;;b+=36){var _=b<=p?1:b>=p+26?26:b-p;if(y<_)break;var w=y-_,x=36-_;t.push(s(u(_+w%x))),y=a(w/x)}t.push(s(u(y))),p=c(d,g,m==h),d=0,++m}}++d,++f}return t.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+f(n):n);return i.join(".")}},function(e,t){},function(e,t,n){"use strict";var r=n(1251),o=n(92),i=n(165),a=n(574),s=n(253),l=n(250),u=n(1274),c=n(1276),f=n(1277),d=n(254),p=d("replace"),h=Math.max,m=Math.min,v=function(e){return void 0===e?e:String(e)},g=function(){return"$0"==="a".replace(/./,"$0")}(),y=function(){return!!/./[p]&&""===/./[p]("a","$0")}(),b=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")});r("replace",function(e,t,n){var r=y?"$":"$0";return[function(e,n){var r=l(this),o=void 0==e?void 0:e[p];return void 0!==o?o.call(e,r,n):t.call(String(r),e,n)},function(e,o){if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var l=n(t,this,e,o);if(l.done)return l.value}var d=i(this),p=String(e),g="function"==typeof o;g||(o=String(o));var y=d.global;if(y){var b=d.unicode;d.lastIndex=0}for(var _=[];;){var w=f(d,p);if(null===w)break;if(_.push(w),!y)break;""===String(w[0])&&(d.lastIndex=u(p,a(d.lastIndex),b))}for(var x="",E=0,T=0;T<_.length;T++){w=_[T];for(var S=String(w[0]),k=h(m(s(w.index),p.length),0),O=[],A=1;A<w.length;A++)O.push(v(w[A]));var C=w.groups;if(g){var R=[S].concat(O,k,p);void 0!==C&&R.push(C);var I=String(o.apply(void 0,R))}else I=c(S,p,k,O,C,o);k>=E&&(x+=p.slice(E,k)+I,E=k+S.length)}return x+p.slice(E)}]},!b||!g||y)},function(e,t,n){"use strict";n(560);var r=n(335),o=n(342),i=n(92),a=n(254),s=n(201),l=a("species"),u=RegExp.prototype;e.exports=function(e,t,n,c){var f=a(e),d=!i(function(){var t={};return t[f]=function(){return 7},7!=""[e](t)}),p=d&&!i(function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[l]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t});if(!d||!p||n){var h=/./[f],m=t(f,""[e],function(e,t,n,r,i){var a=t.exec;return a===o||a===u.exec?d&&!i?{done:!0,value:h.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}});r(String.prototype,e,m[0]),r(u,f,m[1])}c&&s(u[f],"sham",!0)}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(91),o=n(569),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t){e.exports=!1},function(e,t,n){var r=n(164),o=n(1256),i=n(562),a=n(252);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,u=0;u<n.length;u++){var c=n[u];r(e,c)||s(e,c,l(t,c))}}},function(e,t,n){var r=n(340),o=n(1258),i=n(1261),a=n(165);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(91);e.exports=r},function(e,t,n){var r=n(573),o=n(341),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(249),o=n(574),i=n(1260),a=function(e){return function(t,n,a){var s,l=r(t),u=o(l.length),c=i(a,u);if(e&&n!=n){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(253),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(92),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==u||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){"use strict";var r=n(165);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){var r=n(92),o=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=r(function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")}),t.BROKEN_CARET=r(function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")})},function(e,t,n){var r,o=n(165),i=n(1266),a=n(341),s=n(339),l=n(1268),u=n(568),c=n(571),f=c("IE_PROTO"),d=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){var e,t=u("iframe");return t.style.display="none",l.appendChild(t),t.src=String("javascript:"),e=t.contentWindow.document,e.open(),e.write(p("document.F=Object")),e.close(),e.F},v=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}v=r?h(r):m();for(var e=a.length;e--;)delete v.prototype[a[e]];return v()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[f]=e):n=v(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(163),o=n(252),i=n(165),a=n(1267);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},function(e,t,n){var r=n(573),o=n(341);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(340);e.exports=r("document","documentElement")},function(e,t,n){var r=n(92);e.exports=r(function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})},function(e,t,n){var r=n(92);e.exports=r(function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},function(e,t,n){var r,o,i=n(91),a=n(1272),s=i.process,l=s&&s.versions,u=l&&l.v8;u?(r=u.split("."),o=r[0]<4?1:r[0]+r[1]):a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){var r=n(340);e.exports=r("navigator","userAgent")||""},function(e,t,n){var r=n(575);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){"use strict";var r=n(1275).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(253),o=n(250),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(i=s.charCodeAt(l),i<55296||i>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536)}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){var r=n(566),o=Math.floor,i="".replace,a=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,s=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,l,u,c){var f=n+e.length,d=l.length,p=s;return void 0!==u&&(u=r(u),p=a),i.call(c,p,function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(f);case"<":a=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>d){var c=o(s/10);return 0===c?r:c<=d?void 0===l[c-1]?i.charAt(1):l[c-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a})}},function(e,t,n){var r=n(334),o=n(342);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){e.exports=n(548)},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(162)),a=o(n(166)),s=o(n(200)),l=o(n(576)),u=n(255),c=function(e){return e.json().then(function(e){return s.default.reject(e)})},f=function(){function e(e){return t.apply(this,arguments)}var t=(0,a.default)(i.default.mark(function e(t){var n,r,o,a,s,f,d;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.domain,r=t.interactionHandle,o=t.stateHandle,a=t.version,s="".concat(n,"/idp/idx/introspect"),f=o?{stateToken:o}:{interactionHandle:r},d={"content-type":"application/ion+json; okta-version=".concat(a),accept:"application/ion+json; okta-version=".concat(a)},e.abrupt("return",(0,u.request)(s,{headers:d,body:(0,l.default)(f)}).then(function(e){return e.ok?e.json():c(e)}));case 5:case"end":return e.stop()}},e)}));return e}(),d=f;t.default=d},function(e,t,n){var r=n(7),o=n(29),i=n(83),a=n(128).f,s=n(44),l=o(function(){a(1)});r({target:"Object",stat:!0,forced:!s||l,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){n(1282);var r=n(22);e.exports=r.Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(7),o=n(44),i=n(1283),a=n(83),s=n(128),l=n(152);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,u=i(r),c={},f=0;u.length>f;)void 0!==(n=o(r,t=u[f++]))&&l(c,t,n);return c}})},function(e,t,n){var r=n(95),o=n(320),i=n(295),a=n(53);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){n(1285);var r=n(22),o=r.Object,i=e.exports=function(e,t){return o.defineProperties(e,t)};o.defineProperties.sham&&(i.sham=!0)},function(e,t,n){var r=n(7),o=n(44);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(311)})},function(e,t,n){e.exports=n(517)},function(e,t,n){"use strict";n(80)(t,"__esModule",{value:!0}),t.userAgentHeaders=t.getUserAgent=void 0;var r=function(){return"okta-idx-js/".concat("0.20.0")};t.getUserAgent=r;var o=function(){return{"X-Okta-User-Agent-Extended":r()}};t.userAgentHeaders=o},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(162));n(1289);var a=o(n(583)),s=o(n(166)),l=o(n(200)),u=o(n(349)),c=o(n(590)),f=o(n(591)),d=n(255),p=function(e){return e.json().then(function(e){return l.default.reject(e)})},h=function(){function e(e){return t.apply(this,arguments)}var t=(0,s.default)(i.default.mark(function e(t){var n,r,o,s,l,h,m,v,g,y,b,_;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.clientId,o=t.baseUrl,s=t.scopes,l=void 0===s?["openid","email"]:s,h=t.redirectUri,m=t.codeChallenge,v=t.codeChallengeMethod,g=t.state,y="".concat(o,"/v1/interact"),b=(0,u.default)(n=(0,c.default)({client_id:r,scope:l.join(" "),redirect_uri:h,code_challenge:m,code_challenge_method:v,state:g})).call(n,function(e){var t,n=(0,a.default)(e,2),r=n[0],o=n[1];return(0,f.default)(t="".concat(r,"=")).call(t,encodeURIComponent(o))}).join("&"),_={"content-type":"application/x-www-form-urlencoded"},e.abrupt("return",(0,d.request)(y,{headers:_,body:b}).then(function(e){return e.ok?e.json():p(e)}).then(function(e){return e.interaction_handle}));case 5:case"end":return e.stop()}},e)}));return e}(),m=h;t.default=m},function(e,t,n){"use strict";var r=n(561),o=n(564),i=n(249),a=n(1290),s=[].join,l=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:l||!u},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(92);e.exports=function(e,t){var n=[][e];return!!n&&r(function(){n.call(null,t||function(){throw 1},1)})}},function(e,t,n){function r(e){if(o(e))return e}var o=n(584);e.exports=r},function(e,t,n){function r(e,t){if(void 0!==a&&i(Object(e))){var n=[],r=!0,s=!1,l=void 0;try{for(var u,c=o(e);!(r=(u=c.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){s=!0,l=e}finally{try{r||null==c.return||c.return()}finally{if(s)throw l}}return n}}var o=n(585),i=n(586),a=n(348);e.exports=r},function(e,t,n){e.exports=n(524)},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(1296)),a=function(e){switch(e){case"1.0.0":return i.default;case void 0:case null:throw new Error("Api version is required");default:throw new Error("Unknown api version: ".concat(e,".  Use an exact semver version."))}},s=a;t.default=s},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(592)),a={makeIdxState:i.default};t.default=a},function(e,t,n){e.exports=n(494)},function(e,t,n){function r(e){return o(e)||i(e)||a(e)||s()}var o=n(1299),i=n(1300),a=n(587),s=n(1301);e.exports=r},function(e,t,n){function r(e){if(o(e))return i(e)}var o=n(584),i=n(589);e.exports=r},function(e,t,n){function r(e){if(void 0!==a&&i(Object(e)))return o(e)}var o=n(588),i=n(586),a=n(348);e.exports=r},function(e,t){function n(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},function(e,t,n){"use strict";function r(e,t){var n=i(e);if(a){var r=a(e);t&&(r=s(r).call(r,function(t){return l(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;u(o=r(Object(n),!0)).call(o,function(t){(0,v.default)(e,t,n[t])})}else if(c)f(e,c(n));else{var i;u(i=r(Object(n))).call(i,function(t){d(e,t,l(n,t))})}}return e}var i=n(256),a=n(343),s=n(257),l=n(344),u=n(202),c=n(345),f=n(346),d=n(80),p=n(90);d(t,"__esModule",{value:!0}),t.parseIdxResponse=t.parseNonRemediations=void 0,n(203);var h,m=p(n(583)),v=p(n(347)),g=p(n(1303)),y=p(n(1310)),b=p(n(594)),_=p(n(349)),w=p(n(202)),x=p(n(257)),E=p(n(256)),T=p(n(590)),S=p(n(591)),k=p(n(350)),O=n(1315),A=p(n(595)),C=n(1325),R=(0,b.default)((0,_.default)(h=["remediation","context"]).call(h,function(e){return[e,!0]})),I=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={},a={};return(0,w.default)(t=(0,x.default)(n=(0,E.default)(e)).call(n,function(e){return!R[e]})).call(t,function(t){var n;if("object"!==(0,y.default)(e[t])||!e[t])return void(a[t]=e[t]);if(e[t].rel)return void(i[e[t].name]=(0,A.default)(e[t],r));var s=e[t],l=s.value,u=s.type,c=(0,g.default)(s,["value","type"]);if(a[t]=o({type:u},c),"object"!==u)return void(a[t].value=l);a[t].value={},(0,w.default)(n=(0,T.default)(l)).call(n,function(e){var n=(0,m.default)(e,2),o=n[0],s=n[1];if(s.rel){var l;i[(0,S.default)(l="".concat(t,"-")).call(l,o.name||o)]=(0,A.default)(s,r)}else a[t].value[o]=s})}),{context:a,actions:i}};t.parseNonRemediations=I;var N=function e(t,n){var r;(0,w.default)(r=(0,E.default)(n)).call(r,function(r){if("relatesTo"===r){var o=(0,k.default)(n[r])?n[r][0]:n[r];if("string"==typeof o){var i=(0,C.JSONPath)({path:o,json:t})[0];if(i)return void(n[r]=i)}}if((0,k.default)(n[r])){var a;(0,w.default)(a=n[r]).call(a,function(n){return e(t,n)})}})},M=function(e,t){var n=(0,O.generateRemediationFunctions)([e],t),r=n[e.name];return o(o({},e),{},{action:r})},P=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(null===(t=e.remediation)||void 0===t?void 0:t.value)||[];(0,w.default)(r).call(r,function(t){return N(e,t)});var o=(0,_.default)(r).call(r,function(e){return M(e,n)}),i=I(e,n);return{remediations:o,context:i.context,actions:i.actions}};t.parseIdxResponse=P},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,s=a(e,t);if(i){var l=i(e);for(r=0;r<l.length;r++)n=l[r],o(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}var o=n(593),i=n(1305),a=n(1307);e.exports=r},function(e,t,n){var r=n(490);e.exports=r},function(e,t,n){e.exports=n(1306)},function(e,t,n){var r=n(578);e.exports=r},function(e,t,n){function r(e,t){if(null==e)return{};var n,r,a={},s=i(e);for(r=0;r<s.length;r++)n=s[r],o(t).call(t,n)>=0||(a[n]=e[n]);return a}var o=n(593),i=n(1308);e.exports=r},function(e,t,n){e.exports=n(1309)},function(e,t,n){var r=n(458);e.exports=r},function(e,t,n){function r(t){"@babel/helpers - typeof";return e.exports=r="function"==typeof i&&"symbol"==typeof o?function(e){return typeof e}:function(e){return e&&"function"==typeof i&&e.constructor===i&&e!==i.prototype?"symbol":typeof e},r(t)}var o=n(1311),i=n(348);e.exports=r},function(e,t,n){e.exports=n(477)},function(e,t,n){var r=n(1313);e.exports=r},function(e,t,n){n(191),n(1314);var r=n(22);e.exports=r.Object.fromEntries},function(e,t,n){var r=n(7),o=n(119),i=n(152);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,function(e,n){i(t,e,n)},void 0,!0),t}})},function(e,t,n){"use strict";var r=n(80),o=n(90);r(t,"__esModule",{value:!0}),t.generateRemediationFunctions=void 0,n(203);var i=o(n(594)),a=o(n(349)),s=o(n(595)),l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,i.default)((0,a.default)(e).call(e,function(e){return[e.name,(0,s.default)(e,t)]}))};t.generateRemediationFunctions=l},function(e,t,n){"use strict";function r(e,t){var n;if(void 0===l||null==u(e)){if(c(e)||(n=o(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,d=!1;return{s:function(){n=f(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){d=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(d)throw a}}}}function o(e,t){var n;if(e){if("string"==typeof e)return i(e,t);var r=a(n=Object.prototype.toString.call(e)).call(n,8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?s(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n(1317);var a=n(1320),s=n(1321),l=n(1322),u=n(1323),c=n(350),f=n(585),d=n(80),p=n(90);d(t,"__esModule",{value:!0}),t.divideActionParamsByMutability=void 0;var h=p(n(350));n(203);var m=function(e){return!1!==e.mutable},v=function(e){var t={},n=[],o={};if(!e.value)return n.push(e),{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:o};var i,a=r(e.value);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(m(s)){var l;n.push(s),null!==(l=s.value)&&void 0!==l&&l&&(t[s.name]=s.value)}else{var u;o[s.name]=null!==(u=s.value)&&void 0!==u?u:""}}}catch(e){a.e(e)}finally{a.f()}return{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:o}},g=function(e){e=(0,h.default)(e)?e:[e];var t,n=[],o={},i={},a=r(e);try{for(a.s();!(t=a.n()).done;){var s=t.value,l=v(s),u=l.defaultParamsForAction,c=l.neededParamsForAction,f=l.immutableParamsForAction;n.push(c),o[s.name]=u,i[s.name]=f}}catch(e){a.e(e)}finally{a.f()}return{defaultParams:o,neededParams:n,immutableParams:i}};t.divideActionParamsByMutability=g},function(e,t,n){var r=n(351),o=n(335),i=n(1318);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(e,t,n){"use strict";var r=n(351),o=n(1319);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(351),o=n(334),i=n(254),a=i("toStringTag"),s="Arguments"==o(function(){return arguments}()),l=function(e,t){try{return e[t]}catch(e){}};e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=l(t=Object(e),a))?n:s?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},function(e,t,n){e.exports=n(497)},function(e,t,n){e.exports=n(471)},function(e,t,n){e.exports=n(500)},function(e,t,n){e.exports=n(1324)},function(e,t,n){n(104),n(139);var r=n(193);e.exports=r},function(e,t,n){"use strict";function r(e){"@babel/helpers - typeof";return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}function a(e){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u(e,t,n){return u=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=Function.bind.apply(e,r),i=new o;return n&&s(i,n.prototype),i},u.apply(null,arguments)}function c(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function f(e){var t="function"==typeof Map?new Map:void 0;return(f=function(e){function n(){return u(e,arguments,a(this).constructor)}if(null===e||!c(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),s(n,e)})(e)}function d(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?d(e):t}function h(e){var t=l();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function m(e){return v(e)||g(e)||y(e)||_()}function v(e){if(Array.isArray(e))return b(e)}function g(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function y(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function w(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=y(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function x(e,t){return e=e.slice(),e.push(t),e}function E(e,t){return t=t.slice(),t.unshift(e),t}function T(e,t,n,o,i){if(!(this instanceof T))try{return new T(e,t,n,o,i)}catch(e){if(!e.avoidNew)throw e;return e.value}"string"==typeof e&&(i=o,o=n,n=t,t=e,e=null);var a=e&&"object"===r(e);if(e=e||{},this.json=e.json||n,this.path=e.path||t,this.resultType=e.resultType||"value",this.flatten=e.flatten||!1,this.wrap=!S.call(e,"wrap")||e.wrap,this.sandbox=e.sandbox||{},this.preventEval=e.preventEval||!1,this.parent=e.parent||null,this.parentProperty=e.parentProperty||null,this.callback=e.callback||o||null,this.otherTypeCallback=e.otherTypeCallback||i||function(){throw new TypeError("You must supply an otherTypeCallback callback option with the @other() operator.")},!1!==e.autostart){var s={path:a?e.path:t};a?"json"in e&&(s.json=e.json):s.json=n;var l=this.evaluate(s);if(!l||"object"!==r(l))throw new k(l);return l}}Object.defineProperty(t,"__esModule",{value:!0}),n.d(t,"JSONPath",function(){return T});var S=Object.prototype.hasOwnProperty,k=function(e){function t(e){var r;return o(this,t),r=n.call(this,'JSONPath should not be called with "new" (it prevents return of (unwrapped) scalar values)'),r.avoidNew=!0,r.value=e,r.name="NewError",r}i(t,e);var n=h(t);return t}(f(Error));T.prototype.evaluate=function(e,t,n,o){var i=this,a=this.parent,s=this.parentProperty,l=this.flatten,u=this.wrap;if(this.currResultType=this.resultType,this.currPreventEval=this.preventEval,this.currSandbox=this.sandbox,n=n||this.callback,this.currOtherTypeCallback=o||this.otherTypeCallback,t=t||this.json,(e=e||this.path)&&"object"===r(e)&&!Array.isArray(e)){if(!e.path&&""!==e.path)throw new TypeError('You must supply a "path" property when providing an object argument to JSONPath.evaluate().');if(!S.call(e,"json"))throw new TypeError('You must supply a "json" property when providing an object argument to JSONPath.evaluate().');t=e.json,l=S.call(e,"flatten")?e.flatten:l,this.currResultType=S.call(e,"resultType")?e.resultType:this.currResultType,this.currSandbox=S.call(e,"sandbox")?e.sandbox:this.currSandbox,u=S.call(e,"wrap")?e.wrap:u,this.currPreventEval=S.call(e,"preventEval")?e.preventEval:this.currPreventEval,n=S.call(e,"callback")?e.callback:n,this.currOtherTypeCallback=S.call(e,"otherTypeCallback")?e.otherTypeCallback:this.currOtherTypeCallback,a=S.call(e,"parent")?e.parent:a,s=S.call(e,"parentProperty")?e.parentProperty:s,e=e.path}if(a=a||null,s=s||null,Array.isArray(e)&&(e=T.toPathString(e)),(e||""===e)&&t){var c=T.toPathArray(e);"$"===c[0]&&c.length>1&&c.shift(),this._hasParentSelector=null;var f=this._trace(c,t,["$"],a,s,n).filter(function(e){return e&&!e.isParentSelector});return f.length?u||1!==f.length||f[0].hasArrExpr?f.reduce(function(e,t){var n=i._getPreferredOutput(t);return l&&Array.isArray(n)?e=e.concat(n):e.push(n),e},[]):this._getPreferredOutput(f[0]):u?[]:void 0}},T.prototype._getPreferredOutput=function(e){var t=this.currResultType;switch(t){case"all":var n=Array.isArray(e.path)?e.path:T.toPathArray(e.path);return e.pointer=T.toPointer(n),e.path="string"==typeof e.path?e.path:T.toPathString(e.path),e;case"value":case"parent":case"parentProperty":return e[t];case"path":return T.toPathString(e[t]);case"pointer":return T.toPointer(e.path);default:throw new TypeError("Unknown result type")}},T.prototype._handleCallback=function(e,t,n){if(t){var r=this._getPreferredOutput(e);e.path="string"==typeof e.path?e.path:T.toPathString(e.path),t(r,n,e)}},T.prototype._trace=function(e,t,n,o,i,a,s,l){function u(e){Array.isArray(e)?e.forEach(function(e){h.push(e)}):h.push(e)}var c,f=this;if(!e.length)return c={path:n,value:t,parent:o,parentProperty:i,hasArrExpr:s},this._handleCallback(c,a,"value"),c;var d=e[0],p=e.slice(1),h=[];if(("string"!=typeof d||l)&&t&&S.call(t,d))u(this._trace(p,t[d],x(n,d),t,d,a,s));else if("*"===d)this._walk(d,p,t,n,o,i,a,function(e,t,n,r,o,i,a,s){u(f._trace(E(e,n),r,o,i,a,s,!0,!0))});else if(".."===d)u(this._trace(p,t,n,o,i,a,s)),this._walk(d,p,t,n,o,i,a,function(e,t,n,o,i,a,s,l){"object"===r(o[e])&&u(f._trace(E(t,n),o[e],x(i,e),o,e,l,!0))});else{if("^"===d)return this._hasParentSelector=!0,{path:n.slice(0,-1),expr:p,isParentSelector:!0};if("~"===d)return c={path:x(n,d),value:i,parent:o,parentProperty:null},this._handleCallback(c,a,"property"),c;if("$"===d)u(this._trace(p,t,n,null,null,a,s));else if(/^(\x2D?[0-9]*):(\x2D?[0-9]*):?([0-9]*)$/.test(d))u(this._slice(d,p,t,n,o,i,a));else if(0===d.indexOf("?(")){if(this.currPreventEval)throw new Error("Eval [?(expr)] prevented in JSONPath expression.");this._walk(d,p,t,n,o,i,a,function(e,t,n,r,o,i,a,s){f._eval(t.replace(/^\?\(((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)\)$/,"$1"),r[e],e,o,i,a)&&u(f._trace(E(e,n),r,o,i,a,s,!0))})}else if("("===d[0]){if(this.currPreventEval)throw new Error("Eval [(expr)] prevented in JSONPath expression.");u(this._trace(E(this._eval(d,t,n[n.length-1],n.slice(0,-1),o,i),p),t,n,o,i,a,s))}else if("@"===d[0]){var m=!1,v=d.slice(1,-2);switch(v){case"scalar":t&&["object","function"].includes(r(t))||(m=!0);break;case"boolean":case"string":case"undefined":case"function":r(t)===v&&(m=!0);break;case"integer":!Number.isFinite(t)||t%1||(m=!0);break;case"number":Number.isFinite(t)&&(m=!0);break;case"nonFinite":"number"!=typeof t||Number.isFinite(t)||(m=!0);break;case"object":t&&r(t)===v&&(m=!0);break;case"array":Array.isArray(t)&&(m=!0);break;case"other":m=this.currOtherTypeCallback(t,n,o,i);break;case"null":null===t&&(m=!0);break;default:throw new TypeError("Unknown value type "+v)}if(m)return c={path:n,value:t,parent:o,parentProperty:i},this._handleCallback(c,a,"value"),c}else if("`"===d[0]&&t&&S.call(t,d.slice(1))){var g=d.slice(1);u(this._trace(p,t[g],x(n,g),t,g,a,s,!0))}else if(d.includes(",")){var y,b=d.split(","),_=w(b);try{for(_.s();!(y=_.n()).done;){var T=y.value;u(this._trace(E(T,p),t,n,o,i,a,!0))}}catch(e){_.e(e)}finally{_.f()}}else!l&&t&&S.call(t,d)&&u(this._trace(p,t[d],x(n,d),t,d,a,s,!0))}if(this._hasParentSelector)for(var k=0;k<h.length;k++){var O=h[k];if(O&&O.isParentSelector){var A=this._trace(O.expr,t,O.path,o,i,a,s);if(Array.isArray(A)){h[k]=A[0];for(var C=A.length,R=1;R<C;R++)k++,h.splice(k,0,A[R])}else h[k]=A}}return h},T.prototype._walk=function(e,t,n,o,i,a,s,l){if(Array.isArray(n))for(var u=n.length,c=0;c<u;c++)l(c,e,t,n,o,i,a,s);else n&&"object"===r(n)&&Object.keys(n).forEach(function(r){l(r,e,t,n,o,i,a,s)})},T.prototype._slice=function(e,t,n,r,o,i,a){if(Array.isArray(n)){var s=n.length,l=e.split(":"),u=l[2]&&Number.parseInt(l[2])||1,c=l[0]&&Number.parseInt(l[0])||0,f=l[1]&&Number.parseInt(l[1])||s;c=c<0?Math.max(0,c+s):Math.min(s,c),f=f<0?Math.max(0,f+s):Math.min(s,f);for(var d=[],p=c;p<f;p+=u){this._trace(E(p,t),n,r,o,i,a,!0).forEach(function(e){d.push(e)})}return d}},T.prototype._eval=function(e,t,n,r,o,i){e.includes("@parentProperty")&&(this.currSandbox._$_parentProperty=i,e=e.replace(/@parentProperty/g,"_$_parentProperty")),e.includes("@parent")&&(this.currSandbox._$_parent=o,e=e.replace(/@parent/g,"_$_parent")),e.includes("@property")&&(this.currSandbox._$_property=n,e=e.replace(/@property/g,"_$_property")),e.includes("@path")&&(this.currSandbox._$_path=T.toPathString(r.concat([n])),e=e.replace(/@path/g,"_$_path")),e.includes("@root")&&(this.currSandbox._$_root=this.json,e=e.replace(/@root/g,"_$_root")),/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/.test(e)&&(this.currSandbox._$_v=t,e=e.replace(/@([\t-\r \)\.\[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF])/g,"_$_v$1"));try{return this.vm.runInNewContext(e,this.currSandbox)}catch(t){throw new Error("jsonPath: "+t.message+": "+e)}},T.cache={},T.toPathString=function(e){for(var t=e,n=t.length,r="$",o=1;o<n;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(r+=/^[\*0-9]+$/.test(t[o])?"["+t[o]+"]":"['"+t[o]+"']");return r},T.toPointer=function(e){for(var t=e,n=t.length,r="",o=1;o<n;o++)/^(~|\^|@(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\(\))$/.test(t[o])||(r+="/"+t[o].toString().replace(/~/g,"~0").replace(/\//g,"~1"));return r},T.toPathArray=function(e){var t=T.cache;if(t[e])return t[e].concat();var n=[],r=e.replace(/@(?:null|boolean|number|string|integer|undefined|nonFinite|scalar|array|object|function|other)\(\)/g,";$&;").replace(/['\[](\??\((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?\))['\]]/g,function(e,t){return"[#"+(n.push(t)-1)+"]"}).replace(/\[["']((?:(?!['\]])[\s\S])*)["']\]/g,function(e,t){return"['"+t.replace(/\./g,"%@%").replace(/~/g,"%%@@%%")+"']"}).replace(/~/g,";~;").replace(/["']?\.["']?(?!(?:(?!\[)[\s\S])*\])|\[["']?/g,";").replace(/%@%/g,".").replace(/%%@@%%/g,"~").replace(/(?:;)?(\^+)(?:;)?/g,function(e,t){return";"+t.split("").join(";")+";"}).replace(/;;;|;;/g,";..;").replace(/;$|'?\]|'$/g,""),o=r.split(";").map(function(e){var t=e.match(/#([0-9]+)/);return t&&t[1]?n[t[1]]:e});return t[e]=o,t[e].concat()};var O=function(e,t,n){for(var r=e.length,o=0;o<r;o++){n(e[o])&&t.push(e.splice(o--,1)[0])}};T.prototype.vm={runInNewContext:function(e,t){var n=Object.keys(t),r=[];O(n,r,function(e){return"function"==typeof t[e]});var o=n.map(function(e,n){return t[e]});e=r.reduce(function(e,n){var r=t[n].toString();return/function/.test(r)||(r="function "+r),"var "+n+"="+r+";"+e},"")+e,/(["'])use strict\1/.test(e)||n.includes("arguments")||(e="var arguments = undefined;"+e),e=e.replace(/;[\t-\r \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]*$/,"");var i=e.lastIndexOf(";"),a=i>-1?e.slice(0,i+1)+" return "+e.slice(i+1):" return "+e;return u(Function,m(n).concat([a])).apply(void 0,m(o))}}},function(e,t,n){"use strict";function r(e){return o.apply(this,arguments)}function o(){return o=(0,l.default)(a.default.mark(function e(t){var n,o;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.get("proxyIdxResponse")){e.next=2;break}return e.abrupt("return",p(t));case 2:if(t.get("overrideExistingStateToken")&&d.default.removeStateHandle(),!t.get("useInteractionCodeFlow")){e.next=5;break}return e.abrupt("return",(0,c.interact)(t));case 5:if(!(n=d.default.getStateHandle())){e.next=8;break}return e.abrupt("return",(0,f.introspect)(t,n).then(function(e){return t.set("stateToken",n),e}).catch(function(){return d.default.removeStateHandle(),r(t)}));case 8:if(!(o=t.get("stateToken"))){e.next=11;break}return e.abrupt("return",(0,f.introspect)(t,o));case 11:throw new u.default.ConfigError('Set "useInteractionCodeFlow" to true in configuration to enable the interaction_code" flow for self-hosted widget.');case 12:case"end":return e.stop()}},e)})),o.apply(this,arguments)}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.startLoginFlow=r;var a=i(n(120)),s=i(n(195)),l=i(n(121)),u=i(n(55)),c=n(557),f=n(596),d=i(n(248)),p=function(){var e=(0,l.default)(a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s.default.resolve({rawIdxState:t.get("proxyIdxResponse"),context:t.get("proxyIdxResponse"),neededToProceed:[]}));case 1:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}()},function(e,t,n){"use strict";function r(e){i.default.client.interceptors.request.use(function(t){var n=e.get("deviceFingerprint");n&&(t.headers["X-Device-Fingerprint"]=n),t.headers["X-Okta-User-Agent-Extended"]="okta-signin-widget-".concat(a.default.version)})}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.configIdxJsClient=r;var i=o(n(333)),a=o(n(238))},function(e,t,n){"use strict";function r(e,t,n){return a._.compose(u.default,(0,i.default)(l.default).call(l.default,{},e),(0,i.default)(s.default).call(s.default,{},e))(t,n)}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=r;var i=o(n(27)),a=n(2),s=o(n(1329)),l=o(n(1330)),u=o(n(142))},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(40)),a=r(n(17)),s=r(n(32)),l=r(n(39)),u=r(n(18)),c=r(n(161)),f=n(2),d=n(24),p=function(e){return f._.isObject(e)},h=function(e){return!!e.messages},m=function(e){var t={};return f._.each(e,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"remediation"!==n&&("array"===e.type&&(t[n]={value:e.value}),"object"===e.type&&(t[n]=e.value))}),t},v=function(e){var t,n=[],r=1===e.neededToProceed.length&&"skip"===e.neededToProceed[0].name;return(f._.isEmpty(e.neededToProceed)||r)&&(e.context.success?n.push({name:e.context.success.name,href:e.context.success.href,value:[]}):e.context.messages?n.push({name:d.FORMS.TERMINAL,value:[]}):e.context.deviceEnrollment&&n.push({name:d.FORMS.DEVICE_ENROLLMENT_TERMINAL,value:[]})),{remediations:(0,u.default)(t=[]).call(t,n,(0,c.default)(e.neededToProceed))}},g=function(e,t){var n=t.remediations;if(0===(0,l.default)(n).call(n,function(e){return"identify"===e.name}).length)return t;var r=e.get("idps");if((0,s.default)(r)){var o,c={};(0,a.default)(n).call(n,function(e){e.name===d.FORMS.REDIRECT_IDP&&e.idp&&(c[e.idp.id]=!0)});var f=e.get("baseUrl"),p=t.idx.context.stateHandle,h=(0,i.default)(o=(0,l.default)(r).call(r,function(e){return!c[e.id]})).call(o,function(e){var t,n,r={id:e.id,name:e.text},o=(0,u.default)(t=(0,u.default)(n="".concat(f,"/sso/idps/")).call(n,e.id,"?stateToken=")).call(t,p);return e.className&&(r.className=e.className),{name:d.FORMS.REDIRECT_IDP,type:e.type,idp:r,href:o}});t.remediations=(0,u.default)(n).call(n,h)}return t},y=function(e,t,n){if((0,s.default)(t.remediations)){var r,o=(0,l.default)(r=t.remediations).call(r,function(e){return e.name===d.FORMS.REDIRECT_IDP});if(1!==o.length||1!==t.remediations.length)return;if(e.get("oauth2Enabled")&&!n)return;var i={name:d.FORMS.SUCCESS_REDIRECT,href:o[0].href,value:[]};t.remediations=[i]}},b=function(e){if((0,s.default)(e.remediations)){var t;(0,a.default)(t=e.remediations).call(t,function(t){var n,r;if(t.name===d.FORMS.REDIRECT_IDP&&(null===t||void 0===t?void 0:null===(n=t.relatesTo)||void 0===n?void 0:null===(r=n.value)||void 0===r?void 0:r.key)===d.AUTHENTICATOR_KEY.IDP){var o=Object.prototype.hasOwnProperty.call(e,"currentAuthenticatorEnrollment");t.name=o?"challenge-authenticator":"enroll-authenticator"}t.name===d.FORMS.REDIRECT_IDP&&t.type===d.IDP_FORM_TYPE.X509&&(t.name=d.FORMS.PIV_IDP)})}},_=function(e){var t=e.idx.context;return t.failure&&"failure-redirect"===t.failure.name},w=function(e,t){var n=t.idx.context,r=e.get("oauth2Enabled"),o="always"===e.get("redirect");if(!r||o){var i={name:d.FORMS.FAILURE_REDIRECT,href:n.failure.href,value:[]};t.remediations=[i]}},x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!p(t.rawIdxState))return null;var r=m(t.rawIdxState),i=v(t),a=(0,o.default)({},r,i,{idx:t});return h(a)&&_(a)&&w(e,a),g(e,a),b(a),h(a)||y(e,a,n),a},E=x;t.default=E},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(39)),a=r(n(40)),s=n(2),l=r(n(1331)),u=r(n(555)),c=r(n(1332)),f={string:c.default,boolean:l.default,object:u.default},d=function e(t,n,r){var l,u,c=(0,a.default)(l=(0,i.default)(u=s._.chain(n.value||[])).call(u,function(e){return!1!==e.visible})).call(l,function(e){var t,n;if(e.form?n=e.form:(null===(t=e.value)||void 0===t?void 0:t.form)&&(n=e.value.form),n){var r,i=e.name;return(0,a.default)(r=n.value).call(r,function(e){return(0,o.default)({},e,{name:i+"."+e.name})})}return e}).flatten().value();return(0,a.default)(c).call(c,function(i){var a={"label-top":!0,"data-se":"o-form-fieldset-".concat(i.name)},s=i.type||"string",l=f[s],u=l(i,n,t,e,r);return(0,o.default)({},i,a,u)})},p=function(e,t){if(t){var n;t.remediations=(0,a.default)(n=t.remediations).call(n,function(n){return n.uiSchema=d(t,n,e),n})}return t},h=p;t.default=h},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(40)),i=r(n(52)),a=n(24),s=function(e){return{placeholder:e.label,label:!1,modelType:e.type,type:"checkbox",required:e.required||!1}},l=function(e,t){var n;if((0,i.default)(n=[a.FORMS.CONSENT_ENDUSER,a.FORMS.CONSENT_ADMIN]).call(n,t.name)){var r,l=(0,o.default)(r=t.scopes).call(r,function(e){return{name:e.name,displayName:e.label,description:e.desc}});return{type:t.name,scopes:l,options:e.options}}return s(e)},u=l;t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(32)),i=r(n(10)),a=r(n(77)),s=r(n(17)),l=n(2),u=n(24),c=function(e){var t={};return(0,s.default)(e).call(e,function(e){var n=e.value,r=e.label;t[n]=r}),t},f=function(e){return{type:"password",params:{showPasswordToggle:e.get("showPasswordToggle")}}},d=function(){return{type:"captcha"}},p=function(e){return(0,a.default)(e).call(e,"methodType")>=0||(0,a.default)(e).call(e,"channel")>=0},h=function(e,t,n,r,a){var s={type:"text"};return!0===e.secret&&(0,i.default)(s,f(a)),e.hint===u.HINTS.CAPTCHA&&(0,i.default)(s,d()),(0,o.default)(e.options)&&(p(e.name)?(s.type="radio",e.options[0]&&e.options[0].value&&(e.value=e.options[0].value)):(s.type="select",s.wide=!0,s.options=c(e.options))),!1===e.required&&"text"===s.type&&(s.sublabel=(0,l.loc)("oie.form.field.optional","login")),s},m=h;t.default=m},function(e,t,n){"use strict";var r,o,i,a,s,l,u,c=n(1),f=c(n(18)),d=c(n(88)),p=c(n(79)),h=n(24),m=n(5),v=c(n(604)),g=c(n(1342)),y=c(n(1343)),b=c(n(357)),_=c(n(1344)),w=c(n(1345)),x=c(n(609)),E=c(n(1346)),T=c(n(1350)),S=c(n(1351)),k=c(n(1352)),O=c(n(1353)),A=c(n(1354)),C=c(n(1357)),R=c(n(1358)),I=c(n(1359)),N=c(n(1360)),M=c(n(614)),P=c(n(1361)),L=c(n(259)),D=c(n(1362)),j=c(n(1363)),F=c(n(1364)),U=c(n(1365)),B=c(n(1366)),V=c(n(1388)),q=c(n(615)),H=c(n(1389)),W=c(n(1390)),z=c(n(1391)),K=c(n(1392)),$=c(n(1394)),G=c(n(1397)),Y=c(n(1399)),J=c(n(1400)),Q=c(n(1403)),X=c(n(1404)),Z=c(n(1405)),ee=c(n(1410)),te=c(n(1411)),ne=c(n(1412)),re=c(n(1413)),oe=c(n(1414)),ie=c(n(1417)),ae=c(n(1418)),se=c(n(1419)),le=c(n(1420)),ue=c(n(1421)),ce=c(n(1422)),fe=c(n(1423)),de=c(n(1424)),pe=c(n(1425)),he=c(n(1426)),me=c(n(1427)),ve=c(n(1429)),ge=c(n(618)),ye=c(n(1430)),be=(u={},(0,d.default)(u,h.FORMS.IDENTIFY,(0,d.default)({},"_",v.default)),(0,d.default)(u,h.FORMS.IDENTIFY_RECOVERY,(0,d.default)({},"_",y.default)),(0,d.default)(u,h.FORMS.DEVICE_CHALLENGE_POLL,(0,d.default)({},"_",S.default)),(0,d.default)(u,h.FORMS.LAUNCH_AUTHENTICATOR,(0,d.default)({},"_",O.default)),(0,d.default)(u,h.FORMS.DEVICE_APPLE_SSO_EXTENSION,(r={},(0,d.default)(r,"_",k.default),(0,d.default)(r,h.AUTHENTICATOR_KEY.OV,re.default),r)),(0,d.default)(u,h.FORMS.CANCEL_TRANSACTION,(0,d.default)({},"_",k.default)),(0,d.default)(u,h.FORMS.ENROLL_PROFILE,(0,d.default)({},"_",C.default)),(0,d.default)(u,h.FORMS.ENROLL_PROFILE_UPDATE,(0,d.default)({},"_",R.default)),(0,d.default)(u,h.FORMS.POLL,(0,d.default)({},"_",w.default)),(0,d.default)(u,h.FORMS.REQUEST_ACTIVATION,(0,d.default)({},"_",I.default)),(0,d.default)(u,h.FORMS.SELECT_AUTHENTICATOR_ENROLL,(0,d.default)({},"_",N.default)),(0,d.default)(u,h.FORMS.AUTHENTICATOR_ENROLLMENT_DATA,(0,d.default)({},h.AUTHENTICATOR_KEY.PHONE,V.default)),(0,d.default)(u,h.FORMS.CONSENT_ADMIN,(0,d.default)({},"_",x.default)),(0,d.default)(u,h.FORMS.CONSENT_ENDUSER,(0,d.default)({},"_",E.default)),(0,d.default)(u,h.FORMS.CONSENT_EMAIL_CHALLENGE,(0,d.default)({},"_",T.default)),(0,d.default)(u,h.FORMS.ENROLL_AUTHENTICATOR,(o={},(0,d.default)(o,h.AUTHENTICATOR_KEY.DUO,le.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.EMAIL,G.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.GOOGLE_OTP,oe.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.IDP,fe.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.ON_PREM,ae.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.PASSWORD,L.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.PHONE,B.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.RSA,ae.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.SECURITY_QUESTION,W.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.SYMANTEC_VIP,pe.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.WEBAUTHN,K.default),(0,d.default)(o,h.AUTHENTICATOR_KEY.YUBIKEY,ve.default),o)),(0,d.default)(u,h.FORMS.CHALLENGE_AUTHENTICATOR,(i={},(0,d.default)(i,h.AUTHENTICATOR_KEY.CUSTOM_OTP,de.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.DUO,ue.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.EMAIL,Y.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.GOOGLE_OTP,ie.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.IDP,ce.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.ON_PREM,se.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.OV,ee.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.PASSWORD,D.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.PHONE,q.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.RSA,se.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.SECURITY_QUESTION,z.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.SYMANTEC_VIP,pe.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.WEBAUTHN,$.default),(0,d.default)(i,h.AUTHENTICATOR_KEY.YUBIKEY,ve.default),i)),(0,d.default)(u,h.FORMS.ENROLL_POLL,(0,d.default)({},h.AUTHENTICATOR_KEY.OV,J.default)),(0,d.default)(u,h.FORMS.SELECT_ENROLLMENT_CHANNEL,(0,d.default)({},h.AUTHENTICATOR_KEY.OV,Q.default)),(0,d.default)(u,h.FORMS.ENROLLMENT_CHANNEL_DATA,(0,d.default)({},h.AUTHENTICATOR_KEY.OV,X.default)),(0,d.default)(u,h.FORMS.REENROLL_AUTHENTICATOR,(0,d.default)({},h.AUTHENTICATOR_KEY.PASSWORD,j.default)),(0,d.default)(u,h.FORMS.REENROLL_AUTHENTICATOR_WARNING,(0,d.default)({},h.AUTHENTICATOR_KEY.PASSWORD,F.default)),(0,d.default)(u,h.FORMS.RESET_AUTHENTICATOR,(0,d.default)({},h.AUTHENTICATOR_KEY.PASSWORD,U.default)),(0,d.default)(u,h.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,(0,d.default)({},"_",M.default)),(0,d.default)(u,h.FORMS.SELECT_AUTHENTICATOR_UNLOCK,(0,d.default)({},"_",P.default)),(0,d.default)(u,h.FORMS.CHALLENGE_POLL,(a={},(0,d.default)(a,h.AUTHENTICATOR_KEY.OV,Z.default),(0,d.default)(a,h.AUTHENTICATOR_KEY.CUSTOM_APP,ge.default),a)),(0,d.default)(u,h.FORMS.RESEND,(s={},(0,d.default)(s,h.AUTHENTICATOR_KEY.OV,te.default),(0,d.default)(s,h.AUTHENTICATOR_KEY.CUSTOM_APP,ye.default),s)),(0,d.default)(u,h.FORMS.AUTHENTICATOR_VERIFICATION_DATA,(l={},(0,d.default)(l,h.AUTHENTICATOR_KEY.PHONE,H.default),(0,d.default)(l,h.AUTHENTICATOR_KEY.OV,ne.default),l)),(0,d.default)(u,h.FORMS.FAILURE_REDIRECT,(0,d.default)({},"_",_.default)),(0,d.default)(u,h.FORMS.SUCCESS_REDIRECT,(0,d.default)({},"_",_.default)),(0,d.default)(u,h.FORMS.REDIRECT_IDP,(0,d.default)({},"_",g.default)),(0,d.default)(u,h.FORMS.PIV_IDP,(0,d.default)({},"_",me.default)),(0,d.default)(u,h.FORMS.DEVICE_ENROLLMENT_TERMINAL,(0,d.default)({},"_",A.default)),(0,d.default)(u,h.FORMS.USER_CODE,(0,d.default)({},"_",he.default)),(0,d.default)(u,h.FORMS.TERMINAL,(0,d.default)({},"_",b.default)),u);e.exports={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_",n=be[e];if(!n)return p.default.warn("Cannot find customized View for ".concat(e,".")),m.BaseView;var r=n[t]||n._;if(!r){var o;return p.default.warn((0,f.default)(o="Cannot find customized View for ".concat(e," + ")).call(o,t,".")),m.BaseView}return r}}},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=n(2),a=n(5),s=r(n(205)),l=i.View.extend({initialize:function(){a.BaseView.prototype.initialize.apply(this,arguments);var e=this.options.additionalOptions,t=this.options.name,n=(0,o.default)({},this.options,{type:"link","aria-expanded":!1,clickHandler:function(){(0,i.$)(e.selector).slideToggle(200,function(){(0,i.$)(".js-".concat(t)).attr("aria-expanded",(0,i.$)(e.selector).is(":visible"))})}});this.add(s.default,{options:n}),this.add(e.view)},postRender:function(){var e=this.options.additionalOptions;this.$(e.selector).hide()}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=n(24),l=r(n(1336)),u=a.View.extend({className:"authenticator-row clearfix",template:i.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text">'+e.escapeExpression((i=null!=(i=a(n,"description")||(null!=t?a(t,"description"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:o,loc:{start:{line:1,column:276},end:{line:1,column:291}}}):i))+"</p>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'data-se="'+e.escapeExpression((i=null!=(i=a(n,"buttonDataSeAttr")||(null!=t?a(t,"buttonDataSeAttr"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"buttonDataSeAttr",hash:{},data:o,loc:{start:{line:1,column:369},end:{line:1,column:389}}}):i))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="authenticator-icon-container"><div class="factor-icon authenticator-icon '+c((s=null!=(s=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"iconClassName",hash:{},data:i,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):s))+'"></div></div><div class="authenticator-description"><h3 class="authenticator-label no-translate">'+c((s=null!=(s=f(n,"label")||(null!=t?f(t,"label"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"label",hash:{},data:i,loc:{start:{line:1,column:200},end:{line:1,column:209}}}):s))+"</h3>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"description"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:214},end:{line:1,column:302}}}))?a:"")+'<div class="authenticator-button" '+(null!=(a=f(n,"if").call(l,null!=t?f(t,"buttonDataSeAttr"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:336},end:{line:1,column:397}}}))?a:"")+"></div></div>"},useData:!0}),children:function(){return[[(0,a.createButton)({className:"button select-factor",title:function(){return(0,a.loc)("oie.enroll.authenticator.button.text","login")},click:function(){this.model.trigger("selectAutheticator",this.model.get("value"))}}),".authenticator-button"]]},minimize:function(){this.$el.addClass("authenticator-row-min")}}),c=a.ListView.extend({className:"authenticator-enroll-list authenticator-list",item:u,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectAutheticator",function(e){this.model.set(this.options.name,e),this.options.appState.trigger("saveForm",this.model)}),this.hasOptionalFactors=this.options.appState.hasRemediationObject(s.FORMS.SKIP),this.hasOptionalFactors&&this.add(l.default)},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="list-content"><div class="authenticator-list-title">'+e.escapeExpression((i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):i))+"</div></div>"},useData:!0}),getTemplateData:function(){return{title:this.hasOptionalFactors?(0,a.loc)("oie.setup.optional","login"):(0,a.loc)("oie.setup.required","login")}}});t.default=c},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=n(24),i=(0,r.createButton)({className:"button-primary button skip-all",title:function(){return(0,r.loc)("oie.optional.authenticator.button.title","login")},click:function(){this.options.appState.trigger("invokeAction",o.FORMS.SKIP)}}),a=i;t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(13)),a=r(n(26)),s=r(n(4)),l=n(2),u=r(n(11)),c=n(107),f="https://hcaptcha.com/1/api.js?onload=".concat("OktaSignInWidgetOnCaptchaLoaded","&render=explicit"),d="https://www.google.com/recaptcha/api.js?onload=".concat("OktaSignInWidgetOnCaptchaLoaded","&render=explicit"),p=l.View.extend({className:"captcha-view",template:s.default.template({1:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div id ="captcha-container" class="'+u((i=null!=(i=c(n,"className")||(null!=t?c(t,"className"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:76}}}):i))+'" data-sitekey="'+u((i=null!=(i=c(n,"siteKey")||(null!=t?c(t,"siteKey"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"siteKey",hash:{},data:o,loc:{start:{line:1,column:92},end:{line:1,column:103}}}):i))+'" data-callback="'+u((i=null!=(i=c(n,"onCaptchaSolvedCallback")||(null!=t?c(t,"onCaptchaSolvedCallback"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"onCaptchaSolvedCallback",hash:{},data:o,loc:{start:{line:1,column:120},end:{line:1,column:147}}}):i))+'" data-size="invisible"></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isCaptchaConfigured"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:184}}}))?i:""},useData:!0}),getTemplateData:function(){if(this.captchaConfig){var e="HCAPTCHA"===this.captchaConfig.type?"h-captcha":"g-recaptcha";return{siteKey:this.captchaConfig.siteKey,isCaptchaConfigured:!0,onCaptchaSolvedCallback:"OktaSignInWidgetOnCaptchaSolved",className:e}}return{}},initialize:function(){this.options.appState.get("captcha")&&(this.captchaConfig=this.options.appState.get("captcha"),this._addCaptcha())},remove:function(){l.View.prototype.remove.apply(this,arguments),"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha=void 0:"RECAPTCHA_V2"===this.captchaConfig.type&&(window.grecaptcha=void 0)},_addCaptcha:function(){var e=this,t=function(t){var n,r=e._getCaptchaOject(),o=(0,i.default)(n=e.$el).call(n,"#captcha-container").attr("data-captcha-id");r.reset(o);var a=e.options.name;e.model.set(a,t),e.options.appState.trigger("saveForm",e.model)},n=function(){var n,r;if(!(0,i.default)(n=e.$el).call(n,"#captcha-container").attr("data-captcha-id")){var o=e._getCaptchaOject();e.model.set(e.options.name,"tempToken");var a=o.render("captcha-container",{sitekey:e.captchaConfig.siteKey,callback:t});(0,i.default)(r=e.$el).call(r,"#captcha-container").attr("data-captcha-id",a),e.options.appState.trigger("onCaptchaLoaded",o),"HCAPTCHA"===e.captchaConfig.type&&e._addHCaptchaFooter()}};window.OktaSignInWidgetOnCaptchaLoaded=n,window.OktaSignInWidgetOnCaptchaSolved=t,"HCAPTCHA"===this.captchaConfig.type?this._loadCaptchaLib(this._getCaptchaUrl(f)):"RECAPTCHA_V2"===this.captchaConfig.type&&this._loadCaptchaLib(this._getCaptchaUrl(d))},_loadCaptchaLib:function(e){var t=document.createElement("script");t.src=e,t.async=!0,t.defer=!0,document.getElementById(u.default.WIDGET_CONTAINER_ID).appendChild(t)},_addHCaptchaFooter:function(){var e=document.getElementsByClassName(c.WIDGET_FOOTER_CLASS);if(e.length){var t=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="captcha-footer"><span class="footer-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$2:"<a href='https://hcaptcha.com/terms' target='_blank'>$2</a>",$1:"<a href='https://hcaptcha.com/privacy' target='_blank'>$1</a>",bundle:"login",code:"hcaptcha.footer.label"},data:o,loc:{start:{line:1,column:54},end:{line:1,column:238}}}))+"</span></div>"},useData:!0});e[0].insertAdjacentHTML("beforeend",t())}},_getCaptchaOject:function(){return"HCAPTCHA"===this.captchaConfig.type?window.hcaptcha:window.grecaptcha},_getCaptchaUrl:function(e){var t,n=this.options.settings.get("language");return(0,o.default)(t="".concat(e,"&hl=")).call(t,n||navigator.language)}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(18)),a=r(n(4)),s=n(2),l=r(n(597)),u=r(n(206)),c=r(n(602)),f=r(n(598)),d=n(603),p=s.View.extend({Header:l.default,Body:u.default,Footer:f.default,className:function(){var e,t=this.options.appState,n=t.get("currentFormName"),r=t.get("authenticatorKey"),o=t.get("authenticatorMethodType"),a=t.get("isPasswordRecoveryFlow"),s=(0,d.getClassNameMapping)(n,r,o,a);return(0,i.default)(e=["siw-main-view"]).call(e,s).join(" ")},template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="siw-main-header"></div><div class="siw-main-body"></div><div class="siw-main-footer"></div>'},useData:!0}),preRender:function(){s.View.prototype.preRender.apply(this,arguments),null!==this.Header&&this.add(this.Header,{selector:".siw-main-header",options:this.options}),this.renderForm(),this.add(this.Footer,{selector:".siw-main-footer",options:this.options})},renderForm:function(){var e,t=this;this.form&&(this.form.remove(),e=this.form.model.toJSON({verbose:!0}));var n=this.createModelClass(this.options.currentViewState,e,this.settings),r=new n({formName:this.options.currentViewState.name});e||(e=r.toJSON({verbose:!0})),this.model=r,this.form=this.add(this.Body,{selector:".siw-main-body",options:(0,o.default)({},this.options,{model:r,optionUiSchemaConfig:e})}).last(),s._.each(r.attributes,function(e,n){n.match(/sub_schema_local_[^ ]+/)&&t.listenTo(r,"change:".concat(n),function(){t.renderForm()})})},createModelClass:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return c.default.create(e,t)}});t.default=p},function(e,t,n){"use strict";function r(){return navigator.userAgent}function o(e){return e.match(/windows phone|iemobile|wpdesktop/i)}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(78)),s=i(n(97)),l=i(n(195)),u=n(2),c={isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(e){var t=this;return new l.default(function(n,i){function l(){h.off(),h.remove(),window.removeEventListener("message",f,!1)}function c(e){l(),i(e)}function f(t){if(v.isMessageFromCorrectSource(h,t)){if(clearTimeout(m),!t||!t.data||t.origin!==e.oktaDomainUrl)return void c("no data");try{var r=JSON.parse(t.data);r&&"FingerprintServiceReady"===r.type?d({type:"GetFingerprint"}):r&&"FingerprintAvailable"===r.type?(l(),n(r.fingerprint)):c("no data")}catch(e){}}}function d(t){var n=h[0].contentWindow;n&&n.postMessage((0,s.default)(t),e.oktaDomainUrl)}var p=r();if(!p)return i("user agent is not defined");if(o(p))return i("device fingerprint is not supported on Windows phones");var h,m,v=t;window.addEventListener("message",f,!1),h=(0,u.$)("<iframe>",{style:"display: none;",src:e.oktaDomainUrl+"/auth/services/devicefingerprint"}),e.element.append(h),m=(0,a.default)(function(){c("service not available")},2e3)})}};t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(17)),a=r(n(4)),s=n(2),l=s.View.extend({className:"sign-in-with-idp",template:a.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"},data:o,loc:{start:{line:1,column:64},end:{line:1,column:118}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"isSecondaryIdpDisplay"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:138}}}))?i:"")+'<div class="okta-idps-container"></div>'+(null!=(i=s(n,"if").call(a,null!=t?s(t,"isPrimaryIdpDisplay"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:177},end:{line:1,column:313}}}))?i:"")},useData:!0}),initialize:function(){var e,t=this;(0,i.default)(e=this.options.idpButtons).call(e,function(e){t.add((0,s.createButton)(e),".okta-idps-container")})},getTemplateData:function(){var e=s.View.prototype.getTemplateData.apply(this,arguments),t=this.options.idpButtons.length>0;return(0,o.default)(e,{isPrimaryIdpDisplay:t&&this.options.isPrimaryIdpDisplay,isSecondaryIdpDisplay:t&&!this.options.isPrimaryIdpDisplay})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(17)),a=r(n(4)),s=n(2),l=s.View.extend({className:"custom-buttons",template:a.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="separation-line"><span>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"socialauth.divider.text"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:112}}}))+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"addSeparateLine"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:132}}}))?i:"")+'<div class="okta-custom-buttons-container primary-auth-container"></div>'},useData:!0}),initialize:function(e){var t,n=this;(0,i.default)(t=e.customButtons).call(t,function(e){n.add((0,s.createButton)(e),".okta-custom-buttons-container")})},getTemplateData:function(){var e=s.View.prototype.getTemplateData.apply(this,arguments);return(0,o.default)(e,{addSeparateLine:this.options.addSeparateLine})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(604)),a=i.default.extend({render:function(){var e,t;i.default.prototype.render.apply(this,arguments),(0,o.default)(e=this.$el).call(e,".sign-in-with-idp .separation-line").hide(),(0,o.default)(t=this.$el).call(t,".button-primary").hide()}});t.default=a},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=n(5),i=o.BaseForm.extend({title:function(){return(0,r.loc)("password.reset.title.generic","login")},save:function(){return(0,r.loc)("oform.next","login")}}),a=o.BaseView.extend({Body:i,Footer:o.BaseFooter});t.default=a},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o=n(5),i=n(24),a=o.BaseForm.extend({title:function(){var e=(0,r.loc)("oie.success.text.signingIn","login"),t=this.options.appState.get("app"),n=this.options.appState.get("user");if(!this.redirectView||this.redirectView===i.INTERSTITIAL_REDIRECT_VIEW.NONE)return e=(0,r.loc)("oie.success.text.signingIn.with.ellipsis","login");if(r._.isEmpty(t))return e;var o=t.label,a=t.name,s=n||{},l=s.identifier,u=o||a;return u&&l?e=(0,r.loc)("oie.success.text.signingIn.with.appName.and.identifier","login",[u,l]):u&&(e=(0,r.loc)("oie.success.text.signingIn.with.appName","login",[u])),e},noButtonBar:!0,initialize:function(){o.BaseForm.prototype.initialize.apply(this,arguments),this.redirectView=this.settings.get("interstitialBeforeLoginRedirect"),this.model.set("useRedirect",!0),this.trigger("save",this.model)},render:function(){o.BaseForm.prototype.render.apply(this,arguments),this.redirectView===i.INTERSTITIAL_REDIRECT_VIEW.DEFAULT&&this.add('<div class="okta-waiting-spinner"></div>')}}),s=o.BaseView.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(155)),i=r(n(13)),a=r(n(78)),s=r(n(10)),l=r(n(4)),u=n(2),c=n(5),f=n(107),d=u.View.extend({template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="ion-messages-container"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"countDownCounterValue",bundle:"login",code:"poll.form.message"},data:o,loc:{start:{line:1,column:39},end:{line:1,column:157}}}))+'</p></div><div class="hide okta-waiting-spinner"></div>'},useData:!0}),getTemplateData:function(){return{countDownCounterValue:this.options}}}),p=c.BaseForm.extend((0,s.default)({title:function(){return(0,u.loc)("poll.form.title","login")},noButtonBar:!0,initialize:function(){var e=this;c.BaseForm.prototype.initialize.apply(this,arguments);var t=this.options.appState.getCurrentViewState().refresh;this.refreshTimeout=(0,a.default)(function(){var t;(0,i.default)(t=e.$el).call(t,".okta-waiting-spinner").show(),(0,a.default)(function(){return e.saveForm(e.model)},200)},t)},render:function(){c.BaseForm.prototype.render.apply(this,arguments),this.countDownCounterValue=Math.ceil(this.options.appState.getCurrentViewState().refresh/f.MS_PER_SEC),this.add(new d(this.countDownCounterValue)),this.startCountDown(".ion-messages-container span",f.MS_PER_SEC)},remove:function(){c.BaseForm.prototype.remove.apply(this,arguments),clearTimeout(this.refreshTimeout)},triggerAfterError:function(){var e;c.BaseForm.prototype.triggerAfterError.apply(this,arguments),clearTimeout(this.refreshTimeout),this.stopCountDown(),(0,i.default)(e=this.$el).call(e,".o-form-fieldset-container").empty()},startCountDown:function(e,t){var n,r=this;this.countDown&&clearInterval(this.countDown),this.counterEl=(0,i.default)(n=this.$el).call(n,e),this.countDown=(0,o.default)(function(){"0"!==r.counterEl.text()&&r.counterEl.text(r.counterEl.text()-1)},t,this)},stopCountDown:function(){this.countDown&&clearInterval(this.countDown)}})),h=c.BaseView.extend({Body:p});t.default=h},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(609)),a=r(n(1347)),s=r(n(1348)),l=r(n(1349)),u=i.default.extend({Header:s.default,Footer:a.default,postRender:function(){var e,t=(0,o.default)(e=this.$el).call(e,".scope-list"),n=(new l.default).render().el;t.after(n)}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"consent-footer",template:o.default.template({1:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="terms-of-service" href="'+u((a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:l,"function"==typeof a?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a))+'" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:o,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(i=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:158},end:{line:1,column:226}}}))?i:"")},2:function(e,t,n,r,o){return'<span class="no-translate">&#8226</span>'},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+l((i=null!=(i=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?i:s,"function"==typeof i?i.call(a,{name:"privacyPolicy",hash:{},data:o,loc:{start:{line:1,column:286},end:{line:1,column:303}}}):i))+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:o,loc:{start:{line:1,column:321},end:{line:1,column:382}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"termsOfService"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:233}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:233},end:{line:1,column:393}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options.appState,t=e.get("app");return{termsOfService:t.termsOfService&&t.termsOfService.href,privacyPolicy:t.privacyPolicy&&t.privacyPolicy.href}}}),s=a;t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(610)),a=i.default.extend({titleText:function(){return(0,o.loc)("oie.consent.scopes.enduser.title","login")},hasIssuer:!1});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"consent-description detail-row",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(13)),a=r(n(39)),s=r(n(4)),l=n(2),u=n(5),c=r(n(611)),f=r(n(14)),d=r(n(607)),p=s.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--desktop"></i><div>'+e.escapeExpression((i=null!=(i=a(n,"browser")||(null!=t?a(t,"browser"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"browser",hash:{},data:o,loc:{start:{line:1,column:131},end:{line:1,column:142}}}):i))+"</div></div>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enduser-email-consent--info no-translate"><i class="enduser-email-consent--icon icon--app"></i><div>'+e.escapeExpression((i=null!=(i=a(n,"app")||(null!=t?a(t,"app"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"app",hash:{},data:o,loc:{start:{line:1,column:284},end:{line:1,column:291}}}):i))+"</div></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"browser"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:161}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"app"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:161},end:{line:1,column:310}}}))?i:"")},useData:!0}),h=c.default.extend({title:function(){return(0,l.loc)("oie.consent.enduser.title","login")},save:function(){return(0,l.loc)("oie.consent.enduser.accept.label","login")},cancel:function(){return(0,l.loc)("oie.consent.enduser.deny.label","login")},initialize:function(){u.BaseForm.prototype.initialize.apply(this,arguments);var e=p(this.model.pick("browser","app"));this.add(e)},getUISchema:function(){var e=u.BaseForm.prototype.getUISchema.apply(this,arguments);return(0,a.default)(e).call(e,function(e){return"consent"!==e.name})}}),m=f.default.extend({className:"enduser-email-consent",Header:d.default,buttonOrder:["cancel","save"],postRender:function(){var e,t=(0,i.default)(e=this.$el).call(e,".o-form-button-bar");(0,i.default)(t).call(t,".button-primary").removeClass("button-primary")},Body:h,createModelClass:function(e){var t=e.requestInfo,n=f.default.prototype.createModelClass.apply(this,arguments),r=(0,i.default)(t).call(t,function(e){return"browser"===e.name}),a=(0,i.default)(t).call(t,function(e){return"appName"===e.name}),s=(0,o.default)({browser:{type:"string",value:null===r||void 0===r?void 0:r.value},app:{type:"string",value:null===a||void 0===a?void 0:a.value}},n.prototype.local);return n.extend({local:s,toJSON:function(){return{consent:this.get("consent")}}})}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(52)),i=r(n(17)),a=r(n(195)),s=r(n(97)),l=r(n(18)),u=r(n(10)),c=n(2),f=n(5),d=r(n(79)),p=r(n(56)),h=r(n(11)),m=n(107),v=r(n(205)),g=n(612),y=r(n(613)),b=n(122),_=function(e){var t=(0,u.default)({method:"GET",contentType:"application/json"},e);return c.$.ajax(t)},w=f.BaseFormWithPolling.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){f.BaseFormWithPolling.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.onPollingFail),(0,g.doChallenge)(this),this.startPolling()},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling();var e={label:(0,c.loc)("loopback.polling.cancel.link.with.form.error","login")};this.options.appState.trigger("updateFooterLink",e)},remove:function(){f.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopProbing(),this.stopPolling()},getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value},doLoopback:function(e){var t,n=this,r=void 0!==e.domain?e.domain:"",o=void 0!==e.ports?e.ports:[],u=void 0!==e.challengeRequest?e.challengeRequest:"",c=void 0!==e.probeTimeoutMillis?e.probeTimeoutMillis:100,f=!1,h=0,v=function(e){var n,o;return(0,l.default)(n=(0,l.default)(o="".concat(r,":")).call(o,t,"/")).call(n,e)},g=function(){return _({url:v("probe"),timeout:p.default.isAndroid()?3e3:c})},y=function(){return _({url:v("challenge"),method:"POST",data:(0,s.default)({challengeRequest:u}),timeout:m.CHALLENGE_TIMEOUT})},b=function(){d.default.error("Something unexpected happened while we were checking port ".concat(t,"."))},w=function(){++h===o.length&&(d.default.error("No available ports. Loopback server failed and polling is cancelled."),n.options.appState.trigger("invokeAction",m.CANCEL_POLLING_ACTION))},x=function(){return n.checkPortXhr=g(),n.checkPortXhr.done(function(){return n.probingXhr=y(),n.probingXhr.done(function(){return f=!0,n.trigger("save",n.model)}).fail(function(e){var t;if(d.default.error((0,l.default)(t="OV challenge response with HTTP code ".concat(e.status," ")).call(t,e.responseText)),"timeout"===e.statusText)return f=!0,n.trigger("save",n.model);w()})}).fail(b)},E=a.default.resolve();(0,i.default)(o).call(o,function(e){E=E.then(function(){if(!f)return t=e,x()}).catch(function(){d.default.error("Authenticator is not listening on port ".concat(t,".")),w()})})},doCustomURI:function(){this.ulDom&&this.ulDom.remove(),this.ulDom=this.add('\n        <iframe src="'.concat(this.customURI,'" id="custom-uri-container" style="display:none;"></iframe>\n      ')).last()},stopProbing:function(){this.checkPortXhr&&this.checkPortXhr.abort(),this.probingXhr&&this.probingXhr.abort()}}),x=f.BaseFooter.extend({initialize:function(){this.listenTo(this.options.appState,"updateFooterLink",this.handleUpdateFooterLink),this.isFallbackApproach()?f.BaseFooter.prototype.initialize.apply(this,arguments):this.backLink=this.add(v.default,{options:{name:"cancel-authenticator-challenge",label:(0,c.loc)("loopback.polling.cancel.link","login"),actionPath:m.CANCEL_POLLING_ACTION}}).last()},handleUpdateFooterLink:function(e){this.isFallbackApproach()||(this.backLink&&this.backLink.remove(),this.backLink=this.add(v.default,{options:(0,b.getSignOutLink)(this.options.settings,e)[0]}).last())},isFallbackApproach:function(){var e;return(0,o.default)(e=[h.default.CUSTOM_URI_CHALLENGE,h.default.UNIVERSAL_LINK_CHALLENGE,h.default.APP_LINK_CHALLENGE]).call(e,this.options.currentViewState.relatesTo.value.challengeMethod)}}),E=f.BaseView.extend({Header:y.default,Body:w,Footer:x});t.default=E},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(2),i=r.BaseForm.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return(0,o.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e,t,n=this;r.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",function(){n.$(".spinner").hide()}),this.add('<div class="spinner"></div>');var o="get"===(null===(e=this.options.currentViewState)||void 0===e?void 0:null===(t=e.method)||void 0===t?void 0:t.toLowerCase());this.model.set("useRedirect",o),this.trigger("save",this.model)}}),a=r.BaseView.extend({Body:i});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=n(5),a=r(n(605)),s=r(n(606)),l=i.BaseForm.extend({title:function(){return(0,o.loc)("primaryauth.title","login")},noButtonBar:!0,initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments),this.add(s.default,{selector:".o-form-fieldset-container",bubble:!1,prepend:!0,options:{isRequired:!0}})}}),u=a.default.extend({hasBackToSignInLink:!1}),c=i.BaseView.extend({Body:l,Footer:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=n(5),a=r(n(1355)),s=r(n(1356)),l=r(n(11)),u=r(n(613)),c=i.BaseForm.extend({noButtonBar:!0,className:"device-enrollment-terminal"}),f=c.extend({title:function(){return(0,o.loc)("enroll.title.oda","login")},initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments),this.add(a.default)}}),d=c.extend({title:function(){return(0,o.loc)("enroll.title.mdm","login")},initialize:function(){i.BaseForm.prototype.initialize.apply(this,arguments),this.add(s.default)}}),p=i.BaseView.extend({initialize:function(){i.BaseView.prototype.initialize.apply(this,arguments);var e=this.options.appState.get("deviceEnrollment");switch(this.enrollmentType=(e.name||"").toLowerCase(),this.enrollmentType){case l.default.ODA:this.Header=u.default,this.Body=f;break;case l.default.MDM:this.Body=d}}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(26)),i=r(n(4)),a=n(2),s=r(n(11)),l=a.internal.views.components.Notification,u=a.internal.util.Clipboard,c=a.View.extend({template:i.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step1"},data:o,loc:{start:{line:1,column:100},end:{line:1,column:147}}}))+'<a data-clipboard-text="'+l((i=null!=(i=u(n,"appStoreLink")||(null!=t?u(t,"appStoreLink"):t))?i:s,"function"==typeof i?i.call(a,{name:"appStoreLink",hash:{},data:o,loc:{start:{line:1,column:171},end:{line:1,column:187}}}):i))+'" class="button link-button copy-clipboard-button">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:o,loc:{start:{line:1,column:238},end:{line:1,column:288}}}))+"</a></li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step2"},data:o,loc:{start:{line:1,column:301},end:{line:1,column:348}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step3"},data:o,loc:{start:{line:1,column:357},end:{line:1,column:404}}}))+"</li>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<li>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.oda.android.step1"},data:o,loc:{start:{line:1,column:437},end:{line:1,column:492}}}))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="explanation">'+c((f(n,"i18n")||t&&f(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.p1"},data:i,loc:{start:{line:1,column:23},end:{line:1,column:75}}}))+"</p><ol>"+(null!=(a=f(n,"if").call(l,null!=t?f(t,"isIOS"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:83},end:{line:1,column:416}}}))?a:"")+(null!=(a=f(n,"if").call(l,null!=t?f(t,"isAndroid"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:416},end:{line:1,column:504}}}))?a:"")+"<li>"+c((f(n,"i18n")||t&&f(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step1"},data:i,loc:{start:{line:1,column:508},end:{line:1,column:555}}}))+"</li><li>"+c((f(n,"i18n")||t&&f(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step2"},data:i,loc:{start:{line:1,column:564},end:{line:1,column:611}}}))+'<p class="org-signin-link"><span class="no-translate">'+c((s=null!=(s=f(n,"signInUrl")||(null!=t?f(t,"signInUrl"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"signInUrl",hash:{},data:i,loc:{start:{line:1,column:665},end:{line:1,column:678}}}):s))+'</span></p><a data-clipboard-text="'+c((s=null!=(s=f(n,"signInUrl")||(null!=t?f(t,"signInUrl"):t))?s:u,"function"===(0,o.default)(s)?s.call(l,{name:"signInUrl",hash:{},data:i,loc:{start:{line:1,column:713},end:{line:1,column:726}}}):s))+'" class="button link-button copy-org-clipboard-button">'+c((f(n,"i18n")||t&&f(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.org.copyLink"},data:i,loc:{start:{line:1,column:781},end:{line:1,column:835}}}))+"</a></li><li>"+c((f(n,"i18n")||t&&f(t,"i18n")||u).call(l,{name:"i18n",hash:{bundle:"login",code:"enroll.oda.step6"},data:i,loc:{start:{line:1,column:848},end:{line:1,column:895}}}))+"</li></ol>"},useData:!0}),getTemplateData:function(){var e=this.options.appState.get("deviceEnrollment"),t=(e.platform||"").toLowerCase(),n=t===s.default.IOS;return{signInUrl:e.signInUrl,isIOS:n,isAndroid:t===s.default.ANDROID,appStoreLink:n?s.default.OKTA_VERIFY_APPLE_APP_STORE_URL:null}},postRender:function(){var e=this;u.attach(".copy-clipboard-button").done(function(){var t=new l({message:(0,a.loc)("enroll.mdm.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1}),u.attach(".copy-org-clipboard-button").done(function(){var t=new l({message:(0,a.loc)("enroll.oda.org.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1})}});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.internal.views.components.Notification,s=i.internal.util.Clipboard,l=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<div>"+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.explanation.mdm"},data:o,loc:{start:{line:1,column:5},end:{line:1,column:58}}}))+"</div><ol><li>"+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step1"},data:o,loc:{start:{line:1,column:72},end:{line:1,column:119}}}))+'<a data-clipboard-text="'+u((a=null!=(a=c(n,"enrollmentLink")||(null!=t?c(t,"enrollmentLink"):t))?a:l,"function"==typeof a?a.call(s,{name:"enrollmentLink",hash:{},data:o,loc:{start:{line:1,column:143},end:{line:1,column:161}}}):a))+'" class="button link-button copy-clipboard-button">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.copyLink"},data:o,loc:{start:{line:1,column:212},end:{line:1,column:262}}}))+"</a></li><li>"+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.mdm.step2"},data:o,loc:{start:{line:1,column:275},end:{line:1,column:322}}}))+"</li><li>"+(null!=(i=(c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{arguments:"vendor",bundle:"login",code:"enroll.mdm.step3"},data:o,loc:{start:{line:1,column:331},end:{line:1,column:399}}}))?i:"")+"</li></ol>"},useData:!0}),getTemplateData:function(){return this.options.appState.get("deviceEnrollment")},postRender:function(){var e=this;s.attach(".copy-clipboard-button").done(function(){var t=new a({message:(0,i.loc)("enroll.mdm.copyLink.success","login"),level:"success"});return e.el.prepend(t.render().el),!1})}});t.default=l},function(e,t,n){"use strict";function r(e,t){var n=(0,p.default)(e);if(d.default){var r=(0,d.default)(e);t&&(r=(0,f.default)(r).call(r,function(t){return(0,c.default)(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};if(t%2){var o;(0,u.default)(o=r(Object(n),!0)).call(o,function(t){(0,m.default)(e,t,n[t])})}else if(l.default)(0,s.default)(e,(0,l.default)(n));else{var i;(0,u.default)(i=r(Object(n))).call(i,function(t){(0,a.default)(e,t,(0,c.default)(n,t))})}}return e}var i=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var a=i(n(0)),s=i(n(353)),l=i(n(354)),u=i(n(17)),c=i(n(355)),f=i(n(39)),d=i(n(356)),p=i(n(117)),h=i(n(97)),m=i(n(88)),v=n(2),g=n(5),y=n(24),b=g.BaseForm.extend({title:function(){return(0,v.loc)("oie.registration.form.title","login")},save:function(){return(0,v.loc)("oie.registration.form.submit","login")},saveForm:function(){var e=this;this.settings.preRegistrationSubmit(this.model.toJSON(),function(t){e.model.attributes=o(o({},e.model.attributes),e.model.parse(t)),g.BaseForm.prototype.saveForm.call(e,e.model)},function(t){return e.model.trigger("error",e.model,{responseJSON:t})})}}),_=g.BaseFooter.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject(y.FORMS.SELECT_IDENTIFY)&&e.push({type:"link",label:(0,v.loc)("haveaccount","login"),name:"back",actionPath:y.FORMS.SELECT_IDENTIFY}),e}}),w=g.BaseView.extend({Body:b,Footer:_,createModelClass:function(e,t,n){var r=this,i=g.BaseView.prototype.createModelClass.apply(this,arguments),a=JSON.parse((0,h.default)(e.uiSchema));return n.parseRegistrationSchema(a,function(n){v._.isEqual(n,e.uiSchema)||(e.uiSchema=n,i=g.BaseView.prototype.createModelClass.call(r,e,t))},function(e){i=i.extend({local:o({parseSchemaError:{value:e,type:"object"}},i.prototype.local)})}),i},postRender:function(){g.BaseView.prototype.postRender.apply(this,arguments);var e=this.model.get("parseSchemaError");e&&this.model.trigger("error",this.model,{responseJSON:e})}});t.default=w},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=r(n(17)),a=r(n(4)),s=n(2),l=n(5),u=n(122),c=l.BaseForm.extend({className:"profile-update",title:function(){return(0,s.loc)("oie.profile.additional.title","login")},save:function(){return(0,s.loc)("enroll.choices.submit.finish","login")},getUISchema:function(){var e=l.BaseForm.prototype.getUISchema.apply(this,arguments);return(0,i.default)(e).call(e,function(e){"userProfile.secondEmail"===e.name&&(e.explain=s.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"oie.profile.additional.secondemail.subtitle"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:112}}}))?i:""},useData:!0})}))}),e},initialize:function(){l.BaseForm.prototype.initialize.apply(this,arguments)}}),f=l.BaseFooter.extend({className:"auth-footer side-by-side-links",links:function(){var e=this.options.currentViewState.uiSchema,t=(0,o.default)(e).call(e,function(e){return!1===e.required});if(e.length===t.length)return(0,u.getSkipSetupLink)(this.options.appState,(0,s.loc)("oie.enroll.skip.profile","login"));this.$el.removeClass(".side-by-side-links")}}),d=l.BaseView.extend({Body:c,Footer:f});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=n(5),s=n(2),l=a.BaseForm.extend({title:function(){return(0,s.loc)("oie.activation.request.email.title.expire","login")},save:function(){return(0,s.loc)("oie.activation.request.email.button","login")},showMessages:function(){var e=this,t=this.options.appState.get("messages")||{};if((0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container”></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;"ERROR"===t.class?e.add((0,s.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}}),u=a.BaseView.extend({Body:l});t.default=u},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(2),i=r.BaseForm.extend({title:function(){return(0,o.loc)("oie.select.authenticators.enroll.title","login")},subtitle:function(){return this.options.settings.get("brandName")?(0,o.loc)("oie.select.authenticators.enroll.subtitle.custom","login",[this.options.settings.get("brandName")]):(0,o.loc)("oie.select.authenticators.enroll.subtitle","login")},noButtonBar:!0}),a=r.BaseView.extend({Body:i});t.default=a},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(5),o=n(2),i=r.BaseForm.extend({noButtonBar:!0,title:function(){return(0,o.loc)("unlockaccount","login")}}),a=r.BaseView.extend({initialize:function(){r.BaseView.prototype.initialize.apply(this,arguments),this.Body=i}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(13)),a=n(2),s=n(5),l=r(n(358)),u=r(n(14)),c=n(122),f=n(142),d=s.BaseForm.extend({title:function(){return(0,a.loc)("oie.password.challenge.title","login")},save:function(){return(0,a.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=s.BaseForm.prototype.getUISchema.apply(this,arguments),t=this.options.settings,n=(0,i.default)(e).call(e,function(e){return"credentials.passcode"===e.name});return n&&(0,f.isCustomizedI18nKey)("primaryauth.password.tooltip",t)&&(n.explain=(0,a.loc)("primaryauth.password.tooltip","login"),n["explain-top"]=!0),e}}),p=l.default.extend({links:function(){var e,t=l.default.prototype.links.apply(this,arguments);return t=(0,o.default)(e=(0,c.getForgotPasswordLink)(this.options.appState,this.options.settings)).call(e,t),t}}),h=u.default.extend({Body:d,Footer:p});t.default=h},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(259)),a=i.default.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?(0,o.loc)("password.expired.title.specific","login",[this.options.settings.get("brandName")]):(0,o.loc)("password.expired.title.generic","login")},save:function(){return(0,o.loc)("password.expired.submit","login")},getPasswordPolicySettings:function(){var e,t;return(null===(e=this.options.appState.get("recoveryAuthenticator"))||void 0===e?void 0:e.settings)||(null===(t=this.options.appState.get("enrollmentAuthenticator"))||void 0===t?void 0:t.settings)}}),s=i.default.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=n(5),a=r(n(259)),s=a.default.prototype.Body.extend({className:"password-authenticator",subtitle:function(){if(this.options.settings.get("brandName"))return(0,o.loc)("password.expiring.subtitle.specific","login",[this.options.settings.get("brandName")])},title:function(){var e=this.getPasswordPolicySettings()||{},t=e.daysToExpiry;return t>0?(0,o.loc)("password.expiring.title","login",[t]):0===t?(0,o.loc)("password.expiring.today","login"):(0,o.loc)("password.expiring.soon","login")},save:function(){return(0,o.loc)("password.expired.submit","login")},showMessages:function(){if(this.options.settings.get("brandName"))return null;a.default.prototype.Body.prototype.showMessages.apply(this,arguments)}}),l=i.BaseFooter.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject("skip")&&e.push({type:"link",label:(0,o.loc)("password.expiring.later","login"),name:"skip",actionPath:"skip"}),e}}),u=a.default.extend({Body:s,Footer:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(259)),a=i.default.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?(0,o.loc)("password.reset.title.specific","login",[this.options.settings.get("brandName")]):(0,o.loc)("password.reset.title.generic","login")},save:function(){return(0,o.loc)("password.reset","login")}}),s=i.default.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1367);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(615)),a=n(5),s=i.ResendView.extend({className:"phone-authenticator-enroll--warning hide",resendActionKey:"currentAuthenticator-resend"}),l=i.default.prototype.Body.extend({className:"phone-authenticator-enroll",title:function(){return(0,o.loc)("oie.phone.enroll.title","login")},postRender:function(){a.BaseForm.prototype.postRender.apply(this,arguments),this.add(s,{selector:".o-form-error-container",prepend:!0})}}),u=i.default.extend({Body:l});t.default=u},function(e,t,n){function r(){if("function"!=typeof l)return null;var e=new l;return r=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==s(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},o=a&&i;for(var l in e)if(Object.prototype.hasOwnProperty.call(e,l)){var u=o?i(e,l):null;u&&(u.get||u.set)?a(n,l,u):n[l]=e[l]}return n.default=e,t&&t.set(e,n),n}var i=n(1368),a=n(516),s=n(26),l=n(1370);e.exports=o},function(e,t,n){e.exports=n(1369)},function(e,t,n){var r=n(580);e.exports=r},function(e,t,n){e.exports=n(1371)},function(e,t,n){var r=n(1372);n(1376),n(1378),n(1380),n(1382),e.exports=r},function(e,t,n){n(319),n(1373),n(104);var r=n(22);e.exports=r.WeakMap},function(e,t,n){"use strict";var r,o=n(34),i=n(240),a=n(244),s=n(1374),l=n(1375),u=n(38),c=n(94).enforce,f=n(461),d=!o.ActiveXObject&&"ActiveXObject"in o,p=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},m=e.exports=s("WeakMap",h,l);if(f&&d){r=l.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var v=m.prototype,g=v.delete,y=v.has,b=v.get,_=v.set;i(v,{delete:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),g.call(this,e)||t.frozen.delete(e)}return g.call(this,e)},has:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.has(e)}return y.call(this,e)},get:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),y.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!p(e)){var n=c(this);n.frozen||(n.frozen=new r),y.call(this,e)?_.call(this,e,t):n.frozen.set(e,t)}else _.call(this,e,t);return this}})}},function(e,t,n){"use strict";var r=n(7),o=n(34),i=n(244),a=n(29),s=n(85),l=n(119),u=n(196),c=n(38),f=n(105),d=n(86).f,p=n(96).forEach,h=n(44),m=n(94),v=m.set,g=m.getterFor;e.exports=function(e,t,n){var m,y=-1!==e.indexOf("Map"),b=-1!==e.indexOf("Weak"),_=y?"set":"add",w=o[e],x=w&&w.prototype,E={};if(h&&"function"==typeof w&&(b||x.forEach&&!a(function(){(new w).entries().next()}))){m=t(function(t,n){v(u(t,m,e),{type:e,collection:new w}),void 0!=n&&l(n,t[_],t,y)});var T=g(e);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],function(e){var t="add"==e||"set"==e;e in x&&(!b||"clear"!=e)&&s(m.prototype,e,function(n,r){var o=T(this).collection;if(!t&&b&&!c(n))return"get"==e&&void 0;var i=o[e](0===n?0:n,r);return t?this:i})}),b||d(m.prototype,"size",{configurable:!0,get:function(){return T(this).collection.size}})}else m=n.getConstructor(t,e,y,_),i.REQUIRED=!0;return f(m,e,!1,!0),E[e]=m,r({global:!0,forced:!0},E),b||n.setStrong(m,e,y),m}},function(e,t,n){"use strict";var r=n(240),o=n(244).getWeakData,i=n(53),a=n(38),s=n(196),l=n(119),u=n(96),c=n(59),f=n(94),d=f.set,p=f.getterFor,h=u.find,m=u.findIndex,v=0,g=function(e){return e.frozen||(e.frozen=new y)},y=function(){this.entries=[]},b=function(e,t){return h(e.entries,function(e){return e[0]===t})};y.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=m(this.entries,function(t){return t[0]===e});return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var f=e(function(e,r){s(e,f,t),d(e,{type:t,id:v++,frozen:void 0}),void 0!=r&&l(r,e[u],e,n)}),h=p(t),m=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?g(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?g(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?g(t).has(e):n&&c(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?g(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return m(this,e,t)}}:{add:function(e){return m(this,e,!0)}}),f}}},function(e,t,n){n(7)({target:"WeakMap",stat:!0},{from:n(1377)})},function(e,t,n){"use strict";var r=n(84),o=n(115),i=n(119);e.exports=function(e){var t,n,a,s,l=arguments.length,u=l>1?arguments[1]:void 0;return r(this),t=void 0!==u,t&&r(u),void 0==e?new this:(n=[],t?(a=0,s=o(u,l>2?arguments[2]:void 0,2),i(e,function(e){n.push(s(e,a++))})):i(e,n.push,n),new this(n))}},function(e,t,n){n(7)({target:"WeakMap",stat:!0},{of:n(1379)})},function(e,t,n){"use strict";e.exports=function(){for(var e=arguments.length,t=new Array(e);e--;)t[e]=arguments[e];return new this(t)}},function(e,t,n){"use strict";var r=n(7),o=n(87),i=n(1381);r({target:"WeakMap",proto:!0,real:!0,forced:o},{deleteAll:function(){return i.apply(this,arguments)}})},function(e,t,n){"use strict";var r=n(53),o=n(84);e.exports=function(){for(var e,t=r(this),n=o(t.delete),i=!0,a=0,s=arguments.length;a<s;a++)e=n.call(t,arguments[a]),i=i&&e;return!!i}},function(e,t,n){"use strict";n(7)({target:"WeakMap",proto:!0,real:!0,forced:n(87)},{upsert:n(1383)})},function(e,t,n){"use strict";var r=n(53);e.exports=function(e,t){var n,o=r(this),i=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t&&"function"!=typeof i)throw TypeError("At least one callback required");return o.has(e)?(n=o.get(e),"function"==typeof t&&(n=t(n),o.set(e,n))):"function"==typeof i&&(n=i(),o.set(e,n)),n}},function(e,t,n){e.exports=n(1385)},function(e,t,n){var r=n(1386);e.exports=r},function(e,t,n){n(1387);var r=n(22);e.exports=r.Date.now},function(e,t,n){n(7)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(322)),i=r(n(18)),a=r(n(27)),s=r(n(13)),l=r(n(154)),u=r(n(10)),c=r(n(153)),f=n(2),d=n(5),p=r(n(14)),h=r(n(158)),m=d.BaseForm.extend({className:"phone-authenticator-enroll",title:function(){return(0,f.loc)("oie.phone.enroll.title","login")},subtitle:function(){return"voice"===this.model.get("authenticator.methodType")?(0,f.loc)("oie.phone.enroll.call.subtitle","login"):(0,f.loc)("oie.phone.enroll.sms.subtitle","login")},render:function(){d.BaseForm.prototype.render.apply(this,arguments);var e=this.model.get("authenticator.methodType"),t=this.el.querySelector(".phone-authenticator-enroll__phone"),n=this.el.querySelector(".phone-authenticator-enroll__phone-ext");"voice"===e&&(t.classList.contains("phone-authenticator-enroll__phone--small")||t.classList.add("phone-authenticator-enroll__phone--small"),n.classList.remove("hide")),"sms"===e&&(t.classList.remove("phone-authenticator-enroll__phone--small"),n.classList.contains("hide")||n.classList.add("hide")),this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText="+".concat(this.model.get("phoneCode"))},handlePhoneCodeChange:function(){this.el.querySelector(".phone-authenticator-enroll__phone-code").innerText="+".concat(this.model.get("phoneCode"))},save:function(){return"voice"===this.model.get("authenticator.methodType")?(0,f.loc)("oie.phone.call.primaryButton","login"):(0,f.loc)("oie.phone.sms.primaryButton","login")},getUISchema:function(){var e=d.BaseForm.prototype.getUISchema.apply(this,arguments),t=(0,c.default)(f._).call(f._,e,function(e){return"authenticator.phoneNumber"===e.name}),n={"label-top":!0,label:(0,f.loc)("country.label","login"),type:"select",options:h.default.getCountries(),name:"country",wide:!0},r={label:(0,f.loc)("mfa.phoneNumber.placeholder","login"),type:"group",modelType:"string","label-top":!0,name:"phoneCode",className:"phone-authenticator-enroll__phone",input:[{type:"label",label:"+".concat(this.model.get("phoneCode")),className:"phone-authenticator-enroll__phone-code no-translate"},(0,u.default)({},e[t])]},o={label:(0,f.loc)("phone.extention.label","login"),type:"text",className:"phone-authenticator-enroll__phone-ext hide","label-top":!0,name:"extension"};-1!==t&&((0,l.default)(e).call(e,t,1,r),(0,l.default)(e).call(e,t,0,n),(0,l.default)(e).call(e,t+2,0,o));var i=(0,s.default)(f._).call(f._,e,function(e){return"authenticator.methodType"===e.name});return i&&1===i.options.length&&(i.className="hide"),e},initialize:function(){var e,t;d.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:authenticator.methodType",(0,a.default)(e=this.render).call(e,this)),this.listenTo(this.model,"change:phoneCode",(0,a.default)(t=this.handlePhoneCodeChange).call(t,this))}}),v=p.default.extend({Body:m,createModelClass:function(){var e=d.BaseView.prototype.createModelClass.apply(this,arguments),t=(0,u.default)({country:{value:"US",type:"string"},extension:{type:"string"}},e.prototype.local),n=(0,u.default)({phoneCode:{deps:["country"],fn:function(e){return h.default.getCallingCodeForCountry(e)}}},e.prototype.derived);return e.extend({local:t,derived:n,toJSON:function(){var e,t=f.Model.prototype.toJSON.call(this,arguments),n=this.get("extension"),r=this.get("phoneCode"),a=(0,i.default)(e="+".concat(r)).call(e,t.authenticator.phoneNumber);if("voice"===t.authenticator.methodType&&(null===n||void 0===n?void 0:(0,o.default)(n).call(n).length)){var s;a=(0,i.default)(s="".concat(a,"x")).call(s,n)}return t.authenticator.phoneNumber=a,t}})}});t.default=v},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(13)),a=r(n(39)),s=r(n(18)),l=n(2),u=n(5),c=r(n(14)),f=u.BaseForm.extend({className:"phone-authenticator-challenge",events:{"click a.phone-authenticator-challenge__link":"handleSecondaryLinkClick"},title:function(){return(0,l.loc)("oie.phone.verify.title","login")},save:function(){return"sms"===this.model.get("primaryMode")?(0,l.loc)("oie.phone.sms.primaryButton","login"):(0,l.loc)("oie.phone.call.primaryButton","login")},handleSecondaryLinkClick:function(){var e=this.model.get("secondaryMode");this.model.set("authenticator.methodType",e),this.saveForm(this.model)},initialize:function(){var e,t,n,r=this;this.model.on("error",function(){return r.model.set("authenticator.methodType",r.model.get("primaryMode"))}),u.BaseForm.prototype.initialize.apply(this,arguments);var o="sms"===this.model.get("primaryMode")?(0,l.loc)("oie.phone.verify.sms.sendText","login"):(0,l.loc)("oie.phone.verify.call.sendText","login"),i=(0,l.loc)("oie.phone.carrier.charges","login"),a=this.model.get("phoneNumber")!==(0,l.loc)("oie.phone.alternate.title","login")?"strong no-translate":"";this.add((0,s.default)(e=(0,s.default)(t=(0,s.default)(n='<div class="okta-form-subtitle" data-se="o-form-explain">'.concat(o,"\n        <span ")).call(n,a?'class="'+a+'"':"",">")).call(t,this.model.escape("phoneNumber"),"</span>\n        <p>")).call(e,i,"</p>\n      </div>"))},getUISchema:function(){var e=u.BaseForm.prototype.getUISchema.apply(this,arguments);return(0,a.default)(e).call(e,function(e){return"authenticator.methodType"!==e.name})},render:function(){u.BaseForm.prototype.render.apply(this,arguments);var e=this.model.get("secondaryMode");if(e){var t="sms"===e?(0,l.loc)("oie.phone.sms.secondaryButton","login"):(0,l.loc)("oie.phone.call.secondaryButton","login");this.add('<a href="#"\n            class="link phone-authenticator-challenge__link"\n            data-se="phone-authenticator-challenge__link">'.concat(t,"</a>"),".o-form-button-bar")}}}),d=c.default.extend({Body:f,createModelClass:function(e){var t=e.uiSchema,n=(0,i.default)(l._).call(l._,t,function(e){return"authenticator.methodType"===e.name}),r=n.options,a=this.options.currentViewState.relatesTo,s=(null===a||void 0===a?void 0:a.value)||{},c=s.profile,f=u.BaseView.prototype.createModelClass.apply(this,arguments),d=(0,o.default)({primaryMode:{value:r[0].value,type:"string"},secondaryMode:{value:r[1]&&r[1].value,type:"string"},phoneNumber:{value:(null===c||void 0===c?void 0:c.phoneNumber)?c.phoneNumber:(0,l.loc)("oie.phone.alternate.title","login"),type:"string"}},f.prototype.local);return f.extend({local:d})}});t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=n(5),a=r(n(14)),s=i.BaseForm.extend({title:function(){return(0,o.loc)("oie.security.question.enroll.title","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(77)),i=r(n(39)),a=n(2),s=n(5),l=r(n(14)),u=s.BaseForm.extend({title:function(){return(0,a.loc)("oie.security.question.challenge.title","login")},save:function(){return(0,a.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=s.BaseForm.prototype.getUISchema.apply(this,arguments),t=(0,i.default)(e).call(e,function(e){var t;return(0,o.default)(t=e.name).call(t,"questionKey")>=0}),n=(0,i.default)(e).call(e,function(e){var t;return(0,o.default)(t=e.name).call(t,"answer")>=0});return 1===t.length&&1===n.length&&(n[0].label=t[0].label),e}}),c=l.default.extend({Body:u});t.default=c},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return(0,a.default)(e).call(e,function(e){"webauthn"===e.key&&t.push({type:"public-key",id:f.default.strToBin(e.credentialId)})}),t}var o=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(13)),a=o(n(17)),s=n(2),l=n(5),u=o(n(14)),c=o(n(159)),f=o(n(243)),d=o(n(1393)),p=n(142),h=l.BaseForm.extend({title:function(){return(0,s.loc)("oie.enroll.webauthn.title","login")},className:"oie-enroll-webauthn",modelEvents:{error:"_stopEnrollment"},getUISchema:function(){var e=this,t=[];return c.default.isNewApiAvailable()?(t.push({View:d.default}),t.push({View:(0,s.createButton)({className:"webauthn-setup button button-primary button-wide",title:(0,s.loc)("oie.enroll.webauthn.save","login"),click:function(){e.triggerWebauthnPrompt()}})})):t.push({View:(0,s.createCallout)({className:"webauthn-not-supported",type:"error",subtitle:(0,s.loc)("oie.webauthn.error.not.supported","login")})}),t},triggerWebauthnPrompt:function(){var e,t=this;(0,i.default)(e=this.$el).call(e,".o-form-error-container").empty(),this._startEnrollment();var n=this.options.currentViewState.relatesTo,o=null===n||void 0===n?void 0:n.value.contextualData.activationData;if(c.default.isNewApiAvailable()){var a=s._.extend({},o,{challenge:f.default.strToBin(o.challenge),user:{id:f.default.strToBin(o.user.id),name:o.user.name,displayName:o.user.displayName},excludeCredentials:r(this.options.appState.get("authenticatorEnrollments").value)});this.webauthnAbortController=new AbortController,navigator.credentials.create({publicKey:a,signal:this.webauthnAbortController.signal}).then(function(e){t.model.set({credentials:{clientData:f.default.binToStr(e.response.clientDataJSON),attestation:f.default.binToStr(e.response.attestationObject)}}),t.saveForm(t.model)}).catch(function(e){t.model.trigger("error",t.model,{responseJSON:{errorSummary:(0,p.getMessageFromBrowserError)(e)}})}).finally(function(){t.webauthnAbortController=null})}},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".webauthn-setup").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".webauthn-setup").show()}}),m=u.default.extend({Body:h,postRender:function(){var e;u.default.prototype.postRender.apply(this,arguments),(0,i.default)(e=this.$el).call(e,'.o-form-button-bar [type="submit"]').remove()}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(56)),s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-enroll-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions"},data:o,loc:{start:{line:1,column:36},end:{line:1,column:99}}}))+"</p>"},useData:!0}),initialize:function(){var e=this.options.currentViewState.relatesTo,t=null===e||void 0===e?void 0:e.value.contextualData.activationData;a.default.isEdge()&&this.add(i.View.extend({tagName:"p",className:"idx-webauthn-enroll-text-edge",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions.edge"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:68}}}))},useData:!0})})),"required"===t.authenticatorSelection.userVerification&&this.add((0,i.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,i.loc)("oie.enroll.webauthn.uv.required.instructions","login")})),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=n(2),a=n(5),s=r(n(14)),l=r(n(243)),u=r(n(159)),c=r(n(56)),f=r(n(1395)),d=n(142),p=r(n(1396)),h=a.BaseForm.extend({title:function(){return(0,i.loc)("oie.verify.webauth.title","login")},className:"oie-verify-webauthn",getUISchema:function(){var e=this,t=[];if(u.default.isNewApiAvailable()){var n=(0,i.createButton)({className:"retry-webauthn button-primary default-custom-button",title:(0,i.loc)("mfa.challenge.verify","login"),click:function(){e.getCredentialsAndSave()}});t.push({View:f.default},{View:n})}else t.push({View:(0,i.createCallout)({className:"webauthn-not-supported",type:"error",subtitle:(0,i.loc)("oie.webauthn.error.not.supported","login")})});return t},remove:function(){a.BaseForm.prototype.remove.apply(this,arguments),this.webauthnAbortController&&(this.webauthnAbortController.abort(),this.webauthnAbortController=null)},noButtonBar:!0,modelEvents:{error:"_stopVerification"},getCredentialsAndSave:function(){var e=this;this.clearErrors(),this._startVerification(),this.webauthnAbortController=new AbortController;var t=this.options.currentViewState.relatesTo,n=(null===t||void 0===t?void 0:t.value)||{},r=[],a=this.options.appState.get("authenticatorEnrollments").value||[];(0,o.default)(a).call(a,function(e){"webauthn"===e.key&&r.push({type:"public-key",id:l.default.strToBin(e.credentialId)})});var s=n.contextualData.challengeData,u=i._.extend({},s,{allowCredentials:r,challenge:l.default.strToBin(s.challenge)});navigator.credentials.get({publicKey:u,signal:this.webauthnAbortController.signal}).then(function(t){e.model.set({credentials:{clientData:l.default.binToStr(t.response.clientDataJSON),authenticatorData:l.default.binToStr(t.response.authenticatorData),signatureData:l.default.binToStr(t.response.signature)}}),e.saveForm(e.model)},function(t){e.webauthnAbortController&&e.model.trigger("error",e.model,{responseJSON:{errorSummary:(0,d.getMessageFromBrowserError)(t)}})}).finally(function(){e.webauthnAbortController=null})},_startVerification:function(){this.$(".okta-waiting-spinner").show(),this.$(".retry-webauthn").hide(),this.$(".retry-webauthn")[0].textContent=(0,i.loc)("retry","login")},_stopVerification:function(){this.$(".okta-waiting-spinner").hide(),this.$(".retry-webauthn").show()}}),m=s.default.extend({Body:h,Footer:p.default,postRender:function(){s.default.prototype.postRender.apply(this,arguments),u.default.isNewApiAvailable()&&!c.default.isSafari()&&this.form.getCredentialsAndSave()}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-verify-text">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.instructions"},data:o,loc:{start:{line:1,column:36},end:{line:1,column:99}}}))+"</p>"},useData:!0}),initialize:function(){var e=this.options.currentViewState.relatesTo;"required"===(null===e||void 0===e?void 0:e.value.contextualData.challengeData).userVerification&&this.add((0,i.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,i.loc)("oie.verify.webauthn.uv.required.instructions","login")})),this.add('<div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>')}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(358)),s=i.View.extend({id:"help-description-container",className:"help-description js-help-description",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.title"},data:o,loc:{start:{line:1,column:4},end:{line:1,column:96}}}))+"</h3><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description1"},data:o,loc:{start:{line:1,column:108},end:{line:1,column:207}}}))+"</p><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.biometric.authenticator.description2"},data:o,loc:{start:{line:1,column:218},end:{line:1,column:317}}}))+"</p><br><h3>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.title"},data:o,loc:{start:{line:1,column:329},end:{line:1,column:410}}}))+"</h3><br><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.security.key.description"},data:o,loc:{start:{line:1,column:422},end:{line:1,column:509}}}))+"</p><br>"},useData:!0})}),l=i.View.extend({id:"help-description-container",className:"help-description js-help-description",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="ov-enrollment-info"><li>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step1"},data:o,loc:{start:{line:1,column:35},end:{line:1,column:114}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step2"},data:o,loc:{start:{line:1,column:127},end:{line:1,column:206}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step3"},data:o,loc:{start:{line:1,column:219},end:{line:1,column:298}}}))+"</li><br><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.cant.verify.enrollment.step4"},data:o,loc:{start:{line:1,column:311},end:{line:1,column:390}}}))+"</><br></ol>"},useData:!0})}),u=a.default.extend({links:function(){var e=a.default.prototype.links.apply(this,arguments),t=this.options.appState.get("app")&&"Okta_Authenticator"===this.options.appState.get("app").name?l:s;return e.unshift({label:(0,i.loc)("oie.verify.webauthn.cant.verify","login"),name:"cant-verify","aria-controls":"help-description-container",class:"link help js-help",type:"toggle-text-link",additionalOptions:{view:t,selector:".js-help-description"}}),e}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=n(2),a=r(n(616)),s=a.default.prototype.Body,l=s.extend((0,o.default)({resendEmailAction:"currentAuthenticator-resend",subtitle:function(){return(0,i.loc)("oie.email.enroll.subtitle","login")}})),u=a.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";n(0)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2),o={title:function(){return(0,r.loc)("oie.email.mfa.title","login")}};t.default=o},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(10)),a=r(n(4)),s=n(2),l=r(n(616)),u=l.default.prototype.Body,c=s.View.extend({className:"okta-form-subtitle",attributes:{"data-se":"o-form-explain"},template:a.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"email",bundle:"login",code:"oie.email.verify.alternate.magicLinkToEmailAddress"},data:o,loc:{start:{line:1,column:13},end:{line:1,column:149}}}))},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",bundle:"login",code:"oie.email.verify.alternate.magicLinkToYourEmail"},data:o,loc:{start:{line:1,column:157},end:{line:1,column:272}}}))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"email"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:0},end:{line:1,column:279}}}))?i:"")+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.alternate.instructions"},data:o,loc:{start:{line:1,column:279},end:{line:1,column:350}}}))},useData:!0}),getTemplateData:function(){return{email:this.options.email}}}),f=s.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<button class="button-link enter-auth-code-instead-link" >'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{code:"oie.email.verify.alternate.showCodeTextField"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:118}}}))+"</button>"},useData:!0})}),d=u.extend((0,i.default)({noButtonBar:!0,resendEmailAction:"currentAuthenticatorEnrollment-resend",events:{"click .enter-auth-code-instead-link":"showAuthCodeEntry"},initialize:function(){var e,t;u.prototype.initialize.apply(this,arguments);var n=(null===(e=this.options.currentViewState.relatesTo)||void 0===e?void 0:null===(t=e.value)||void 0===t?void 0:t.profile)||{},r=n.email;this.add(f,{prepend:!0,selector:".o-form-error-container"}),this.add(c,{prepend:!0,selector:".o-form-error-container",options:{email:r}})},postRender:function(){this.showCodeEntryField(!1)},showAuthCodeEntry:function(){this.noButtonBar=!1,this.render(),this.showCodeEntryField(!0),this.showEnterAuthCodeInsteadLink(!1)},showCodeEntryField:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,o.default)(e=this.$el).call(e,".o-form-fieldset-container").toggle(t)},showEnterAuthCodeInsteadLink:function(){var e,t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];(0,o.default)(e=this.$el).call(e,".enter-auth-code-instead-link").toggle(t)}})),p=l.default.extend({Body:d});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(52)),i=r(n(17)),a=r(n(32)),s=r(n(10)),l=n(2),u=n(5),c=r(n(56)),f=r(n(14)),d=r(n(258)),p=n(24),h=r(n(1401)),m=r(n(617)),v=r(n(1402)),g=u.BaseForm.extend((0,s.default)({title:function(){var e,t=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;switch(t){case"email":e=(0,l.loc)("oie.enroll.okta_verify.setup.email.title","login");break;case"sms":e=(0,l.loc)("oie.enroll.okta_verify.setup.sms.title","login");break;default:e=(0,l.loc)("oie.enroll.okta_verify.setup.title","login")}return e},className:"oie-enroll-ov-poll",noButtonBar:!0,initialize:function(){u.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPolling),this.startPolling()},postRender:function(){(c.default.isAndroid()||c.default.isIOS())&"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&this.options.appState.trigger("switchForm",p.FORMS.SELECT_ENROLLMENT_CHANNEL)},showMessages:function(){var e=this,t=this.options.appState.get("messages");if(t&&(0,a.default)(t.value)){var n;this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),(0,i.default)(n=t.value).call(n,function(t){var n=t.message;if("ERROR"===(null===t||void 0===t?void 0:t.class)){var r={content:n,type:"error"};e.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible")||e.options.appState.containsMessageWithI18nKey("oie.authenticator.app.non_fips_compliant_enrollment_app_update_required")?r.title=(0,l.loc)("oie.okta_verify.enroll.force.upgrade.title","login"):e.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.enroll.enable.biometrics")&&(r.title=(0,l.loc)("oie.authenticator.app.method.push.enroll.enable.biometrics.title","login")),e.add((0,l.createCallout)(r),".o-form-error-container")}else e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}},getUISchema:function(){var e,t=[],n=this.options.appState.get("currentAuthenticator").contextualData,r=n.selectedChannel;return t.push({View:v.default}),t.push({View:m.default,options:{selectedChannel:r},selector:"qrcode"===r?".qrcode-container":".switch-channel-content"}),(0,o.default)(e=["email","sms"]).call(e,r)&&t.push({View:h.default,selector:".o-form-error-container"}),t},remove:function(){u.BaseForm.prototype.remove.apply(this,arguments),this.stopPolling()}},d.default)),y=f.default.extend({Body:g});t.default=y},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(359)),s=a.default.extend({className:"hide resend-ov-link-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){var e=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;this.add((0,i.createCallout)({content:"email"===e?o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:73}}}))?i:""},useData:!0}):o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:71}}}))?i:""},useData:!0}),type:"warning"}))},handelResendLink:function(){this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.$el.addClass("hide"),this.showCalloutAfterTimeout()}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ol class="qrcode-info ov-info"><li>'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step1"},data:o,loc:{start:{line:1,column:48},end:{line:1,column:114}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step2"},data:o,loc:{start:{line:1,column:123},end:{line:1,column:189}}}))+"</li><li>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.qrcode.step3"},data:o,loc:{start:{line:1,column:198},end:{line:1,column:264}}}))+'</li></ol><div class="qrcode-container"><img class="qrcode" src='+l((i=null!=(i=u(n,"href")||(null!=t?u(t,"href"):t))?i:s,"function"==typeof i?i.call(a,{name:"href",hash:{},data:o,loc:{start:{line:1,column:328},end:{line:1,column:336}}}):i))+' alt="qr code"></img></div>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="email-info ov-info"><li>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"email",bundle:"login",code:"oie.enroll.okta_verify.email.info"},data:o,loc:{start:{line:1,column:418},end:{line:1,column:502}}}))?i:"")+'</li><li class="switch-channel-content"></li></ul>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul class="sms-info ov-info"><li>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"phoneNumber",bundle:"login",code:"oie.enroll.okta_verify.sms.info"},data:o,loc:{start:{line:1,column:611},end:{line:1,column:699}}}))?i:"")+'</li><li class="switch-channel-content"></li></ul>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"href"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:370}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"email"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:370},end:{line:1,column:559}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"phoneNumber"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:559},end:{line:1,column:756}}}))?i:"")},useData:!0}),getTemplateData:function(){var e,t=this.options.appState.get("currentAuthenticator").contextualData;return{href:null===(e=t.qrcode)||void 0===e?void 0:e.href,email:i._.escape(null===t||void 0===t?void 0:t.email),phoneNumber:i._.escape(null===t||void 0===t?void 0:t.phoneNumber)}}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(161)),a=r(n(39)),s=r(n(13)),l=n(2),u=n(5),c=r(n(14)),f=r(n(56)),d=u.BaseForm.extend({title:function(){return f.default.isAndroid()||f.default.isIOS()?(0,l.loc)("oie.enroll.okta_verify.setup.title","login"):(0,l.loc)("oie.enroll.okta_verify.select.channel.title","login")},getUISchema:function(){var e,t,n=this,r=u.BaseForm.prototype.getUISchema.apply(this,arguments),c=(0,s.default)(l._).call(l._,r,function(e){return"authenticator.channel"===e.name});c.options=(0,a.default)(l._).call(l._,null===c||void 0===c?void 0:c.options,function(e){var t,r;return e.value!==(null===(t=n.options.appState.get("currentAuthenticator"))||void 0===t?void 0:null===(r=t.contextualData)||void 0===r?void 0:r.selectedChannel)}),c.value=null===(e=c.options[0])||void 0===e?void 0:e.value;var f={View:(0,l.loc)("oie.enroll.okta_verify.select.channel.description","login"),selector:".o-form-fieldset-container"};return(0,o.default)(t=[f]).call(t,(0,i.default)(r))}}),p=c.default.extend({Body:d});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(27)),a=r(n(154)),s=r(n(10)),l=r(n(153)),u=r(n(13)),c=n(2),f=n(5),d=r(n(14)),p=r(n(158)),h=r(n(617)),m=f.BaseForm.extend({className:"oie-enroll-ov-data",title:function(){return"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,c.loc)("oie.enroll.okta_verify.enroll.channel.email.title","login"):(0,c.loc)("oie.enroll.okta_verify.enroll.channel.sms.title","login")},save:function(){return(0,c.loc)("oie.enroll.okta_verify.setupLink","login")},getUISchema:function(){var e=f.BaseForm.prototype.getUISchema.apply(this,arguments),t=(0,u.default)(c._).call(c._,e,function(e){return"phoneNumber"===e.name}),n=(0,l.default)(c._).call(c._,e,function(e){return"phoneNumber"===e.name}),r={"label-top":!0,label:(0,c.loc)("country.label","login"),type:"select",options:p.default.getCountries(),name:"country",wide:!0},o={label:(0,c.loc)("mfa.phoneNumber.placeholder","login"),type:"group",modelType:"string","label-top":!0,name:"phoneCode",input:[{type:"label",label:"+".concat(this.model.get("phoneCode")),className:"country-code-label no-translate"},(0,s.default)({},t)]};-1!==n&&(0,a.default)(e).call(e,n,1,r,o);var i={View:"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,c.loc)("oie.enroll.okta_verify.channel.email.description","login"):(0,c.loc)("oie.enroll.okta_verify.channel.sms.description","login"),selector:".o-form-fieldset-container"};return e.push(i),e},handlePhoneCodeChange:function(){this.el.querySelector(".country-code-label").innerText="+".concat(this.model.get("phoneCode"))},initialize:function(){if(f.BaseForm.prototype.initialize.apply(this,arguments),"sms"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel){var e;this.listenTo(this.model,"change:phoneCode",(0,i.default)(e=this.handlePhoneCodeChange).call(e,this))}}}),v=d.default.extend({Body:m,createModelClass:function(){var e=f.BaseView.prototype.createModelClass.apply(this,arguments);if("sms"!==this.options.appState.get("currentAuthenticator").contextualData.selectedChannel)return e;var t=(0,s.default)({country:{value:"US",type:"string"}},e.prototype.local),n=(0,s.default)({phoneCode:{deps:["country"],fn:function(e){return p.default.getCallingCodeForCountry(e)}}},e.prototype.derived);return e.extend({local:t,derived:n,toJSON:function(){var e,t=c.Model.prototype.toJSON.call(this,arguments),n=this.get("phoneCode"),r=(0,o.default)(e="+".concat(n)).call(e,t.phoneNumber);return t.phoneNumber=r,t}})},postRender:function(){this.add(h.default,"form")}});t.default=v},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=n(618),a=r(n(1406)),s=r(n(1407)),l=n(24),u=o.default.extend({initialize:function(){var e,t,n;o.default.prototype.initialize.apply(this,arguments);var r=null===(e=this.options)||void 0===e?void 0:null===(t=e.appState)||void 0===t?void 0:t.get("currentAuthenticator"),u=null===r||void 0===r?void 0:r.methods[0];(null===u||void 0===u?void 0:u.type)===l.AUTHENTICATOR_METHODS.PUSH&&(null===r||void 0===r?void 0:null===(n=r.contextualData)||void 0===n?void 0:n.correctAnswer)?this.Body=s.default:(null===u||void 0===u?void 0:u.type)===l.AUTHENTICATOR_METHODS.PUSH?this.Body=i.Body:this.Body=a.default}});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(195)),a=r(n(97)),s=r(n(18)),l=r(n(10)),u=n(2),c=n(5),f=r(n(79)),d=n(107),p=r(n(56)),h=n(612),m=function(e){var t=(0,l.default)({method:"GET",contentType:"application/json"},e);return u.$.ajax(t)},v=c.BaseFormWithPolling.extend((0,l.default)({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){c.BaseFormWithPolling.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.onPollingFail),(0,h.doChallenge)(this),this.startPolling()},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling()},remove:function(){c.BaseFormWithPolling.prototype.remove.apply(this,arguments),this.stopPolling()},getDeviceChallengePayload:function(){return this.options.currentViewState.relatesTo.value.contextualData.challenge.value},doLoopback:function(e){var t,n=this,r=void 0!==e.domain?e.domain:"",l=void 0!==e.ports?e.ports:[],u=void 0!==e.challengeRequest?e.challengeRequest:"",c=void 0!==e.probeTimeoutMillis?e.probeTimeoutMillis:100,h=!1,v=0,g=function(e){var n,o;return(0,s.default)(n=(0,s.default)(o="".concat(r,":")).call(o,t,"/")).call(n,e)},y=function(){return m({url:g("probe"),timeout:p.default.isAndroid()?3e3:c})},b=function(){return h=!0,m({url:g("challenge"),method:"POST",data:(0,a.default)({challengeRequest:u}),timeout:d.CHALLENGE_TIMEOUT})},_=function(){f.default.error("Something unexpected happened while we were checking port ".concat(t,"."))},w=function(){return y().done(b).fail(_)},x=i.default.resolve();(0,o.default)(l).call(l,function(e){x=x.then(function(){if(!h)return t=e,w()}).catch(function(){v++,f.default.error("Authenticator is not listening on port ".concat(t,".")),v===l.length&&(f.default.error("No available ports. Loopback server failed and polling is cancelled."),n.options.appState.trigger("invokeAction","currentAuthenticator-cancel"))})})},doCustomURI:function(){this.ulDom&&this.ulDom.remove(),this.ulDom=this.add('\n        <iframe src="'.concat(this.customURI,'" id="custom-uri-container" style="display:none;"></iframe>\n      ')).last()}})),g=v;t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(13)),i=r(n(10)),a=n(2),s=n(5),l=r(n(258)),u=r(n(1408)),c=r(n(1409)),f=s.BaseForm.extend((0,i.default)({noButtonBar:!0,className:"okta-verify-number-challenge",events:{"click a.resend-number-challenge":"handleResendNumberChallenge"},handleResendNumberChallenge:function(){this.options.appState.trigger("invokeAction","currentAuthenticator-resend"),this.options.appState.trigger("hideNumberChallengeWarning")},title:function(){return(0,a.loc)("oie.okta_verify.push.sent","login")},initialize:function(){s.BaseForm.prototype.initialize.apply(this,arguments),this.add(c.default)},triggerAfterError:function(){var e;s.BaseForm.prototype.triggerAfterError.apply(this,arguments),this.stopPolling(),(0,o.default)(e=this.$el).call(e,".o-form-fieldset-container").empty()},postRender:function(){this.startPoll()},startPoll:function(){this.startPolling(),this.addWarning()},stopPoll:function(){this.stopPolling()},addWarning:function(){this.add(u.default,".o-form-error-container"),this.options.appState.trigger("showNumberChallengeWarning")},remove:function(){s.BaseForm.prototype.remove.apply(this,arguments),this.stopPolling()}},l.default)),d=f;t.default=d},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(78)),a=r(n(4)),s=n(2),l=n(107),u=s.View.extend({initialize:function(){var e=this;this.listenTo(this.options.appState,"showNumberChallengeWarning",function(){e.startWarningTimeout()}),this.listenTo(this.options.appState,"hideNumberChallengeWarning",function(){e.clearWarning()})},className:"resend-number-challenge-warning hide",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-warning infobox infobox-warning"><span class="icon warning-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{$1:"<a href='#' class='resend-number-challenge'>$1</a>",bundle:"login",code:"oie.numberchallenge.warning"},data:o,loc:{start:{line:1,column:103},end:{line:1,column:217}}}))+"</p></div>"},useData:!0}),showWarning:function(){this.$el.removeClass("hide")},clearWarning:function(){this.$el.addClass("hide"),clearTimeout(this.warningTimeout),this.startWarningTimeout()},startWarningTimeout:function(){this.warningTimeout=(0,i.default)((0,o.default)(s._).call(s._,function(){this.showWarning()},this),l.WARNING_TIMEOUT)}}),c=u;t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"number-challenge-section",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{$1:"<span class='strong'>$1</span>",arguments:"correctAnswer",bundle:"login",code:"oie.numberchallenge.instruction"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:127}}}))+'</p><div class="phone no-translate"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+l((i=null!=(i=u(n,"correctAnswer")||(null!=t?u(t,"correctAnswer"):t))?i:s,"function"==typeof i?i.call(a,{name:"correctAnswer",hash:{},data:o,loc:{start:{line:1,column:270},end:{line:1,column:287}}}):i))+'</span></div><div class="phone--home-button"></div></div></div>'},useData:!0}),getTemplateData:function(){var e,t;return{correctAnswer:null===(e=this.options.appState.get("currentAuthenticator"))||void 0===e?void 0:null===(t=e.contextualData)||void 0===t?void 0:t.correctAnswer}}}),s=a;t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(52)),i=r(n(10)),a=n(2),s=n(5),l=r(n(14)),u=s.BaseForm.extend((0,i.default)({className:"okta-verify-totp-challenge",title:function(){return(0,a.loc)("oie.okta_verify.totp.title","login")},save:function(){return(0,a.loc)("mfa.challenge.verify","login")},isErrorCalloutCustomized:function(e){var t,n=null===e||void 0===e?void 0:null===(t=e.responseJSON)||void 0===t?void 0:t.errorSummaryKeys;return!(!n||!(0,o.default)(n).call(n,"oie.authenticator.oktaverify.method.totp.verify.enable.biometrics"))},showCustomErrorCallout:function(){s.BaseForm.prototype.showCustomErrorCallout.apply(this,arguments),this.add('<div class="ion-messages-container"></div>',".o-form-error-container");var e={type:"error",className:"okta-verify-uv-callout-content",title:(0,a.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),subtitle:(0,a.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),bullets:[(0,a.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),(0,a.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),(0,a.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")]};this.add((0,a.createCallout)(e),".o-form-error-container")}})),c=l.default.extend({Body:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=r(n(10)),s=n(2),l=n(5),u=r(n(14)),c=l.BaseForm.extend((0,a.default)({className:"okta-verify-resend-push",title:function(){return(0,s.loc)("oie.okta_verify.push.title","login")},save:function(){return(0,s.loc)("oie.okta_verify.push.resend","login")},showMessages:function(){var e=this,t=this.options.appState.get("messages");if(t&&(0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;if("ERROR"===(null===t||void 0===t?void 0:t.class)){var r={content:n,type:"error"};e.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.force.upgrade.number_challenge")?r.title=(0,s.loc)("oie.numberchallenge.force.upgrade.title","login"):e.options.appState.containsMessageWithI18nKey("oie.authenticator.app.method.push.verify.enable.biometrics")&&(r.content=null,r.className="okta-verify-uv-callout-content",r.title=(0,s.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.title","login"),r.subtitle=(0,s.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.description","login"),r.bullets=[(0,s.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point1","login"),(0,s.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point2","login"),(0,s.loc)("oie.authenticator.app.method.push.verify.enable.biometrics.point3","login")]),e.add((0,s.createCallout)(r),".o-form-error-container")}else e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}})),f=u.default.extend({Body:c});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(154)),i=r(n(153)),a=r(n(10)),s=r(n(40)),l=r(n(13)),u=n(2),c=n(5),f=r(n(14)),d=r(n(600)),p=n(204),h=n(614),m=n(24),v=h.Body.extend({getUISchema:function(){var e,t=c.BaseForm.prototype.getUISchema.apply(this,arguments),n=(0,l.default)(t).call(t,function(e){return"authenticator.methodType"===e.name});this._sortMethodOptionsIfDeviceKnown(n.options);var r=(0,s.default)(e=n.options).call(e,function(e){return(0,a.default)({},e,(0,p.getAuthenticatorDataForVerification)({authenticatorKey:m.AUTHENTICATOR_KEY.OV}))});return[{View:d.default,options:{name:n.name,collection:new u.Collection(r)}}]},_sortMethodOptionsIfDeviceKnown:function(e){var t,n,r,a;if(null===(t=this.options)||void 0===t?void 0:null===(n=t.currentViewState)||void 0===n?void 0:null===(r=n.relatesTo)||void 0===r?void 0:null===(a=r.value)||void 0===a?void 0:a.deviceKnown){var s=(0,i.default)(e).call(e,function(e){return"signed_nonce"===e.value});if(s>0){var l=e[s];(0,o.default)(e).call(e,s,1),e.unshift(l)}}}}),g=f.default.extend({Body:v,Footer:c.BaseFooter});t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=n(5),a=n(2),s=i.BaseForm.extend({noButtonBar:!0,className:"ion-form device-challenge-poll",title:function(){return(0,a.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e,t,n=this;i.BaseForm.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",function(){n.$(".spinner").hide()}),this.add('<div class="credential-sso-extension"><div class="spinner"></div></div>');var r="get"===(null===(e=this.options.currentViewState)||void 0===e?void 0:null===(t=e.method)||void 0===t?void 0:t.toLowerCase());this.model.set("useRedirect",r),this.trigger("save",this.model)}}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=r(n(4)),a=n(2),s=n(5),l=r(n(14)),u=r(n(1415)),c=r(n(1416)),f={BARCODE:"barcode",MANUAL:"manual",ENTER_CODE:"enterCode"},d=s.BaseForm.extend({title:function(){return(0,a.loc)("oie.enroll.google_authenticator.setup.title","login")},noButtonBar:!0,className:"oie-enroll-google-authenticator",enterCodeSubtitle:a.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title enter-code-title">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.enterCode.title"},data:o,loc:{start:{line:1,column:68},end:{line:1,column:146}}}))+"</div>"},useData:!0})}),getUISchema:function(){var e=this,t=s.BaseForm.prototype.getUISchema.apply(this,arguments),n=(0,s.addCustomButton)({className:"google-authenticator-next",title:(0,a.loc)("oform.next","login"),attributes:{style:"display: block"},click:function(){e.model.set("viewToDisplay",f.ENTER_CODE)}}),r=(0,s.addCustomButton)({className:"google-authenticator-verify",title:(0,a.loc)("oform.verify","login"),click:function(){e.$el.submit()}});return t[0].showWhen={viewToDisplay:f.ENTER_CODE},t.unshift({View:this.enterCodeSubtitle,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:f.ENTER_CODE}}),t.push({View:u.default,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:f.BARCODE}},{View:c.default,selector:".o-form-fieldset-container",showWhen:{viewToDisplay:f.MANUAL}},{label:!1,className:"shared-secret",type:"text",placeholder:this.options.appState.get("currentAuthenticator").contextualData.sharedSecret,disabled:!0,showWhen:{viewToDisplay:f.MANUAL}},{View:n,showWhen:{viewToDisplay:function(e){return e===f.BARCODE||e===f.MANUAL}}},{View:r,showWhen:{viewToDisplay:function(e){return e===f.ENTER_CODE}}}),t}}),p=l.default.extend({Body:d,createModelClass:function(){var e=s.BaseView.prototype.createModelClass.apply(this,arguments),t=(0,o.default)({viewToDisplay:{value:"barcode",type:"string",required:!0,values:[f.BARCODE,f.MANUAL,f.ENTER_CODE]}},e.prototype.local);return e.extend({local:t})}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"oie-enroll-google-authenticator-barcode",template:o.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title barcode-setup-title">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.title"},data:o,loc:{start:{line:1,column:83},end:{line:1,column:163}}}))+'</div><div class="qrcode-info-container"><p class="google-authenticator-setup-info">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.description"},data:o,loc:{start:{line:1,column:247},end:{line:1,column:333}}}))+'</p><div class="qrcode-container"><img class="qrcode" src='+l((i=null!=(i=u(n,"href")||(null!=t?u(t,"href"):t))?i:s,"function"==typeof i?i.call(a,{name:"href",hash:{},data:o,loc:{start:{line:1,column:391},end:{line:1,column:399}}}):i))+' alt="qr code"></img><a href="#" class="cannot-scan-link">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.scanBarcode.cannotScan"},data:o,loc:{start:{line:1,column:457},end:{line:1,column:542}}}))+"</a></div></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"href"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:565}}}))?i:""},useData:!0}),getTemplateData:function(){var e;return{href:null===(e=this.options.appState.get("currentAuthenticator").contextualData.qrcode)||void 0===e?void 0:e.href}},events:{"click .cannot-scan-link":function(e){e.preventDefault(),this.options.model.set("viewToDisplay","manual")}}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=i.View.extend({className:"oie-enroll-google-authenticator-manual-setup",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="google-authenticator-setup-info-title manual-setup-title">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.cannotScanBarcode.title"},data:o,loc:{start:{line:1,column:70},end:{line:1,column:156}}}))+'</div><p class="google-authenticator-setup-info">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.google_authenticator.manualSetupInstructions"},data:o,loc:{start:{line:1,column:205},end:{line:1,column:291}}}))+"</p>"},useData:!0})});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=n(2),a=n(5),s=r(n(14)),l=a.BaseForm.extend((0,o.default)({className:"google-authenticator-challenge",title:function(){return(0,i.loc)("oie.verify.google_authenticator.otp.title","login")},subtitle:function(){return(0,i.loc)("oie.verify.google_authenticator.otp.description","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}})),u=s.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(52)),i=n(2),a=n(5),s=r(n(14)),l=a.BaseForm.extend({className:"on-prem-authenticator-enroll",modelEvents:{error:"_checkTokenChange"},title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,i.loc)("oie.on_prem.authenticator.default.vendorName","login");return(0,i.loc)("oie.on_prem.enroll.title","login",[e])},_checkTokenChange:function(e,t){var n,r=null===t||void 0===t?void 0:null===(n=t.responseJSON)||void 0===n?void 0:n.errorSummaryKeys;r&&(0,o.default)(r).call(r,"errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),u=s.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(52)),i=n(2),a=n(5),s=r(n(14)),l=a.BaseForm.extend({className:"on-prem-authenticator-verify",modelEvents:{error:"_checkTokenChange"},title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,i.loc)("oie.on_prem.authenticator.default.vendorName","login");return(0,i.loc)("oie.on_prem.verify.title","login",[e])},_checkTokenChange:function(e,t){var n,r=null===t||void 0===t?void 0:null===(n=t.responseJSON)||void 0===n?void 0:n.errorSummaryKeys;r&&(0,o.default)(r).call(r,"errors.E0000113")&&(this.model.set("credentials.passcode",""),this.render())},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),u=s.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(619)),a=r(n(14)),s=i.default.extend({title:function(){return(0,o.loc)("oie.duo.enroll.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticator").contextualData}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(619)),a=r(n(14)),s=i.default.extend({title:function(){return(0,o.loc)("oie.duo.verify.title","login")},getContextualData:function(){return this.options.appState.get("currentAuthenticatorEnrollment").contextualData}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(620)),a=r(n(14)),s=i.default.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,o.loc)("oie.idp.challenge.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,o.loc)("oie.idp.challenge.description","login",[e])},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(620)),a=r(n(14)),s=i.default.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,o.loc)("oie.idp.enroll.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return(0,o.loc)("oie.idp.enroll.description","login",[e])},save:function(){return(0,o.loc)("mfa.enroll","login")}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(10)),i=n(2),a=n(5),s=r(n(14)),l=a.BaseForm.extend((0,o.default)({className:"mfa-verify-custom-otp",title:function(){var e=this.options.appState.getAuthenticatorDisplayName()||(0,i.loc)("oie.custom_otp.authenticator.default.vendorName","login");return(0,i.loc)("oie.verify.custom_otp.title","login",[e])},subtitle:function(){return(0,i.loc)("oie.verify.custom_otp.description","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}})),u=s.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2),i=r(n(206)),a=r(n(14)),s=i.default.extend({title:function(){var e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?(0,o.loc)("oie.symantecVip.challenge.title","login",[e]):(0,o.loc)("oie.symantecVip.enroll.title","login",[e])},subtitle:function(){var e=this.options.appState.getAuthenticatorDisplayName();return this.options.appState.isAuthenticatorChallenge()?(0,o.loc)("oie.symantecVip.challenge.description","login",[e]):(0,o.loc)("oie.symantecVip.enroll.description","login",[e])},save:function(){return this.options.appState.isAuthenticatorChallenge()?(0,o.loc)("mfa.challenge.verify","login"):(0,o.loc)("mfa.enroll","login")}}),l=a.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=r(n(18)),s=r(n(52)),l=n(2),u=n(5),c=u.BaseForm.extend({title:function(){return(0,l.loc)("device.code.activate.title","login")},subtitle:function(){return(0,l.loc)("device.code.activate.subtitle","login")},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){var t,n=e.target.value;n&&4===n.length&&!(0,s.default)(t=["Backspace","Delete","-"]).call(t,e.key)&&(e.target.value=(0,a.default)(n).call(n,"-"))},showMessages:function(){var e=this,t=this.options.appState.get("messages");if(t&&(0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;"ERROR"===(null===t||void 0===t?void 0:t.class)?e.add((0,l.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}}),f=u.BaseView.extend({Body:c});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=n(2),s=n(5),l=r(n(14)),u=r(n(1428)),c=s.BaseForm.extend({className:"piv-cac-card",modelEvents:{request:"startAuthentication",error:"stopAuthentication"},initialize:function(){s.BaseForm.prototype.initialize.apply(this,arguments),this.model.set("useRedirect",!0),this.addInstructions()},title:function(){return(0,a.loc)("piv.cac.title","login")},save:function(){return(0,a.loc)("retry","login")},addInstructions:function(){this.add("<div class='piv-verify-text'>\n        <p>".concat((0,a.loc)("piv.cac.card.insert","login"),"</p>\n        <div data-se='piv-waiting' class='okta-waiting-spinner'></div>\n      </div>"))},startAuthentication:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},stopAuthentication:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()},showMessages:function(){var e=this,t=this.options.appState.get("messages")||{};if((0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container”></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;"ERROR"===t.class?e.add((0,a.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}}),f=l.default.extend({Header:u.default,Body:c,postRender:function(){l.default.prototype.postRender.apply(this,arguments);var e=this.options.appState.get("messages")||{};(0,i.default)(e.value)?this.form.stopAuthentication():(this.form.startAuthentication(),this.form.trigger("save",this.model))}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(5),i=r(n(608)),a=o.BaseHeader.extend({HeaderBeacon:i.default.extend({getBeaconClassName:function(){return"smartcard"}})});t.default=a},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(4)),i=n(2),a=r(n(206)),s=r(n(14)),l=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div aria-hidden="true" class="yubikey-demo"></div>'},useData:!0})}),u=a.default.extend({title:function(){return this.options.appState.isAuthenticatorChallenge()?(0,i.loc)("oie.yubikey.challenge.title","login"):(0,i.loc)("oie.yubikey.enroll.title","login")},subtitle:function(){return(0,i.loc)("oie.yubikey.description","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=a.default.prototype.getUISchema.apply(this,arguments);return e.unshift({View:l,selector:".o-form-fieldset-container"}),e}}),c=s.default.extend({Body:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(32)),a=r(n(10)),s=n(2),l=n(5),u=r(n(14)),c=l.BaseForm.extend((0,a.default)({className:"custom-app-verify-resend-push",title:function(){return(0,s.loc)("oie.verify.custom_app.title","login",[this.options.appState.getAuthenticatorDisplayName()])},save:function(){return(0,s.loc)("oie.custom_app.push.resend","login")},showMessages:function(){var e=this,t=this.options.appState.get("messages");if(t&&(0,i.default)(t.value)){var n;this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),(0,o.default)(n=t.value).call(n,function(t){var n=t.message;if("ERROR"===(null===t||void 0===t?void 0:t.class)){var r={content:n,type:"error"};e.add((0,s.createCallout)(r),".o-form-error-container")}else e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}})),f=u.default.extend({Body:c});t.default=f},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(18)),i=r(n(32)),a=r(n(39)),s=r(n(40)),l=n(2),u=n(142),c=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(0,s.default)(t=(0,a.default)(n=l._.chain(r)).call(n,function(e){var t;return(0,i.default)(null===(t=e.messages)||void 0===t?void 0:t.value)&&e.messages.value.length})).call(t,function(t){var n,r,i;return{property:e?(0,o.default)(n="".concat(e,".")).call(n,t.name):t.name,errorSummary:(0,s.default)(r=t.messages.value).call(r,u.getMessage),errorKey:(0,s.default)(i=t.messages.value).call(i,u.getMessageKey)}}).value()},f=function(e,t){if(!(0,i.default)(e))return[];if(!l._.isFunction(t)||1===e.length)return e;for(var n=[],r=0;r<e.length;r++){for(var o=!1,a=r+1;a<e.length;a++)if(t(e[r],e[a])){o=!0;break}o||n.push(e[r])}return n},d=function(e){var t=[];if(!e.remediation||!(0,i.default)(e.remediation.value)||0===e.remediation.value.length)return t;var n=e.remediation.value[0].value;return(0,i.default)(n)?(t.push(c(null,n)),l._.each(n,function(e){var n,r=e.name;(0,i.default)(null===(n=e.form)||void 0===n?void 0:n.value)&&t.push(c(r,e.form.value)),(0,i.default)(e.options)&&l._.each(e.options,function(e){var n,o;(0,i.default)(null===(n=e.value)||void 0===n?void 0:null===(o=n.form)||void 0===o?void 0:o.value)&&t.push(c(r,e.value.form.value))})}),f(l._.flatten(t),l._.isEqual)):t},p=function(e){var t,n=[];if((0,i.default)(null===(t=e.messages)||void 0===t?void 0:t.value)){var r;n=(0,s.default)(r=e.messages.value).call(r,u.getMessage)}return n.join(". ")},h=function(e){var t,n=[];if((0,i.default)(null===(t=e.messages)||void 0===t?void 0:t.value)){var r;n=(0,s.default)(r=e.messages.value).call(r,u.getMessageKey)}return n},m=function(e){return{responseJSON:{errorCauses:d(e),errorSummary:p(e),errorSummaryKeys:h(e),errorIntent:e.intent}}},v=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).version},g={convertFormErrors:m,isIonErrorResponse:v};t.default=g},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(352)),i=n(24),a=n(357),s=o.default.extend({postRender:function(){if(this.options.appState.get("currentFormName")===i.FORMS.IDENTIFY)if(this.options.appState.hasRemediationObject(i.FORMS.SELECT_ENROLL_PROFILE))this.handleInvokeAction(i.FORMS.SELECT_ENROLL_PROFILE);else{var e={type:"array",value:[{message:"Sign up is not enabled for this organization.",i18n:{key:a.REGISTRATION_NOT_ENABLED},class:"ERROR"}]},t={neededToProceed:[],rawIdxState:{messages:e},context:{messages:e}};this.options.appState.trigger("updateAppState",t)}else o.default.prototype.postRender.apply(this,arguments)}});t.default=s},function(e,t,n){"use strict";var r=n(1);n(0)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(352)),i=n(24),a=n(357),s=o.default.extend({postRender:function(){if(this.options.appState.get("currentFormName")===i.FORMS.IDENTIFY)if(this.options.appState.getActionByPath(i.ACTIONS.ORG_PASSWORD_RECOVERY_LINK))this.handleInvokeAction(i.ACTIONS.ORG_PASSWORD_RECOVERY_LINK);else{var e={type:"array",value:[{message:"Forgot password is not enabled for this organization.",i18n:{key:a.FORGOT_PASSWORD_NOT_ENABLED},class:"ERROR"}]},t={neededToProceed:[],rawIdxState:{messages:e},context:{messages:e}};this.options.appState.trigger("updateAppState",t)}else o.default.prototype.postRender.apply(this,arguments)}});t.default=s}])});
//# sourceMappingURL=okta-sign-in.min.js.map;
