UNPKG

@okta/okta-signin-widget

Version:
131 lines • 1.25 MB
/*!
 * 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=372)}([function(e,t,n){"use strict";var r=n(1),o=r(n(283)),i=r(n(582)),a=r(n(587)),s=r(n(284)),l=r(n(27)),u=r(n(44)),c=r(n(607)),f=r(n(295)),d=r(n(164)),p=r(n(16)),h=r(n(39)),m=r(n(45)),g=r(n(120)),v=r(n(90)),y=r(n(632)),b=r(n(41)),_=r(n(165)),w=r(n(82)),x=r(n(24)),S=r(n(166)),E=r(n(168)),T=r(n(298)),k=r(n(169)),C=r(n(83)),O=r(n(227)),A=r(n(7)),N=r(n(300)),I=r(n(303)),R=r(n(4));/*! THIS FILE IS GENERATED FROM PACKAGE @okta/courage@4.6.0-alpha.3586.gd86894f */
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,R.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=33)}([function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(35)),a=i.default.noConflict();a.mixin({resultCtx:function(e,t,n,r){var o=a.isObject(e)?e[t]:void 0;return a.isFunction(o)&&(o=o.call(n||e)),o||(a.isUndefined(r)?o:r)},isInteger:function(e){return a.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 s=a;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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(6)),a=r(n(0)),s=r(n(16)),l=r(n(42)),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,A.default)(s=a.default).call(s,i.ok,this)}if(a.default.isFunction(i.cancelFn)){var l;i.cancelFn=(0,A.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(3)},function(e,t,n){(0,R.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}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=r(n(0)),a=r(n(39)),s={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'","&#039;":"'","&#x2F;":"/"},l=/^(([^<>()[\]\\.,;:\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,}))$/,u={sprintf:function(){function e(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+(0,C.default)(t))}for(var t=(0,O.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,C.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 s[e]||e})},getTemplate:function(e,t){var n,r=t?a.default[t]:a.default[(0,k.default)(n=i.default).call(n,a.default)[0]];return r?r[e]||"L10N_ERROR["+e+"]":"L10N_ERROR["+t+"]"},localize:function(e,t,n){var r,o=t?a.default[t]:a.default[(0,k.default)(r=i.default).call(r,a.default)[0]];if(!o)return"L10N_ERROR["+t+"]";var s=o[e];try{n=n&&(0,O.default)(n)?(0,O.default)(n).call(n,0):[],n.unshift(s),s=u.sprintf.apply(null,n)}catch(e){s=null}return s||"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,T.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 i.default.isString(e)&&t===(0,E.default)(e,10)?t:e}),parseObject:function(e){if(!i.default.isString(e))return e;try{var t=JSON.parse(e);return o.default.isPlainObject(t)?t:e}catch(t){return e}},randomString:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===e)e=i.default.random(t.length);else if(0===e)return"";for(var n=[];e--;)n.push(t[i.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,S.default)(t=o.default).call(t,e);return!i.default.isEmpty(n)&&l.test(n)}},c=u;t.default=c,e.exports=t.default},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(704)},function(e,t,n){function r(e,t){window.console&&window.okta&&window.okta.debug&&window.console[e].apply(window.console,t)}(0,R.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,R.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,R.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(17)),l=r(n(4)),u=r(n(1)),c=r(n(29)),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,A.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,A.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,x.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,A.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]),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,w.default)((0,A.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,_.default)((0,A.default)(e=l.default).call(e,this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(S[r++%S.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,k.default)(n=l.default).call(n,e),i=l.default.intersection(o,x);if(l.default.size(i)!==l.default.size(e)){var s=l.default.clone(x);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,b.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,b.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,R.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(24)),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"],g=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen"],v=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params"],y=["errorField"],x=l.default.uniq(l.default.union(h,m,g,v,y)),S=["•         ","•  •      ","•  •  •   ","•  •  •  •","   •  •  •","      •  •","         •","          ","          ","          "],E={LABEL_OPTIONS:h,CONTAINER_OPTIONS:m,WRAPPER_OPTIONS:g,INPUT_OPTIONS:v,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",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,{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=E,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(37)),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(172)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.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.master.inherit","courage"),OKTA_MASTERED:a("universal-directory.profiles.attribute.master.oktamastered","courage"),OVERRIDE:a("universal-directory.profiles.attribute.master.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,y.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}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(36)),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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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,k.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,b.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}}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,v.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,R.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,b.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,g.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,O.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 y=h;t.default=y,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()),t.apply(this,arguments)}}),n}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),a=r(n(44)),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,R.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,b.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=r(n(0)),a=r(n(14)),s=r(n(15)),l=r(n(7)),u=r(n(13)),c=r(n(4)),f=r(n(20)),d=c.default.localize,p=u.default.STRING,h=u.default.NUMBER,g=u.default.INTEGER,y=u.default.OBJECT,_=function(e,t){return e+"of"+t},w=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}}),x=a.default.extend({model:w}),T=x.extend({_type:"allOf"}),k=x.extend({_type:"oneOf"}),O=x.extend({_type:"noneOf"}),A={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")},N=/[^a-zA-Z0-9-]/,I=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?g:r?y: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,m.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__!==g&&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 T(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new k(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new O(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[_(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__:A[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 N.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,b.default)(e=i.default).call(e,t,function(e){var t;return""!==(0,S.default)(t=o.default).call(t,e.title)?e:(e.title=i.default.isString(e.const)?e.const:(0,C.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!==g&&(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,m.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!==g&&n!==h||(e="minimum",t="maximum"),this.get("__minVal__")?this.set(e,(0,E.default)(this.get("__minVal__"),10)):this.unset(e),this.get("__maxVal__")?this.set(t,(0,E.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))}}),P=a.default.extend({model:I,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,v.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,m.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},{})}}),M={Model:I,Collection:P};t.default=M,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 M.default.isArrayDataType(e.displayType)?(n.type="checkboxset",n.to=w,n.from=x):(n.type="select",n.to=_,n.from=y),n.input=null,n}function i(e){return P.default.isArray(e)?a(s(e)):{}}function a(e){var t;return l(e)?(0,v.default)(t=P.default).call(t,e,function(e,t,n){return e[g(n)]=t.title,e},{}):{}}function s(e){return P.default.all(e,I.default.isPlainObject)?l(e)?e:f(e):u(e)}function l(e){return P.default.isArray(e)&&P.default.all(e,function(e){return P.default.has(e,"const")&&P.default.has(e,"title")})}function u(e){var t;return(0,b.default)(t=P.default).call(t,e,function(e){return{const:e,title:c(e)}})}function c(e){return P.default.isObject(e)?(0,C.default)(e):P.default.isNumber(e)?e+"":e}function f(e){var t=P.default.partial(P.default.has,P.default,D);if(P.default.all(e,t)){var n,r;return(0,b.default)(n=(0,h.default)(r=P.default.chain(e)).call(r,function(e){return I.default.isPlainObject(e)&&P.default.has(e,D)})).call(n,function(e){return{const:e,title:e[D]}}).value()}return u(e)}function g(e){var t;return(0,p.default)(t="".concat(F)).call(t,e)}function y(e){var t,n=(0,d.default)(t=P.default).call(t,this.options.params.enumOneOf,function(t){return P.default.isObject(e)?P.default.isEqual(t.const,e):t.const===e});return n>-1?g(n):e}function _(e){if(!P.default.isString(e)||0!==(0,m.default)(e).call(e,F))return e;var t=e.replace(F,""),n=this.options.params&&P.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return P.default.has(n,"const")?n.const:n}function w(e){var t;return(0,b.default)(t=P.default).call(t,e,(0,A.default)(_).call(_,this))}function x(e){var t;return(0,b.default)(t=P.default).call(t,e,(0,A.default)(y).call(y,this))}function E(e){var t;return P.default.isString(e)&&""!==(0,S.default)(t=I.default).call(t,e)}function T(e){var t;return P.default.isNumber(e)||P.default.isNumber(L.default.parseFloat((0,S.default)(t=I.default).call(t,e)))}function k(e){var t,n=P.default.isNumber(e)?e:L.default.parseInt((0,S.default)(t=I.default).call(t,e));return"number"==typeof n&&isFinite(n)&&Math.floor(n)===n}function O(e){var t;if(P.default.isObject(e)&&!P.default.isArray(e))return!0;var n=L.default.parseObject((0,S.default)(t=I.default).call(t,e));return P.default.isObject(n)&&!P.default.isArray(n)}function N(e,t){switch(t){case M.default.STRING:return E(e);case M.default.NUMBER:return T(e);case M.default.INTEGER:return k(e);case M.default.OBJECT:return O(e)}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var I=r(n(3)),P=r(n(0)),M=r(n(13)),L=r(n(4)),D="name",F="_enum_",U={getEnumInputOptions:o,getDropdownOptions:i,convertToOneOf:s,isConstraintValueMatchType:N};t.default=U,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,R.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(22)),c=r(n(23)),f=r(n(41)),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")),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){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.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||{};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||[]]}},extraProperties:!0,constructor:function(){this.features=window._features||[],i.default.apply(this,arguments)},hasFeature:function(e){return window._possibleFeatures&&!o.default.contains(window._possibleFeatures,e)&&window.okta&&window.okta.logHasFeatureError&&window.okta.logHasFeatureError(e),o.default.contains(this.features,e)},hasAnyFeature:function(e){var t;return(0,f.default)(t=o.default).call(t,e,this.hasFeature,this)},hasPermission:function(e){return o.default.contains(this.get("permissions"),e)}});t.default=a,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){var t;return"change:"+(0,k.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,A.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,R.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,c.default)(i=a.default).call(i,(0,b.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}}(0,R.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",initialize:function(e){e.noSubmitButton||this.addButton({type:"save",text:o.default.resultCtx(e,"save",this),id:o.default.resultCtx(e,"saveId",this),className:o.default.resultCtx(e,"saveClassName",this)}),e.noCancelButton||this.addButton({type:"cancel",text:o.default.resultCtx(e,"cancel",this)}),e.hasPrevStep&&this.addButton({type:"previous"},{prepend:!0})},addButton:function(e,t){return this.add(a.default.createButton(e),t)}});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,R.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(230)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}function i(e){if(this.params.autoWidth)return e.call(this);var t;return f.default.defer((0,A.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()-g,l=Math.min(i+s-a,v);t.css("max-height",l)}function l(e){var t=e.next(".chzn-container"),n=t.clone(),r=(0,x.default)(t).call(t,".chzn-results");n.css("visibility","hidden"),n.removeAttr("id"),(0,x.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",v),n.remove(),e.after(t)})}(0,R.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(69);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}),g=20,v=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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(2)),s=r(n(0)),l=r(n(30)),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){return'<a data-se="dismiss-link" class="infobox-dismiss-link" title="Dismiss" 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:243},end:{line:1,column:252}}}):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:304},end:{line:1,column:316}}}):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:377},end:{line:1,column:440}}}))?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:159}}}))?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:192},end:{line:1,column:200}}}):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:209},end:{line:1,column:264}}}))?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:264},end:{line:1,column:327}}}))?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:327},end:{line:1,column:452}}}))?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,R.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,A.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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(2)),l=r(n(3));n(27);var u=r(n(8));n(74);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){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="off"/>'+(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(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:319},end:{line:1,column:392}}}))?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,S.default)(t=l.default).call(t,e)}return e},focus:function(){return this.$("input").focus()},postRender:function(){var e,t=this.options.params;t&&t.innerTooltip&&(e=a(t.innerTooltip),this.$(".input-tooltip").qtip({content:e,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(34)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(14)),i=r(n(15)),a=r(n(38)),s=r(n(11)),l=r(n(19)),u=r(n(40)),c=r(n(21)),f=r(n(17)),d=r(n(45)),p=r(n(46)),h=r(n(8)),m=r(n(7)),g=r(n(4)),v=r(n(18)),y=r(n(48)),b=r(n(3)),_=r(n(0)),w=r(n(56)),x=r(n(1)),S=r(n(58)),E=r(n(59)),T=r(n(25)),k=r(n(10)),C=r(n(26)),O=r(n(67)),A=r(n(72)),N=r(n(73)),I=r(n(75)),P=r(n(28)),M=r(n(76)),L=r(n(32)),D=r(n(29)),F=r(n(6)),U=r(n(16));U.default.prototype.compileTemplate=function(e){return function(){return e}};var j={Backbone:F.default,$:b.default,_:_.default,Handlebars:y.default,loc:g.default.localize,createButton:f.default.create,createCallout:D.default.create,registerInput:C.default.register,Model:s.default,BaseModel:i.default,Collection:o.default,FrameworkView:U.default,View:x.default,ListView:w.default,Router:c.default,Controller:u.default,Form:E.default,internal:{util:{Util:v.default,Cookie:p.default,Logger:m.default,Class:d.default,Keys:h.default},views:{components:{BaseDropDown:S.default},forms:{helpers:{FormUtil:k.default,SchemaFormFactory:O.default},components:{Toolbar:T.default},inputs:{TextBox:L.default,PasswordBox:N.default,CheckBox:A.default,Radio:I.default,Select:P.default,InputGroup:M.default}}},models:{BaseSchema:a.default,SchemaProperty:l.default}}};j.registerInput("text",L.default),j.registerInput("password",N.default),j.registerInput("checkbox",A.default),j.registerInput("radio",I.default),j.registerInput("select",P.default),j.registerInput("group",M.default);var B=j;t.default=B,e.exports=t.default},function(e,t){e.exports=n(212)},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,R.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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}function i(e,t,n,r){var o=E.default.contains(t,n);return r||(r={}),o||!E.default.isObject(e)||E.default.isArray(e)||E.default.isFunction(e)?void 0!==n&&(r[n]=e):E.default.each(e,function(e,o){i(e,t,n?n+"."+o:o,r)}),r}function c(e){return E.default.each(e,function(e,t,n){if(-1!=(0,m.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 f(e,t){var n={};return n[e.name]=t,n}function d(e,t){var n;return n=E.default.isString(e)?{type:e}:E.default.isArray(e)?{type:e[0],required:e[1],value:e[2]}:E.default.clone(e),E.default.defaults(n,{required:!1,name:t}),n}function p(e){return e.toLowerCase().replace(/\b[a-z]/g,function(e){return e.toUpperCase()})}function h(e,t,n){if(!t.test(e))return n}function g(e,t){var n=O[e.format];if(e.format&&!n)throw new TypeError(e.format+" is not a supported string format");return n&&n(t)}function _(e,t){var n=E.default.partial(f,e),r=g(e,t);return r?n(r):t&&e.minLength&&t.length<e.minLength?n(S.ERROR_STRING_STRING_MIN_LENGTH,t.length):t&&e.maxLength&&t.length>e.maxLength?n(S.ERROR_STRING_STRING_MAX_LENGTH,t.length):void 0}function w(e,t){var n,r,o=E.default.partial(f,e),i=!E.default.isUndefined(t)&&!E.default.isNull(t);{if(!(0,u.default)(e.validate)){if(e.required&&(!i||E.default.isNull(t)||""===t))return o(S.ERROR_BLANK);if(n=E.default["is"+p(e.type)],i&&"any"!=e.type&&(!E.default.isFunction(n)||!n(t)))return o(S.ERROR_WRONG_TYPE);if(t&&"string"==e.type){var a=_(e,t);if(a)return a}if(i&&(0,y.default)(e)&&!E.default.contains((0,y.default)(e),t))return o(S.ERROR_NOT_ALLOWED);if(E.default.isFunction(e.validate)){var c=e.validate(t);if(E.default.isString(c)&&c)return o(c);if(!1===c)return o(S.ERROR_INVALID)}return i&&"array"==e.type&&(r=x(e,t))?o(r):void 0}var d,h,m=[],g=!1;if((0,l.default)(d=e.validate).call(d,function(e){if(t)switch(e.type.toLowerCase()){case"regex":h=new RegExp(e.value.pattern,(0,s.default)(e.value)||"").test(t);break;default:h=!1}else h=!1;g=g||!h,m.push({message:e.hasOwnProperty("message")?e.message:"",passed:h})}),g)return o(m)}}function x(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>E.default.uniq(t).length)return S.ERROR_IARRAY_UNIQUE;if(e.items)for(var n=d(e.items,"placeholder"),r=0;r<t.length;r++){var o=t[r],i=w(n,o);if(i)return i.placeholder}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var S,E=r(n(0)),T=r(n(6)),C=r(n(7)),O={email:function(e){return h(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,}))$/,S.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return h(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,S.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return h(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]?)$/,S.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return h(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])$/,S.ERROR_INVALID_FORMAT_HOSTNAME)}};S=T.default.Model.extend({props:{},derived:{},local:{},flat:!0,defaults:{},constructor:function(e){this.options=e||{};var t=this.__schema__={},n=[];t.computedProperties={},t.props=E.default.clone(E.default.result(this,"props")||{}),t.derived=E.default.clone(E.default.result(this,"derived")||{}),t.local=E.default.clone(E.default.result(this,"local")||{});var r={};if(E.default.each(E.default.extend({},t.props,t.local),function(e,t){var o=d(e,t);E.default.isUndefined(o.value)||(r[t]=o.value),"object"===o.type&&n.push(t)},this),E.default.size(r)){var o=E.default.result(this,"defaults");this.defaults=function(){return E.default.defaults({},r,o)}}this.validate=E.default.wrap(this.validate,function(e){var t=E.default.rest(arguments),n=E.default.extend(this._validateSchema.apply(this,t),e.apply(this,t));return E.default.size(n)&&n||void 0}),this.parse=E.default.wrap(this.parse,function(e){var t=e.apply(this,E.default.rest(arguments));return(0,a.default)(this)&&(t=i(t,n)),t}),T.default.Model.apply(this,arguments),E.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=E.default.extend({},t.props,t.local);return E.default.has(n,e)||C.default.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var t,n=this.__schema__;return(0,v.default)(t=E.default).call(t,[n.props,n.local],function(t,n){return t||d(n[e],e)},null)},set:function(e,t){var n;"object"===o(e)?n=e:(n={})[e]=t,E.default.each(n,function(e,t){if(E.default.has(this.__schema__.derived,t))throw"overriding derived properties is not supported: "+t},this);var r=[];if(E.default.each(n,function(e,t){this.allows(t)||r.push(t)},this),r.length)throw"field not allowed: "+r.join(", ");return T.default.Model.prototype.set.apply(this,arguments)},get:function(e){var t=this.__schema__;return E.default.has(t.derived,e)?!1!==t.derived[e].cache?t.computedProperties[e]:this.__getDerivedValue(e):T.default.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var t=E.default.clone(T.default.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;if(e.verbose)E.default.each(n.derived,function(e,n){t[n]=this.get(n)},this);else{var r;t=E.default.omit(t,(0,k.default)(r=E.default).call(r,n.local))}return(0,a.default)(this)&&(t=c(t)),t},reset:function(e){this.clear(e),this.set(E.default.result(this,"defaults"),e)},isSynced:function(){return E.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var t=e&&this.getPropertySchema(e);return t&&w(t,this.get(e))},_validateSchema:function(){var e,t=this.__schema__;return(0,v.default)(e=E.default).call(e,E.default.extend({},t.props,t.local),function(e,t,n){return E.default.extend(e,this.validateField(n)||{})},{},this)},__getDerivedValue:function(e){var t,n=this.__schema__.derived[e];if(E.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,b.default)(t=E.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=S;t.default=A,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),i=r(n(14)),a=r(n(15)),s=r(n(19)),l=function(e){var t,n=o.default.pick(e,"id","name","displayName"),r=(0,b.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(125)},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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),a=r(n(0)),s=r(n(21)),l=r(n(22)),u=r(n(43)),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}}function o(e){"@babel/helpers - typeof";return(o="function"==typeof I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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={level:"success",message:"Great Success!",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1},c=l.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){return'<a class="infobox-dismiss-link" title="Dismiss" 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:177},end:{line:1,column:186}}}):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:121}}}))?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:139},end:{line:1,column:148}}}):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:160},end:{line:1,column:198}}}))?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:201},end:{line:1,column:212}}}):s))+"</p>"},useData:!0}),initialize:function(){this.options=s.default.defaults({},this.options,u),this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width).css({"margin-left":"0px",left:Math.round(((0,a.default)(window).width()-this.options.width)/2)})},getTemplateData:function(){return s.default.extend(s.default.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){if(this.options.hide){var e;s.default.delay((0,A.default)(e=s.default).call(e,this.fadeOut,this),this.options.delay)}},fadeOut:function(){var e;this.$el.fadeOut(this.options.fade,(0,A.default)(e=s.default).call(e,this.remove,this))}});t.default=c,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.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){var t={};return window&&window.__OKTA_HANDLEBARS_FALLBACK__&&(t.allowProtoPropertiesByDefault=!0),function(n){return o.default.compile(e)(n,t)}})};t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(0)),a=r(n(24)),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}}function o(e){this.options=a.default.clone(e||{}),this.cid=a.default.uniqueId("class"),this.initialize.apply(this,arguments)}(0,R.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,R.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,C.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,O.default)(f).call(f,1).join("=");'"'===p.charAt(0)&&(p=(0,O.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,O.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){(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(5));n(49),n(50),n(51),n(52),n(53),n(55);var o=r.default;t.default=o,e.exports=t.default},function(e,t,n){(0,R.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,R.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){return e&&e.replace(/^\s+|\s+$/g,"")}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),a=r(n(0)),s=r(n(4));i.default.registerHelper("i18n",function(e){var t,n=o(e.hash.code),r=o(e.hash.bundle),i=o(e.hash.arguments);if(i){var l;t=(0,b.default)(l=a.default).call(l,o(i).split(";"),function(e){e=o(e);var t,n=this;return a.default.each(e.split("."),function(e){t=t?t[e]:n[e]}),t},this)}return s.default.localize(n,r,t)});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){return 0===(0,m.default)(e).call(e,s)?e:s+e}(0,R.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,b.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),i=r(n(54));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,R.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,R.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(57)),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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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,x.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,S.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(!C&&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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(2)),s=r(n(3)),l=r(n(0)),c=r(n(4)),f=r(n(1)),d=r(n(60)),m=r(n(25)),g=r(n(61)),y=r(n(62)),_=r(n(10)),w=r(n(63)),x=r(n(64)),S=r(n(65)),E=r(n(66)),T=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}),k=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}),C="auto"===(0,s.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents,O={submit:function(e){e.preventDefault(),this.__save()}};l.default.each(["click","dblclick","mousedown","mouseup"],function(e){O[e+" .o-form-input"]=o});var A=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"}},N=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,u.default)(e.errorCauses)&&e.errorCauses.length>0?e.errorCauses[0].errorSummary:e.errorSummary},P=f.default.extend({constructor:function(e){e||(e={}),this.options=e,this.id=l.default.uniqueId("form"),this.tagName="form",l.default.defaults(this.events,O),l.default.defaults(this.attributes,A(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),f.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,N(n.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,N(n.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){var t=this.getAttribute("danger"),n=!0===t?"button-error":"button-primary",r=new m.default(l.default.extend({save:this.save||c.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:n,cancel:this.cancel||c.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,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,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=d.default.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(e,".o-form-title-bar").last()}var t=T({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,f.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,v.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,b.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,__showErrors:function(e,t,n){if(this.trigger("error",e),this.getAttribute("showErrors")){var r,o=y.default.getResponseJSON(t),i=y.default.parseFieldErrors(t);if(l.default.size(i)?l.default.each(i,function(e,t){var n;this.model.trigger("form:field-error",this.__errorFields[t]||t,(0,b.default)(n=l.default).call(n,e,function(e){return/^model\.validation/.test(e)?c.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(g.default,".o-form-error-container",{options:{errorSummary:r}})),this.getAttribute("scrollOnError")){var a=(0,s.default)("#"+this.id+" .o-form-error-container");a.length&&(0,s.default)("html, body").animate({scrollTop:a.offset().top},400)}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){x.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>'),_.default.applyShowWhen(this.last(),e&&e.showWhen),_.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,t){return this.add(k({title:e})),_.default.applyShowWhen(this.last(),t&&t.showWhen),_.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addInput:function(e){var t,n,r;e=l.default.clone(e),_.default.validateInput(e,this.model);var o=(0,i.default)(t=_.default.generateInputOptions(e,this,this.__createInput)).call(t);l.default.isEmpty(this.getInputs().toArray())&&l.default.extend(o[0],{validateOnlyIfDirty:!0});var a=(0,b.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,p.default)(r=[u]).call(r,l.default.rest(arguments));return this.add.apply(this,c)},__createInput:function(e){return e=l.default.pick(e,_.default.INPUT_OPTIONS),x.default.create(e)},__createWrapper:function(e){return e=l.default.pick(e,_.default.WRAPPER_OPTIONS),new E.default(e)},__createLabel:function(e){return e=l.default.pick(e,_.default.LABEL_OPTIONS),new S.default(e)},_createContainer:function(e){return e=l.default.pick(e,_.default.CONTAINER_OPTIONS),new w.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"),f.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,h.default)(e=this).call(e,function(e){return e instanceof E.default}))}});t.default=P,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}(0,R.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}))},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,R.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,R.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,m.default)(t).call(t,"L10N_ERROR[")?t:n]}},parseErrors:function(e){var t,n=this.getResponseJSON(e);return(0,b.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):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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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(18)),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,x.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))},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),this.$el.attr("aria-describedby",n)},__clearError:function(){var e=this;this.__errorState&&(this.$(".o-form-input-error").remove(),this.$el.attr("aria-describedby",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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(0)),l=r(n(26)),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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0));n(27);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:"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,b.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,R.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,A.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=b.default,i.params={itemType:"string"};break;case"arrayofnumber":i.input=b.default,i.params={itemType:"number"};break;case"arrayofinteger":i.input=b.default,i.params={itemType:"integer"};break;case"arrayofobject":i.input=b.default,i.params={itemType:e.get("items").type};break;case"arrayofref-id":i.input=b.default,i.params={itemType:e.get("items").format};break;case"boolean":i.input=y.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 g.default.isEmpty(e)?"":v.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=g.default.extend({},_.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=v.default.parseFloat(e);return""===e?null:t}function s(e){return e&&(0,m.default)(e).call(e,"array")>=0}function l(e){return g.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=g.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,h.default)(e).call(e,function(e){return p(e,t)})}function p(e,t){var n=u(e),r=t[n];return!n||!(0,g.default)(r).isEmpty()}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var g=r(n(0)),v=r(n(4)),y=r(n(68)),b=r(n(70)),_=r(n(20)),w={createInputOptions:function(e){var t=i(e),n=o(e);return t.params&&n.params&&(t.params=g.default.defaults(t.params,n.params)),g.default.defaults(t,n)},hasValidSchemaProps:function(e,t){return!g.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=w,e.exports=t.default},function(e,t,n){(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(28)),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,w.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,w.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,x.default)(e=this.container).call(e,"div.chzn-drop").first(),this.search_field=(0,x.default)(n=this.container).call(n,"input").first(),this.search_results=(0,x.default)(r=this.container).call(r,"ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=(0,x.default)(o=this.container).call(o,"li.no-results").first(),this.is_multiple){var s,l;this.search_choices=(0,x.default)(s=this.container).call(s,"ul.chzn-choices").first(),this.search_container=(0,x.default)(l=this.container).call(l,"li.search-field").first()}else{var u,c;this.search_container=(0,x.default)(u=this.container).call(u,"div.chzn-search").first(),this.selected_item=(0,x.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,A.default)(e=this.search_results).call(e,"mousewheel DOMMouseScroll",function(e){o.search_results_mousewheel(e)}),(0,A.default)(t=this.form_field_jq).call(t,"liszt:updated",function(e){o.results_update_field(e)}),(0,A.default)(n=this.form_field_jq).call(n,"liszt:activate",function(e){o.activate_field(e)}),(0,A.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,A.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,x.default)(a=this.search_choices).call(a,"li.search-choice").remove()}else if(!this.is_multiple){var s;(0,x.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,x.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,E.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,x.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,x.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,x.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,x.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,x.default)(e=this.selected_item).call(e,"abbr").length){var t;(0,x.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,g,v,y,b;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":t("<div></div>").text((0,S.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"),b=this.results_data,h=0,v=b.length;h<v;h++)if(n=b[h],!n.empty)if(n.group)t("#"+n.dom_id).css("display","none");else{var _,w;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,m.default)(_=n.html).call(_," ")>=0||0===(0,m.default)(w=n.html).call(w,"["))&&(o=n.html.replace(/\[|\]/g,"").split(" "),o.length))for(g=0,y=o.length;g<y;g++)r=o[g],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,x.default)(n=this.search_results).call(n,".result-selected.active-result"),null!=(e=t.length?t.first():(0,x.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,x.default)(n).call(n,"span").first().html(e),this.search_results.append(n)},n.prototype.no_results_clear=function(){var e;return(0,x.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,x.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,R.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(71)),u=s.default.extend({className:"array-input",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<a href="#" class="array-inputs-button link-button">Add Another</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,A.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,y.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,h.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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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(30)),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,E.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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),a=r(n(0)),s=r(n(8));n(31);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){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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),i=r(n(0)),a=r(n(32)),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,x.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,A.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,A.default)(e=(0,h.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,w.default)(function(){t.each(r)},10)})}),(0,A.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 I.default&&"symbol"==typeof N.default?function(e){return typeof e}:function(e){return e&&"function"==typeof I.default&&e.constructor===I.default&&e!==I.default.prototype?"symbol":typeof e})(e)}(0,R.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(18)),c=r(n(1));n(31);var f=r(n(9)),d=u.default.isABaseView,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'<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}),h=c.default.extend({template:p,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"))}}),m=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 h(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=m,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,h.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,R.default)(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n(0)),s=r(n(17)),l=r(n(1)),u=r(n(9)),f=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}),d=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(f,{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()}}),p=u.default.extend({constructor:function(e){this.inputGroupView=new d(e),u.default.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new d(this.options),this.$el.html(this.inputGroupView.render().el)},toStringValue:function(){var e,t,n=(0,b.default)(e=this.inputGroupView).call(e,function(e){return e.getReadModeString()});return n.length&&(0,c.default)(t=a.default).call(t,n)?n.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:f,InputGroupView:d});t.default=p,e.exports=t.default}])},function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){var r=n(11),o=n(30),i=n(54),a=n(49),s=n(66),l=function(e,t,n){var u,c,f,d,p=e&l.F,h=e&l.G,m=e&l.S,g=e&l.P,v=e&l.B,y=h?r:m?r[t]||(r[t]={}):(r[t]||{}).prototype,b=h?o:o[t]||(o[t]={}),_=b.prototype||(b.prototype={});h&&(n=t);for(u in n)c=!p&&y&&void 0!==y[u],f=(c?y:n)[u],d=v&&c?s(f,r):g&&"function"==typeof f?s(Function.call,f):f,y&&a(y,u,f,e&l.U),b[u]!=f&&i(b,u,d),g&&_[u]!=f&&(_[u]=f)};r.core=o,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},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(311),s=o(a),l=n(700),u=r(l),c=n(111),f=r(c),d=n(74),p=o(d),h=n(701),m=o(h),g=n(703),v=r(g),y=i();y.create=i,v.default(y),y.default=y,t.default=y,e.exports=t.default},function(e,t,n){e.exports=n(688)},function(e,t,n){"use strict";var r=n(22),o=n(104).f,i=n(279),a=n(15),s=n(88),l=n(60),u=n(46),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,g,v,y,b=e.target,_=e.global,w=e.stat,x=e.proto,S=_?r:w?r[b]:(r[b]||{}).prototype,E=_?a:a[b]||(a[b]={}),T=E.prototype;for(p in t)n=i(_?p:b+(w?".":"#")+p,e.forced),f=!n&&S&&u(S,p),m=E[p],f&&(e.noTargetGet?(y=o(S,p),g=y&&y.value):g=S[p]),h=f&&g?g:t[p],f&&typeof m==typeof h||(v=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(v,"sham",!0),E[p]=v,x&&(d=b+"Prototype",u(a,d)||l(a,d,{}),a[d][p]=h,e.real&&T&&!T[p]&&l(T,p,h)))}},function(e,t,n){"use strict";var r,o;r=[n(0),n(8),n(126),n(141)],void 0!==(o=function(e,t,n,r){var o=e.internal.views.forms.components.Toolbar,i=e.internal.views.forms.helpers.FormUtil,a=e._,s=e.Form.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(n){e.Form.call(this,n),a.each(a.result(this,"formChildren")||[],function(n){switch(n.type){case t.INPUT:this.addInput(a.extend({label:!1,"label-top":!0},n.viewOptions));break;case t.BUTTON:this.add(e.createButton(a.extend({model:this.model},n.viewOptions)),n.addOptions),i.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case t.DIVIDER:this.addDivider(n.viewOptions);break;case t.TOOLBAR:this.add(o,{options:n.viewOptions}),i.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case t.VIEW:this.add(n.viewOptions.View,n.addOptions),i.applyShowWhen(this.last(),n.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+n.type)}},this)}});return n.extend({constructor:function(){var e=this.initialize;if(this.initialize=function(){},n.apply(this,arguments),this.Model&&this.Form){var t=r.extend(a.extend({parse:function(e){return this.settings=e.settings,this.appState=e.appState,a.omit(e,["settings","appState"])}},a.result(this,"Model")));this.model=new t({settings:this.settings,appState:this.options.appState},{parse:!0});var o=s.extend(a.result(this,"Form",this));this.form=new o(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(a.extend(this.toJSON(),t||{})),this.add(this.footer)},toJSON:function(){var e=n.prototype.toJSON.apply(this,arguments);return a.extend(a.pick(this.options,"appState"),e)},back:function(){this.footer&&this.footer.back&&this.footer.back()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(668)},function(e,t,n){"use strict";var r;void 0!==(r=function(){function e(e){return function(t,n){return{type:e,viewOptions:t,addOptions:n}}}return{Input:e("INPUT"),Button:e("BUTTON"),Divider:e("DIVIDER"),Toolbar:e("TOOLBAR"),View:e("VIEW"),INPUT:"INPUT",BUTTON:"BUTTON",DIVIDER:"DIVIDER",TOOLBAR:"TOOLBAR",VIEW:"VIEW"}}.call(t,n,t,e))&&(e.exports=r)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(44)),a=r(n(24)),s=r(n(27)),l=r(n(41)),u=n(0),c=r(n(364)),f=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:(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(),(0,s.default)(n).call(n,function(t){e.addInputOrView(t)}),this.listenTo(this,"save",this.saveForm)},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.options.appState.trigger("saveForm",e)},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")):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))}},showMessages:function(){var e=this.options.appState.get("messages");if(e&&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=f},function(e,t,n){"use strict";e.exports={API_RATE_LIMIT:3e4,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",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"}},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(14);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports={}},function(e,t,n){e.exports=n(620)},function(e,t,n){e.exports=n(739)},function(e,t,n){var r=n(15);e.exports=function(e){return r[e+"Prototype"]}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(144)("wks"),o=n(95),i=n(11).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(316)),s=i(n(82)),l=i(n(41)),u=i(n(45)),c=i(n(27));r=[n(0),n(63),n(10)],void 0!==(o=function(e,t,n){function r(e){for(var t=[e],n=e.split("-");n.pop()&&n.length>0;)t.push(n.join("-"));return t}var o={},i=e._,f=function(e,t){var n=document.createElement("input");return n.name=e,n.value=decodeURIComponent(t),n.type="hidden",n},d=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,c.default)(l).call(l,function(e){var t=e.split("="),n=f(t[0],t[1]);s.appendChild(n)})}return s};return o.hasTokensInHash=function(e){return/((id|access)_token=)/i.test(e)},o.hasCodeInUrl=function(e){return/(code=)/i.test(e)},o.transformErrorXHR=function(t){if(0===t.status&&i.isEmpty(t.responseJSON))return t.responseJSON={errorSummary:e.loc("error.network.connection","login")},t;if(!t.responseJSON){if(!t.responseText)return t.responseJSON={errorSummary:e.loc("oform.error.unexpected","login")},t;t.responseJSON=t.responseText}if(t.responseJSON&&t.responseJSON.errorCauses&&t.responseJSON.errorCauses.length&&(t.responseJSON.errorSummary=t.responseJSON.errorCauses[0].errorSummary),!i.isEmpty(t.responseJSON)){var n=e.loc("errors."+t.responseJSON.errorCode,"login");-1===(0,u.default)(n).call(n,"L10N_ERROR[")&&(t.responseJSON.errorSummary=n,t.responseJSON&&t.responseJSON.errorCauses&&t.responseJSON.errorCauses.length&&delete t.responseJSON.errorCauses)}return t},o.toLower=function(e){return(0,l.default)(i).call(i,e,function(e){return e.toLowerCase()})},o.expandLanguages=function(e){var t;return(0,l.default)(t=i.chain(e)).call(t,r).flatten().uniq().value()},o.callAfterTimeout=function(e,t){return(0,s.default)(e,t)},o.debugMessage=function(e){"\n".concat(e.replace(/^(\s)+/gm,""))},o.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=i.isFunction(e.className)?e.className():e.className,r=i.pick(t,"name","message","statusCode","xhr");e.trigger("afterError",{controller:n},r)},o.redirect=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;if(!e)return void t.error("Cannot redirect to empty URL: (".concat(e,")"));n.location.href=e},o.redirectWithFormGet=function(e){o.redirectWithForm(e,"get")},o.redirectWithForm=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"post";if(!e)return void t.error("Cannot redirect to empty URL: (".concat(e,")"));var o=document.getElementById(n.WIDGET_CONTAINER_ID);if(!o)return void t.error("Cannot find okta-sign-in container append to which a form");var i=d(e,r);o.appendChild(i),i.submit()},o.createInputExplain=function(t,n,r,o,i){var a=o?e.loc(t,r,o):e.loc(t,r);return a!==(i?e.loc(n,r,i):e.loc(n,r))&&a},o.isV1StateToken=function(e){return!!(e&&i.isString(e)&&(0,a.default)(e).call(e,"00"))},o}.apply(t,r))&&(e.exports=o)},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(133))},function(e,t,n){var r=n(22),o=n(217),i=n(46),a=n(161),s=n(218),l=n(281),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){e.exports=n(642)},function(e,t,n){var r=n(68),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r,o;r=[n(0),n(75),n(230)],void 0!==(o=function(e,t){var n=e.internal.views.forms.inputs.TextBox;return n.extend({postRender:function(){if("number"===this.options.type){this.$("input").attr({pattern:"[0-9]*",inputmode:"numeric"})}n.prototype.postRender.apply(this,arguments)},focus:function(){if(!t.isIE())return n.prototype.focus.apply(this,arguments)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(599)},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(716),i=n(231);e.exports=r},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(240)),a=r(n(241)),s=n(239),l=a.default.extend({getBeaconClassName:function(){var e=this.options.appState.get("authenticatorType");return(0,s.getIconClassNameForBeacon)(e)}}),u=o.default.extend({Header:i.default.extend({HeaderBeacon:l})});t.default=u},function(e,t){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(90)),s=i(n(166)),l=i(n(45)),u=i(n(41));r=[n(0),n(737)],void 0!==(o=function(e,t){var n=e._,r={},o={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}},i=function(t,r){if(t.complexity){var o=r.complexity,i=function(e){var t=e.excludeAttributes;return e.excludeFirstName=n.contains(t,"firstName"),e.excludeLastName=n.contains(t,"lastName"),n.omit(e,"excludeAttributes")}(t.complexity),a=(0,u.default)(n).call(n,i,function(t,n){if(!(t<=0)){var r=o[n];return r.args?e.loc(r.i18n,"login",[t]):e.loc(r.i18n,"login")}});return n.compact(a)}return[]},c=function(t,n){return t.age&&t.age.historyCount>0?e.loc(n.history.i18n,"login",[t.age.historyCount]):null},f=function(n,r){if(n.age&&n.age.minAgeMinutes>0){var o=t.getTimeInHighestRelevantUnit(n.age.minAgeMinutes,"MINUTE");return function(t){var n;switch(t.unit){case"DAY":n=r.age.days.i18n;break;case"HOUR":n=r.age.hours.i18n;break;case"MINUTE":n=r.age.minutes.i18n}return e.loc(n,"login",[t.time])}(o)}return null},d=function(e,t){var n={complexity:[],history:[],age:[]};n.complexity=i(e,t);var r=c(e,t);r&&n.history.push(r);var o=f(e,t);return o&&n.age.push(o),n};return r.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":r.getFactorNameForFactorType.call(this,t)},r.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},r.isOktaVerify=function(e,t){return"OKTA"===e&&("token:software:totp"===t||"push"===t)},r.getFactorLabel=function(t,n){var i=o[r.getFactorName.apply(this,[t,n])].label;return e.loc(i,"login")},r.getFactorDescription=function(t,i){var a=o[r.getFactorName.apply(this,[t,i])].description;if(n.isFunction(a)){var s=this.settings.get("brandName"),l=a(s);return s?e.loc(l,"login",[s]):e.loc(l,"login")}return e.loc(a,"login")},r.getFactorIconClassName=function(e,t){return o[r.getFactorName.apply(this,[e,t])].iconClassName},r.getFactorSortOrder=function(e,t){return o[r.getFactorName.apply(this,[e,t])].sortOrder},r.getRememberDeviceValue=function(e){return e&&e.get("rememberDeviceByDefault")},r.getSecurityQuestionLabel=function(t){var n=e.loc("security."+t.question);return(0,l.default)(n).call(n,"L10N_ERROR")<0?n:t.questionText},r.removeRequirementsFromError=function(e,t){var r=this.getPasswordComplexityDescription(t);if(e.errorCauses&&e.errorCauses.length>0&&n.isString(e.errorCauses[0].errorSummary)){var o;e.errorCauses[0].errorSummary=(0,s.default)(o=e.errorCauses[0].errorSummary.replace(r,"")).call(o)}return e},r.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"}}},r=d(e,t);return n.union(r.complexity,r.history,r.age)},r.getPasswordComplexityDescription=function(t){var r={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"}}},o=[],i=d(t,r),s=i.complexity;return s.length>0&&(s=(0,a.default)(n).call(n,s,function(t,n){return t?t+e.loc("password.complexity.list.element","login",[n]):n}),o.push(e.loc("password.complexity.requirements","login",[s]))),o.push(i.history[0]),o.push(i.age[0]),n.compact(o).join(" ")},r.getCardinalityText=function(t,n,r){if(r){if(t)return 1===r.enrolled?"":e.loc("enroll.choices.cardinality.setup","login",[r.enrolled]);if(n&&r.maximum>1)return e.loc("enroll.choices.cardinality.setup.remaining","login",[r.enrolled,r.minimum])}return""},r.findFactorInFactorsArray=function(e,t,n){var r=e.findWhere({provider:t,factorType:n});return void 0===r&&(r=e.findWhere({factorType:n})),r},r}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=!n(12)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(13),o=n(244),i=n(86),a=Object.defineProperty;t.f=n(33)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(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){var r=n(15),o=n(46),i=n(170),a=n(61).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 z.apply(e,arguments)}}function t(e){return e===Object(e)}function n(e){return"[object StopIteration]"===ee(e)||e instanceof V}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===q&&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 q=n[0],n[1]}}function u(e){return e instanceof p?e:v(e)?k(e):T(e)}function c(){function e(e){t=e,i.source=e,K(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=G(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 g(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(T(n))},o.reject=function(n){t||e(E(n))},o.notify=function(e){t||K(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 E(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=E(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(g(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function g(e){return e instanceof p}function v(e){return t(e)&&"function"==typeof e.then}function y(e){return g(e)&&"pending"===e.inspect().state}function b(e){return!g(e)||"fulfilled"===e.inspect().state}function _(e){return g(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 S(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 E(e){var t=p({when:function(t){return t&&S(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return x(t,e),t}function T(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 C(e){return p({isDef:function(){}},function(t,n){return P(e,t,n)},function(){return u(e).inspect()})}function O(e,t,n){return u(e).spread(t,n)}function A(e){return function(){function t(e,t){var a;if("undefined"==typeof StopIteration){try{a=r[e](t)}catch(e){return E(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):E(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 N(e){u.done(u.async(e)())}function I(e){throw new V(e)}function R(e){return function(){return O([this,M(arguments)],function(t,n){return e.apply(t,n)})}}function P(e,t,n){return u(e).dispatch(t,n)}function M(e){return h(e,function(e){var t=0,n=c();return K(e,function(r,o,i){var a;g(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 K(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(M(J(e,function(e){return h(e,W,W)})),function(){return e})})}function F(e){return u(e).allSettled()}function U(e,t){return u(e).then(void 0,void 0,t)}function j(e,t){return u(e).nodeify(t)}var B=!1;try{throw new Error}catch(e){B=!!e.stack}var q,V,H=l(),W=function(){},$=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($=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 $.runAfter=function(e){s.push(e),o||(o=!0,i())},$}(),z=Function.call,G=e(Array.prototype.slice),K=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 K(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);V="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var te="From previous event:";u.resolve=u,u.nextTick=$,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(G(arguments,1)):e.resolve(n)}},u.Promise=f,u.promise=f,f.race=d,f.all=M,f.reject=E,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 E(e)}}function i(e){if("function"==typeof t){r(e,s);try{return t(e)}catch(e){return E(e)}}return E(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=g,u.isPromiseAlike=v,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=E,u.fulfill=T,u.master=C,u.spread=O,p.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},u.async=A,u.spawn=N,u.return=I,u.promised=R,u.dispatch=P,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,G(arguments,2)])},p.prototype.send=p.prototype.mcall=p.prototype.invoke=function(e){return this.dispatch("post",[e,G(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,G(arguments,1)])},p.prototype.fcall=function(){return this.dispatch("apply",[void 0,G(arguments)])},u.fbind=function(e){var t=u(e),n=G(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(G(arguments))])}},p.prototype.fbind=function(){var e=this,t=G(arguments);return function(){return e.dispatch("apply",[this,t.concat(G(arguments))])}},u.keys=function(e){return u(e).dispatch("keys",[])},p.prototype.keys=function(){return this.dispatch("keys",[])},u.all=M,p.prototype.all=function(){return M(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=F,p.prototype.allSettled=function(){return this.then(function(e){return M(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=U,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=G(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},u.nfcall=function(e){var t=G(arguments,1);return u(e).nfapply(t)},p.prototype.nfcall=function(){var e=G(arguments),t=c();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},u.nfbind=u.denodeify=function(e){var t=G(arguments,1);return function(){var n=t.concat(G(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=G(arguments);return e.unshift(this),u.denodeify.apply(void 0,e)},u.nbind=function(e,t){var n=G(arguments,2);return function(){function r(){return e.apply(t,arguments)}var o=n.concat(G(arguments)),i=c();return o.push(i.makeNodeResolver()),u(r).fapply(o).fail(i.reject),i.promise}},p.prototype.nbind=function(){var e=G(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=G(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=G(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=G(arguments,1),n=c();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},u.nodeify=j,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){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(10)],void 0!==(o=function(e,t){return e.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'<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",t.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(19);e.exports=!r(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,n){e.exports=n(623)},function(e,t,n){var r=n(31);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){e.exports=n(636)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(16)),a=r(n(3)),s=n(0),l=r(n(9)),u=r(n(870)),c=r(n(240)),f=r(n(92)),d=n(366),p=s.View.extend({Header:c.default,Body:l.default,Footer:f.default,className:function(){var e,t=this.options.appState,n=t.get("currentFormName"),r=t.get("authenticatorType"),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),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),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 u.default.create(e,t)}});t.default=p},function(e,t,n){var r=n(77);e.exports=function(e){return Object(r(e))}},function(e,t,n){e.exports=n(575)},function(e,t,n){e.exports=n(559)},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(119),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(214),n(21),n(10),n(75),n(56),n(764)],void 0!==(o=function(e,t,n,r,o,i,l){var u={},c=s.default.template({compiler:[8,">= 4.3.0"],main: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"signin/verify/"+u((i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i))+"/"+u((i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i))},useData:!0}),f=s.default.template({compiler:[8,">= 4.3.0"],main: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"signin/verify/"+u((i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i))+"/"+u((i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i))+"/"+u((i=null!=(i=c(n,"factorIndex")||(null!=t?c(t,"factorIndex"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"factorIndex",hash:{},data:o,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):i))},useData:!0}),d=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"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}),p=s.default.template({compiler:[8,">= 4.3.0"],main: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"signin/enroll/"+u((i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i))+"/"+u((i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i))},useData:!0}),h=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"/"+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 i,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,a.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,a.default)(s)?s.call(l,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):s))+(null!=(i=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}}}))?i:"")},useData:!0}),m=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"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}),g=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"/"+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}),v=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,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?s:u,"function"===(0,a.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,i="function"===(0,a.default)(s)?s.call(l,{name:"token",hash:{},data:o,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):s)?i:"")+"&redirectUrl="+(null!=(s=null!=(s=c(n,"redirectUrl")||(null!=t?c(t,"redirectUrl"):t))?s:u,i="function"===(0,a.default)(s)?s.call(l,{name:"redirectUrl",hash:{},data:o,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):s)?i:"")},useData:!0});return u.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},u.isDocumentVisible=function(){return"visible"===document.visibilityState},u.createVerifyUrl=function(e,t,n){return e&&n?f({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),factorIndex:encodeURIComponent(n)}):e?c({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)}):d({factorType:encodeURIComponent(t)})},u.createEnrollFactorUrl=function(e,t){return p({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)})},u.createActivateFactorUrl=function(e,t,n){return h({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),step:!!n&&encodeURIComponent(n)})},u.createRecoveryUrl=function(e){return m({recoveryToken:encodeURIComponent(e)})},u.createRefreshUrl=function(e){var t=e?encodeURIComponent(e):null;return g({token:t})},u.routeAfterAuthStatusChangeError=function(t,a){if(a)return a.xhr&&o.corsIsNotEnabled(a.xhr)?void t.settings.callGlobalError(new i.UnsupportedBrowserError(e.loc("error.enabled.cors"))):a.errorCode===l.INVALID_TOKEN_EXCEPTION?(t.appState.set("flashError",a),t.controller.state.set("navigateDir",r.DIRECTION_BACK),void t.navigate("",{trigger:!0})):void n.triggerAfterError(t.controller,a)},u.routeAfterAuthStatusChange=function(e,t){if(!t||!t.status)return void e.appState.clearLastAuthResponse();e.appState.setAuthResponse(t),e.controller&&e.controller.trapAuthResponse(t)||u.handleResponseStatus(e,t)},u.handleResponseStatus=function(n,o){switch(o.status){case"SUCCESS":if(o.recoveryType===r.RECOVERY_TYPE_UNLOCK)return void n.navigate("signin/account-unlocked",{trigger:!0});if(n.settings.get("oauth2Enabled"))return void t.getTokens(n.settings,{sessionToken:o.sessionToken},n.controller);var i={user:o._embedded.user,type:o.type||r.SESSION_SSO};o.relayState&&(i.relayState=o.relayState);var a=n.settings.get("redirectUtilFn"),s=o._links&&(o._links.original&&o._links.original.href||o._links.next&&o._links.next.href);if(o.type===r.SESSION_STEP_UP){var l=o._links&&o._links.next&&o._links.next.href;i.stepUp={url:l,finish:function(){a(l)}}}else s?i.next=function(){a(s)}:(i.type=r.SESSION_SSO,i.session={token:o.sessionToken,setCookieAndRedirect:function(e){a(v({baseUrl:n.settings.get("baseUrl"),token:encodeURIComponent(o.sessionToken),redirectUrl:encodeURIComponent(e)}))}});return void(n.settings.get("features.restrictRedirectToForeground")&&u.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",function e(){u.isDocumentVisible()&&(document.removeEventListener("visibilitychange",e),n.settings.callGlobalSuccess(r.SUCCESS,i))}):n.settings.callGlobalSuccess(r.SUCCESS,i));case"ADMIN_CONSENT_REQUIRED":return void n.navigate("signin/consent",{trigger:!0});case"CONSENT_REQUIRED":return void(n.settings.get("features.consent")&&n.navigate("signin/consent",{trigger:!0}));case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":var c=n.appState.get("lastFailedChallengeFactorData");c&&c.factor&&(n.appState.get("factors").lastUsedFactor=c.factor);var f=n.appState.get("factors").getDefaultFactor(),d=u.createVerifyUrl(f.get("provider"),f.get("factorType"));return n.navigate(d,{trigger:!0}),void n.appState.clearLastFailedChallengeFactorData();case"POLL":;return void n.navigate("signin/poll",{trigger:!0});case"MFA_CHALLENGE":return n.appState.get("isFactorResultFailed")&&n.appState.setLastFailedChallengeFactorData(),void n.appState.get("transaction").prev().then(function(e){n.appState.set("transaction",e)});case"MFA_ENROLL":case"FACTOR_ENROLL":return void n.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":var p=u.createActivateFactorUrl(n.appState.get("activatedFactorProvider"),n.appState.get("activatedFactorType"));return void n.navigate(p,{trigger:!0});case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(n.settings.get("features.customExpiredPassword")&&!n.appState.get("isPwdManagedByOkta")?n.navigate("signin/custom-password-expired",{trigger:!0}):n.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":var h=o.factorType.toLowerCase()===r.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),m=o.recoveryType===r.RECOVERY_TYPE_PASSWORD,g=o.recoveryType===r.RECOVERY_TYPE_UNLOCK;return void(m&&h?n.navigate("signin/recovery-emailed",{trigger:!0}):g&&h?n.navigate("signin/unlock-emailed",{trigger:!0}):n.navigate("signin/recovery-challenge",{trigger:!0}));case"RECOVERY":return void n.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void n.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":return void(n.settings.get("features.selfServiceUnlock")?n.navigate("signin/unlock",{trigger:!0}):n.controller.model.trigger("error",n.controller.model,{responseJSON:{errorCauses:[],errorSummary:e.loc("error.auth.lockedOut","login")}}));case"PROFILE_REQUIRED":return void n.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(n.appState.get("promptForFactorInUnauthenticated")){var y=n.appState.get("factors").getDefaultFactor(),b=u.createVerifyUrl(y.get("provider"),y.get("factorType"));return void n.navigate(b,{trigger:!0})}return void n.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+o.status)}},u}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(11),o=n(54),i=n(53),a=n(95)("src"),s=n(377),l=(""+s).split("toString");n(30).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(i(n,"name")||o(n,"name",t)),e[t]!==n&&(u&&(i(n,a)||o(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:o(e,t,n):(delete e[t],o(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(2),o=n(12),i=n(77),a=/"/g,s=function(e,t,n,r){var o=String(i(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+o+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t,n){var r=n(38),o=n(19),i=n(46),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){var r=n(107);e.exports=function(e){return Object(r(e))}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(34),o=n(94);e.exports=n(33)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(129),o=n(77);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";var r,o;r=[n(0),n(10)],void 0!==(o=function(e,t){function n(n){this.name=t.CONFIG_ERROR,this.message=n||e.loc("error.config")}function r(n){this.name=t.UNSUPPORTED_BROWSER_ERROR,this.message=n||e.loc("error.unsupported.browser")}function o(e){this.name=t.OAUTH_ERROR,this.message=e}function i(e){this.name=t.REGISTRATION_FAILED,this.message=e}function a(){this.name=t.AUTH_STOP_POLL_INITIATION_ERROR}function s(e){this.name=t.U2F_ERROR,this.message=e.xhr.responseJSON.errorSummary,this.xhr=e.xhr}function l(e){this.name=t.WEB_AUTHN_ERROR,this.message=e.xhr.responseJSON.errorSummary,this.xhr=e.xhr}function u(){this.name=t.WEBAUTHN_ABORT_ERROR}return n.prototype=new Error,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,{ConfigError:n,UnsupportedBrowserError:r,OAuthError:o,RegistrationError:i,AuthStopPollInitiationError:a,U2FError:s,WebAuthnError:l,WebauthnAbortError:u}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(12);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var r=n(157),o=n(107);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(38),o=n(61),i=n(105);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(38),o=n(278),i=n(40),a=n(158),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){"use strict";var r;void 0!==(r=function(){function e(e,t){"error"===e&&window.console[e].apply(window.console,t)}return{trace:function(){return e("trace",arguments)},dir:function(){return e("dir",arguments)},time:function(){return e("time",arguments)},timeEnd:function(){return e("timeEnd",arguments)},group:function(){return e("group",arguments)},groupEnd:function(){return e("groupEnd",arguments)},assert:function(){return e("assert",arguments)},log:function(){return e("log",arguments)},info:function(){return e("info",arguments)},warn:function(){return e("warn",arguments)},error:function(){return e("error",arguments)},deprecate:function(t){return e("warn",["[okta-signin-widget] DEPRECATED:",t])}}}.call(t,n,t,e))&&(e.exports=r)},function(e,t,n){"use strict";n(4)(t,"__esModule",{value:!0}),t.FORMS_FOR_VERIFICATION=t.FORMS_WITH_STATIC_BACK_LINK=t.FORMS_WITHOUT_SIGNOUT=t.FORMS=void 0;var r={IDENTIFY:"identify",SELECT_IDENTIFY:"select-identify",SELECT_ENROLL_PROFILE:"select-enroll-profile",ENROLL_PROFILE:"enroll-profile",SELECT_AUTHENTICATOR_AUTHENTICATE:"select-authenticator-authenticate",AUTHENTICATOR_VERIFICATION_DATA:"authenticator-verification-data",CHALLENGE_AUTHENTICATOR:"challenge-authenticator",CHALLENGE_POLL:"challenge-poll",RESEND_PUSH:"resend-push",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",SUCCESS_REDIRECT:"success-redirect",REDIRECT_IDP:"redirect-idp",DEVICE_CHALLENGE_POLL:"device-challenge-poll",DEVICE_APPLE_SSO_EXTENSION:"device-apple-sso-extension",CANCEL_TRANSACTION:"cancel-transaction",LAUNCH_AUTHENTICATOR:"launch-authenticator",TERMINAL:"terminal"};t.FORMS=r;var o=[r.IDENTIFY,r.SUCCESS_REDIRECT,r.ENROLL_PROFILE,r.SELECT_AUTHENTICATOR_ENROLL,r.AUTHENTICATOR_ENROLLMENT_DATA,r.ENROLL_AUTHENTICATOR,r.REDIRECT_IDP,r.RESET_AUTHENTICATOR,"select-factor-enroll","enroll-factor"];t.FORMS_WITHOUT_SIGNOUT=o;var i=[r.SELECT_AUTHENTICATOR_ENROLL,r.SELECT_AUTHENTICATOR_AUTHENTICATE];t.FORMS_WITH_STATIC_BACK_LINK=i;var a=[r.SELECT_AUTHENTICATOR_AUTHENTICATE,r.CHALLENGE_AUTHENTICATOR,r.CHALLENGE_POLL,r.RESEND_PUSH];t.FORMS_FOR_VERIFICATION=a},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(92)),i=n(127),a=o.default.extend({links:function(){return(0,i.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=a},function(e,t,n){var r=n(67);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");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){var r=n(130),o=n(94),i=n(55),a=n(86),s=n(53),l=n(244),u=Object.getOwnPropertyDescriptor;t.f=n(33)?u:function(e,t){if(e=i(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),o=n(30),i=n(12);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(66),o=n(129),i=n(43),a=n(25),s=n(260);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,f=6==e,d=5==e||f,p=t||s;return function(t,s,h){for(var m,g,v=i(t),y=o(v),b=r(s,h,3),_=a(y.length),w=0,x=n?p(t,_):l?p(t,0):void 0;_>w;w++)if((d||w in y)&&(m=y[w],g=b(m,w,v),e))if(n)x[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:x.push(m)}else if(c)return!1;return f?-1:u||c?c:x}}},function(e,t,n){var r=n(15),o=n(22),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(88),o=n(157),i=n(52),a=n(47),s=n(160),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,g){for(var v,y,b=i(p),_=o(b),w=r(h,m,3),x=a(_.length),S=0,E=g||s,T=t?E(p,x):n?E(p,0):void 0;x>S;S++)if((d||S in _)&&(v=_[S],y=w(v,S,b),e))if(t)T[S]=y;else if(y)switch(e){case 3:return!0;case 5:return v;case 6:return S;case 2:l.call(T,v)}else if(c)return!1;return f?-1:u||c?c:T}};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){"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||!(!g(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 g=Array.isArray||function(e){return!(!e||"object"!=typeof e)&&"[object Array]"===h.call(e)};t.isArray=g},function(e,t,n){"use strict";var r,o=n(1),i=o(n(27)),a=o(n(45));void 0!==(r=function(){var e={},t="withCredentials"in new window.XMLHttpRequest,n="undefined"!=typeof XDomainRequest;return e.corsIsNotSupported=function(){return!(t||n)},e.corsIsNotEnabled=function(e){return 0===e.status},e.localStorageIsNotSupported=function(){try{return localStorage.setItem("test","test"),localStorage.removeItem("test"),!1}catch(e){return!0}},e.supportsPushState=function(e){return e=e||window,!(!e.history||!e.history.pushState)},e.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},e.isFirefox=function(){var e;return(0,a.default)(e=navigator.userAgent.toLowerCase()).call(e,"firefox")>-1},e.isEdge=function(){var e;return(0,a.default)(e=navigator.userAgent.toLowerCase()).call(e,"edge")>-1},e.isSafari=function(){var e,t;return(0,a.default)(e=navigator.userAgent.toLowerCase()).call(e,"safari")>-1&&-1===(0,a.default)(t=navigator.userAgent.toLowerCase()).call(t,"chrome")},e.isMac=function(){var e;return(0,a.default)(e=navigator.platform.toUpperCase()).call(e,"MAC")>=0},e.isAndroid=function(){return/android/i.test(navigator.userAgent)&&!/windows phone/i.test(navigator.userAgent)},e.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},e.getUserLanguages=function(){var e,t;return navigator.languages?navigator.languages:(e=[],t=["language","userLanguage","browserLanguage","systemLanguage"],(0,i.default)(t).call(t,function(t){navigator[t]&&e.push(navigator[t])}),e)},e}.call(t,n,t,e))&&(e.exports=r)},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";if(n(33)){var r=n(96),o=n(11),i=n(12),a=n(2),s=n(155),l=n(208),u=n(66),c=n(117),f=n(94),d=n(54),p=n(118),h=n(68),m=n(25),g=n(271),v=n(98),y=n(86),b=n(53),_=n(131),w=n(14),x=n(43),S=n(200),E=n(99),T=n(101),k=n(100).f,C=n(202),O=n(95),A=n(20),N=n(71),I=n(145),R=n(132),P=n(204),M=n(115),L=n(148),D=n(116),F=n(203),U=n(262),j=n(34),B=n(69),q=j.f,V=B.f,H=o.RangeError,W=o.TypeError,$=o.Uint8Array,z=Array.prototype,G=l.ArrayBuffer,K=l.DataView,Y=N(0),J=N(2),Q=N(3),X=N(4),Z=N(5),ee=N(6),te=I(!0),ne=I(!1),re=P.values,oe=P.keys,ie=P.entries,ae=z.lastIndexOf,se=z.reduce,le=z.reduceRight,ue=z.join,ce=z.sort,fe=z.slice,de=z.toString,pe=z.toLocaleString,he=A("iterator"),me=A("toStringTag"),ge=O("typed_constructor"),ve=O("def_constructor"),ye=s.CONSTR,be=s.TYPED,_e=s.VIEW,we=N(1,function(e,t){return ke(R(e,e[ve]),t)}),xe=i(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),Se=!!$&&!!$.prototype.set&&i(function(){new $(1).set({})}),Ee=function(e,t){var n=h(e);if(n<0||n%t)throw H("Wrong offset!");return n},Te=function(e){if(w(e)&&be in e)return e;throw W(e+" is not a typed array!")},ke=function(e,t){if(!(w(e)&&ge in e))throw W("It is not a typed array constructor!");return new e(t)},Ce=function(e,t){return Oe(R(e,e[ve]),t)},Oe=function(e,t){for(var n=0,r=t.length,o=ke(e,r);r>n;)o[n]=t[n++];return o},Ae=function(e,t,n){q(e,t,{get:function(){return this._d[n]}})},Ne=function(e){var t,n,r,o,i,a,s=x(e),l=arguments.length,c=l>1?arguments[1]:void 0,f=void 0!==c,d=C(s);if(void 0!=d&&!S(d)){for(a=d.call(s),r=[],t=0;!(i=a.next()).done;t++)r.push(i.value);s=r}for(f&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),o=ke(this,n);n>t;t++)o[t]=f?c(s[t],t):s[t];return o},Ie=function(){for(var e=0,t=arguments.length,n=ke(this,t);t>e;)n[e]=arguments[e++];return n},Re=!!$&&i(function(){pe.call(new $(1))}),Pe=function(){return pe.apply(Re?fe.call(Te(this)):Te(this),arguments)},Me={copyWithin:function(e,t){return U.call(Te(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return X(Te(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return F.apply(Te(this),arguments)},filter:function(e){return Ce(this,J(Te(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return Z(Te(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return ee(Te(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){Y(Te(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ne(Te(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return te(Te(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Te(this),arguments)},lastIndexOf:function(e){return ae.apply(Te(this),arguments)},map:function(e){return we(Te(this),e,arguments.length>1?arguments[1]:void 0)},reduce:function(e){return se.apply(Te(this),arguments)},reduceRight:function(e){return le.apply(Te(this),arguments)},reverse:function(){for(var e,t=this,n=Te(t).length,r=Math.floor(n/2),o=0;o<r;)e=t[o],t[o++]=t[--n],t[n]=e;return t},some:function(e){return Q(Te(this),e,arguments.length>1?arguments[1]:void 0)},sort:function(e){return ce.call(Te(this),e)},subarray:function(e,t){var n=Te(this),r=n.length,o=v(e,r);return new(R(n,n[ve]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-o))}},Le=function(e,t){return Ce(this,fe.call(Te(this),e,t))},De=function(e){Te(this);var t=Ee(arguments[1],1),n=this.length,r=x(e),o=m(r.length),i=0;if(o+t>n)throw H("Wrong length!");for(;i<o;)this[t+i]=r[i++]},Fe={entries:function(){return ie.call(Te(this))},keys:function(){return oe.call(Te(this))},values:function(){return re.call(Te(this))}},Ue=function(e,t){return w(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},je=function(e,t){return Ue(e,t=y(t,!0))?f(2,e[t]):V(e,t)},Be=function(e,t,n){return!(Ue(e,t=y(t,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?q(e,t,n):(e[t]=n.value,e)};ye||(B.f=je,j.f=Be),a(a.S+a.F*!ye,"Object",{getOwnPropertyDescriptor:je,defineProperty:Be}),i(function(){de.call({})})&&(de=pe=function(){return ue.call(this)});var qe=p({},Me);p(qe,Fe),d(qe,he,Fe.values),p(qe,{slice:Le,set:De,constructor:function(){},toString:de,toLocaleString:Pe}),Ae(qe,"buffer","b"),Ae(qe,"byteOffset","o"),Ae(qe,"byteLength","l"),Ae(qe,"length","e"),q(qe,me,{get:function(){return this[be]}}),e.exports=function(e,t,n,l){l=!!l;var u=e+(l?"Clamped":"")+"Array",f="get"+e,p="set"+e,h=o[u],v=h||{},y=h&&T(h),b=!h||!s.ABV,x={},S=h&&h.prototype,C=function(e,n){var r=e._d;return r.v[f](n*t+r.o,xe)},O=function(e,n,r){var o=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),o.v[p](n*t+o.o,r,xe)},A=function(e,t){q(e,t,{get:function(){return C(this,t)},set:function(e){return O(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,r,o){c(e,h,u,"_d");var i,a,s,l,f=0,p=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(l=_(n))||"SharedArrayBuffer"==l))return be in n?Oe(h,n):Ne.call(h,n);i=n,p=Ee(r,t);var v=n.byteLength;if(void 0===o){if(v%t)throw H("Wrong length!");if((a=v-p)<0)throw H("Wrong length!")}else if((a=m(o)*t)+p>v)throw H("Wrong length!");s=a/t}else s=g(n),a=s*t,i=new G(a);for(d(e,"_d",{b:i,o:p,l:a,e:s,v:new K(i)});f<s;)A(e,f++)}),S=h.prototype=E(qe),d(S,"constructor",h)):i(function(){h(1)})&&i(function(){new h(-1)})&&L(function(e){new h,new h(null),new h(1.5),new h(e)},!0)||(h=n(function(e,n,r,o){c(e,h,u);var i;return w(n)?n instanceof G||"ArrayBuffer"==(i=_(n))||"SharedArrayBuffer"==i?void 0!==o?new v(n,Ee(r,t),o):void 0!==r?new v(n,Ee(r,t)):new v(n):be in n?Oe(h,n):Ne.call(h,n):new v(g(n))}),Y(y!==Function.prototype?k(v).concat(k(y)):k(v),function(e){e in h||d(h,e,v[e])}),h.prototype=S,r||(S.constructor=h));var N=S[he],I=!!N&&("values"==N.name||void 0==N.name),R=Fe.values;d(h,ge,!0),d(S,be,u),d(S,_e,!0),d(S,ve,h),(l?new h(1)[me]==u:me in S)||q(S,me,{get:function(){return u}}),x[u]=h,a(a.G+a.W+a.F*(h!=v),x),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*i(function(){v.of.call(h,1)}),u,{from:Ne,of:Ie}),"BYTES_PER_ELEMENT"in S||d(S,"BYTES_PER_ELEMENT",t),a(a.P,u,Me),D(u),a(a.P+a.F*Se,u,{set:De}),a(a.P+a.F*!I,u,Fe),r||S.toString==de||(S.toString=de),a(a.P+a.F*i(function(){new h(1).slice()}),u,{slice:Le}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!i(function(){S.toLocaleString.call([1,2])})),u,{toLocaleString:Pe}),M[u]=I?N:R,r||I||d(S,he,R)}}else e.exports=function(){}},function(e,t,n){n(123);var r=n(602),o=n(22),i=n(81),a=n(60),s=n(110),l=n(23),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,o,i,a=n(285),s=n(22),l=n(31),u=n(60),c=n(46),f=n(162),d=n(135),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 g=new p,v=g.get,y=g.has,b=g.set;r=function(e,t){return b.call(g,e,t),t},o=function(e){return v.call(g,e)||{}},i=function(e){return y.call(g,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(225),o=n(106),i=n(23),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(641)},function(e,t,n){e.exports=n(662)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(10)],void 0!==(o=function(e,t){var n=e.internal.util.Util,r=e._;return e.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main: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'<a href="#" class="link '+u((i=null!=(i=c(n,"linkClassName")||(null!=t?c(t,"linkClassName"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):i))+'" data-se="signout-link">'+u((i=null!=(i=c(n,"linkText")||(null!=t?c(t,"linkText"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):i))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click a":function(e){e.preventDefault(),this.options.appState.trigger("signOut");var r=this;this.model.doTransaction(function(e){return e.cancel()}).then(function(){r.settings.get("signOutLink")?n.redirect(r.settings.get("signOutLink")):(r.state.set("navigateDir",t.DIRECTION_BACK),r.options.appState.trigger("navigate",""))})}},getTemplateData:function(){return{linkClassName:r.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||e.loc("signout","login")}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){var t=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 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});return e.View.extend({template:t,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}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(14);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(95)("meta"),o=n(14),i=n(53),a=n(34).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(12)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},f=function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},d=function(e,t){if(!i(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},p=function(e){return u&&h.NEED&&l(e)&&!i(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:f,getWeak:d,onFreeze:p}},function(e,t,n){var r=n(59);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(225),o=n(61).f,i=n(60),a=n(46),s=n(600),l=n(23),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){e.exports=n(627)},function(e,t,n){var r=n(40),o=n(324),i=n(47),a=n(88),s=n(176),l=n(325),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,c,f){var d,p,h,m,g,v,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((g=c?b(r(y=e[h])[0],y[1]):b(e[h]))&&g instanceof u)return g;return new u(!1)}d=p.call(e)}for(v=d.next;!(y=v.call(d)).done;)if("object"==typeof(g=l(d,b,y.value,c))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(16)),a=r(n(39)),s=r(n(44)),l=n(0),u=r(n(365)),c=n(127),f=l.View.extend({className:"auth-footer",links:[],initialize:function(){var e=this,t=l._.resultCtx(this,"links",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"))&&(t=(0,i.default)(t).call(t,(0,c.getSignOutLink)(this.options.settings))),(0,o.default)(t).call(t,function(t){e.add(u.default,{options:t})})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(92)),i=n(127),a=o.default.extend({links:function(){return(0,i.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=a},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=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports=!1},function(e,t,n){var r=n(246),o=n(187);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(68),o=Math.max,i=Math.min;e.exports=function(e,t){return e=r(e),e<0?o(e+t,0):i(e,t)}},function(e,t,n){var r=n(13),o=n(247),i=n(187),a=n(186)("IE_PROTO"),s=function(){},l=function(){var e,t=n(184)("iframe"),r=i.length;for(t.style.display="none",n(188).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;r--;)delete l.prototype[i[r]];return l()};e.exports=Object.create||function(e,t){var n;return null!==e?(s.prototype=r(e),n=new s,s.prototype=null,n[a]=e):n=l(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(246),o=n(187).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(53),o=n(43),i=n(186)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(20)("unscopables"),o=Array.prototype;void 0==o[r]&&n(54)(o,r,{}),e.exports=function(e){o[r][e]=!0}},function(e,t,n){var r=n(14);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){var r=n(38),o=n(156),i=n(105),a=n(58),s=n(158),l=n(46),u=n(278),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";var r=n(19);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(106);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t){e.exports={}},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,o,i=n(1),a=i(n(352)),s=i(n(41));r=[n(0),n(36),n(237)],void 0!==(o=function(e,t,n){function r(e){return new t(e)}function o(e,t,n){return t=(0,s.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,a.default)({credential:{id:e.id},publicKey:JSON.parse(e.publicKey),attestation:e.attestation})}))}function i(e,t){var n=(0,s.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,a.default)({credential:{id:e.id},clientData:t.clientData,authenticatorData:t.authnrData,signature:t.signature})}))}return{makeCredential:o,getAssertion:i,isAvailable:function(){return window.hasOwnProperty("msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||n.isU2fAvailable()}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(34).f,o=n(53),i=n(20)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(2),o=n(77),i=n(12),a=n(190),s="["+a+"]",l="​…",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),f=function(e,t,n){var o={},s=i(function(){return!!a[e]()||l[e]()!=l}),u=o[e]=s?t(d):a[e];n&&(o[n]=u),r(r.P+r.F*s,"String",o)},d=f.trim=function(e,t){return e=String(o(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=f},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(11),o=n(34),i=n(33),a=n(20)("species");e.exports=function(e){var t=r[e];i&&t&&!t[a]&&o.f(t,a,{configurable:!0,get:function(){return this}})}},function(e,t){e.exports=function(e,t,n,r){if(!(e instanceof t)||void 0!==r&&r in e)throw TypeError(n+": incorrect invocation!");return e}},function(e,t,n){var r=n(49);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){e.exports=n(563)},function(e,t,n){"use strict";var r=n(158),o=n(61),i=n(105);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){e.exports=function(){}},function(e,t,n){"use strict";var r=n(58),o=n(122),i=n(110),a=n(80),s=n(287),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=n(60);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,o,i=n(1),a=i(n(7)),s=i(n(16)),l=i(n(83)),u=i(n(169)),c=i(n(706));r=[n(172),n(212),n(36),n(707),n(708),n(63),n(213),n(75)],void 0!==(o=function(e,t,n,r,o,i,f,d){function p(e){if(!e)return{};var n={};return t.each((0,u.default)(t).call(t,e),function(t){n[t.toLowerCase()]=e[t]}),t.mapObject(n,function(e){var n={login:{},country:{}};if(!t.isObject(e))throw new Error('Invalid format for "i18n"');return t.each(e,function(e,t){var r=t.split(/^country\./);r.length>1?n.country[r[1]]=e:n.login[r[0]]=e}),n})}function h(){var e=JSON.parse(localStorage.getItem(y));return e&&e.version===f.version||(e={version:f.version}),e}function m(e,t,n){var r=h();r[e]={login:t,country:n},localStorage.setItem(y,(0,l.default)(r))}function g(e,t,n){var r,o,i;o=t.replace("-","_"),i=n.rewrite(encodeURI((0,s.default)(r="/labels/json/".concat(e,"_")).call(r,o,".json")));var a={Accept:"application/json","Content-Type":"text/plain"};return(0,c.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 v(e,r){if("en"===e||!t.contains(f.supportedLanguages,e))return n({});var o=!d.localStorageIsNotSupported();if(o){var i=h();if(i[e])return n(i[e])}return n.all([g("login",e,r),g("country",e,r)]).spread(function(t,n){return o&&m(e,t,n),{login:t,country:n}}).catch(function(){return{}})}var y="osw.languages";return{login:r,country:o,courage:r,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:function(e,n,i){var s=p(n),l=e.toLowerCase();return v(e,i).then((0,a.default)(t).call(t,function(n){this.login=t.extend({},r,n.login),this.country=t.extend({},o,n.country),this.courage=t.extend({},r,n.login),s[l]&&(t.extend(this.login,s[l].login),t.extend(this.country,s[l].country),t.extend(this.courage,s[l].login)),this.currentLanguage=e},this))}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(24));r=[n(0),n(36)],void 0!==(o=function(e,t){function n(t){return(0,s.default)(r).call(r,t.getChildren(),function(t){return t instanceof e.Form})}var r=e._;return e.Controller.extend({addListeners:function(){this.listenTo(this.model,"save",function(){var e=n(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=(0,a.default)(r).call(r,function(e){this.options.appState.set("transaction",e)},this),n=(0,a.default)(r).call(r,function(e){this.options.appState.set("transactionError",e)},this);this.listenTo(e,"setTransaction",t),this.listenTo(e,"setTransactionError",n);var o=e.get("backupFactor");o&&(this.listenTo(o,"setTransaction",t),this.listenTo(o,"setTransactionError",n))},fetchInitialData:function(){return t()},trapAuthResponse:function(){return!1},toJSON:function(){var t=e.Controller.prototype.toJSON.apply(this,arguments);return r.extend(r.pick(this.options,"appState"),t)},toggleButtonState:function(e){var t;(0,s.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})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.getSwitchOVEnrollChannelLink=t.getSignOutLink=t.goBackLink=t.getForgotPasswordLink=t.getSwitchAuthenticatorLink=void 0;var o=r(n(17)),i=n(0),a=n(64),s=function(e){return e.hasRemediationObject("select-factor-authenticate")?[{type:"link",label:(0,i.loc)("mfa.switch","login"),name:"switchFactor",formName:"select-factor-authenticate"}]:e.hasRemediationObject(a.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE)?[{type:"link",label:(0,i.loc)("oie.verification.switch.authenticator","login"),name:"switchAuthenticator",formName:a.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE}]:e.hasRemediationObject(a.FORMS.SELECT_AUTHENTICATOR_ENROLL)?[{type:"link",label:(0,i.loc)("oie.enroll.switch.authenticator","login"),name:"switchAuthenticator",formName:a.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.getSwitchAuthenticatorLink=s;var l=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("currentAuthenticator-recover")?[(0,o.default)({},n,{actionPath:"currentAuthenticator-recover"})]:e.getActionByPath("currentAuthenticatorEnrollment-recover")?[(0,o.default)({},n,{actionPath:"currentAuthenticatorEnrollment-recover"})]:[]};t.getForgotPasswordLink=l;var u=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=u;var c=function(e){return e&&e.get("signOutLink")?[{label:(0,i.loc)("signout","login"),name:"cancel",href:e.get("signOutLink")}]:[{actionPath:"cancel",label:(0,i.loc)("signout","login"),name:"cancel",type:"link"}]};t.getSignOutLink=c;var f=function(e){if(e.hasRemediationObject(a.FORMS.SELECT_ENROLLMENT_CHANNEL))return{type:"link",label:(0,i.loc)("oie.enroll.okta_verify.qrcode.cannotScan","login"),name:"switch-channel",formName:a.FORMS.SELECT_ENROLLMENT_CHANNEL}};t.getSwitchOVEnrollChannelLink=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(165)),i=r(n(295)),a=n(0),s={startPolling:function(){this.options.currentViewState.refresh?this._startRemediationPolling():this._startAuthenticatorPolling()},_startAuthenticatorPolling:function(){var e,t=this;(0,i.default)(e=["currentAuthenticator","currentAuthenticatorEnrollment","factor"]).call(e,function(e){if(t.options.appState.has(e)){var n=t.options.appState.get(e),r="".concat(e,"-poll"),i=n&&n.poll&&n.poll.refresh;return a._.isNumber(i)&&(t.polling=(0,o.default)(function(){t.options.appState.trigger("invokeAction",r)},i)),!0}return!1})},_startRemediationPolling:function(){var e=this,t=this.options.currentViewState.refresh;a._.isNumber(t)&&(this.polling=(0,o.default)(function(){e.options.appState.trigger("saveForm",e.model)},t))},stopPolling:function(){this.polling&&clearInterval(this.polling)}};t.default=s},function(e,t,n){var r=n(76);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(76),o=n(20)("toStringTag"),i="Arguments"==r(function(){return arguments}()),a=function(e,t){try{return e[t]}catch(e){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=a(t=Object(e),o))?n:i?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(13),o=n(67),i=n(20)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[i])?t:o(n)}},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(19),o=n(23),i=n(219),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){e.exports={}},function(e,t,n){var r,o=n(40),i=n(291),a=n(224),s=n(135),l=n(293),u=n(215),c=n(162),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},g=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}g=r?h(r):m();for(var e=a.length;e--;)delete g.prototype[a[e]];return g()};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=g(),void 0===t?n:i(n,t)}},function(e,t,n){var r=n(292),o=n(224);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){"use strict";var r=n(674).charAt,o=n(80),i=n(287),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){"use strict";var r=n(59),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){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(333);e.exports=r},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(45));r=[n(0),n(36),n(10)],void 0!==(o=function(e,t,n){var r=e._,o=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"];return e.Model.extend({doTransaction:function(e,t){var i=this;return e.call(this,this.appState.get("transaction")).then(function(e){return i.trigger("setTransaction",e),e}).catch(function(e){if("AuthPollStopError"!==e.name&&e.name!==n.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==n.WEBAUTHN_ABORT_ERROR&&(i.trigger("error",i,e.xhr),i.trigger("setTransactionError",e),t||-1===(0,s.default)(r).call(r,o,e.name)))throw e})},manageTransaction:function(e){var o=this,i=e.call(this,this.appState.get("transaction"),(0,a.default)(r).call(r,this.setTransaction,this));return t.isPromiseAlike(i)?i.catch(function(e){"AuthPollStopError"!==e.name&&e.name!==n.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==n.WEBAUTHN_ABORT_ERROR&&(o.trigger("error",o,e.xhr),o.trigger("setTransactionError",e))}):t.resolve(i)},startTransaction:function(e){var n=this,r=e.call(this,this.settings.getAuthClient());return t.isPromiseAlike(r)?r.then(function(e){return n.trigger("setTransaction",e),e}).catch(function(e){throw n.trigger("error",n,e.xhr),n.trigger("setTransactionError",e),e}):t.resolve(r)},setTransaction:function(e){this.appState.set("transaction",e)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o=n(1),i=o(n(90));void 0!==(r=function(){var e={};return e.getStringHash=function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},e.base64UrlSafeToBase64=function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},e.binToStr=function(e){var t;return btoa((0,i.default)(t=new Uint8Array(e)).call(t,function(e,t){return e+String.fromCharCode(t)},""))},e.strToBin=function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),function(e){return e.charCodeAt(0)})},e}.call(t,n,t,e))&&(e.exports=r)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t={};return t.validateUsername=function(t){var n=t.get("username");if(n&&n.length>256)return{username:e.loc("model.validation.field.username","login")}},t.validateFieldsMatch=function(e,t,n,r){if(e.get(t)!==e.get(n)){var o={};return o[n]=r,o}},t.validatePasswordMatch=function(n){return t.validateFieldsMatch(n,"newPassword","confirmPassword",e.loc("password.error.match","login"))},t}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(30),o=n(11),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(96)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(55),o=n(25),i=n(98);e.exports=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}}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(76);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(20)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(13);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r=n(131),o=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw new TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";n(264);var r=n(49),o=n(54),i=n(12),a=n(77),s=n(20),l=n(205),u=s("species"),c=!i(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),f=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){var d=s(e),p=!i(function(){var t={};return t[d]=function(){return 7},7!=""[e](t)}),h=p?!i(function(){var t=!1,n=/a/;return n.exec=function(){return t=!0,null},"split"===e&&(n.constructor={},n.constructor[u]=function(){return n}),n[d](""),!t}):void 0;if(!p||!h||"replace"===e&&!c||"split"===e&&!f){var m=/./[d],g=n(a,d,""[e],function(e,t,n,r,o){return t.exec===l?p&&!o?{done:!0,value:m.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),v=g[0],y=g[1];r(String.prototype,e,v),o(RegExp.prototype,d,2==t?function(e,t){return y.call(e,this,t)}:function(e){return y.call(e,this)})}}},function(e,t,n){var r=n(66),o=n(259),i=n(200),a=n(13),s=n(25),l=n(202),u={},c={},t=e.exports=function(e,t,n,f,d){var p,h,m,g,v=d?function(){return e}:l(e),y=r(n,f,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(i(v)){for(p=s(e.length);p>b;b++)if((g=t?y(a(h=e[b])[0],h[1]):y(e[b]))===u||g===c)return g}else for(m=v.call(e);!(h=m.next()).done;)if((g=o(m,y,h.value,t))===u||g===c)return g};t.BREAK=u,t.RETURN=c},function(e,t,n){var r=n(11),o=r.navigator;e.exports=o&&o.userAgent||""},function(e,t,n){"use strict";var r=n(11),o=n(2),i=n(49),a=n(118),s=n(87),l=n(152),u=n(117),c=n(14),f=n(12),d=n(148),p=n(113),h=n(191);e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,_=g?"set":"add",w=b&&b.prototype,x={},S=function(e){var t=w[e];i(w,e,"delete"==e?function(e){return!(v&&!c(e))&&t.call(this,0===e?0:e)}:"has"==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)}:"add"==e?function(e){return t.call(this,0===e?0:e),this}:function(e,n){return t.call(this,0===e?0:e,n),this})};if("function"==typeof b&&(v||w.forEach&&!f(function(){(new b).entries().next()}))){var E=new b,T=E[_](v?{}:-0,1)!=E,k=f(function(){E.has(1)}),C=d(function(e){new b(e)}),O=!v&&f(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});C||(b=t(function(t,n){u(t,b,e);var r=h(new y,t,b);return void 0!=n&&l(n,g,r[_],r),r}),b.prototype=w,w.constructor=b),(k||O)&&(S("delete"),S("has"),g&&S("get")),(O||T)&&S(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,n),s.NEED=!0;return p(b,e),x[e]=b,o(o.G+o.W+o.F*(b!=y),x),v||m.setStrong(b,e,g),b}},function(e,t,n){for(var r,o=n(11),i=n(54),a=n(95),s=a("typed_array"),l=a("view"),u=!(!o.ArrayBuffer||!o.DataView),c=u,f=0,d="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");f<9;)(r=o[d[f++]])?(i(r.prototype,s,!0),i(r.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},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(19),o=n(106),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(31);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(119),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(31),o=n(109),i=n(23),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){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(217),o=n(161),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(46),o=n(52),i=n(162),a=n(290),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){e.exports=n(616)},function(e,t,n){e.exports=n(640)},function(e,t,n){e.exports=n(646)},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){e.exports=n(651)},function(e,t,n){e.exports=n(659)},function(e,t,n){var r=n(23);t.f=r},function(e,t){},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=ge.type(e);return"function"!==n&&!ge.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(ge.isFunction(t))return ge.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ge.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ke.test(t))return ge.filter(t,e,n);t=ge.filter(t,e)}return ge.grep(e,function(e){return ge.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 ge.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(),ge.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)?ge.parseJSON(n):n)}catch(e){}ge.data(e,t,n)}else n=void 0}return n}function p(e){var t;for(t in e)if(("data"!==t||!ge.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(Me(e)){var o,i,a=ge.expando,s=e.nodeType,l=s?ge.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()||ge.guid++:a),l[u]||(l[u]=s?{}:{toJSON:ge.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=ge.extend(l[u],t):l[u].data=ge.extend(l[u].data,t)),i=l[u],r||(i.data||(i.data={}),i=i.data),void 0!==n&&(i[ge.camelCase(t)]=n),"string"==typeof t?null==(o=i[t])&&(o=i[ge.camelCase(t)]):o=i,o}}function m(e,t,n){if(Me(e)){var r,o,i=e.nodeType,a=i?ge.cache:e,s=i?e[ge.expando]:ge.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ge.isArray(t)?t=t.concat(ge.map(t,ge.camelCase)):t in r?t=[t]:(t=ge.camelCase(t),t=t in r?[t]:t.split(" ")),o=t.length;for(;o--;)delete r[t[o]];if(n?!p(r):!ge.isEmptyObject(r))return}(n||(delete a[s].data,p(a[s])))&&(i?ge.cleanData([e],!0):me.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function g(e,t,n,r){var o,i=1,a=20,s=r?function(){return r.cur()}:function(){return ge.css(e,t,"")},l=s(),u=n&&n[3]||(ge.cssNumber[t]?"":"px"),c=(ge.cssNumber[t]||"px"!==u&&+l)&&Ue.exec(ge.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{i=i||".5",c/=i,ge.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 v(e){var t=ze.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||ge.nodeName(r,t)?i.push(r):ge.merge(i,y(r,t));return void 0===t||t&&ge.nodeName(e,t)?ge.merge([e],i):i}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)ge._data(n,"globalEval",!t||ge._data(t[r],"globalEval"))}function _(e){Ve.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=v(t),h=[],m=0;m<d;m++)if((a=e[m])||0===a)if("object"===ge.type(a))ge.merge(h,a.nodeType?[a]:a);else if(Ke.test(a)){for(l=l||p.appendChild(t.createElement("div")),u=(He.exec(a)||["",""])[1].toLowerCase(),f=Ge[u]||Ge._default,l.innerHTML=f[1]+ge.htmlPrefilter(a)+f[2],i=f[0];i--;)l=l.lastChild;if(!me.leadingWhitespace&&$e.test(a)&&h.push(t.createTextNode($e.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--;)ge.nodeName(c=a.childNodes[i],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(ge.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||ge.grep(y(h,"input"),_),m=0;a=h[m++];)if(r&&ge.inArray(a,r)>-1)o&&o.push(a);else if(s=ge.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 S(){return!1}function E(){try{return se.activeElement}catch(e){}}function T(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)T(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=S;else if(!o)return e;return 1===i&&(a=o,o=function(e){return ge().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=ge.guid++)),e.each(function(){ge.event.add(this,t,o,r,n)})}function k(e,t){return ge.nodeName(e,"table")&&ge.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==ge.find.attr(e,"type"))+"/"+e.type,e}function O(e){var t=at.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function A(e,t){if(1===t.nodeType&&ge.hasData(e)){var n,r,o,i=ge._data(e),a=ge._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++)ge.event.add(t,n,s[n][r])}a.data&&(a.data=ge.extend({},a.data))}}function N(e,t){var n,r,o;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ge.expando]){o=ge._data(t);for(r in o.events)ge.removeEvent(t,r,o.handle);t.removeAttribute(ge.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,O(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ge.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ve.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=ge.isFunction(p);if(h||f>1&&"string"==typeof p&&!me.checkClone&&it.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=ge.map(y(u,"script"),C),a=s.length;c<f;c++)i=u,c!==d&&(i=ge.clone(i,!0,!0),a&&ge.merge(s,y(i,"script"))),n.call(e[c],i,c);if(a)for(l=s[s.length-1].ownerDocument,ge.map(s,O),c=0;c<a;c++)i=s[c],We.test(i.type||"")&&!ge._data(i,"globalEval")&&ge.contains(l,i)&&(i.src?ge._evalUrl&&ge._evalUrl(i.src):ge.globalEval((i.text||i.textContent||i.innerHTML||"").replace(st,"")));u=o=null}return e}function R(e,t,n){for(var r,o=t?ge.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||ge.cleanData(y(r)),r.parentNode&&(n&&ge.contains(r.ownerDocument,r)&&b(y(r,"script")),r.parentNode.removeChild(r));return e}function P(e,t){var n=ge(t.createElement(e)).appendTo(t.body),r=ge.css(n[0],"display");return n.detach(),r}function M(e){var t=se,n=ft[e];return n||(n=P(e,t),"none"!==n&&n||(ct=(ct||ge("<iframe frameborder='0' width='0' height='0'></iframe>")).appendTo(t.documentElement),t=(ct[0].contentWindow||ct[0].contentDocument).document,t.write(),t.close(),n=P(e,t),ct.detach()),ft[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 kt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in kt)return e}function F(e,t){for(var n,r,o,i=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(i[a]=ge._data(r,"olddisplay"),n=r.style.display,t?(i[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Be(r)&&(i[a]=ge._data(r,"olddisplay",M(r.nodeName)))):(o=Be(r),(n&&"none"!==n||!o)&&ge._data(r,"olddisplay",o?n:ge.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 U(e,t,n){var r=xt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function j(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+=ge.css(e,n+je[i],!0,o)),r?("content"===n&&(a-=ge.css(e,"padding"+je[i],!0,o)),"margin"!==n&&(a-=ge.css(e,"border"+je[i]+"Width",!0,o))):(a+=ge.css(e,"padding"+je[i],!0,o),"padding"!==n&&(a+=ge.css(e,"border"+je[i]+"Width",!0,o)));return a}function B(e,t,n){var r=!0,o="width"===t?e.offsetWidth:e.offsetHeight,i=gt(e),a=me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,i);if(o<=0||null==o){if(o=vt(e,t,i),(o<0||null==o)&&(o=e.style[t]),pt.test(o))return o;r=a&&(me.boxSizingReliable()||o===e.style[t]),o=parseFloat(o)||0}return o+j(e,t,n||(a?"border":"content"),r,i)+"px"}function q(e,t,n,r,o){return new q.prototype.init(e,t,n,r,o)}function V(){return n.setTimeout(function(){Ct=void 0}),Ct=ge.now()}function H(e,t){var n,r={height:e},o=0;for(t=t?1:0;o<4;o+=2-t)n=je[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=(G.tweeners[t]||[]).concat(G.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function $(e,t,n){var r,o,i,a,s,l,u,c=this,f={},d=e.style,p=e.nodeType&&Be(e),h=ge._data(e,"fxshow");n.queue||(s=ge._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--,ge.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=ge.css(e,"display"),"inline"===("none"===u?ge._data(e,"olddisplay")||M(e.nodeName):u)&&"none"===ge.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==M(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]||ge.style(e,r)}else u=void 0;if(ge.isEmptyObject(f))"inline"===("none"===u?M(e.nodeName):u)&&(d.display=u);else{h?"hidden"in h&&(p=h.hidden):h=ge._data(e,"fxshow",{}),i&&(h.hidden=!p),p?ge(e).show():c.done(function(){ge(e).hide()}),c.done(function(){var t;ge._removeData(e,"fxshow");for(t in f)ge.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 z(e,t){var n,r,o,i,a;for(n in e)if(r=ge.camelCase(n),o=t[r],i=e[n],ge.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=ge.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 G(e,t,n){var r,o,i=0,a=G.prefilters.length,s=ge.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=Ct||V(),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:ge.extend({},t),opts:ge.extend(!0,{specialEasing:{},easing:ge.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ct||V(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ge.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(z(c,u.opts.specialEasing);i<a;i++)if(r=G.prefilters[i].call(u,e,c,u.opts))return ge.isFunction(r.stop)&&(ge._queueHooks(u.elem,u.opts.queue).stop=ge.proxy(r.stop,r)),r;return ge.map(c,W,u),ge.isFunction(u.opts.start)&&u.opts.start.call(e,u),ge.fx.timer(ge.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 K(e){return ge.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(ge.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,ge.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===en;return o(t.dataTypes[0])||!i["*"]&&o("*")}function Q(e,t){var n,r,o=ge.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((o[r]?e:n||(n={}))[r]=t[r]);return n&&ge.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||ge.css(e,"display")}function te(e){if(!ge.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(ge.isArray(t))ge.each(t,function(t,o){n||an.test(e)?r(e,o):ne(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==ge.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 ge.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={},ge=function(e,t){return new ge.fn.init(e,t)},ve=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ye=/^-ms-/,be=/-([\da-z])/gi,_e=function(e,t){return t.toUpperCase()};ge.fn=ge.prototype={jquery:"1.12.4",constructor:ge,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=ge.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ge.each(this,e)},map:function(e){return this.pushStack(ge.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},ge.extend=ge.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||ge.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&&(ge.isPlainObject(n)||(t=ge.isArray(n)))?(t?(t=!1,i=e&&ge.isArray(e)?e:[]):i=e&&ge.isPlainObject(e)?e:{},a[r]=ge.extend(u,i,n)):void 0!==n&&(a[r]=n));return a},ge.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"===ge.type(e)},isArray:Array.isArray||function(e){return"array"===ge.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ge.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"!==ge.type(e)||e.nodeType||ge.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&&ge.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(ve,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ge.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),ge.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||ge.guid++,r},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ge.fn[Symbol.iterator]=ae[Symbol.iterator]),ge.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:U)!==N&&A(t),t=t||N,R)){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+" "]&&(!P||!P.test(e))){if(1!==m)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ve,"\\$&"):t.setAttribute("id",s=F),d=S(e),i=d.length,u=ce.test(s)?"#"+s:"[id='"+s+"']";i--;)d[i]=u+" "+c(d[i]);p=d.join(","),h=ge.test(e)&&l(t.parentNode)||t}if(p)try{return J.apply(n,h.querySelectorAll(p)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return T(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[F]=!0,e}function o(e){var t=N.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||$)-(~e.sourceIndex||$);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=[j,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[F]||(t[F]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[r])&&s[0]===j&&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[F]&&(o=m(o)),i&&!i[F]&&(i=m(i,a)),r(function(r,a,s,l){var u,c,f,d=[],m=[],g=a.length,v=r||p(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:h(v,d,e,s,l),b=n?i||(r?e:g||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(g,b.length):b),i?i(null,a,b,l):J.apply(a,b)})}function g(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[F]){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&&g(e.slice(s,r)),r<o&&g(e=e.slice(r)),r<o&&c(e))}p.push(n)}return d(p)}function v(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",g=r&&[],v=[],y=k,b=r||i&&_.find.TAG("*",u),w=j+=null==y?1:Math.random()||.1,x=b.length;for(u&&(k=a===N||a||u);m!==x&&null!=(c=b[m]);m++){if(i&&c){for(f=0,a||c.ownerDocument===N||(A(c),s=!R);d=e[f++];)if(d(c,a||N,s)){l.push(c);break}u&&(j=w)}o&&((c=!d&&c)&&p--,r&&g.push(c))}if(p+=m,o&&m!==p){for(f=0;d=n[f++];)d(g,v,a,s);if(r){if(p>0)for(;m--;)g[m]||v[m]||(v[m]=K.call(l));v=h(v)}J.apply(l,v),u&&!r&&v.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(j=w,k=y),g};return o?r(a):a}var y,b,_,w,x,S,E,T,k,C,O,A,N,I,R,P,M,L,D,F="sizzle"+1*new Date,U=e.document,j=0,B=0,q=n(),V=n(),H=n(),W=function(e,t){return e===t&&(O=!0),0},$=1<<31,z={}.hasOwnProperty,G=[],K=G.pop,Y=G.push,J=G.push,Q=G.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-]+))$/,ge=/[+~]/,ve=/'|\\/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(){A()};try{J.apply(G=Q.call(U.childNodes),U.childNodes),G[U.childNodes.length].nodeType}catch(e){J={apply:G.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},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,I=N.documentElement,R=!x(N),(n=N.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(N.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(N.getElementsByClassName),b.getById=o(function(e){return I.appendChild(e).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),b.getById?(_.find.ID=function(e,t){if(void 0!==t.getElementById&&R){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&&R)return t.getElementsByClassName(e)},M=[],P=[],(b.qsa=he.test(N.querySelectorAll))&&(o(function(e){I.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&P.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||P.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||P.push("~="),e.querySelectorAll(":checked").length||P.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||P.push(".#.+[+~]")}),o(function(e){var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&P.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||P.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),P.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"),M.push("!=",re)}),P=P.length&&new RegExp(P.join("|")),M=M.length&&new RegExp(M.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 O=!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===N||e.ownerDocument===U&&D(U,e)?-1:t===N||t.ownerDocument===U&&D(U,t)?1:C?X(C,e)-X(C,t):0:4&n?-1:1)}:function(e,t){if(e===t)return O=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,s=[e],l=[t];if(!o||!i)return e===N?-1:t===N?1:o?-1:i?1:C?X(C,e)-X(C,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]===U?-1:l[r]===U?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&A(e),n=n.replace(le,"='$1']"),b.matchesSelector&&R&&!H[n+" "]&&(!M||!M.test(n))&&(!P||!P.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,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&A(e),D(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&A(e);var n=_.attrHandle[t.toLowerCase()],r=n&&z.call(_.attrHandle,t.toLowerCase())?n(e,t,!R):void 0;return void 0!==r?r:b.attributes||!R?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(O=!b.detectDuplicates,C=!b.sortStable&&e.slice(0),e.sort(W),O){for(;t=e[o++];)t===e[o]&&(r=n.push(o));for(;r--;)e.splice(n[r],1)}return C=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=S(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=q[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&q(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",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(i){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(d=g,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[e]||[],p=u[0]===j&&u[1],b=p&&u[2],d=p&&g.childNodes[p];d=++p&&d&&d[m]||(b=p=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[j,p,b];break}}else if(y&&(d=t,f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),u=c[e]||[],p=u[0]===j&&u[1],b=p),!1===b)for(;(d=++p&&d&&d[m]||(b=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||(y&&(f=d[F]||(d[F]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[j,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[F]?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=E(e.replace(ie,"$1"));return o[F]?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=R?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===N.activeElement&&(!N.hasFocus||N.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,S=t.tokenize=function(e,n){var r,o,i,a,s,l,u,c=V[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):V(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],o=[],i=H[e+" "];if(!i){for(t||(t=S(e)),n=t.length;n--;)i=g(t[n]),i[F]?r.push(i):o.push(i);i=H(e,v(o,r)),i.selector=e}return i},T=t.select=function(e,t,n,r){var o,i,a,s,u,f="function"==typeof e&&e,d=!r&&S(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&&R&&_.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),ge.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||E(e,d))(r,t,!R,n,!t||ge.test(e)&&l(t.parentNode)||t),n},b.sortStable=F.split("").sort(W).join("")===F,b.detectDuplicates=!!O,A(),b.sortDetached=o(function(e){return 1&e.compareDocumentPosition(N.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);ge.find=we,ge.expr=we.selectors,ge.expr[":"]=ge.expr.pseudos,ge.uniqueSort=ge.unique=we.uniqueSort,ge.text=we.getText,ge.isXMLDoc=we.isXML,ge.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&&ge(e).is(n))break;r.push(e)}return r},Se=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=ge.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ke=/^.[^:#\[\.,]*$/;ge.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ge.find.matchesSelector(r,e)?[r]:[]:ge.find.matches(e,ge.grep(t,function(e){return 1===e.nodeType}))},ge.fn.extend({find:function(e){var t,n=[],r=this,o=r.length;if("string"!=typeof e)return this.pushStack(ge(e).filter(function(){for(t=0;t<o;t++)if(ge.contains(r[t],this))return!0}));for(t=0;t<o;t++)ge.find(e,r[t],n);return n=this.pushStack(o>1?ge.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&&Ee.test(e)?ge(e):e||[],!1).length}});var Ce,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ge.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||Ce,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Oe.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 ge?t[0]:t,ge.merge(this,ge.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Te.test(r[1])&&ge.isPlainObject(t))for(r in t)ge.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 Ce.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):ge.isFunction(e)?void 0!==n.ready?n.ready(e):e(ge):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ge.makeArray(e,this))}).prototype=ge.fn,Ce=ge(se);var Ae=/^(?:parents|prev(?:Until|All))/,Ne={children:!0,contents:!0,next:!0,prev:!0};ge.fn.extend({has:function(e){var t,n=ge(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(ge.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,o=this.length,i=[],a=Ee.test(e)||"string"!=typeof e?ge(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&&ge.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?ge.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?ge.inArray(this[0],ge(e)):ge.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ge.uniqueSort(ge.merge(this.get(),ge(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ge.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 Se((e.parentNode||{}).firstChild,e)},children:function(e){return Se(e.firstChild)},contents:function(e){return ge.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ge.merge([],e.childNodes)}},function(e,t){ge.fn[e]=function(n,r){var o=ge.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=ge.filter(r,o)),this.length>1&&(Ne[e]||(o=ge.uniqueSort(o)),Ae.test(e)&&(o=o.reverse())),this.pushStack(o)}});var Ie=/\S+/g;ge.Callbacks=function(e){e="string"==typeof e?u(e):ge.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){ge.each(n,function(n,r){ge.isFunction(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==ge.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return ge.each(arguments,function(e,t){for(var n;(n=ge.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ge.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},ge.extend({Deferred:function(e){var t=[["resolve","done",ge.Callbacks("once memory"),"resolved"],["reject","fail",ge.Callbacks("once memory"),"rejected"],["notify","progress",ge.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ge.Deferred(function(n){ge.each(t,function(t,i){var a=ge.isFunction(e[t])&&e[t];o[i[1]](function(){var e=a&&a.apply(this,arguments);e&&ge.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?ge.extend(e,r):r}},o={};return r.pipe=r.then,ge.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&&ge.isFunction(e.promise)?a:0,l=1===s?e:ge.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]&&ge.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 Re;ge.fn.ready=function(e){return ge.ready.promise().done(e),this},ge.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ge.readyWait++:ge.ready(!0)},ready:function(e){(!0===e?--ge.readyWait:ge.isReady)||(ge.isReady=!0,!0!==e&&--ge.readyWait>0||(Re.resolveWith(se,[ge]),ge.fn.triggerHandler&&(ge(se).triggerHandler("ready"),ge(se).off("ready"))))}}),ge.ready.promise=function(e){if(!Re)if(Re=ge.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(ge.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(!ge.isReady){try{t.doScroll("left")}catch(t){return n.setTimeout(e,50)}c(),ge.ready()}}()}return Re.promise(e)},ge.ready.promise();var Pe;for(Pe in ge(me))break;me.ownFirst="0"===Pe,me.inlineBlockNeedsLayout=!1,ge(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 Me=function(e){var t=ge.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;ge.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ge.cache[e[ge.expando]]:e[ge.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)}}),ge.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=ge.data(i),1===i.nodeType&&!ge._data(i,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ge.camelCase(r.slice(5)),d(i,r,o[r])));ge._data(i,"parsedAttrs",!0)}return o}return"object"==typeof e?this.each(function(){ge.data(this,e)}):arguments.length>1?this.each(function(){ge.data(this,e,t)}):i?d(i,e,ge.data(i,e)):void 0},removeData:function(e){return this.each(function(){ge.removeData(this,e)})}}),ge.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ge._data(e,t),n&&(!r||ge.isArray(n)?r=ge._data(e,t,ge.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ge.queue(e,t),r=n.length,o=n.shift(),i=ge._queueHooks(e,t),a=function(){ge.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 ge._data(e,n)||ge._data(e,n,{empty:ge.Callbacks("once memory").add(function(){ge._removeData(e,t+"queue"),ge._removeData(e,n)})})}}),ge.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ge.queue(this[0],e):void 0===t?this:this.each(function(){var n=ge.queue(this,e,t);ge._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ge.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ge.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=ge.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=ge._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 Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ue=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],Be=function(e,t){return e=t||e,"none"===ge.css(e,"display")||!ge.contains(e.ownerDocument,e)},qe=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===ge.type(n)){o=!0;for(s in n)qe(e,t,s,n[s],!0,i,a)}else if(void 0!==r&&(o=!0,ge.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(ge(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},Ve=/^(?:checkbox|radio)$/i,He=/<([\w:-]+)/,We=/^$|\/(?:java|ecma)script/i,$e=/^\s+/,ze="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[ge.expando]=1,me.attributes=!e.getAttribute(ge.expando)}();var Ge={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>"]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ke=/<|&#?\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=/^([^.]*)(?:\.(.+)|)/;ge.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,f,d,p,h,m,g=ge._data(e);if(g){for(n.handler&&(l=n,n=l.handler,o=l.selector),n.guid||(n.guid=ge.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(e){return void 0===ge||e&&ge.event.triggered===e.type?void 0:ge.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=ge.event.special[p]||{},p=(o?u.delegateType:u.bindType)||p,u=ge.event.special[p]||{},f=ge.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&ge.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),ge.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,g=ge.hasData(e)&&ge._data(e);if(g&&(c=g.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=ge.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,g.handle)||ge.removeEvent(e,p,g.handle),delete c[p])}else for(p in c)ge.event.remove(e,p+t[u],n,r,!0);ge.isEmptyObject(c)&&(delete g.handle,ge._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+ge.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,e=e[ge.expando]?e:new ge.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]:ge.makeArray(t,[e]),u=ge.event.special[p]||{},o||!u.trigger||!1!==u.trigger.apply(r,t))){if(!o&&!u.noBubble&&!ge.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=(ge._data(s,"events")||{})[e.type]&&ge._data(s,"handle"),i&&i.apply(s,t),(i=a&&s[a])&&i.apply&&Me(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))&&Me(r)&&a&&r[p]&&!ge.isWindow(r)){c=r[a],c&&(r[a]=null),ge.event.triggered=p;try{r[p]()}catch(e){}ge.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(e){e=ge.event.fix(e);var t,n,r,o,i,a=[],s=le.call(arguments),l=(ge._data(this,"events")||{})[e.type]||[],u=ge.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=ge.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=((ge.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?ge(o,this).index(l)>-1:ge.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[ge.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 ge.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!==E()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ge.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return ge.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=ge.extend(new ge.Event,n,{type:e,isSimulated:!0});ge.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},ge.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))},ge.Event=function(e,t){if(!(this instanceof ge.Event))return new ge.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:S):this.type=e,t&&ge.extend(this,t),this.timeStamp=e&&e.timeStamp||ge.now(),this[ge.expando]=!0},ge.Event.prototype={constructor:ge.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,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()}},ge.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ge.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||ge.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ge.event.special.submit={setup:function(){if(ge.nodeName(this,"form"))return!1;ge.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ge.nodeName(t,"input")||ge.nodeName(t,"button")?ge.prop(t,"form"):void 0;n&&!ge._data(n,"submit")&&(ge.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ge._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ge.event.simulate("submit",this.parentNode,e))},teardown:function(){if(ge.nodeName(this,"form"))return!1;ge.event.remove(this,"._submit")}}),me.change||(ge.event.special.change={setup:function(){if(Je.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ge.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ge.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ge.event.simulate("change",this,e)})),!1;ge.event.add(this,"beforeactivate._change",function(e){var t=e.target;Je.test(t.nodeName)&&!ge._data(t,"change")&&(ge.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ge.event.simulate("change",this.parentNode,e)}),ge._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 ge.event.remove(this,"._change"),!Je.test(this.nodeName)}}),me.focusin||ge.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ge.event.simulate(t,e.target,ge.event.fix(e))};ge.event.special[t]={setup:function(){var r=this.ownerDocument||this,o=ge._data(r,t);o||r.addEventListener(e,n,!0),ge._data(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this,o=ge._data(r,t)-1;o?ge._data(r,t,o):(r.removeEventListener(e,n,!0),ge._removeData(r,t))}}}),ge.fn.extend({on:function(e,t,n,r){return T(this,e,t,n,r)},one:function(e,t,n,r){return T(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ge(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=S),this.each(function(){ge.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ge.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ge.event.trigger(e,t,n,!0)}});var tt=/ jQuery\d+="(?:null|\d+)"/g,nt=new RegExp("<(?:"+ze+")[\\s/>]","i"),rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ot=/<script|<style|<link/i,it=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^true\/(.*)/,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,lt=v(se),ut=lt.appendChild(se.createElement("div"));ge.extend({htmlPrefilter:function(e){try{if(n.top&&n.top.__OKTA_JQUERY_LEGACY_HTML_PREFILTER__)return e.replace(rt,"<$1></$2>")}catch(t){return e.replace(rt,"<$1></$2>")}return e},clone:function(e,t,n){var r,o,i,a,s,l=ge.contains(e.ownerDocument,e);if(me.html5Clone||ge.isXMLDoc(e)||!nt.test("<"+e.nodeName+">")?i=e.cloneNode(!0):(ut.innerHTML=e.outerHTML,ut.removeChild(i=ut.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ge.isXMLDoc(e)))for(r=y(i),s=y(e),a=0;null!=(o=s[a]);++a)r[a]&&N(o,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(i),a=0;null!=(o=s[a]);a++)A(o,r[a]);else A(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=ge.expando,l=ge.cache,u=me.attributes,c=ge.event.special;null!=(n=e[a]);a++)if((t||Me(n))&&(o=n[s],i=o&&l[o])){if(i.events)for(r in i.events)c[r]?ge.event.remove(n,r):ge.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))}}}),ge.fn.extend({domManip:I,detach:function(e){return R(this,e,!0)},remove:function(e){return R(this,e)},text:function(e){return qe(this,function(e){return void 0===e?ge.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&&ge.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ge.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 ge.clone(this,e,t)})},html:function(e){return qe(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&&!ot.test(e)&&(me.htmlSerialize||!nt.test(e))&&(me.leadingWhitespace||!$e.test(e))&&!Ge[(He.exec(e)||["",""])[1].toLowerCase()]){e=ge.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ge.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;ge.inArray(this,e)<0&&(ge.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),ge.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ge.fn[e]=function(e){for(var n,r=0,o=[],i=ge(e),a=i.length-1;r<=a;r++)n=r===a?this:this.clone(!0),ge(i[r])[t](n),ce.apply(o,n.get());return this.pushStack(o)}});var ct,ft={HTML:"block",BODY:"block"},dt=/^margin/,pt=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),ht=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},mt=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,ge.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 gt,vt,yt=/^(top|right|bottom|left)$/;n.getComputedStyle?(gt=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||gt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ge.contains(e.ownerDocument,e)||(a=ge.style(e,t)),n&&!me.pixelMarginRight()&&pt.test(a)&&dt.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+""}):mt.currentStyle&&(gt=function(e){return e.currentStyle},vt=function(e,t,n){var r,o,i,a,s=e.style;return n=n||gt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),pt.test(a)&&!yt.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 bt=/alpha\([^)]*\)/i,_t=/opacity\s*=\s*([^)]*)/i,wt=/^(none|table(?!-c[ea]).+)/,xt=new RegExp("^("+Fe+")(.*)$","i"),St={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],kt=se.createElement("div").style;ge.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=ge.camelCase(t),l=e.style;if(t=ge.cssProps[s]||(ge.cssProps[s]=D(s)||s),a=ge.cssHooks[t]||ge.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=Ue.exec(n))&&o[1]&&(n=g(e,t,o),i="number"),null!=n&&n===n&&("number"===i&&(n+=o&&o[3]||(ge.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=ge.camelCase(t);return t=ge.cssProps[s]||(ge.cssProps[s]=D(s)||s),a=ge.cssHooks[t]||ge.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}}),ge.each(["height","width"],function(e,t){ge.cssHooks[t]={get:function(e,n,r){if(n)return wt.test(ge.css(e,"display"))&&0===e.offsetWidth?ht(e,St,function(){return B(e,t,r)}):B(e,t,r)},set:function(e,n,r){var o=r&&gt(e);return U(e,n,r?j(e,t,r,me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,o),o):0)}}}),me.opacity||(ge.cssHooks.opacity={get:function(e,t){return _t.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=ge.isNumeric(t)?"alpha(opacity="+100*t+")":"",i=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ge.trim(i.replace(bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=bt.test(i)?i.replace(bt,o):i+" "+o)}}),ge.cssHooks.marginRight=L(me.reliableMarginRight,function(e,t){if(t)return ht(e,{display:"inline-block"},vt,[e,"marginRight"])}),ge.cssHooks.marginLeft=L(me.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||(ge.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),ge.each({margin:"",padding:"",border:"Width"},function(e,t){ge.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+je[r]+t]=i[r]||i[r-2]||i[0];return o}},dt.test(e)||(ge.cssHooks[e+t].set=U)}),ge.fn.extend({css:function(e,t){return qe(this,function(e,t,n){var r,o,i={},a=0;if(ge.isArray(t)){for(r=gt(e),o=t.length;a<o;a++)i[t[a]]=ge.css(e,t[a],!1,r);return i}return void 0!==n?ge.style(e,t,n):ge.css(e,t)},e,t,arguments.length>1)},show:function(){return F(this,!0)},hide:function(){return F(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?ge(this).show():ge(this).hide()})}}),ge.Tween=q,q.prototype={constructor:q,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||ge.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(ge.cssNumber[n]?"":"px")},cur:function(){var e=q.propHooks[this.prop];return e&&e.get?e.get(this):q.propHooks._default.get(this)},run:function(e){var t,n=q.propHooks[this.prop];return this.options.duration?this.pos=t=ge.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):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.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=ge.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ge.fx.step[e.prop]?ge.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ge.cssProps[e.prop]]&&!ge.cssHooks[e.prop]?e.elem[e.prop]=e.now:ge.style(e.elem,e.prop,e.now+e.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ge.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ge.fx=q.prototype.init,ge.fx.step={};var Ct,Ot,At=/^(?:toggle|show|hide)$/,Nt=/queueHooks$/;ge.Animation=ge.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Ue.exec(t),n),n}]},tweener:function(e,t){ge.isFunction(e)?(t=e,e=["*"]):e=e.match(Ie);for(var n,r=0,o=e.length;r<o;r++)n=e[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[$],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),ge.speed=function(e,t,n){var r=e&&"object"==typeof e?ge.extend({},e):{complete:n||!n&&t||ge.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ge.isFunction(t)&&t};return r.duration=ge.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ge.fx.speeds?ge.fx.speeds[r.duration]:ge.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ge.isFunction(r.old)&&r.old.call(this),r.queue&&ge.dequeue(this,r.queue)},r},ge.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=ge.isEmptyObject(e),i=ge.speed(t,n,r),a=function(){var t=G(this,ge.extend({},e),i);(o||ge._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=ge.timers,a=ge._data(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&Nt.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||ge.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ge._data(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=ge.timers,a=r?r.length:0;for(n.finish=!0,ge.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})}}),ge.each(["toggle","show","hide"],function(e,t){var n=ge.fn[t];ge.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(H(t,!0),e,r,o)}}),ge.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ge.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ge.timers=[],ge.fx.tick=function(){var e,t=ge.timers,n=0;for(Ct=ge.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||ge.fx.stop(),Ct=void 0},ge.fx.timer=function(e){ge.timers.push(e),e()?ge.fx.start():ge.timers.pop()},ge.fx.interval=13,ge.fx.start=function(){Ot||(Ot=n.setInterval(ge.fx.tick,ge.fx.interval))},ge.fx.stop=function(){n.clearInterval(Ot),Ot=null},ge.fx.speeds={slow:600,fast:200,_default:400},ge.fn.delay=function(e,t){return e=ge.fx?ge.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 It=/\r/g,Rt=/[\x20\t\r\n\f]+/g;ge.fn.extend({val:function(e){var t,n,r,o=this[0];{if(arguments.length)return r=ge.isFunction(e),this.each(function(n){var o;1===this.nodeType&&(o=r?e.call(this,n,ge(this).val()):e,null==o?o="":"number"==typeof o?o+="":ge.isArray(o)&&(o=ge.map(o,function(e){return null==e?"":e+""})),(t=ge.valHooks[this.type]||ge.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))});if(o)return(t=ge.valHooks[o.type]||ge.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:(n=o.value,"string"==typeof n?n.replace(It,""):null==n?"":n)}}}),ge.extend({valHooks:{option:{get:function(e){var t=ge.find.attr(e,"value");return null!=t?t:ge.trim(ge.text(e)).replace(Rt," ")}},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||!ge.nodeName(n.parentNode,"optgroup"))){if(t=ge(n).val(),i)return t;a.push(t)}return a},set:function(e,t){for(var n,r,o=e.options,i=ge.makeArray(t),a=o.length;a--;)if(r=o[a],ge.inArray(ge.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}}}}),ge.each(["radio","checkbox"],function(){ge.valHooks[this]={set:function(e,t){if(ge.isArray(t))return e.checked=ge.inArray(ge(e).val(),t)>-1}},me.checkOn||(ge.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Pt,Mt,Lt=ge.expr.attrHandle,Dt=/^(?:checked|selected)$/i,Ft=me.getSetAttribute,Ut=me.input;ge.fn.extend({attr:function(e,t){return qe(this,ge.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ge.removeAttr(this,e)})}}),ge.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?ge.prop(e,t,n):(1===i&&ge.isXMLDoc(e)||(t=t.toLowerCase(),o=ge.attrHooks[t]||(ge.expr.match.bool.test(t)?Mt:Pt)),void 0!==n?null===n?void ge.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=ge.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ge.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=ge.propFix[n]||n,ge.expr.match.bool.test(n)?Ut&&Ft||!Dt.test(n)?e[r]=!1:e[ge.camelCase("default-"+n)]=e[r]=!1:ge.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Mt={set:function(e,t,n){return!1===t?ge.removeAttr(e,n):Ut&&Ft||!Dt.test(n)?e.setAttribute(!Ft&&ge.propFix[n]||n,n):e[ge.camelCase("default-"+n)]=e[n]=!0,n}},ge.each(ge.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Lt[t]||ge.find.attr;Ut&&Ft||!Dt.test(t)?Lt[t]=function(e,t,r){var o,i;return r||(i=Lt[t],Lt[t]=o,o=null!=n(e,t,r)?t.toLowerCase():null,Lt[t]=i),o}:Lt[t]=function(e,t,n){if(!n)return e[ge.camelCase("default-"+t)]?t.toLowerCase():null}}),Ut&&Ft||(ge.attrHooks.value={set:function(e,t,n){if(!ge.nodeName(e,"input"))return Pt&&Pt.set(e,t,n);e.defaultValue=t}}),Ft||(Pt={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}},Lt.id=Lt.name=Lt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ge.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Pt.set},ge.attrHooks.contenteditable={set:function(e,t,n){Pt.set(e,""!==t&&t,n)}},ge.each(["width","height"],function(e,t){ge.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),me.style||(ge.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var jt=/^(?:input|select|textarea|button|object)$/i,Bt=/^(?:a|area)$/i;ge.fn.extend({prop:function(e,t){return qe(this,ge.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ge.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),ge.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&ge.isXMLDoc(e)||(t=ge.propFix[t]||t,o=ge.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=ge.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||Bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),me.hrefNormalized||ge.each(["href","src"],function(e,t){ge.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ge.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)}}),ge.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ge.propFix[this.toLowerCase()]=this}),me.enctype||(ge.propFix.enctype="encoding");var qt=/[\t\r\n\f]/g;ge.fn.extend({addClass:function(e){var t,n,r,o,i,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).addClass(e.call(this,t,K(this)))});if("string"==typeof e&&e)for(t=e.match(Ie)||[];n=this[l++];)if(o=K(n),r=1===n.nodeType&&(" "+o+" ").replace(qt," ")){for(a=0;i=t[a++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");s=ge.trim(r),o!==s&&ge.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,o,i,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).removeClass(e.call(this,t,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Ie)||[];n=this[l++];)if(o=K(n),r=1===n.nodeType&&(" "+o+" ").replace(qt," ")){for(a=0;i=t[a++];)for(;r.indexOf(" "+i+" ")>-1;)r=r.replace(" "+i+" "," ");s=ge.trim(r),o!==s&&ge.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):ge.isFunction(e)?this.each(function(n){ge(this).toggleClass(e.call(this,n,K(this),t),t)}):this.each(function(){var t,r,o,i;if("string"===n)for(r=0,o=ge(this),i=e.match(Ie)||[];t=i[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||(t=K(this),t&&ge._data(this,"__className__",t),ge.attr(this,"class",t||!1===e?"":ge._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(n)+" ").replace(qt," ").indexOf(t)>-1)return!0;return!1}}),ge.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){ge.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ge.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Vt=n.location,Ht=ge.now(),Wt=/\?/,$t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ge.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,o=ge.trim(e+"");return o&&!ge.trim(o.replace($t,function(e,n,o,i){return t&&n&&(r=0),0===r?e:(t=o||n,r+=!i-!o,"")}))?Function("return "+o)():ge.error("Invalid JSON: "+e)},ge.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||ge.error("Invalid XML: "+e),t};var zt=/#.*$/,Gt=/([?&])_=[^&]*/,Kt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Yt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Xt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Zt={},en={},tn="*/".concat("*"),nn=Vt.href,rn=Xt.exec(nn.toLowerCase())||[];ge.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nn,type:"GET",isLocal:Yt.test(rn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,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":ge.parseJSON,"text xml":ge.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,ge.ajaxSettings),t):Q(ge.ajaxSettings,e)},ajaxPrefilter:Y(Zt),ajaxTransport:Y(en),ajax:function(e,t){function r(e,t,r,o){var i,f,y,b,w,S=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&&(ge.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(ge.etag[a]=w)),204===e||"HEAD"===d.type?S="nocontent":304===e?S="notmodified":(S=b.state,f=b.data,y=b.error,i=!y)):(y=S,!e&&S||(S="error",e<0&&(e=0))),x.status=e,x.statusText=(t||S)+"",i?m.resolveWith(p,[f,S,x]):m.rejectWith(p,[x,S,y]),x.statusCode(v),v=void 0,u&&h.trigger(i?"ajaxSuccess":"ajaxError",[x,d,i?f:y]),g.fireWith(p,[x,S]),u&&(h.trigger("ajaxComplete",[x,d]),--ge.active||ge.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var o,i,a,s,l,u,c,f,d=ge.ajaxSetup({},t),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?ge(p):ge.event,m=ge.Deferred(),g=ge.Callbacks("once memory"),v=d.statusCode||{},y={},b={},_=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!f)for(f={};t=Kt.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)v[t]=[v[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=g.add,x.success=x.done,x.error=x.fail,d.url=((e||d.url||nn)+"").replace(zt,"").replace(Qt,rn[1]+"//"),d.type=t.method||t.type||d.method||d.type,d.dataTypes=ge.trim(d.dataType||"*").toLowerCase().match(Ie)||[""],null==d.crossDomain&&(o=Xt.exec(d.url.toLowerCase()),d.crossDomain=!(!o||o[1]===rn[1]&&o[2]===rn[2]&&(o[3]||("http:"===o[1]?"80":"443"))===(rn[3]||("http:"===rn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=ge.param(d.data,d.traditional)),J(Zt,d,t,x),2===_)return x;u=ge.event&&d.global,u&&0==ge.active++&&ge.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Jt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(Wt.test(a)?"&":"?")+d.data,delete d.data),!1===d.cache&&(d.url=Gt.test(a)?a.replace(Gt,"$1_="+Ht++):a+(Wt.test(a)?"&":"?")+"_="+Ht++)),d.ifModified&&(ge.lastModified[a]&&x.setRequestHeader("If-Modified-Since",ge.lastModified[a]),ge.etag[a]&&x.setRequestHeader("If-None-Match",ge.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]?", "+tn+"; 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(en,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 ge.get(e,t,n,"json")},getScript:function(e,t){return ge.get(e,void 0,t,"script")}}),ge.each(["get","post"],function(e,t){ge[t]=function(e,n,r,o){return ge.isFunction(n)&&(o=o||r,r=n,n=void 0),ge.ajax(ge.extend({url:e,type:t,dataType:o,data:n,success:r},ge.isPlainObject(e)&&e))}}),ge._evalUrl=function(e){return ge.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ge.fn.extend({wrapAll:function(e){if(ge.isFunction(e))return this.each(function(t){ge(this).wrapAll(e.call(this,t))});if(this[0]){var t=ge(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 ge.isFunction(e)?this.each(function(t){ge(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ge(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ge.isFunction(e);return this.each(function(n){ge(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ge.nodeName(this,"body")||ge(this).replaceWith(this.childNodes)}).end()}}),ge.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},ge.expr.filters.visible=function(e){return!ge.expr.filters.hidden(e)};var on=/%20/g,an=/\[\]$/,sn=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,un=/^(?:input|select|textarea|keygen)/i;ge.param=function(e,t){var n,r=[],o=function(e,t){t=ge.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ge.ajaxSettings&&ge.ajaxSettings.traditional),ge.isArray(e)||e.jquery&&!ge.isPlainObject(e))ge.each(e,function(){o(this.name,this.value)});else for(n in e)ne(n,e[n],t,o);return r.join("&").replace(on,"+")},ge.fn.extend({serialize:function(){return ge.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ge.prop(this,"elements");return e?ge.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ge(this).is(":disabled")&&un.test(this.nodeName)&&!ln.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=ge(this).val();return null==n?null:ge.isArray(n)?ge.map(n,function(e){return{name:t.name,value:e.replace(sn,"\r\n")}}):{name:t.name,value:n.replace(sn,"\r\n")}}).get()}}),ge.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 cn=0,fn={},dn=ge.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in fn)fn[e](void 0,!0)}),me.cors=!!dn&&"withCredentials"in dn,dn=me.ajax=!!dn,dn&&ge.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(r,o){var i,a=e.xhr(),s=++cn;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 fn[s],t=void 0,a.onreadystatechange=ge.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=fn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ge.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ge.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 ge.globalEval(e),e}}}),ge.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ge.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||ge("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 pn=[],hn=/(=)\?(?=&|$)|\?\?/;ge.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=pn.pop()||ge.expando+"_"+Ht++;return this[e]=!0,e}}),ge.ajaxPrefilter("json jsonp",function(e,t,r){var o,i,a,s=!1!==e.jsonp&&(hn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ge.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(hn,"$1"+o):!1!==e.jsonp&&(e.url+=(Wt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||ge.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?ge(n).removeProp(o):n[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,pn.push(o)),a&&ge.isFunction(i)&&i(a[0]),a=i=void 0}),"script"}),ge.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||se;var r=Te.exec(e),o=!n&&[];return r?[t.createElement(r[1])]:(r=w([e],t,o),o&&o.length&&ge(o).remove(),ge.merge([],r.childNodes))};var mn=ge.fn.load;ge.fn.load=function(e,t,n){if("string"!=typeof e&&mn)return mn.apply(this,arguments);var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=ge.trim(e.slice(s,e.length)),e=e.slice(0,s)),ge.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&ge.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?ge("<div>").append(ge.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},ge.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ge.fn[t]=function(e){return this.on(t,e)}}),ge.expr.filters.animated=function(e){return ge.grep(ge.timers,function(t){return e===t.elem}).length},ge.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u,c=ge.css(e,"position"),f=ge(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),i=ge.css(e,"top"),l=ge.css(e,"left"),u=("absolute"===c||"fixed"===c)&&ge.inArray("auto",[i,l])>-1,u?(r=f.position(),a=r.top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),ge.isFunction(t)&&(t=t.call(e,n,ge.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)}},ge.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ge.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,ge.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"===ge.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ge.nodeName(e[0],"html")||(n=e.offset()),n.top+=ge.css(e[0],"borderTopWidth",!0),n.left+=ge.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ge.css(r,"marginTop",!0),left:t.left-n.left-ge.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ge.nodeName(e,"html")&&"static"===ge.css(e,"position");)e=e.offsetParent;return e||mt})}}),ge.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ge.fn[e]=function(r){return qe(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?ge(i).scrollLeft():o,n?o:ge(i).scrollTop()):e[r]=o},e,r,arguments.length,null)}}),ge.each(["top","left"],function(e,t){ge.cssHooks[t]=L(me.pixelPosition,function(e,n){if(n)return n=vt(e,t),pt.test(n)?ge(e).position()[t]+"px":n})}),ge.each({Height:"height",Width:"width"},function(e,t){ge.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ge.fn[r]=function(r,o){var i=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return qe(this,function(t,n,r){var o;return ge.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?ge.css(t,n,a):ge.style(t,n,r,a)},t,i?r:void 0,i,null)}})}),ge.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)}}),ge.fn.size=function(){return this.length},ge.fn.andSelf=ge.fn.addBack,r=[],void 0!==(o=function(){return ge}.apply(t,r))&&(e.exports=o);var gn=n.jQuery,vn=n.$;return ge.noConflict=function(e){return n.$===ge&&(n.$=vn),e&&n.jQuery===ge&&(n.jQuery=gn),ge},i&&!n.__OKTA_EXPORT_JQUERY__||(n.jQuery=n.$=ge),ge})},function(e,t,n){"use strict";var r,o;r=[n(36),n(10)],void 0!==(o=function(e,t){function n(t,n,r){var o=e.defer();return t.animate({"text-indent":1},{duration:200,easing:"swing",step:function(e,o){o.start=n,o.end=r,t.css("transform","scale("+e+", "+e+")")},always:function(){o.resolve(t)}}),o.promise}function r(t,n,r){var o=e.defer();return t.animate({"text-indent":1},{duration:150,easing:"swing",step:function(e,o){o.start=n,o.end=r,t.css("transform","rotate("+e+"deg)")},always:function(){o.resolve(t)}}),o.promise}var o={};return o.swapPages=function(n){var r=e.defer(),o=n.$parent,i=n.$oldRoot,a=n.$newRoot,s=n.success,l=n.ctx,u="transition-from-right";return n.dir&&n.dir===t.DIRECTION_BACK&&(u="transition-from-left"),a.addClass(u),o.append(a),o.addClass("animation-container-overflow"),a.animate({left:"0px",top:"0px",opacity:1},200,function(){o.removeClass("animation-container-overflow"),a.removeClass(u),a.removeAttr("style"),s.call(l),r.resolve()}),i.animate({height:a.height(),opacity:0},160),r.promise},o.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)},o.explode=function(e){return n(e,0,1)},o.implode=function(e){return n(e,1,0)},o.radialProgressBar=function(e){var t=e.$el,n=e.swap,o=t.children();return r(o,0,180).then(function(){t.css({clip:"auto"})}).then(function(){var e=o.eq(0);return n(),r(e,180,360)}).then(function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),o.css({transform:"rotate(0deg)","text-indent":"1px"})})},o}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(124);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,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(81),o=n(110),i=n(23),a=i("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||o[r(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,o,i=n(1),a=i(n(164)),s=i(n(90)),l=i(n(39));r=[n(0),n(36),n(32),n(21),n(56),n(141)],void 0!==(o=function(e,t,n,r,o,i){var u=e._,c=i.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:n.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(e,t,r){return u.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],e)?r:n.getFactorLabel.apply(this,[e,t])}},factorDescription:{deps:["provider","factorType"],fn:n.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:n.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:n.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(e,t){return"question"!==t?null:e&&n.getSecurityQuestionLabel(e)}},phoneNumber:{deps:["profile","factorType"],fn:function(e,t){return u.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=u.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&&u.contains(["push","sms","call","email"],t)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return u.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=n.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(e),u.omit(e,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:e.loc("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:e.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"),n=this;return this.manageTransaction(function(i,a){var s={rememberDevice:e};"question"===this.get("factorType")?s.answer=this.get("answer"):"password"===this.get("factorType")?s.password=this.get("password"):this.needsPasscode()&&(s.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(s.autoPush=this.get("autoPush"));var l;if("MFA_REQUIRED"===i.status||"FACTOR_REQUIRED"===i.status||this.appState.get("promptForFactorInUnauthenticated")){l=this._findFactor(i).verify(s)}else if(this.get("canUseResend")&&!this.get("answer")&&i.resend){var u=i.data._links.resend[0];l=i.resend(u.name)}else l=i.verify(s);return this.trigger("save"),l.then(function(e){var i={delay:4e3,transactionCallBack:function(e){n.options.appState.set("lastAuthResponse",e)}};if(a(e),"MFA_CHALLENGE"===e.status&&e.poll||"FACTOR_CHALLENGE"===e.status&&e.poll){var s=t.defer(),l=r.callAfterTimeout(s.resolve,4e3);return n.listenToOnce(n.options.appState,"factorSwitched",function(){clearTimeout(l),s.reject(new o.AuthStopPollInitiationError)}),s.promise.then(function(){return n.stopListening(n.options.appState,"factorSwitched"),n.pushFactorHasAutoPush()&&(i.autoPush=function(){return n.get("autoPush")},i.rememberDevice=function(){return n.get("rememberDevice")}),e.poll(i).then(function(e){n.options.appState.set("lastAuthResponse",e.data),a(e)})})}})})},_findFactor:function(e){var t;return e.factorTypes&&(t=u.findWhere(e.factorTypes,{factorType:this.get("factorType")})),t||(t=u.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,l.default)(t=e.profiles).call(t,function(e){return e._embedded.enrolledFactors.length>0});e.vendorName=n[0].name}return e}}),f=e.Collection.extend({model:c,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];var t,n=u.findWhere(e,{provider:"OKTA",factorType:"push"});if(t=u.where(e,{factorType:"push"}).length>1?u.findWhere(e,{factorType:"token:software:totp"}):u.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;var r=t===e[0],o=(0,s.default)(u).call(u,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 c(t,{parse:!0})),e.push(r),e)},[]);return r&&(this.lastUsedFactor=n),o},getDefaultFactor:function(){var e=u.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,a.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]}});return{Model:c,Collection:f}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(82)),s=i(n(83));r=[n(36),n(0)],void 0!==(o=function(e,t){var n=t.$;return{getUserAgent:function(){return navigator.userAgent},isAndroid:function(){return/Android/i.test(this.getUserAgent())},isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(t,r){function o(){f.off(),f.remove(),window.removeEventListener("message",l,!1)}function i(e){o(),p.reject(e)}function l(e){if(h.isMessageFromCorrectSource(f,e)){if(clearTimeout(d),!e||!e.data||e.origin!==t)return void i("no data");try{var n=JSON.parse(e.data);n&&"FingerprintServiceReady"===n.type?u({type:"GetFingerprint"}):n&&"FingerprintAvailable"===n.type?(o(),p.resolve(n.fingerprint)):i("no data")}catch(e){}}}function u(e){var n=f[0].contentWindow;n&&n.postMessage((0,s.default)(e),t)}var c=this.getUserAgent();if(!c)return e.reject("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(c))return e.reject("device fingerprint is not supported on Windows phones");var f,d,p=e.defer(),h=this;return window.addEventListener("message",l,!1),f=n("<iframe>",{style:"display: none;",src:t+"/auth/services/devicefingerprint"}),r.append(f),d=(0,a.default)(function(){i("service not available")},2e3),p.promise}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(135),o=n(31),i=n(46),a=n(61).f,s=n(161),l=n(353),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&&g.REQUIRED&&f(e)&&!i(e,u)&&d(e),e},g=e.exports={REQUIRED:!1,fastKey:p,getWeakData:h,onFreeze:m};r[u]=!0},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(41));r=[n(0),n(125),n(813)],void 0!==(o=function(e,t,n){var r=e._,o={};return o.getCountries=function(){var e=r.omit(t.country,"HM","BV","TF"),n=(0,a.default)(r).call(r,e,function(e,t){return{name:e,code:t}});n=r.sortBy(n,"name");var o={};return r.each(n,function(e){o[e.code]=e.name}),o},o.getCallingCodeForCountry=function(e){return n[e]},o}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(16)),a=r(n(3)),s=n(0),l=r(n(42)),u=r(n(9)),c=r(n(29)),f=n(239),d=r(n(93)),p=u.default.extend({title:function(){return(0,s.loc)("oie.password.enroll.title","login")},save:function(){return(0,s.loc)("oform.next","login")},initialize:function(){u.default.prototype.initialize.apply(this,arguments);var e=this.getPasswordPolicySettings();this.displayPasswordPolicy(e)},displayPasswordPolicy:function(e){if(e){var t=(0,f.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"})}},getPasswordPolicySettings:function(){var e=this.options.currentViewState.relatesTo;return e&&e.value&&e.value.settings},getUISchema:function(){var e=u.default.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:!0}}])}}),h=c.default.extend({Body:p,Footer:d.default,createModelClass:function(){var e=l.default.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=h},function(e,t,n){"use strict";n(4)(t,"__esModule",{value:!0}),t.WARNING_TIMEOUT=t.SHOW_RESEND_TIMEOUT=void 0;t.SHOW_RESEND_TIMEOUT=3e4;t.WARNING_TIMEOUT=3e4},function(e,t,n){var r=n(14),o=n(11).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){t.f=n(20)},function(e,t,n){var r=n(144)("keys"),o=n(95);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(11).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(14),o=n(13),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{r=n(66)(Function.call,n(69).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(14),o=n(189).set;e.exports=function(e,t,n){var i,a=t.constructor;return a!==n&&"function"==typeof a&&(i=a.prototype)!==n.prototype&&r(i)&&o&&o(e,i),e}},function(e,t,n){"use strict";var r=n(68),o=n(77);e.exports=function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Count can't be negative");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t){var n=Math.expm1;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:Math.exp(e)-1}:n},function(e,t,n){var r=n(68),o=n(77);e.exports=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)}}},function(e,t,n){"use strict";var r=n(96),o=n(2),i=n(49),a=n(54),s=n(115),l=n(258),u=n(113),c=n(101),f=n(20)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,n,h,m,g,v){l(n,t,h);var y,b,_,w=function(e){if(!d&&e in T)return T[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},x=t+" Iterator",S="values"==m,E=!1,T=e.prototype,k=T[f]||T["@@iterator"]||m&&T[m],C=k||w(m),O=m?S?w("entries"):C:void 0,A="Array"==t?T.entries||k:k;if(A&&(_=c(A.call(new e)))!==Object.prototype&&_.next&&(u(_,x,!0),r||"function"==typeof _[f]||a(_,f,p)),S&&k&&"values"!==k.name&&(E=!0,C=function(){return k.call(this)}),r&&!v||!d&&!E&&T[f]||a(T,f,C),s[t]=C,s[x]=p,m)if(y={values:S?C:w("values"),keys:g?C:w("keys"),entries:O},v)for(b in y)b in T||i(T,b,y[b]);else o(o.P+o.F*(d||E),t,y);return y}},function(e,t,n){var r=n(198),o=n(77);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(o(e))}},function(e,t,n){var r=n(14),o=n(76),i=n(20)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(20)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t,n){var r=n(115),o=n(20)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(34),o=n(94);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(131),o=n(20)("iterator"),i=n(115);e.exports=n(30).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){"use strict";var r=n(43),o=n(98),i=n(25);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(102),o=n(263),i=n(115),a=n(55);e.exports=n(196)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):"keys"==t?o(0,n):"values"==t?o(0,e[n]):o(0,[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(149),o=RegExp.prototype.exec,i=String.prototype.replace,a=o,s=function(){var e=/a/,t=/b*/g;return o.call(e,"a"),o.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),l=void 0!==/()??/.exec("")[1];(s||l)&&(a=function(e){var t,n,a,u,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",r.call(c))),s&&(t=c.lastIndex),a=o.call(c,e),s&&a&&(c.lastIndex=c.global?a.index+a[0].length:t),l&&a&&a.length>1&&i.call(a[0],n,function(){for(u=1;u<arguments.length-2;u++)void 0===arguments[u]&&(a[u]=void 0)}),a}),e.exports=a},function(e,t,n){"use strict";var r=n(195)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,o,i,a=n(66),s=n(252),l=n(188),u=n(184),c=n(11),f=c.process,d=c.setImmediate,p=c.clearImmediate,h=c.MessageChannel,m=c.Dispatch,g=0,v={},y=function(){var e=+this;if(v.hasOwnProperty(e)){var t=v[e];delete v[e],t()}},b=function(e){y.call(e.data)};d&&p||(d=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return v[++g]=function(){s("function"==typeof e?e:Function(e),t)},r(g),g},p=function(e){delete v[e]},"process"==n(76)(f)?r=function(e){f.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(o=new h,i=o.port2,o.port1.onmessage=b,r=a(i.postMessage,i,1)):c.addEventListener&&"function"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+"","*")},c.addEventListener("message",b,!1)):r="onreadystatechange"in u("script")?function(e){l.appendChild(u("script")).onreadystatechange=function(){l.removeChild(this),y.call(e)}}:function(e){setTimeout(a(y,e,1),0)}),e.exports={set:d,clear:p}},function(e,t,n){"use strict";function r(e,t,n){var r,o,i,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,u=l>>1,c=23===t?U(2,-24)-U(2,-77):0,f=0,d=e<0||0===e&&1/e<0?1:0;for(e=F(e),e!=e||e===L?(o=e!=e?1:0,r=l):(r=j(B(e)/q),e*(i=U(2,-r))<1&&(r--,i*=2),e+=r+u>=1?c/i:c*U(2,1-u),e*i>=2&&(r++,i/=2),r+u>=l?(o=0,r=l):r+u>=1?(o=(e*i-1)*U(2,t),r+=u):(o=e*U(2,u-1)*U(2,t),r=0));t>=8;a[f++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[f++]=255&r,r/=256,s-=8);return a[--f]|=128*d,a}function o(e,t,n){var r,o=8*n-t-1,i=(1<<o)-1,a=i>>1,s=o-7,l=n-1,u=e[l--],c=127&u;for(u>>=7;s>0;c=256*c+e[l],l--,s-=8);for(r=c&(1<<-s)-1,c>>=-s,s+=t;s>0;r=256*r+e[l],l--,s-=8);if(0===c)c=1-a;else{if(c===i)return r?NaN:u?-L:L;r+=U(2,t),c-=a}return(u?-1:1)*r*U(2,c-t)}function i(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]}function a(e){return[255&e]}function s(e){return[255&e,e>>8&255]}function l(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]}function u(e){return r(e,52,8)}function c(e){return r(e,23,4)}function f(e,t,n){k(e[A],t,{get:function(){return this[n]}})}function d(e,t,n,r){var o=+n,i=E(o);if(i+t>e[H])throw M(N);var a=e[V]._b,s=i+e[W],l=a.slice(s,s+t);return r?l:l.reverse()}function p(e,t,n,r,o,i){var a=+n,s=E(a);if(s+t>e[H])throw M(N);for(var l=e[V]._b,u=s+e[W],c=r(+o),f=0;f<t;f++)l[u+f]=c[i?f:t-f-1]}var h=n(11),m=n(33),g=n(96),v=n(155),y=n(54),b=n(118),_=n(12),w=n(117),x=n(68),S=n(25),E=n(271),T=n(100).f,k=n(34).f,C=n(203),O=n(113),A="prototype",N="Wrong index!",I=h.ArrayBuffer,R=h.DataView,P=h.Math,M=h.RangeError,L=h.Infinity,D=I,F=P.abs,U=P.pow,j=P.floor,B=P.log,q=P.LN2,V=m?"_b":"buffer",H=m?"_l":"byteLength",W=m?"_o":"byteOffset";if(v.ABV){if(!_(function(){I(1)})||!_(function(){new I(-1)})||_(function(){return new I,new I(1.5),new I(NaN),"ArrayBuffer"!=I.name})){I=function(e){return w(this,I),new D(E(e))};for(var $,z=I[A]=D[A],G=T(D),K=0;G.length>K;)($=G[K++])in I||y(I,$,D[$]);g||(z.constructor=I)}var Y=new R(new I(2)),J=R[A].setInt8;Y.setInt8(0,2147483648),Y.setInt8(1,2147483649),!Y.getInt8(0)&&Y.getInt8(1)||b(R[A],{setInt8:function(e,t){J.call(this,e,t<<24>>24)},setUint8:function(e,t){J.call(this,e,t<<24>>24)}},!0)}else I=function(e){w(this,I,"ArrayBuffer");var t=E(e);this._b=C.call(new Array(t),0),this[H]=t},R=function(e,t,n){w(this,R,"DataView"),w(e,I,"DataView");var r=e[H],o=x(t);if(o<0||o>r)throw M("Wrong offset!");if(n=void 0===n?r-o:S(n),o+n>r)throw M("Wrong length!");this[V]=e,this[W]=o,this[H]=n},m&&(f(I,"byteLength","_l"),f(R,"buffer","_b"),f(R,"byteLength","_l"),f(R,"byteOffset","_o")),b(R[A],{getInt8:function(e){return d(this,1,e)[0]<<24>>24},getUint8:function(e){return d(this,1,e)[0]},getInt16:function(e){var t=d(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=d(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return i(d(this,4,e,arguments[1]))},getUint32:function(e){return i(d(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return o(d(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return o(d(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){p(this,1,e,a,t)},setUint8:function(e,t){p(this,1,e,a,t)},setInt16:function(e,t){p(this,2,e,s,t,arguments[2])},setUint16:function(e,t){p(this,2,e,s,t,arguments[2])},setInt32:function(e,t){p(this,4,e,l,t,arguments[2])},setUint32:function(e,t){p(this,4,e,l,t,arguments[2])},setFloat32:function(e,t){p(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){p(this,8,e,u,t,arguments[2])}});O(I,"ArrayBuffer"),O(R,"DataView"),y(R[A],v.VIEW,!0),t.ArrayBuffer=I,t.DataView=R},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(277)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r,o;//     Underscore.js 1.8.3
//     (c) 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
(function(){function n(e){function t(t,n,r,o,i,a){for(;i>=0&&i<a;i+=e){var s=o?o[i]:i;r=n(r,t[s],s,t)}return r}return function(n,r,o,i){r=S(r,i,4);var a=!N(n)&&x.keys(n),s=(a||n).length,l=e>0?0:s-1;return arguments.length<3&&(o=n[a?a[l]:l],l+=e),t(n,r,o,a,l,s)}}function i(e){return function(t,n,r){n=E(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}}function a(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(h.call(r,a,s),x.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}}function s(e,t){var n=L.length,r=e.constructor,o=x.isFunction(r)&&r.prototype||f,i="constructor";for(x.has(e,i)&&!x.contains(t,i)&&t.push(i);n--;)(i=L[n])in e&&e[i]!==o[i]&&!x.contains(t,i)&&t.push(i)}var l=this,u=l._,c=Array.prototype,f=Object.prototype,d=Function.prototype,p=c.push,h=c.slice,m=f.toString,g=f.hasOwnProperty,v=Array.isArray,y=Object.keys,b=d.bind,_=Object.create,w=function(){},x=function(e){return e instanceof x?e:this instanceof x?void(this._wrapped=e):new x(e)};void 0!==e&&e.exports&&(t=e.exports=x),t._=x,x.VERSION="1.8.3";var S=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 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)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}},E=function(e,t,n){return null==e?x.identity:x.isFunction(e)?S(e,t,n):x.isObject(e)?x.matcher(e):x.property(e)};x.iteratee=function(e,t){return E(e,t,1/0)};var T=function(e,t){return function(n){var r=arguments.length;if(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}},k=function(e){if(!x.isObject(e))return{};if(_)return _(e);w.prototype=e;var t=new w;return w.prototype=null,t},C=function(e){return function(t){return null==t?void 0:t[e]}},O=Math.pow(2,53)-1,A=C("length"),N=function(e){var t=A(e);return"number"==typeof t&&t>=0&&t<=O};x.each=x.forEach=function(e,t,n){t=S(t,n);var r,o;if(N(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=x.keys(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e},x.map=x.collect=function(e,t,n){t=E(t,n);for(var r=!N(e)&&x.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},x.reduce=x.foldl=x.inject=n(1),x.reduceRight=x.foldr=n(-1),x.find=x.detect=function(e,t,n){var r;if(void 0!==(r=N(e)?x.findIndex(e,t,n):x.findKey(e,t,n))&&-1!==r)return e[r]},x.filter=x.select=function(e,t,n){var r=[];return t=E(t,n),x.each(e,function(e,n,o){t(e,n,o)&&r.push(e)}),r},x.reject=function(e,t,n){return x.filter(e,x.negate(E(t)),n)},x.every=x.all=function(e,t,n){t=E(t,n);for(var r=!N(e)&&x.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},x.some=x.any=function(e,t,n){t=E(t,n);for(var r=!N(e)&&x.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},x.contains=x.includes=x.include=function(e,t,n,r){return N(e)||(e=x.values(e)),("number"!=typeof n||r)&&(n=0),x.indexOf(e,t,n)>=0},x.invoke=function(e,t){var n=h.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){var o=r?t:e[t];return null==o?o:o.apply(e,n)})},x.pluck=function(e,t){return x.map(e,x.property(t))},x.where=function(e,t){return x.filter(e,x.matcher(t))},x.findWhere=function(e,t){return x.find(e,x.matcher(t))},x.max=function(e,t,n){var r,o,i=-1/0,a=-1/0;if(null==t&&null!=e){e=N(e)?e:x.values(e);for(var s=0,l=e.length;s<l;s++)(r=e[s])>i&&(i=r)}else t=E(t,n),x.each(e,function(e,n,r){((o=t(e,n,r))>a||o===-1/0&&i===-1/0)&&(i=e,a=o)});return i},x.min=function(e,t,n){var r,o,i=1/0,a=1/0;if(null==t&&null!=e){e=N(e)?e:x.values(e);for(var s=0,l=e.length;s<l;s++)(r=e[s])<i&&(i=r)}else t=E(t,n),x.each(e,function(e,n,r){((o=t(e,n,r))<a||o===1/0&&i===1/0)&&(i=e,a=o)});return i},x.shuffle=function(e){for(var t,n=N(e)?e:x.values(e),r=n.length,o=Array(r),i=0;i<r;i++)t=x.random(0,i),t!==i&&(o[i]=o[t]),o[t]=n[i];return o},x.sample=function(e,t,n){return null==t||n?(N(e)||(e=x.values(e)),e[x.random(e.length-1)]):x.shuffle(e).slice(0,Math.max(0,t))},x.sortBy=function(e,t,n){return t=E(t,n),x.pluck(x.map(e,function(e,n,r){return{value:e,index:n,criteria:t(e,n,r)}}).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){return function(t,n,r){var o={};return n=E(n,r),x.each(t,function(r,i){var a=n(r,i,t);e(o,r,a)}),o}};x.groupBy=I(function(e,t,n){x.has(e,n)?e[n].push(t):e[n]=[t]}),x.indexBy=I(function(e,t,n){e[n]=t}),x.countBy=I(function(e,t,n){x.has(e,n)?e[n]++:e[n]=1}),x.toArray=function(e){return e?x.isArray(e)?h.call(e):N(e)?x.map(e,x.identity):x.values(e):[]},x.size=function(e){return null==e?0:N(e)?e.length:x.keys(e).length},x.partition=function(e,t,n){t=E(t,n);var r=[],o=[];return x.each(e,function(e,n,i){(t(e,n,i)?r:o).push(e)}),[r,o]},x.first=x.head=x.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:x.initial(e,e.length-t)},x.initial=function(e,t,n){return h.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},x.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:x.rest(e,Math.max(0,e.length-t))},x.rest=x.tail=x.drop=function(e,t,n){return h.call(e,null==t||n?1:t)},x.compact=function(e){return x.filter(e,x.identity)};var R=function(e,t,n,r){for(var o=[],i=0,a=r||0,s=A(e);a<s;a++){var l=e[a];if(N(l)&&(x.isArray(l)||x.isArguments(l))){t||(l=R(l,t,n));var u=0,c=l.length;for(o.length+=c;u<c;)o[i++]=l[u++]}else n||(o[i++]=l)}return o};x.flatten=function(e,t){return R(e,t,!1)},x.without=function(e){return x.difference(e,h.call(arguments,1))},x.uniq=x.unique=function(e,t,n,r){x.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=E(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?(a&&i===u||o.push(l),i=u):n?x.contains(i,u)||(i.push(u),o.push(l)):x.contains(o,l)||o.push(l)}return o},x.union=function(){return x.uniq(R(arguments,!0,!0))},x.intersection=function(e){for(var t=[],n=arguments.length,r=0,o=A(e);r<o;r++){var i=e[r];if(!x.contains(t,i)){for(var a=1;a<n&&x.contains(arguments[a],i);a++);a===n&&t.push(i)}}return t},x.difference=function(e){var t=R(arguments,!0,!0,1);return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){return x.unzip(arguments)},x.unzip=function(e){for(var t=e&&x.max(e,A).length||0,n=Array(t),r=0;r<t;r++)n[r]=x.pluck(e,r);return n},x.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},x.findIndex=i(1),x.findLastIndex=i(-1),x.sortedIndex=function(e,t,n,r){n=E(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},x.indexOf=a(1,x.findIndex,x.sortedIndex),x.lastIndexOf=a(-1,x.findLastIndex),x.range=function(e,t,n){null==t&&(t=e||0,e=0),n=n||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};var P=function(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=k(e.prototype),a=e.apply(i,o);return x.isObject(a)?a:i};x.bind=function(e,t){if(b&&e.bind===b)return b.apply(e,h.call(arguments,1));if(!x.isFunction(e))throw new TypeError("Bind must be called on a function");var n=h.call(arguments,2),r=function(){return P(e,r,t,this,n.concat(h.call(arguments)))};return r},x.partial=function(e){var t=h.call(arguments,1),n=function(){for(var r=0,o=t.length,i=Array(o),a=0;a<o;a++)i[a]=t[a]===x?arguments[r++]:t[a];for(;r<arguments.length;)i.push(arguments[r++]);return P(e,n,this,this,i)};return n},x.bindAll=function(e){var t,n,r=arguments.length;if(r<=1)throw new Error("bindAll must be passed function names");for(t=1;t<r;t++)n=arguments[t],e[n]=x.bind(e[n],e);return e},x.memoize=function(e,t){var n=function(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return x.has(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n},x.delay=function(e,t){var n=h.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},x.defer=x.partial(x.delay,x,1),x.throttle=function(e,t,n){var r,o,i,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:x.now(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var u=x.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,o=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(l,c)),i}},x.debounce=function(e,t,n){var r,o,i,a,s,l=function(){var u=x.now()-a;u<t&&u>=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(i,o),r||(i=o=null)))};return function(){i=this,o=arguments,a=x.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(i,o),i=o=null),s}},x.wrap=function(e,t){return x.partial(t,e)},x.negate=function(e){return function(){return!e.apply(this,arguments)}},x.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}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},x.once=x.partial(x.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];x.keys=function(e){if(!x.isObject(e))return[];if(y)return y(e);var t=[];for(var n in e)x.has(e,n)&&t.push(n);return M&&s(e,t),t},x.allKeys=function(e){if(!x.isObject(e))return[];var t=[];for(var n in e)t.push(n);return M&&s(e,t),t},x.values=function(e){for(var t=x.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r},x.mapObject=function(e,t,n){t=E(t,n);for(var r,o=x.keys(e),i=o.length,a={},s=0;s<i;s++)r=o[s],a[r]=t(e[r],r,e);return a},x.pairs=function(e){for(var t=x.keys(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r},x.invert=function(e){for(var t={},n=x.keys(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=T(x.allKeys),x.extendOwn=x.assign=T(x.keys),x.findKey=function(e,t,n){t=E(t,n);for(var r,o=x.keys(e),i=0,a=o.length;i<a;i++)if(r=o[i],t(e[r],r,e))return r},x.pick=function(e,t,n){var r,o,i={},a=e;if(null==a)return i;x.isFunction(t)?(o=x.allKeys(a),r=S(t,n)):(o=R(arguments,!1,!1,1),r=function(e,t,n){return t in n},a=Object(a));for(var s=0,l=o.length;s<l;s++){var u=o[s],c=a[u];r(c,u,a)&&(i[u]=c)}return i},x.omit=function(e,t,n){if(x.isFunction(t))t=x.negate(t);else{var r=x.map(R(arguments,!1,!1,1),String);t=function(e,t){return!x.contains(r,t)}}return x.pick(e,t,n)},x.defaults=T(x.allKeys,!0),x.create=function(e,t){var n=k(e);return t&&x.extendOwn(n,t),n},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e},x.isMatch=function(e,t){var n=x.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 D=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return e===t;e instanceof x&&(e=e._wrapped),t instanceof x&&(t=t._wrapped);var o=m.call(e);if(o!==m.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}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&&!(x.isFunction(a)&&a instanceof a&&x.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(!D(e[l],t[l],n,r))return!1}else{var u,c=x.keys(e);if(l=c.length,x.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!x.has(t,u)||!D(e[u],t[u],n,r))return!1}return n.pop(),r.pop(),!0};x.isEqual=function(e,t){return D(e,t)},x.isEmpty=function(e){return null==e||(N(e)&&(x.isArray(e)||x.isString(e)||x.isArguments(e))?0===e.length:0===x.keys(e).length)},x.isElement=function(e){return!(!e||1!==e.nodeType)},x.isArray=v||function(e){return"[object Array]"===m.call(e)},x.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},x.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){x["is"+e]=function(t){return m.call(t)==="[object "+e+"]"}}),x.isArguments(arguments)||(x.isArguments=function(e){return x.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(x.isFunction=function(e){return"function"==typeof e||!1}),x.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},x.isNaN=function(e){return x.isNumber(e)&&e!==+e},x.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===m.call(e)},x.isNull=function(e){return null===e},x.isUndefined=function(e){return void 0===e},x.has=function(e,t){return null!=e&&g.call(e,t)},x.noConflict=function(){return l._=u,this},x.identity=function(e){return e},x.constant=function(e){return function(){return e}},x.noop=function(){},x.property=C,x.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},x.matcher=x.matches=function(e){return e=x.extendOwn({},e),function(t){return x.isMatch(t,e)}},x.times=function(e,t,n){var r=Array(Math.max(0,e));t=S(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r},x.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},x.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},U=x.invert(F),j=function(e){var t=function(t){return e[t]},n="(?:"+x.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}};x.escape=j(F),x.unescape=j(U),x.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),x.isFunction(r)?r.call(e):r};var B=0;x.uniqueId=function(e){var t=++B+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var q=/(.)^/,V={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\u2028|\u2029/g,W=function(e){return"\\"+V[e]};x.template=function(e,t,n){!t&&n&&(t=n),t=x.defaults({},t,x.templateSettings);var r=RegExp([(t.escape||q).source,(t.interpolate||q).source,(t.evaluate||q).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,function(t,n,r,a,s){return i+=e.slice(o,s).replace(H,W),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";try{var a=new Function(t.variable||"obj","_",i)}catch(e){throw e.source=i,e}var s=function(e){return a.call(this,e,x)};return s.source="function("+(t.variable||"obj")+"){\n"+i+"}",s},x.chain=function(e){var t=x(e);return t._chain=!0,t};var $=function(e,t){return e._chain?x(t).chain():t};x.mixin=function(e){x.each(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return p.apply(e,arguments),$(this,n.apply(x,e))}})},x.mixin(x),x.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=c[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],$(this,n)}}),x.each(["concat","join","slice"],function(e){var t=c[e];x.prototype[e]=function(){return $(this,t.apply(this._wrapped,arguments))}}),x.prototype.value=function(){return this._wrapped},x.prototype.valueOf=x.prototype.toJSON=x.prototype.value,x.prototype.toString=function(){return""+this._wrapped},r=[],void 0!==(o=function(){return x}.apply(t,r))&&(e.exports=o)}).call(this)},function(e,t){e.exports={version:"4.3.3-g5ca530e",supportedLanguages:["en","cs","da","de","el","es","fi","fr","hu","id","in","it","ja","ko","ms","nb","nl-NL","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(45)),s=i(n(120)),l=i(n(221)),u=i(n(44));r=[n(0),n(10),n(56),n(21)],void 0!==(o=function(e,t,n,r){function o(e,t){return c.isArray(e.responseType)?c.contains(e.responseType,t):t===e.responseType}var i={},c=e._;return i.getTokens=function(i,a,s){function l(e){i.callGlobalSuccess(t.SUCCESS,e)}function u(e){"access_denied"===e.errorCode&&(s.model.trigger("error",s.model,{responseJSON:e}),s.model.appState.trigger("removeLoading")),r.triggerAfterError(s,new n.OAuthError(e.message),i)}var f=i.getAuthClient(),d=i.toJSON({verbose:!0}),p={};c.extend(p,c.pick(d,"clientId","redirectUri"),c.pick(d.authParams,"pkce","responseType","responseMode","display","scopes","state","nonce"),a),p.popupTitle=e.loc("socialauth.popup.title","login"),p.timeout=d.oAuthTimeout,c.extend(p,c.pick(d.authParams,"issuer","authorizeUrl")),"page"===p.display||o(p,"code")?f.token.getWithRedirect(p).catch(u):p.sessionToken?f.token.getWithoutPrompt(p).then(l).catch(u):f.token.getWithPopup(p).then(l).catch(u)},i.addOrRemoveOpenIdScope=function(e){var t;if(e.responseType){var n=(0,u.default)(e.scopes)?e.scopes:e.scopes.split(" ");return(0,l.default)(n).call(n,"openid")&&(0,s.default)(n).call(n,(0,a.default)(n).call(n,"openid"),1),(0,l.default)(t=e.responseType).call(t,"id_token")&&n.push("openid"),n}},i.getResponseType=function(e){var t=[];return!1!==e.getIdToken&&t.push("id_token"),!1!==e.getAccessToken&&t.push("token"),t},i.transformShowSignInToGetTokensOptions=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e.clientId&&!t.clientId)throw new n.ConfigError('showSignInToGetTokens() requires a "clientId" property.');var r={clientId:e.clientId,redirectUri:e.redirectUri,authParams:{display:"page",responseType:i.getResponseType(e),scopes:e.scope||t.authParams&&t.authParams.scopes||["openid","email"]}};return r.authParams.scopes=i.addOrRemoveOpenIdScope(r.authParams),r},i}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(22),o=n(31),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(58),o=n(47),i=n(159),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(62),o=n(280);(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(19);e.exports=!!Object.getOwnPropertySymbols&&!r(function(){return!String(Symbol())})},function(e,t,n){var r,o,i=n(22),a=n(220),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(72);e.exports=r("navigator","userAgent")||""},function(e,t,n){e.exports=n(568)},function(e,t,n){var r=n(574);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(23),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,n){var r=n(23),o=r("toStringTag"),i={};i[o]="z",e.exports="[object z]"===String(i)},function(e,t,n){var r=n(107),o=n(167),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(665)},function(e,t,n){var r=n(292),o=n(224),i=o.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t){t.f=Object.getOwnPropertySymbols},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(172)],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:N,attr:o,onTooltip:N,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=N}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)?N:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(o=t.content,n(o)||o.jquery||o.done?(i=r(o)?N:o,o=t.content={text:i}):i=o.text,"ajax"in o&&(a=o.ajax,s=a&&a.once!==N,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||N)&&(o.title=N))),"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===A?{ready:A}:{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 G.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(A,e)},this.options.show.delay))}function p(t){if(!this.tooltip.hasClass(ee)&&!this.destroyed){var n=e(t.relatedTarget),r=n.closest(K)[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(N,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 g(t,n,r){e(s.body).delegate(t,(n.split?n:n.join("."+W+" "))+"."+W,function(){var t=E.api[e.attr(this,z)];t&&!t.disabled&&r.apply(t,arguments)})}function v(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,g=n.data(i.metadata.name||"qtipopts");try{g="string"==typeof g?e.parseJSON(g):g}catch(e){}if(c=e.extend(A,{},E.defaults,i,"object"==typeof g?o(g):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===N||!u)return N;c.content.text=u}if(l.container.length||(l.container=d),l.target===N&&(l.target=p),c.show.target===N&&(c.show.target=p),c.show.solo===A&&(c.show.solo=l.container.closest("body")),c.hide.target===N&&(c.hide.target=p),c.position.viewport===A&&(c.position.viewport=l.container),l.container=l.container.eq(0),l.at=new k(l.at,A),l.my=new k(l.my),n.data(W))if(c.overwrite)n.qtip("destroy",!0);else if(c.overwrite===N)return N;return n.attr($,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 S(e){this._ns="ie6",this.qtip=e,this.init(e)}var E,T,k,C,O,A=!0,N=!1,I=null,R="x",P="y",M="width",L="height",D="top",F="left",U="bottom",j="right",B="center",q="flipinvert",V="shift",H={},W="qtip",$="data-hasqtip",z="data-qtip-id",G=["ui-widget","ui-tooltip"],K="."+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("_",""))||N};T=t.prototype,T._when=function(t){return e.when.apply(e,t)},T.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":N,"aria-describedby":this._id+"-content","aria-hidden":A}).toggleClass(ee,this.disabled).attr(z,this.id).data(W,this).appendTo(u.container).append(i.content=e("<div />",{class:W+"-content",id:this._id+"-content","aria-atomic":A})),this.rendered=-1,this.positioning=A,s&&(this._createTitle(),e.isFunction(s)||c.push(this._updateTitle(s,N))),l&&this._createButton(),e.isFunction(a)||c.push(this._updateContent(a,N)),this.rendered=A,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=N,n.hiddenDuringWait||!r.show.ready&&!t||n.toggle(A,o.event,N),n.hiddenDuringWait=N}),E.api[this.id]=this,this},T.destroy=function(t){function n(){if(!this.destroyed){this.destroyed=A;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(z).removeAttr($).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 E.api[this.id]}}return this.destroyed?this.target:(t===A&&"hide"!==this.triggering||!this.rendered?n.call(this):(this.tooltip.one("tooltiphidden",e.proxy(n,this)),!this.triggering&&this.hide()),this.target)},C=T.checks={builtin:{"^id$":function(t,n,r,o){var i=r===A?E.nextid:r,a=W+"-"+i;i!==N&&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(A)||this.toggle(A))},"^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()}}}},T.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;T.set=function(t,n){if(this.destroyed)return this;var r,a=this.rendered,s=N,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=A,e.each(t,e.proxy(u,this)),this.positioning=N,this.rendered&&this.tooltip[0].offsetWidth>0&&s&&this.reposition("mouse"===l.position.target?I:this.cache.event),this},T._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=A,t.then(function(e){return o.waiting=N,r._update(e,n)},I,function(e){return r._update(e,n)})):t===N||!t&&""!==t?N:(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)}))):N},T._waitForContent=function(t){var n=this.cache;return n.waiting=A,(e.fn.imagesLoaded?t.imagesLoaded():(new e.Deferred).resolve([])).done(function(){n.waiting=N}).promise()},T._updateContent=function(e,t){this._update(e,this.elements.content,t)},T._updateTitle=function(e,t){this._update(e,this.elements.title,t)===N&&this._removeTitle(N)},T._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":A})).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()},T._removeTitle=function(e){var t=this.elements;t.title&&(t.titlebar.remove(),t.titlebar=t.title=t.button=I,e!==N&&this.reposition())},T._createPosClass=function(e){return W+"-pos-"+(e||this.options.position.my).abbrev()},T.reposition=function(t,n){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=A;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,g=f.container,v=f.adjust,y=v.method.split(" "),b=c.outerWidth(N),_=c.outerHeight(N),w=0,x=0,S=c.css("position"),E={left:0,top:0},T=c[0].offsetWidth>0,k=t&&"scroll"===t.type,C=e(a),O=g[0].ownerDocument,I=this.mouse;if(e.isArray(d)&&2===d.length)h={x:F,y:D},E={left:d[0],top:d[1]};else if("mouse"===d)h={x:F,y:D},(!v.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"!==S&&(E=g.offset()),O.body.offsetWidth!==(a.innerWidth||O.documentElement.clientWidth)&&(o=e(s.body).offset()),E={left:t.pageX-E.left+(o&&o.left||0),top:t.pageY-E.top+(o&&o.top||0)},v.mouse&&k&&I&&(E.left-=(I.scrollX||0)-C.scrollLeft(),E.top-=(I.scrollY||0)-C.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&&(E={top:(m||d).scrollTop(),left:(m||d).scrollLeft()})):H.imagemap&&d.is("area")?r=H.imagemap(this,d,h,H.viewport?y:N):H.svg&&d&&d[0].ownerSVGElement?r=H.svg(this,d,h,H.viewport?y:N):(w=d.outerWidth(N),x=d.outerHeight(N),E=d.offset()),r&&(w=r.width,x=r.height,o=r.offset,E=r.position),E=this.reposition.offset(d,E,g),(re.iOS>3.1&&re.iOS<4.1||re.iOS>=4.3&&re.iOS<4.33||!re.iOS&&"fixed"===S)&&(E.left-=C.scrollLeft(),E.top-=C.scrollTop()),(!r||r&&r.adjustable!==N)&&(E.left+=h.x===j?w:h.x===B?w/2:0,E.top+=h.y===U?x:h.y===B?x/2:0)}return E.left+=v.x+(p.x===j?-b:p.x===B?-b/2:0),E.top+=v.y+(p.y===U?-_:p.y===B?-_/2:0),H.viewport?(i=E.adjusted=H.viewport(this,E,f,w,x,b,_),o&&i.left&&(E.left+=o.left),o&&i.top&&(E.top+=o.top),i.my&&(this.position.my=i.my)):E.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",[E,m.elem||m],t)?(delete E.adjusted,n===N||!T||isNaN(E.left)||isNaN(E.top)||"mouse"===d||!e.isFunction(f.effect)?c.css(E):e.isFunction(f.effect)&&(f.effect.call(c,this,e.extend({},E)),c.queue(function(t){e(this).css({opacity:"",height:""}),re.ie&&this.style.removeAttribute("filter"),t()})),this.positioning=N,this):this},T.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=T.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?P:R}).prototype;ae.invert=function(e,t){this[e]=this[e]===F?j:this[e]===j?F:t||this[e]},ae.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===P||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)},T.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=A),!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"),g=t||1===f.target.length,v=!n||f.target.length<2||r.target[0]===n.target;return(typeof t).search("boolean|number")&&(t=!m),a=!i.is(":animated")&&m===t&&v,l=a?I:!!this._trigger(c,[90]),this.destroyed?this:(l!==N&&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,N),e.isFunction(p.title)&&this._updateTitle(p.title,N),!O&&"mouse"===d.target&&d.adjust.mouse&&(e(s).bind("mousemove."+W,this._storeMouse),O=A),h||i.css("width",i.outerWidth(N)),this.reposition(n,arguments[2]),h||i.css("width",""),f.solo&&("string"==typeof f.solo?e(f.solo):e(K,f.solo)).not(i).not(f.target).qtip("hide",new e.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete r.origin,O&&!e(K+'[tracking="true"]:visible',f.solo).not(i).length&&(e(s).unbind("mousemove."+W),O=N),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===N||g===N?(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))},T.show=function(e){return this.toggle(A,e)},T.hide=function(e){return this.toggle(N,e)},T.focus=function(t){if(!this.rendered||this.destroyed)return this;var n=e(K),r=this.tooltip,o=parseInt(r[0].style.zIndex,10),i=E.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},T.blur=function(e){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(X),this._trigger("blur",[this.tooltip.css("zIndex")],e),this)},T.disable=function(e){return this.destroyed?this:("toggle"===e?e=!(this.rendered?this.tooltip.hasClass(ee):this.disabled):"boolean"!=typeof e&&(e=A),this.rendered&&this.tooltip.toggleClass(ee,e).attr("aria-disabled",e),this.disabled=!!e,this)},T.enable=function(){return this.disable(N)},T._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),N})},T._updateButton=function(e){if(!this.rendered)return N;var t=this.elements.button;e?this._createButton():t.remove()},T._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)},T._storeMouse=function(t){return(this.mouse=e.event.fix(t)).type="mousemove",this},T._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}},T._unbind=function(t,n){return t&&e(t).unbind("."+this._id+(n?"-"+n:"")),this},T._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=N,!o.isDefaultPrevented()},T._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)},T._assignInitialEvents=function(t){function n(t){return this.disabled||this.destroyed?N:(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=A}),this._bindEvents(a,s,o,i,n,function(){return this.timers?void clearTimeout(this.timers.show):N}),(r.show.ready||r.prerender)&&n.call(this,t)},T._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),g=e(a),v=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(K).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),E.inactiveEvents,h)),this._bindEvents(v,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):N}),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:g,"resize",m),r.adjust.scroll&&this._bind(g.add(r.container),"scroll",m)},T._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(){g(K,["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)}),g("["+z+"]",Y,h)}),E=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 A;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),N;t.set(n,r)}}),a!==I?a:this):"object"!=typeof t&&arguments.length?void 0:(c=o(e.extend(A,{},t)),this.each(function(t){var n,r;return r=e.isArray(c.id)?c.id[t]:c.id,r=!r||r===N||r.length<1||E.api[r]?E.nextid++:r,n=v(e(this),r,c),n===N?A:(E.api[r]=n,e.each(H,function(){"initialize"===this.initialize&&this(n)}),void n._assignInitialEvents(u))}))},e.qtip=t,E.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 A;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($))try{n.triggerHandler("removeqtip")}catch(e){}e["cleanData"+te].apply(this,arguments)}),E.version="3.0.3-5-g",E.nextid=0,E.inactiveEvents=Y,E.zindex=15e3,E.defaults={prerender:N,id:N,overwrite:A,suppress:A,content:{text:A,attr:"title",title:N,button:N},position:{my:"top left",at:"bottom right",target:N,container:N,viewport:N,adjust:{x:0,y:0,mouse:A,scroll:A,resize:A,method:"flipinvert flipinvert"},effect:function(t,n){e(this).animate(n,{duration:200,queue:N})}},show:{target:N,event:"mouseenter",effect:A,delay:90,solo:N,ready:N,autofocus:N},hide:{target:N,event:"mouseleave",effect:A,delay:0,fixed:N,inactive:N,leave:"window",distance:N},style:{classes:"",widget:N,width:N,height:N,def:A},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",ge="transparent",ve=" !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(A))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===N||t===N?e=N:e===A?e=new k(t.string()):e.string||(e=new k(e),e.fixed=A),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)?N: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+":"+ge+ve+";"+pe+":0"+ve+";"),s},_calculateSize:function(e){var t,n,r,o=e.precedance===P,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,g=this.size,v=m.mimic,y=Math.round;t||(t=this.qtip.cache.corner||this.corner),v===N?v=t:(v=new k(v),v.precedance=t.precedance,"inherit"===v.x?v.x=t.x:"inherit"===v.y?v.y=t.y:v.x===v.y&&(v[t.precedance]=t[t.precedance])),o=v.precedance,t.precedance===R?this._swapDimensions():this._resetDimensions(),r=this.color=this._parseColours(t),r[1]!==ge?(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!==A?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===P?[y(v.x===F?f:v.x===j?c[0]-g[0]-f:(c[0]-g[0])/2),y(v.y===D?c[1]-g[1]:0)]:[y(v.x===F?c[0]-g[0]:0),y(v.y===D?f:v.y===U?c[1]-g[1]-f:(c[1]-g[1])/2)],ye?(i=h[0].getContext("2d"),i.restore(),i.save(),i.clearRect(0,0,6e3,6e3),s=this._calculateTip(v,g,ue),l=this._calculateTip(v,this.size,ue),h.attr(M,c[0]*ue).attr(L,c[1]*ue),h.css(M,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(v),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:""+(v.string().indexOf(B)>-1),left:u[0]-u[2]*Number(o===R),top:u[1]-u[2]*Number(o===P),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!==N&&this.calculate(t,c)},calculate:function(t,n){if(!this.enabled)return N;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===R&&o.reverse(),e.each(o,function(e,o){var s,c,f;o===B?(s=r===P?F:D,u[s]="50%",u[de+"-"+s]=-Math.round(n[r===P?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===R?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===V&&u.precedance===t&&c[r]&&u[n]!==B?u.precedance=u.precedance===R?P:R:e!==V&&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]=N),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:N,top:N,x:0,y:0},m={};this.corner.fixed!==A&&(r(d,R,P,F,j),r(p,P,R,D,U),u.string()===s.corner.string()&&s.cornerTop===c.top&&s.cornerLeft===c.left||this.update(u,N)),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===V&&!!c.left,h.left&&o(R,F,j),h.top=p===V&&!!c.top,h.top&&o(P,D,U),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!==V||h.top||!h.left&&!h.top?i.left+this.border:0,n.top-=i.top.charAt?i.user:p!==V||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=A)}},C.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(A,E.defaults,{style:{tip:{corner:A,mimic:N,width:6,height:6,border:A,offset:0}}});var xe,Se,Ee="qtip-modal",Te="."+Ee;Se=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(K);(s.length<1?N:parseInt(s[0].style.zIndex,10)>parseInt(i[0].style.zIndex,10))||r.closest(K)[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 N}}).hide(),e(s.body).bind("focusin"+Te,r),e(s).bind("keydown"+Te,function(e){o&&o.options.show.modal.escape&&27===e.keyCode&&o.hide(e)}),a.bind("click"+Te,function(e){o&&o.options.show.modal.blur&&o.hide(e)}),l},update:function(e){o=e,u=e.options.show.modal.stealfocus!==N?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(Te).filter(":visible:not(:animated)").not(c);return l.update(t),r&&f.stealfocus!==N&&n(e(":focus")),a.toggleClass("blurs",f.blur),r&&a.appendTo(s.body),a.is(":animated")&&h===r&&i!==N||!r&&m.length?l:(a.stop(A,N),e.isFunction(d)?d.call(a,r):d===N?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(Te).length||a.detach(),t()}),i=r,o.destroyed&&(o=I),l)}}),l.init()},Se=new Se,e.extend(x.prototype,{init:function(t){var n=t.tooltip;return this.options.on?(t.elements.overlay=Se.elem,n.addClass(Ee).css("z-index",E.modal_zindex+e(Te).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(Se.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(Te),i=E.modal_zindex+o.length,a=parseInt(n[0].style.zIndex,10);Se.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,Se.update(r);try{t.preventDefault()}catch(e){}}},this._ns,this),void t._bind(n,"tooltiphide",function(t){t.target===n[0]&&e(Te).filter(":visible").not(n).last().qtip("focus",t)},this._ns,this)):this},toggle:function(e,t,n){return e&&e.isDefaultPrevented()?this:void Se.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(Ee),this.qtip._unbind(this.qtip.tooltip,this._ns),Se.toggle(this.qtip,N),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=A))},E.modal_zindex=E.zindex-200,xe.initialize="render",C.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},e.extend(A,E.defaults,{show:{modal:{on:N,effect:A,blur:A,stealfocus:A,escape:A}}}),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===V,S=y===i?u:y===a?-u:-u/2,E=b===i?l:b===a?-l:-l/2,T=g[i]+v[i]-(p?0:d[i]),k=T-c,C=c+u-(s===M?h:m)-T,O=S-(_.precedance===e||y===_[n]?E:0)-(b===B?l/2:0);return x?(O=(y===i?1:-1)*S,t[i]+=k>0?k:C>0?-C:0,t[i]=Math.max(-d[i]+v[i],c-O,Math.min(Math.max(-d[i]+v[i]+(s===M?h:m),c+O),t[i],"center"===y?c-S:1e9))):(o*=r===q?2:0,k>0&&(y!==i||C>0)?(t[i]-=O+o,f.invert(e,i)):C>0&&(y!==a||k>0)&&(t[i]-=(y===B?-O:O)+o,f.invert(e,a)),t[i]<g[i]&&-t[i]>C&&(t[i]=c,f=_.clone())),t[i]-c}var c,f,d,p,h,m,g,v,y=n.target,b=e.elements.tooltip,_=n.my,w=n.at,x=n.adjust,S=x.method.split(" "),E=S[0],T=S[1]||S[0],k=n.viewport,C=n.container,O={left:0,top:0};return k.jquery&&y[0]!==a&&y[0]!==s.body&&"none"!==x.method?(d=C.offset()||O,p="static"===C.css("position"),c="fixed"===b.css("position"),h=k[0]===a?k.width():k.outerWidth(N),m=k[0]===a?k.height():k.outerHeight(N),g={left:c?0:k.scrollLeft(),top:c?0:k.scrollTop()},v=k.offset()||O,"shift"===E&&"shift"===T||(f=_.clone()),O={left:"none"!==E?u(R,P,E,x.x,F,j,M,r,i):0,top:"none"!==T?u(P,R,T,x.y,D,U,L,o,l):0,my:f}):O},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:N},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===F?l=r:t.x===j?l=i.width-r:l+=Math.floor(r/2),t.y===D?u=o:t.y===U?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===F&&c>=l||t.x===j&&c<=l||t.x===B&&(c<l||c>i.width-l)||t.y===D&&f>=u||t.y===U&&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:N}},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),g=h.ownerDocument,v=(parseInt(n.css("stroke-width"),10)||0)/2;!h.getBBox;)h=h.parentNode;if(!h.getBBox||!h.parentNode)return N;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+v,(h.ry||h.r).baseVal.value+v,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),g!==s&&"mouse"!==t.position.target&&(o=e((g.defaultView||g.parentWindow).frameElement).offset())&&(p.left+=o.left,p.top+=o.top),g=e(g),p.left+=g.scrollLeft(),p.top+=g.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 N;if("polygon"===u)s=H.polys.polygon(d,r);else{if(!H.polys[u])return N;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(N)-c.width())/2),o.top+=Math.ceil((c.outerHeight(N)-c.height())/2),s.position.left+=o.left,s.position.top+=o.top,s};var ke;e.extend(S.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(N),width:n.outerWidth(N)},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?[M,F]:[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(M,i.width):(o.css(M,"").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(M,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 S(e):N},ke.initialize="render",C.ie6={"^content|style$":function(){this.redraw()}}})}(window,document)},function(e,t,n){e.exports=n(718)},function(e,t,n){e.exports=n(275)},function(e,t,n){e.exports=n(752)},function(e,t,n){e.exports=n(768)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(141),n(236),n(10)],void 0!==(o=function(e,t,n,r){var o=e._;return t.extend({props:function(){var t=n.getCookieUsername(),r=this.getUsernameAndRemember(t),i={username:{type:"string",validate:function(t){if(o.isEmpty(t))return e.loc("error.username.required","login")},value:r.username},lastUsername:["string",!1,t],context:["object",!1],remember:["boolean",!0,r.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(i.password={type:"string",validate:function(t){if(o.isEmpty(t))return e.loc("error.password.required","login")}}),i},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(t){this.settings=t&&t.settings,this.appState=t&&t.appState,e.Model.apply(this,arguments),this.listenTo(this,"change:username",function(e,t){this.set({remember:t===this.get("lastUsername")})})},parse:function(e){return o.omit(e,["settings","appState"])},save:function(){var e=this.settings.transformUsername(this.get("username"),r.PRIMARY_AUTH),t=this.get("remember"),i=this.get("lastUsername");this.setUsernameCookie(e,t,i),this.trigger("save"),this.appState.trigger("loading",!0);var s,l=this.getSignInArgs(e);if(this.appState.get("isUnauthenticated")){var u=this.appState.settings.authClient;s=this.appState.get("isIdxStateToken")?this.doTransaction(function(e){return this.doPrimaryAuth(u,l,e.login)}):this.doTransaction(function(e){return this.doPrimaryAuth(u,l,e.authenticate)})}else s=this.startTransaction(function(e){return this.doPrimaryAuth(e,l,(0,a.default)(o).call(o,e.signIn,e))});return s.catch((0,a.default)(o).call(o,function(){this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).finally((0,a.default)(o).call(o,function(){this.appState.trigger("loading",!1)},this))},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,r){this.settings.get("features.rememberMe")&&(t||r!==e?t&&n.setUsernameCookie(e):n.removeUsernameCookie())},doPrimaryAuth:function(e,t,n){var r=this.settings.get("features.deviceFingerprinting"),o=this.settings.get("features.trackTypingPattern");r&&(e.options.headers["X-Device-Fingerprint"]=this.appState.get("deviceFingerprint")),o&&(e.options.headers["X-Typing-Pattern"]=this.appState.get("typingPattern"));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"))})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t=e.internal.util.Cookie,n={};return n.getCookieUsername=function(){return t.getCookie("ln")},n.setUsernameCookie=function(e){t.setCookie("ln",e,{expires:365,path:"/"})},n.removeUsernameCookie=function(){t.removeCookie("ln",{path:"/"})},n}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t={};return t.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"}},t.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"}},t.getU2fEnrollErrorMessageByCode=function(n){return e.loc(t.getU2fEnrollErrorMessageKeyByCode(n),"login")},t.getU2fVerifyErrorMessageByCode=function(n,r){return e.loc(t.getU2fVerifyErrorMessageKeyByCode(n,r),"login")},t.getU2fVersion=function(){return"U2F_V2"},t.isU2fAvailable=function(){return window.hasOwnProperty("u2f")},t}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(28)),l=i(n(3));r=[n(0),n(32),n(48)],void 0!==(o=function(e,t,n){var r=e._;return e.View.extend({className:"scan-instructions clearfix",template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=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((i=null!=(i=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?i:l,"function"===(0,s.default)(i)?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i))+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" class="qrcode-image" src="'+u((i=null!=(i=c(n,"qrcode")||(null!=t?c(t,"qrcode"):t))?i:l,"function"===(0,s.default)(i)?i.call(a,{name:"qrcode",hash:{},data:o,loc:{start:{line:1,column:240},end:{line:1,column:250}}}):i))+'"><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(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:458},end:{line:1,column:511}}}))+'</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(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:o,loc:{start:{line:1,column:607},end:{line:1,column:664}}}))+"</a></div>"},useData:!0}),events:{'click [data-type="manual-setup"]':function(e){var t=this;e.preventDefault();var o=n.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 r.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()})}).then(function(){t.options.appState.trigger("navigate",o)}):this.options.appState.trigger("navigate",o)},'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||r.defer((0,a.default)(r).call(r,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 n,r=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return n="GOOGLE"===this.model.get("__provider__")?e.loc("enroll.totp.setupGoogleAuthApp","login",[r]):e.loc("enroll.totp.setupApp","login",[r]),{instructions:n,qrcode:this.options.appState.get("qrcode")}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";function r(e){return f(e)}function o(e){return f(e,!0)}function i(e){return f({authenticatorType:e}).iconClassName}var a=n(1),s=n(4);s(t,"__esModule",{value:!0}),t.getAuthenticatorDataForEnroll=r,t.getAuthenticatorDataForVerification=o,t.getIconClassNameForBeacon=i,s(t,"getPasswordComplexityDescriptionForHtmlList",{enumerable:!0,get:function(){return c.getPasswordComplexityDescriptionForHtmlList}});var l=a(n(17)),u=n(0),c=n(32),f=function(e,t){var n=e.authenticatorType||e.factorType,r=u._.isString(n)?n.toLowerCase():"",o={};switch(r){case"email":(0,l.default)(o,{description:t?"":(0,u.loc)("oie.email.authenticator.description","login"),iconClassName:"mfa-okta-email"});break;case"password":(0,l.default)(o,{description:t?"":(0,u.loc)("oie.password.authenticator.description","login"),iconClassName:"mfa-okta-password"});break;case"phone":(0,l.default)(o,{description:t?e.relatesTo&&e.relatesTo.profile&&e.relatesTo.profile.phoneNumber:(0,u.loc)("oie.phone.authenticator.description","login"),iconClassName:"mfa-okta-phone"});break;case"security_question":(0,l.default)(o,{description:t?"":(0,u.loc)("oie.security.question.authenticator.description","login"),iconClassName:"mfa-okta-security-question"});break;case"webauthn":case"security_key":(0,l.default)(o,{description:t?"":(0,u.loc)("oie.webauthn.description","login"),iconClassName:"mfa-webauthn"});break;case"app":(0,l.default)(o,{description:t?"":(0,u.loc)("oie.okta_verify.authenticator.description","login"),iconClassName:"mfa-okta-verify"})}return o}},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(24)),i=n(0),a=r(n(241)),s=r(n(173)),l=i.View.extend({HeaderBeacon:a.default,initialize:function(){this.add(this.HeaderBeacon)},postRender:function(){var e;(0,i.$)("#okta-sign-in").removeClass("no-beacon");var t=(0,o.default)(e=this.$el).call(e,'[data-type="beacon-container"]');s.default.explode(t)}});t.default=l},function(e,t,n){"use strict";var r=n(1),o=r(n(3)),i=n(0),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){e.exports=n(878)},function(e,t,n){function r(e){return o(e)||i(e)||a(e)||s()}var o=n(924),i=n(925),a=n(339),s=n(926);e.exports=r},function(e,t,n){e.exports=!n(33)&&!n(12)(function(){return 7!=Object.defineProperty(n(184)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(11),o=n(30),i=n(96),a=n(185),s=n(34).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(53),o=n(55),i=n(145)(!1),a=n(186)("IE_PROTO");e.exports=function(e,t){var n,s=o(e),l=0,u=[];for(n in s)n!=a&&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(34),o=n(13),i=n(97);e.exports=n(33)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),s=a.length,l=0;s>l;)r.f(e,n=a[l++],t[n]);return e}},function(e,t,n){var r=n(55),o=n(100).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){"use strict";var r=n(33),o=n(97),i=n(146),a=n(130),s=n(43),l=n(129),u=Object.assign;e.exports=!u||n(12)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=u({},e)[n]||Object.keys(u({},t)).join("")!=r})?function(e,t){for(var n=s(e),u=arguments.length,c=1,f=i.f,d=a.f;u>c;)for(var p,h=l(arguments[c++]),m=f?o(h).concat(f(h)):o(h),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:u},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){"use strict";var r=n(67),o=n(14),i=n(252),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";s[t]=Function("F,a","return new F("+r.join(",")+")")}return s[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=a.call(arguments,1),s=function(){var r=n.concat(a.call(arguments));return this instanceof s?l(t,r.length,r):i(t,r,e)};return o(t.prototype)&&(s.prototype=t.prototype),s}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){var r=n(11).parseInt,o=n(114).trim,i=n(190),a=/^[-+]?0[xX]/;e.exports=8!==r(i+"08")||22!==r(i+"0x16")?function(e,t){var n=o(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(11).parseFloat,o=n(114).trim;e.exports=1/r(n(190)+"-0")!=-1/0?function(e){var t=o(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(76);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(14),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t){e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:Math.log(1+e)}},function(e,t,n){"use strict";var r=n(99),o=n(94),i=n(113),a={};n(54)(a,n(20)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(13);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(467);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(67),o=n(43),i=n(129),a=n(25);e.exports=function(e,t,n,s,l){r(t);var u=o(e),c=i(u),f=a(u.length),d=l?f-1:0,p=l?-1:1;if(n<2)for(;;){if(d in c){s=c[d],d+=p;break}if(d+=p,l?d<0:f<=d)throw TypeError("Reduce of empty array with no initial value")}for(;l?d>=0:f>d;d+=p)d in c&&(s=t(s,c[d],d,u));return s}},function(e,t,n){"use strict";var r=n(43),o=n(98),i=n(25);e.exports=[].copyWithin||function(e,t){var n=r(this),a=i(n.length),s=o(e,a),l=o(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:o(u,a))-l,a-s),f=1;for(l<s&&s<l+c&&(f=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=f,l+=f;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(205);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(33)&&"g"!=/./g.flags&&n(34).f(RegExp.prototype,"flags",{configurable:!0,get:n(149)})},function(e,t,n){"use strict";var r,o,i,a,s=n(96),l=n(11),u=n(66),c=n(131),f=n(2),d=n(14),p=n(67),h=n(117),m=n(152),g=n(132),v=n(207).set,y=n(487)(),b=n(267),_=n(488),w=n(153),x=n(268),S=l.TypeError,E=l.process,T=E&&E.versions,k=T&&T.v8||"",C=l.Promise,O="process"==c(E),A=function(){},N=o=b.f,I=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[n(20)("species")]=function(e){e(A,A)};return(O||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),R=function(e){var t;return!(!d(e)||"function"!=typeof(t=e.then))&&t},P=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,o=1==e._s,i=0;n.length>i;)!function(t){var n,i,a,s=o?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(o||(2==e._h&&D(e),e._h=1),!0===s?n=r:(c&&c.enter(),n=s(r),c&&(c.exit(),a=!0)),n===t.promise?u(S("Promise-chain cycle")):(i=R(n))?i.call(n,l,u):l(n)):u(r)}catch(e){c&&!a&&c.exit(),u(e)}}(n[i++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){v.call(l,function(){var t,n,r,o=e._v,i=L(e);if(i&&(t=_(function(){O?E.emit("unhandledRejection",o,e):(n=l.onunhandledrejection)?n({promise:e,reason:o}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",o)}),e._h=O||L(e)?2:1),e._a=void 0,i&&t.e)throw t.v})},L=function(e){return 1!==e._h&&0===(e._a||e._c).length},D=function(e){v.call(l,function(){var t;O?E.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},F=function(e){var t=this;t._d||(t._d=!0,t=t._w||t,t._v=e,t._s=2,t._a||(t._a=t._c.slice()),P(t,!0))},U=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw S("Promise can't be resolved itself");(t=R(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,u(U,r,1),u(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,P(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};I||(C=function(e){h(this,C,"Promise","_h"),p(e),r.call(this);try{e(u(U,this,1),u(F,this,1))}catch(e){F.call(this,e)}},r=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n(118)(C.prototype,{then:function(e,t){var n=N(g(this,C));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=O?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&P(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new r;this.promise=e,this.resolve=u(U,e,1),this.reject=u(F,e,1)},b.f=N=function(e){return e===C||e===a?new i(e):o(e)}),f(f.G+f.W+f.F*!I,{Promise:C}),n(113)(C,"Promise"),n(116)("Promise"),a=n(30).Promise,f(f.S+f.F*!I,"Promise",{reject:function(e){var t=N(this);return(0,t.reject)(e),t.promise}}),f(f.S+f.F*(s||!I),"Promise",{resolve:function(e){return x(s&&this===a?C:this,e)}}),f(f.S+f.F*!(I&&n(148)(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=N(t),r=n.resolve,o=n.reject,i=_(function(){var n=[],i=0,a=1;m(e,!1,function(e){var s=i++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},o)}),--a||r(n)});return i.e&&o(i.v),n.promise},race:function(e){var t=this,n=N(t),r=n.reject,o=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return o.e&&r(o.v),n.promise}})},function(e,t,n){"use strict";function r(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=o(t),this.reject=o(n)}
// 25.4.1.5 NewPromiseCapability(C)
var o=n(67);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(13),o=n(14),i=n(267);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(34).f,o=n(99),i=n(118),a=n(66),s=n(117),l=n(152),u=n(196),c=n(263),f=n(116),d=n(33),p=n(87).fastKey,h=n(103),m=d?"_s":"size",g=function(e,t){var n,r=p(t);if("F"!==r)return e._i[r];for(n=e._f;n;n=n.n)if(n.k==t)return n};e.exports={getConstructor:function(e,t,n,u){var c=e(function(e,r){s(e,c,t,"_i"),e._t=t,e._i=o(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)});return i(c.prototype,{clear:function(){for(var e=h(this,t),n=e._i,r=e._f;r;r=r.n)r.r=!0,r.p&&(r.p=r.p.n=void 0),delete n[r.i];e._f=e._l=void 0,e[m]=0},delete:function(e){var n=h(this,t),r=g(n,e);if(r){var o=r.n,i=r.p;delete n._i[r.i],r.r=!0,i&&(i.n=o),o&&(o.p=i),n._f==r&&(n._f=o),n._l==r&&(n._l=i),n[m]--}return!!r},forEach:function(e){h(this,t);for(var n,r=a(e,arguments.length>1?arguments[1]:void 0,3);n=n?n.n:this._f;)for(r(n.v,n.k,this);n&&n.r;)n=n.p},has:function(e){return!!g(h(this,t),e)}}),d&&r(c.prototype,"size",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,o,i=g(e,t);return i?i.v=n:(e._l=i={i:o=p(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=i),r&&(r.n=i),e[m]++,"F"!==o&&(e._i[o]=i)),e},getEntry:g,setStrong:function(e,t,n){u(e,t,function(e,n){this._t=h(e,t),this._k=n,this._l=void 0},function(){for(var e=this,t=e._k,n=e._l;n&&n.r;)n=n.p;return e._t&&(e._l=n=n?n.n:e._t._f)?"keys"==t?c(0,n.k):"values"==t?c(0,n.v):c(0,[n.k,n.v]):(e._t=void 0,c(1))},n?"entries":"values",!n,!0),f(t)}}},function(e,t,n){"use strict";var r=n(118),o=n(87).getWeak,i=n(13),a=n(14),s=n(117),l=n(152),u=n(71),c=n(53),f=n(103),d=u(5),p=u(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return d(e.a,function(e){return e[0]===t})};g.prototype={get:function(e){var t=v(this,e);if(t)return t[1]},has:function(e){return!!v(this,e)},set:function(e,t){var n=v(this,e);n?n[1]=t:this.a.push([e,t])},delete:function(e){var t=p(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,i){var u=e(function(e,r){s(e,u,t,"_i"),e._t=t,e._i=h++,e._l=void 0,void 0!=r&&l(r,n,e[i],e)});return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(f(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=o(e);return!0===n?m(f(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=o(i(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(68),o=n(25);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(100),o=n(146),i=n(13),a=n(11).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(i(e)),n=o.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(25),o=n(192),i=n(77);e.exports=function(e,t,n,a){var s=String(i(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var f=c-l,d=o.call(u,Math.ceil(f/u.length));return d.length>f&&(d=d.slice(0,f)),a?d+s:s+d}},function(e,t,n){var r=n(33),o=n(97),i=n(55),a=n(130).f;e.exports=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}}},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&&v.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===E)throw new Error("Generator is already running");if(o===T){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=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=E;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?T:S,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=T,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(v.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,g=Object.prototype,v=g.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";e.wrap=t;var x="suspendedStart",S="suspendedYield",E="executing",T="completed",k={},C={};C[b]=function(){return this};var O=Object.getPrototypeOf,A=O&&O(O(p([])));A&&A!==g&&v.call(A,b)&&(C=A);var N=i.prototype=r.prototype=Object.create(C);return o.prototype=N.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(N),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(N),N[w]="Generator",N[b]=function(){return this},N.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)&&v.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=v.call(o,"catchLoc"),s=v.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&&v.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){var n=e.exports={version:"2.6.9"};"number"==typeof __e&&(__e=n)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(38),o=n(19),i=n(215);e.exports=!r&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(19),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(22),o=n(567),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){var r=n(218);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){n(576);var r=n(15);e.exports=r.Array.isArray},function(e,t,n){e.exports=n(577)},function(e,t,n){e.exports=n(594)},function(e,t,n){var r=n(22),o=n(286),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},function(e,t,n){var r=n(280),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(5),o=n(288),i=n(163),a=n(294),s=n(89),l=n(60),u=n(124),c=n(23),f=n(62),d=n(110),p=n(289),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,g=c("iterator"),v=function(){return this};e.exports=function(e,t,n,c,p,y,b){o(n,t,c);var _,w,x,S=function(e){if(e===p&&O)return O;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)}},E=t+" Iterator",T=!1,k=e.prototype,C=k[g]||k["@@iterator"]||p&&k[p],O=!m&&C||S(p),A="Array"==t?k.entries||C:C;if(A&&(_=i(A.call(new e)),h!==Object.prototype&&_.next&&(f||i(_)===h||(a?a(_,h):"function"!=typeof _[g]&&l(_,g,v)),s(_,E,!0,!0),f&&(d[E]=v))),"values"==p&&C&&"values"!==C.name&&(T=!0,O=function(){return C.call(this)}),f&&!b||k[g]===O||l(k,g,O),d[t]=O,p)if(w={values:S("values"),keys:y?O:S("keys"),entries:S("entries")},b)for(x in w)!m&&!T&&x in k||u(k,x,w[x]);else r({target:t,proto:!0,forced:m||T},w);return w}},function(e,t,n){"use strict";var r=n(289).IteratorPrototype,o=n(136),i=n(105),a=n(89),s=n(110),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(163),s=n(60),l=n(46),u=n(23),c=n(62),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(19);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},function(e,t,n){var r=n(38),o=n(61),i=n(40),a=n(137);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(46),o=n(58),i=n(216).indexOf,a=n(135);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(72);e.exports=r("document","documentElement")},function(e,t,n){var r=n(40),o=n(601);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(612)},function(e,t,n){"use strict";var r=n(5),o=n(19),i=n(109),a=n(31),s=n(52),l=n(47),u=n(121),c=n(160),f=n(134),d=n(23),p=n(219),h=d("isConcatSpreadable"),m=p>=51||!o(function(){var e=[];return e[h]=!1,e.concat()[0]!==e}),g=f("concat"),v=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||!g},{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],v(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(5),o=n(22),i=n(220),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(655)},function(e,t,n){var r=n(666),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){e.exports=n(673)},function(e,t,n){n(302),n(138),n(79);var r=n(170);e.exports=r.f("iterator")},function(e,t,n){n(35)("iterator")},function(e,t,n){e.exports=n(675)},function(e,t,n){n(296),n(171),n(305),n(676),n(677),n(678),n(679),n(302),n(680),n(681),n(682),n(683),n(684),n(685),n(686),n(307),n(687),n(308),n(309);var r=n(15);e.exports=r.Symbol},function(e,t,n){"use strict";var r=n(5),o=n(22),i=n(72),a=n(62),s=n(38),l=n(218),u=n(281),c=n(19),f=n(46),d=n(109),p=n(31),h=n(40),m=n(52),g=n(58),v=n(158),y=n(105),b=n(136),_=n(137),w=n(228),x=n(306),S=n(229),E=n(104),T=n(61),k=n(156),C=n(60),O=n(124),A=n(217),N=n(162),I=n(135),R=n(161),P=n(23),M=n(170),L=n(35),D=n(89),F=n(80),U=n(73).forEach,j=N("hidden"),B=P("toPrimitive"),q=F.set,V=F.getterFor("Symbol"),H=Object.prototype,W=o.Symbol,$=i("JSON","stringify"),z=E.f,G=T.f,K=x.f,Y=k.f,J=A("symbols"),Q=A("op-symbols"),X=A("string-to-symbol-registry"),Z=A("symbol-to-string-registry"),ee=A("wks"),te=o.QObject,ne=!te||!te.prototype||!te.prototype.findChild,re=s&&c(function(){return 7!=b(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=z(H,t);r&&delete H[t],G(e,t,n),r&&e!==H&&G(H,t,r)}:G,oe=function(e,t){var n=J[e]=b(W.prototype);return q(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=v(t,!0);return h(n),f(J,r)?(n.enumerable?(f(e,j)&&e[j][r]&&(e[j][r]=!1),n=b(n,{enumerable:y(0,!1)})):(f(e,j)||G(e,j,y(1,{})),e[j][r]=!0),re(e,r,n)):G(e,r,n)},se=function(e,t){h(e);var n=g(t),r=_(n).concat(de(n));return U(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=v(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,j)&&this[j][t])||n)},ce=function(e,t){var n=g(e),r=v(t,!0);if(n!==H||!f(J,r)||f(Q,r)){var o=z(n,r);return!o||!f(J,r)||f(n,j)&&n[j][r]||(o.enumerable=!0),o}},fe=function(e){var t=K(g(e)),n=[];return U(t,function(e){f(J,e)||f(I,e)||n.push(e)}),n},de=function(e){var t=e===H,n=K(t?Q:g(e)),r=[];return U(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=R(e),n=function(e){this===H&&n.call(Q,e),f(this,j)&&f(this[j],t)&&(this[j][t]=!1),re(this,t,y(1,e))};return s&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)},O(W.prototype,"toString",function(){return V(this).tag}),O(W,"withoutSetter",function(e){return oe(R(e),e)}),k.f=ue,T.f=ae,E.f=ce,w.f=x.f=fe,S.f=de,M.f=function(e){return oe(P(e),e)},s&&(G(W.prototype,"description",{configurable:!0,get:function(){return V(this).description}}),a||O(H,"propertyIsEnumerable",ue,{unsafe:!0}))),r({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:W}),U(_(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(){S.f(1)})},{getOwnPropertySymbols:function(e){return S.f(m(e))}}),$){r({target:"JSON",stat:!0,forced:!l||c(function(){var e=W();return"[null]"!=$([e])||"{}"!=$({a:e})||"{}"!=$(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,$.apply(null,o)}})}W.prototype[B]||C(W.prototype,B,W.prototype.valueOf),D(W,"Symbol"),I[j]=!0},function(e,t,n){var r=n(58),o=n(228).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(35)("toStringTag")},function(e,t,n){n(89)(Math,"Math",!0)},function(e,t,n){var r=n(22);n(89)(r.JSON,"JSON",!0)},function(e,t,n){n(689);var r=n(15),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){"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(74),a=n(111),s=r(a),l=n(312),u=n(697),c=n(313),f=r(c),d=n(314);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),v.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(690),s=r(a),l=n(691),u=r(l),c=n(692),f=r(c),d=n(693),p=r(d),h=n(694),m=r(h),g=n(695),v=r(g),y=n(696),b=r(y)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(74),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(699),u=n(313),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){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,n){e.exports=n(709)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(41)),s=i(n(283)),l=i(n(45)),u=i(n(169)),c=i(n(7)),f=i(n(3));r=[n(0),n(36),n(56),n(75),n(21),n(63),n(318),n(213)],void 0!==(o=function(e,t,n,r,o,i,d,p){var h=e.internal.util.Util,m=e._,g=["token","id_token","code"],v=n.ConfigError,y=n.UnsupportedBrowserError,b=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});return e.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],transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",logo:"string",logoText:["string",!1],helpSupportNumber:"string",apiVersion:["string",!0,"1.0.0"],"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.preventBrowserFromSavingOktaPassword":["boolean",!0,!0],"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.consent":["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.restrictRedirectToForeground":["boolean",!0,!1],"features.hideDefaultTip":["boolean",!1,!0],"features.showPasswordRequirementsAsHtmlList":["boolean",!1,!1],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:m.identity},clientId:"string",redirectUri:"string",oAuthTimeout:["number",!1],authScheme:["string",!1,"OAUTH2"],"authParams.display":{type:"string",values:["none","popup","page"]},"authParams.responseMode":{type:"string",values:["query","fragment","form_post","okta_post_message"]},"authParams.responseType":["any",!1,"id_token"],"authParams.scopes":["array",!1],"authParams.issuer":["string",!1],"authParams.authorizeUrl":["string",!1],"authParams.state":["string",!1],"authParams.nonce":["string",!1],idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array",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:{redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(e){var t,n;return e?(0,c.default)(t=o.redirectWithFormGet).call(t,o):(0,c.default)(n=h.redirect).call(n,h)},cache:!0},supportedLanguages:{deps:["i18n"],fn:function(e){return m.union(p.supportedLanguages,(0,u.default)(m).call(m,e))},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,t){var n,i=r.getUserLanguages(),a=m.clone(i),s=o.toLower(t);m.isString(e)?a.unshift(e):m.isFunction(e)&&a.unshift(e(t,i)),a.push("en"),n=o.toLower(o.expandLanguages(a));var u,c;for(u=0;u<n.length;u++)if((c=(0,l.default)(s).call(s,n[u]))>-1)return t[c]}},oauth2Enabled:{deps:["clientId","authScheme","authParams.responseType"],fn:function(e,t,n){if(!e)return!1;if("oauth2"!==t.toLowerCase())return!1;var r=m.isArray(n)?n:[n];return m.intersection(r,g).length>0},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,s.default)(n).call(n,r)))}return encodeURI(t)}},configuredSocialIdps:{deps:["idps"],fn:function(e){return(0,a.default)(m).call(m,e,function(e){var t=m.clone(e),n=t.type&&t.type.toLowerCase();return n&&m.contains(d.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(!m.isEmpty(e)||t)&&"PRIMARY"===n.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,t,n){return!m.isEmpty(e)||!m.isEmpty(t)||n},cache:!0}},initialize:function(t){t.baseUrl?t.colors&&m.isString(t.colors.brand)&&!t.colors.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new v(e.loc("error.invalid.colors.brand"))):r.corsIsNotSupported()&&this.callGlobalError(new y(e.loc("error.unsupported.cors"))):this.callGlobalError(new v(e.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 e.Model.prototype.set.apply(this,arguments)}catch(e){var t=e.message?e.message:e;this.callGlobalError(new v(t))}},callGlobalSuccess:function(e,t){var n=m.extend(t,{status:e});m.defer(m.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&&m.isFunction(n)?n(e,t):e},processCreds:function(e){var n=this.get("processCreds");return t.Promise(function(t){m.isFunction(n)?2===n.length?n(e,t):(n(e),t()):t()})},parseSchema:function(t,n,r){var o=this.get("registration.parseSchema");m.isFunction(o)?o(t,function(e){n(e)},function(t){t=t||{errorSummary:e.loc("registration.default.callbackhook.error")},t.callback="parseSchema",r(t)}):n(t)},preSubmit:function(t,n,r){var o=this.get("registration.preSubmit");m.isFunction(o)?o(t,function(e){n(e)},function(t){t=t||{errorSummary:e.loc("registration.default.callbackhook.error")},t.callback="preSubmit",r(t)}):n(t)},postSubmit:function(t,n,r){var o=this.get("registration.postSubmit");m.isFunction(o)?o(t,function(e){n(e)},function(t){t=t||{errorSummary:e.loc("registration.default.callbackhook.error")},t.callback="postSubmit",r(t)}):n(t)},parse:function(e){if(e.authParams&&e.authParams.pkce&&(e.authParams.responseType="code"),e.authParams&&e.authParams.scope&&(e.authParams.scopes=e.authParams.scope,delete e.authParams.scope),e.labels||e.country){var t=e.labels||{};m.each(e.country,function(e,n){t["country."+n]=e}),e.i18n={},m.each(p.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=b({version:p.version}),e}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[],void 0!==(o=function(){return{SUPPORTED_SOCIAL_IDPS:["facebook","google","linkedin","microsoft","apple"]}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(173),n(724)],void 0!==(o=function(e,t,n){function r(e){return e&&e.equals(n)}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 l(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"}return e.View.extend({currentBeacon:null,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'<img src="'+u((i=null!=(i=c(n,"logo")||(null!=t?c(t,"logo"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{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:l,"function"===(0,a.default)(i)?i.call(s,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:104},end:{line:1,column:116}}}):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'<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:126}}}))?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,n){var a='[data-type="beacon-container"]',s=this.$(a),u=l(this.currentBeacon,e,n),c=this;switch(u){case"none":return void this.$el.addClass("no-beacon");case"same":return;case"add":return this.$el.removeClass("no-beacon"),i(this,e,a,n),t.explode(s);case"remove":return this.$el.addClass("no-beacon"),t.implode(s).then(function(){o(c)}).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return n.animate=!0,this.currentBeacon.fadeOut().then(function(){o(c),i(c,e,a,n)}).done();case"swap":return t.swapBeacons({$el:s,swap:function(){var t=r(c.currentBeacon);o(c),t&&(s.removeClass("beacon-small beacon-loading"),c.$el.removeClass("no-beacon")),i(c,e,a,n)}}).done();case"load":return s.addClass("beacon-small beacon-loading"),i(c,e,a,n),t.explode(s);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+u+'" is not recognized')}},setLoadingBeacon:function(e){e&&!r(this.currentBeacon)&&this.setBeacon(n,{loading:!0})},removeLoadingBeacon:function(){var e=this,n=this.$('[data-type="beacon-container"]');return t.implode(n).then(function(){o(e),n.removeClass("beacon-small beacon-loading")}).done()},getTemplateData:function(){return this.settings.toJSON({verbose:!0})},getContentEl:function(){return this.$(".auth-content-inner")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(232)),s=i(n(321)),l=i(n(24)),u=i(n(3));r=[n(0),n(173)],void 0!==(o=function(e,t){function n(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,l.default)(e).call(e,".accessibility-text").text(r),void e.css("background-image","url("+f.escape(n)+")")):void 0}function r(t,n){d(window).on("resize.securityBeaconQtip",f.debounce(function(){t.is(":visible")&&t.qtip("show")},300)),t.qtip({prerender:!0,content:{text:e.loc("primaryauth.newUser.tooltip","login",[f.escape(n)]),button:e.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:d(".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))}}}),t.qtip("toggle",t.is(":visible"))}function o(e){e.qtip("destroy"),d(window).off("resize.securityBeaconQtip")}function i(e,t,n){return c.apply(this,arguments)}function c(){return c=(0,s.default)(a.default.mark(function e(i,s,u){var c,f,d,p,h,m,g;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(c=(0,l.default)(i).call(i,".auth-beacon-security"),f=(0,l.default)(i).call(i,".js-auth-beacon-border"),d=!s.get("isUndefinedUser"),p=s.get("isNewUser"),h=(0,l.default)(i).call(i,".radial-progress-bar"),m=s.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],g=200,u){e.next=5;break}return n(c,s),f.toggleClass("auth-beacon-border",d),e.abrupt("return");case 5:if(o(c),d){e.next=10;break}c.fadeOut(g,function(){n(c,s),f.removeClass("auth-beacon-border"),c.fadeIn(g)}),e.next=15;break;case 10:return f.removeClass("auth-beacon-border"),e.next=13,t.radialProgressBar({$el:h,swap:function(){c.fadeOut(g,function(){n(c,s),c.fadeIn(g)})}});case 13:f.addClass("auth-beacon-border"),p&&r(c,m);case 15:case"end":return e.stop()}},e)})),c.apply(this,arguments)}var f=e._,d=e.$;return e.View.extend({template:u.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=f.partial(i,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,l.default)(e=this.$el).call(e,".auth-beacon-security").qtip("destroy")}})}.apply(t,r))&&(e.exports=o)},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(725);e.exports=o},function(e,t,n){n(171),n(138),n(79),n(727),n(331),n(731);var r=n(15);e.exports=r.Promise},function(e,t,n){var r=n(22);e.exports=r.Promise},function(e,t,n){var r=n(23),o=n(110),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(40);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(23),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(40),o=n(59),i=n(23),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(22),s=n(19),l=n(106),u=n(88),c=n(293),f=n(215),d=n(329),p=a.location,h=a.setImmediate,m=a.clearImmediate,g=a.process,v=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)}},S=function(e){w(e.data)},E=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(g)?r=function(e){g.nextTick(x(e))}:y&&y.now?r=function(e){y.now(x(e))}:v&&!d?(o=new v,i=o.port2,o.port1.onmessage=S,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(E)||"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=E,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},function(e,t,n){var r=n(220);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r=n(40),o=n(31),i=n(139);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(5),o=n(59),i=n(139),a=n(177),s=n(91);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,o;r=[n(0),n(10)],void 0!==(o=function(e,t){return e.View.extend({className:"auth-container main-container",id:t.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container"},initialize:function(e){this.listenTo(e.appState,"change:beaconType",function(e,t){this.$el.toggleClass("can-remove-beacon","security"===t)})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(738)},function(e,t,n){e.exports=n(743)},function(e,t,n){function r(e,t){return o(e)||i(e,t)||a(e,t)||s()}var o=n(748),i=n(750),a=n(339),s=n(759);e.exports=r},function(e,t,n){e.exports=n(749)},function(e,t,n){e.exports=n(751)},function(e,t,n){var r=n(40),o=n(176);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){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(340),i=n(757),a=n(342);e.exports=r},function(e,t,n){e.exports=n(754)},function(e,t,n){n(138),n(755);var r=n(15);e.exports=r.Array.from},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(760)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(168)),s=i(n(16));r=[n(10)],void 0!==(o=function(e){var t={},n=function(e){var n,r;return(0,s.default)(n=(0,s.default)(r="\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(r,t.lighten(e.brand,.05),"; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n  background: ")).call(n,e.brand,";\n  opacity: 0.5;\n}\n    ")};return t.lighten=function(e,t){t=t||0,e=e.substr(1);for(var n="#",r=0;r<3;r++){var o=(0,a.default)(e.substr(2*r,2),16);o=Math.round(Math.min(Math.max(0,o+o*t),255)).toString(16),n+=("00"+o).substr(o.length)}return n},t.addStyle=function(t){var r=n(t),o=document.getElementById(e.WIDGET_CONTAINER_ID),i=document.createElement("style");i.id=e.WIDGET_CONFIG_COLORS_ID,i.type="text/css",i.appendChild(document.createTextNode(r)),o.appendChild(i)},t.isLoaded=function(){return!!document.getElementById(e.WIDGET_CONFIG_COLORS_ID)},t}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(346),n(347),n(772),n(235),n(348),n(126),n(63),n(179)],void 0!==(o=function(e,t,n,r,o,i,a,s,l){var u=e.$;return a.extend({className:"primary-auth",state:{enabled:!0},View:t,constructor:function(e){e.appState.unset("username"),this.model=new o({multiOptionalFactorEnroll:e.settings.get("features.multiOptionalFactorEnroll"),settings:e.settings,appState:e.appState},{parse:!0}),a.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(n,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},addFooter:function(e){this.add(new i(this.toJSON({appState:e.appState}))),(e.settings.get("features.registration")||e.appState.get("isIdxStateToken"))&&this.add(new r({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),l.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){u(e.target.parentElement).addClass("focused-input")},"focusout input":function(e){u(e.target.parentElement).removeClass("focused-input")},"click .button-show":function(){this.trigger("passwordRevealed")}},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")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(26),n(179),n(766),n(21)],void 0!==(o=function(e,t,n,r,o){var i=e._;return e.Form.extend({className:"primary-auth-form",noCancelButton:!0,attributes:{novalidate:"novalidate"},save:function(){return this.settings.get("features.passwordlessAuth")?e.loc("oform.next","login"):e.loc("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){var t=e.loc("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(t=""),t},initialize:function(){var e=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",function(){if(e){var t=r.getTypingPattern();this.options.appState.set("typingPattern",t)}var o=this,s={username:this.model.get("username")};this.settings.get("features.passwordlessAuth")||(s.password=this.model.get("password")),this.settings.processCreds(s).then(function(){if(o.settings.get("features.deviceFingerprinting"))return o.options.appState.trigger("loading",!0),o.state.trigger("togglePrimaryAuthButton",!0),n.generateDeviceFingerprint(o.settings.get("baseUrl"),o.$el).then(function(e){o.options.appState.set("deviceFingerprint",e)}).catch(function(){}).finally(function(){o.options.appState.trigger("loading",!1),o.state.trigger("togglePrimaryAuthButton",!1)})}).then((0,a.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 n=this;return{className:"margin-btm-5",label:e.loc("primaryauth.username.placeholder","login"),"label-top":!0,explain:function(){return!(n.settings.get("features.hideDefaultTip")&&!n.isCustomized("primaryauth.username.tooltip"))&&o.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login")},"explain-top":!0,name:"username",input:t,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername"),render:function(){this.$("input[name=".concat(this.options.name,"]")).prop("required",!0)}}},getPasswordField:function(){var t=this,n={className:"margin-btm-30",label:e.loc("primaryauth.password.placeholder","login"),"label-top":!0,explain:function(){return!(t.settings.get("features.hideDefaultTip")&&!t.isCustomized("primaryauth.password.tooltip"))&&o.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login")},"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password",render:function(){this.$("input[name=".concat(this.options.name,"]")).prop("required",!0)}};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(n.params={},n.params.showPasswordToggle=!0),n},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:e.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")&&r.track("okta-signin-username")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(16)),s=i(n(3));r=[n(0),n(214)],void 0!==(o=function(e,t){var n=e._,r=e.$,o=e.internal.util.Util,i=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'<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}),l=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'<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});return e.View.extend({className:"primary-auth-container",children:function(){var t=[],r=this.settings.get("configuredSocialIdps"),o=this.settings.get("piv"),a=this.settings.get("customButtons"),s=i({text:e.loc("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&t.push(this._createPivButton(o)),n.each(r,function(e){t.push(this._createSocialIdpButton(e))},this),n.each(a,function(e){t.push(this._createCustomButton(e))},this),this.settings.get("socialAuthPositionTop")?(t.unshift(l({title:e.loc("primaryauth.title","login")})),t.push(s)):t.unshift(s),t},_createSocialIdpButton:function(n){return e.createButton({attributes:{"data-se":n.dataAttr},className:n.className,title:function(){return n.text||e.loc(n.i18nKey)},click:function(e){if(e.preventDefault(),this.settings.get("oauth2Enabled"))t.getTokens(this.settings,{idp:n.id},this.options.currentController);else{var i,s,l=this.settings.get("baseUrl"),u=r.param({fromURI:this.settings.get("relayState")}),c=(0,a.default)(i=(0,a.default)(s="".concat(l,"/sso/idps/")).call(s,n.id,"?")).call(i,u);o.redirect(c)}}})},_createPivButton:function(t){var n=t.className||"";return e.createButton({attributes:{"data-se":"piv-card-button"},className:n+" piv-button",title:t.text||e.loc("piv.cac.card","login"),click:function(e){e.preventDefault(),this.options.appState.trigger("navigate","signin/verify/piv")}})},_createCustomButton:function(t){return e.createButton({attributes:{"data-se":t.dataAttr},className:t.className+" default-custom-button",title:t.title,click:t.click})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(28)),l=i(n(3));r=[n(0)],void 0!==(o=function(e){var t=e.internal.util.Util,n=e._;return e.View.extend({template:l.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,o){var i,a,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((a=null!=(a=f(n,"href")||(null!=t?f(t,"href"):t))?a:u,"function"===(0,s.default)(a)?a.call(l,{name:"href",hash:{},data:o,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):a))+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(i=f(n,"if").call(l,null!=t?f(t,"target"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?i:"")+">"+c((a=null!=(a=f(n,"text")||(null!=t?f(t,"text"):t))?a:u,"function"===(0,s.default)(a)?a.call(l,{name:"text",hash:{},data:o,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):a))+"</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||l.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")}),n.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:e})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(e){e.preventDefault(),this.$(".js-help-links").slideToggle(200,(0,a.default)(n).call(n,function(){this.$(".js-help").attr("aria-expanded",this.$(".js-help-links").is(":visible"))},this))},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 n=this.settings.get("helpLinks.forgotPassword");n?t.redirect(n):this.options.appState.trigger("navigate","signin/forgot-password")}},"click .js-unlock":function(e){if(e.preventDefault(),this.state.get("enabled")){var n=this.settings.get("helpLinks.unlock");n?t.redirect(n):this.options.appState.trigger("navigate","signin/unlock")}}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i,a=n(1),s=a(n(776)),l=a(n(45));a(n(28));/**
 * 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="",C="sig_response",O=void 0,A=void 0,N=void 0,I=void 0,R=void 0,P=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 A=e,N=n[0],I=n[1],{sigRequest:e,duoSig:n[0],appSig:n[1]}}}function p(e){return Boolean(e.origin==="https://"+O&&"string"==typeof e.data&&(e.data.match(M)||e.data.match(L)||e.data.match(D)))}function h(t){e(),t&&(t.host&&(O=t.host),t.sig_request&&d(t.sig_request),t.post_action&&(k=t.post_action),t.post_argument&&(C=t.post_argument),"function"==typeof t.submit_callback&&(P=t.submit_callback));var n=m(t);n?E(n,t.iframeAttributes||{}):S(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=g(e.iframe),y(n)):e.iframeContainer?(n=g(e.iframeContainer),b(n)):n=document.getElementById("duo_iframe"),n}function g(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function v(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function y(e){e&&!v(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&&v(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://",O,"/frame/web/v1/auth?tx=",N,"&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 T(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<F.length;n++){var r;if((0,s.default)(r=t.hostname).call(r,"."+F[n])||t.hostname===F[n])return!0}return!1}function S(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.'),E(r,e.iframeAttributes||{}),u(n)})}function E(e,n){if(O||(O=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."),N&&I||(d(r(e,"sigRequest")),N&&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"===C&&(C=r(e,"postArgument")||C),v(e))R=e,R.src=_();else{for(;e.firstChild;)e.removeChild(e.firstChild);R=document.createElement("iframe"),n.src=_();for(var o in n)R.setAttribute(o,n[o]);e.appendChild(R)}c(w)}function T(e){k(e+":"+I)}var k,C,O,A,N,I,R,P,M=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,L=/^ERR\|[\w\s\.\(\)]+$/,D=/^DUO_OPEN_WINDOW\|/,F=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];return e(),{init:h,_onReady:a,_parseSigRequest:d,_isDuoMessage:p,_doPostBack:T}})},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(10)],void 0!==(o=function(e,t){return e.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'<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",t.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(10)],void 0!==(o=function(e,t){var n=e._;return e.View.extend({className:"hide resend-email-infobox",template:s.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"><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:83},end:{line:1,column:137}}}))+'</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:181},end:{line:1,column:231}}}))+"</a></p></div>"},useData:!0}),events:{"click .resend-email-btn":"resendEmail"},postRender:function(){this.showResendCallout()},showResendCallout:function(){var e=this;n.delay(function(){e.$el.removeClass("hide")},t.API_RATE_LIMIT)},hideResendCallout:function(){this.$el.addClass("hide")},resendEmail:function(e){var t;e.preventDefault(),this.hideResendCallout(),this.model.resend().finally((0,a.default)(t=this.showResendCallout).call(t,this))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(794)},function(e,t,n){var r=n(19);e.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){return e.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")}})}.apply(t,r))&&(e.exports=o)},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,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(48),n(32)],void 0!==(o=function(e,t,n){var r=e._,o=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="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}),i=e.View.extend({className:"enroll-factor-row clearfix",template: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"<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,o){var i,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,a.default)(s)?s.call(l,{name:"iconClassName",hash:{},data:o,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,a.default)(s)?s.call(l,{name:"factorLabel",hash:{},data:o,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):s))+"</h3>"+(null!=(i=f(n,"if").call(l,null!=t?f(t,"factorDescription"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?i:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var r=[],i=this.model.get("enrolled"),a=this.model.get("required"),s=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[e.createButton({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",t.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];i?r.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):a&&r.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);var l=n.getCardinalityText(i,a,s);return l&&r.push([o({cardinalityText:l}),".enroll-factor-description"]),r},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")?e.loc("enroll.choices.setup.another","login"):e.loc("enroll.choices.setup","login")}});return e.ListView.extend({className:"enroll-factor-list",item:i,itemSelector:".list-content",template: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="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:41},end:{line:1,column:54}}}):i))+"</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,"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:67}}}))?i:"")+'<div class="list-content"></div>'},useData:!0}),getTemplateData:function(){var t=e.ListView.prototype.getTemplateData.call(this);return r.extend(t,this),t},postRender:function(){this.options.minimize&&this.invoke("minimize")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(28)),l=i(n(3));r=[n(0)],void 0!==(o=function(e){var t=e._;return e.internal.views.forms.inputs.TextBox.extend({template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=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((i=null!=(i=f(n,"countryCallingCode")||(null!=t?f(t,"countryCallingCode"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"countryCallingCode",hash:{},data:o,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):i))+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c((i=null!=(i=f(n,"type")||(null!=t?f(t,"type"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"type",hash:{},data:o,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):i))+'" placeholder="'+c((i=null!=(i=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):i))+'" name="'+c((i=null!=(i=f(n,"name")||(null!=t?f(t,"name"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):i))+'" id="'+c((i=null!=(i=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):i))+'" value="'+c((i=null!=(i=f(n,"value")||(null!=t?f(t,"value"):t))?i:l,(0,s.default)(i)===u?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):i))+'" autocomplete="off"/></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(){this.$el.removeClass("input-fix o-form-control"),t.defer((0,a.default)(t).call(t,function(){this.$el.parent().addClass("o-form-input-group")},this))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(37)],void 0!==(o=function(e,t,n){var r=e._,o=e.internal.util.Util;return t.extend({className:"enroll-custom-factor",Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction(function(t,n){return r.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&&o.redirect(r)}).catch(function(e){throw e})})}},Form:function(){var t=this.options.appState.get("factors"),n=t.findWhere({provider:this.options.provider,factorType:this.options.factorType}),r=n.get("vendorName");return{autoSave:!0,title:r,subtitle:e.loc("enroll.customFactor.subtitle","login",[r]),save:e.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:n})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(32),n(8),n(21),n(26)],void 0!==(o=function(e,t,n,r,o){var i=e._;return{title:function(){var n=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[n])},subtitle:i.partial(e.loc,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[n.Input({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:r.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:o,type:"tel"}),n.Toolbar({noCancelButton:!0,save:e.loc("oform.verify","login")})]}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(10)],void 0!==(o=function(e,t){var n=e.internal.util.Util;return e.View.extend({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'<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 r=this;this.model.doTransaction(function(e){return e.cancel()}).then(function(){r.settings.get("signOutLink")?n.redirect(r.settings.get("signOutLink")):(r.state.set("navigateDir",t.DIRECTION_BACK),r.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")}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(32)],void 0!==(o=function(e,t){return e.View.extend({template:a.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 n=e.policy;n&&(this.allRequirements=t.getPasswordComplexityDescriptionForHtmlList(n))},getTemplateData:function(){return{requirements:this.allRequirements}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.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="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")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24)),s=i(n(39)),l=i(n(45));r=[n(0),n(26)],void 0!==(o=function(e,t){var n=e._,r=e.internal.views.forms.helpers.SchemaFormFactory,o=function(e){var t=e.split(""),r=[],o=[",",".","-","_","#","@"],i="";return n.each(t,function(e){-1===(0,l.default)(o).call(o,e)?i+=e:(i.length>=3&&r.push(n.clone(i)),i="")}),i.length>=3&&r.push(n.clone(i)),(0,s.default)(r).call(r,Boolean)},i=function(e,t){if(!e)return!1;e=e.toLowerCase(),t=t.toLowerCase();for(var n=o(e),r=0;r<n.length;r++){var i=n[r];if(-1!==(0,l.default)(t).call(t,i))return!0}return!1},u=function(e,t,r){var o=e.get("minLength"),a=e.get("maxLength"),s=e.get("format");if(n.isNumber(o)&&t.length<o)return!1;if(n.isNumber(a)&&t.length>a)return!1;var l=t;if(n.isString(s)){if("^[#/userName]"===s||"^[#/firstName]"===s||"^[#/lastName]"===s){var u=s.split("^[#/")[1].split("]")[0],c=r.get(u);return"userName"===u&&(c=r.has("userName")?r.get("userName"):r.get("email")),!i(c,l)}if(!new RegExp(s).test(t))return!1}return!0},c=function(t,r,o,i){var s=r.get(t);n.isString(s)&&o.each(function(n,o){var l=e.$("#subschemas-"+t+" .subschema-"+o);s?l.children("p").removeClass("default-schema"):l.children("p").addClass("default-schema"),l.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),u(n,s,r)?(l.addClass("subschema-satisfied"),(0,a.default)(l).call(l,"p span").removeClass("error error-16-small"),(0,a.default)(l).call(l,"p span").addClass("confirm-16")):i&&((0,a.default)(l).call(l,"p span").removeClass("confirm-16"),(0,a.default)(l).call(l,"p span").addClass("error error-16-small"),l.addClass("subschema-error subschema-unsatisfied"))})};return{createInputOptions:function(e){var o=r.createInputOptions(e);if("select"===o.type)o=n.extend(o,{label:e.get("title")});else{var i=e.get("title");e.get("required")&&(i+=" *"),o=n.extend(o,{label:!1,"label-top":!0,placeholder:i})}var a=e.get("name");switch(a){case"userName":o.input=t,o.params={icon:"person-16-gray"};break;case"password":o.type="password",o.input=t,o.params={icon:"remote-lock-16"}}var s=e.get("subSchemas");return s&&(o.events={input:function(){c(a,this.model,s,!0)},focusout:function(){c(a,this.model,s,!0)},"change:userName":function(){c(a,this.model,s,!0)},"change:firstName":function(){c(a,this.model,s,!0)},"change:lastName":function(){c(a,this.model,s,!0)},"change:email":function(){c(a,this.model,s,!0)}}),o},getUsernameParts:o,passwordContainsFormField:i}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1),o=r(n(44)),i=r(n(39)),a=r(n(17)),s=r(n(41)),l=n(0),u=r(n(866)),c=r(n(867)),f=r(n(869)),d=n(239),p=n(64),h=r(n(318)),m=function(e){var t,n=(0,s.default)(t=e.options||[]).call(t,function(e){return(0,a.default)({},(0,d.getAuthenticatorDataForEnroll)(e),e)});return{View:u.default,options:{name:e.name,collection:new l.Collection(n)}}},g=function(e){var t,n=(0,s.default)(t=e.options||[]).call(t,function(e){return(0,a.default)({},e,(0,d.getAuthenticatorDataForEnroll)(e))});return{View:c.default,options:{name:e.name,collection:new l.Collection(n)}}},v=function(e){var t=e.options||[],n=!1;return t=(0,i.default)(t).call(t,function(e){return"security_key"!==e.authenticatorType||!n&&(n=!0,!0)}),t=(0,s.default)(t).call(t,function(e){return(0,a.default)({},e,(0,d.getAuthenticatorDataForVerification)(e))}),{View:f.default,options:{name:e.name,collection:new l.Collection(t)}}},y={factorSelect:m,authenticatorEnrollSelect:g,authenticatorVerifySelect:v},b=function(e){return(y[e.type]||l._.identity)(e)},_=function(e){var t=(0,i.default)(e).call(e,function(e){return e.name===p.FORMS.REDIRECT_IDP});return(0,o.default)(t)?(0,s.default)(t).call(t,function(e){var t,n=e.type&&e.type.toLowerCase();l._.contains(h.default.SUPPORTED_SOCIAL_IDPS,n)?t=(0,l.loc)("socialauth.".concat(n,".label"),"login"):(n="general-idp",t=e.idp&&e.idp.name||"{ Please provide a text value }");var r=["social-auth-button","social-auth-".concat(n,"-button")];return e.idp.className&&r.push(e.idp.className),{attributes:{"data-se":"social-auth-".concat(n,"-button")},className:r.join(" "),title:t,href:e.href}}):[]},w=function(e){var t=e.get("customButtons");return(0,s.default)(t).call(t,function(e){return{attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:e.title,click:e.click}})};e.exports={create:b,createIdpButtons:_,createCustomButtons:w}},function(e,t,n){"use strict";var r=n(1),o=r(n(3)),i=n(0),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){var n=e.options.appState;t.preventDefault(),e.options.formName?n.trigger("switchForm",e.options.formName):n.trigger("invokeAction",e.options.actionPath)})}});e.exports=a},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.getV1ClassName=t.getClassNameMapping=void 0;var o,i,a=r(n(140)),s=n(64),l=(i={},(0,a.default)(i,s.FORMS.IDENTIFY,(o={},(0,a.default)(o,s.FORMS.IDENTIFY,"primary-auth"),(0,a.default)(o,"password","primary-auth"),o)),(0,a.default)(i,s.FORMS.ENROLL_PROFILE,(0,a.default)({},s.FORMS.ENROLL_PROFILE,"registration")),(0,a.default)(i,s.FORMS.CHALLENGE_AUTHENTICATOR,{email:"mfa-verify-passcode",password:"mfa-verify-password",sms:"mfa-verify-passcode",voice:"mfa-verify-passcode",security_question:"mfa-verify-question",security_key:"mfa-verify-webauthn",app:"mfa-verify"}),(0,a.default)(i,s.FORMS.CHALLENGE_POLL,{app:"mfa-verify"}),(0,a.default)(i,s.FORMS.RESEND_PUSH,{app:"mfa-verify"}),(0,a.default)(i,s.FORMS.ENROLL_AUTHENTICATOR,{email:"enroll-email",password:"enroll-password",sms:"enroll-sms",voice:"enroll-call",security_question:"enroll-question",security_key:"enroll-webauthn"}),(0,a.default)(i,s.FORMS.SELECT_AUTHENTICATOR_ENROLL,{"select-authenticator-enroll":"enroll-choices"}),(0,a.default)(i,s.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,{password:"forgot-password"}),(0,a.default)(i,s.FORMS.REENROLL_AUTHENTICATOR,{password:"password-expired"}),(0,a.default)(i,s.FORMS.RESET_AUTHENTICATOR,{password:"forgot-password"}),i),u=function(e,t,n,r){if(r&&e===s.FORMS.IDENTIFY)return"forgot-password";var o=e;return"phone"===t?o="".concat(n):t&&(o="".concat(t)),l[e]&&l[e][o]?l[e][o]:null};t.getV1ClassName=u;var c=function(e,t,n,r){var o=e;t&&(o=o+"--"+t),n&&n!==t&&(o=o+"--"+n);var i=u(e,t,n,r),a=[o];return i&&a.push(i),a};t.getClassNameMapping=c},function(e,t,n){n(895);var r=n(15),o=r.Object,i=e.exports=function(e,t){return o.getOwnPropertyDescriptor(e,t)};o.getOwnPropertyDescriptor.sham&&(i.sham=!0)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.ResendView=t.default=void 0;var o=r(n(17)),i=r(n(82)),a=r(n(16)),s=n(0),l=r(n(42)),u=r(n(9)),c=r(n(29)),f=r(n(65)),d=n(183),p=s.View.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,s.loc)("oie.phone.verify.sms.resendText","login"):(0,s.loc)("oie.phone.verify.call.resendText","login"),n="sms"===this.model.get("mode")?(0,s.loc)("oie.phone.verify.sms.resendLinkText","login"):(0,s.loc)("oie.phone.verify.call.resendLinkText","login");this.add((0,s.createCallout)({content:(0,a.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()},postRender:function(){this.showCalloutAfterTimeout()},showCalloutAfterTimeout:function(){var e=this;this.showCalloutTimer=(0,i.default)(function(){e.el.classList.remove("hide")},d.SHOW_RESEND_TIMEOUT)},remove:function(){s.View.prototype.remove.apply(this,arguments),clearTimeout(this.showCalloutTimer)}});t.ResendView=p;var h=u.default.extend((0,o.default)({className:"phone-authenticator-challenge",title:function(){return(0,s.loc)("oie.phone.verify.title","login")},save:function(){return(0,s.loc)("mfa.challenge.verify","login")},initialize:function(){var e,t,n;u.default.prototype.initialize.apply(this,arguments);var r="sms"===this.model.get("mode")?(0,s.loc)("oie.phone.verify.sms.codeSentText","login"):(0,s.loc)("mfa.calling","login"),o=(0,s.loc)("oie.phone.verify.enterCodeText","login"),i=this.model.get("phoneNumber")!==(0,s.loc)("oie.phone.alternate.title","login")?"strong":"";this.add((0,a.default)(e=(0,a.default)(t=(0,a.default)(n='<div class="okta-form-subtitle" data-se="o-form-explain">\n        '.concat(r,"&nbsp;<span class='")).call(n,i,"'>")).call(t,this.model.escape("phoneNumber"),".</span>\n        &nbsp;")).call(e,o,"</div>"),{prepend:!0,selector:".o-form-fieldset-container"})},postRender:function(){u.default.prototype.postRender.apply(this,arguments),this.add(p,{selector:".o-form-error-container",prepend:!0})}})),m=c.default.extend({Body:h,Footer:f.default,createModelClass:function(){var e=this.options.currentViewState.relatesTo,t=e&&e.value||{},n=t.methods,r=t.profile,i=l.default.prototype.createModelClass.apply(this,arguments),a=(0,o.default)({mode:{value:n[0].type,type:"string"},phoneNumber:{value:r&&r.phoneNumber?r.phoneNumber:(0,s.loc)("oie.phone.alternate.title","login"),type:"string"}},i.prototype.local);return i.extend({local:a})}});t.default=m},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(17)),a=r(n(16)),s=n(0),l=r(n(9)),u=r(n(370)),c=r(n(128)),f=r(n(29)),d=n(183),p=s.View.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){var e;this.add((0,s.createCallout)({content:(0,a.default)(e="".concat((0,s.loc)("email.code.not.received","login"),"\n        <a class='resend-link'>")).call(e,(0,s.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.showCalloutWithDelay()},postRender:function(){this.showCalloutWithDelay()},showCalloutWithDelay:function(){var e=this;this.showMeTimeout=s._.delay(function(){e.$el.removeClass("hide")},d.SHOW_RESEND_TIMEOUT)},remove:function(){s.View.prototype.remove.apply(this,arguments),clearTimeout(this.showMeTimeout)}}),h=l.default.extend((0,i.default)({save:function(){return(0,s.loc)("mfa.challenge.verify","login")},initialize:function(){var e;l.default.prototype.initialize.apply(this,arguments),this.add(p,{selector:".o-form-error-container",options:{resendEmailAction:this.resendEmailAction}}),this.startPolling(),this.listenTo(this.options.model,"error",(0,o.default)(e=this.startPolling).call(e,this))},saveForm:function(){l.default.prototype.saveForm.apply(this,arguments),this.stopPolling()},remove:function(){l.default.prototype.remove.apply(this,arguments),this.stopPolling()}},u.default,c.default)),m=f.default.extend({Body:h});t.default=m},function(e,t,n){"use strict";n(4)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),o={title:function(){return"enroll-factor"===this.options.currentViewState.name?(0,r.loc)("email.enroll.title","login"):(0,r.loc)("oie.email.mfa.title","login")}};t.default=o},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.getMessage=t.default=void 0;var o=r(n(39)),i=r(n(27)),a=r(n(44)),s=r(n(83)),l=r(n(16)),u=r(n(45)),c=n(0),f=r(n(125)),d=r(n(63)),p={"identify.identifier":"primaryauth.username.placeholder","identify.credentials.passcode":"primaryauth.password.placeholder","identify.rememberMe":"remember","select-authenticator-enroll.authenticator.email":"oie.authenticator.email.label","select-authenticator-enroll.authenticator.password":"oie.authenticator.password.label","select-authenticator-enroll.authenticator.phone":"oie.authenticator.phone.label","select-authenticator-enroll.authenticator.security_key":"oie.authenticator.webauthn.label","select-authenticator-enroll.authenticator.security_question":"oie.authenticator.security.question.label","select-authenticator-enroll.authenticator.app":"oie.authenticator.okta_verify.label","select-authenticator-authenticate.authenticator.email":"oie.authenticator.email.label","select-authenticator-authenticate.authenticator.password":"oie.authenticator.password.label","select-authenticator-authenticate.authenticator.phone":"oie.authenticator.phone.label","select-authenticator-authenticate.authenticator.security_key":"oie.authenticator.webauthn.label","select-authenticator-authenticate.authenticator.security_question":"oie.authenticator.security.question.label","select-authenticator-authenticate.authenticator.app":"oie.authenticator.okta_verify.label","authenticator-enrollment-data.phone.authenticator.phoneNumber":"mfa.phoneNumber.placeholder","enroll-authenticator.password.credentials.passcode":"oie.password.passwordLabel","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","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.email.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.password.credentials.passcode":"mfa.challenge.password.placeholder","challenge-authenticator.phone.credentials.passcode":"mfa.challenge.enterCode.placeholder","challenge-authenticator.security_question.credentials.answer":"mfa.challenge.answer.placeholder"},h=function(e){var t;if(0===(0,u.default)(e).call(e,"enroll-authenticator.security_question.credentials.questionKey.")){t="security.".concat(e.replace("enroll-authenticator.security_question.credentials.questionKey.",""))}if(p[e]&&(t=p[e]),t&&!f.default.login[t]){var n;d.default.warn((0,l.default)(n="expect i18n key ".concat(t," for ")).call(n,e," but not found in 'login' bundle.")),t=null}return t},m=function(e,t){var n=h(e);return n?(0,c.loc)(n,"login"):t},g=function e(t,n){var r,o;if(!1!==n.mutable){d.default.info("i18n label transformer"),d.default.info("\t remediationName: ",t.name),d.default.info("\t uiSchema: ",(0,s.default)(n));var u=t.relatesTo&&t.relatesTo.value.type?".".concat(t.relatesTo.value.type):"",f=(0,l.default)(r="".concat(t.name)).call(r,u,"."),p=(0,l.default)(o="".concat(f)).call(o,n.name);if("checkbox"===n.type&&n.placeholder&&(d.default.info("\t 1: ",p),n.placeholder=m(p,n.placeholder)),n.label&&(d.default.info("\t 2: ",p),n.label=m(p,n.label)),c.$.isPlainObject(n.options)&&(n.options=c._.mapObject(n.options,function(e,t){var n,r=(0,l.default)(n="".concat(p,".")).call(n,t);return d.default.info("\t 3: ",r),m(r,e)})),(0,a.default)(n.options)){var h;(0,i.default)(h=n.options).call(h,function(e){if(e.label){var t;if(e.authenticatorType){var n;t=(0,l.default)(n="".concat(p,".")).call(n,e.authenticatorType)}else if(void 0!==e.value){var r;t=(0,l.default)(r="".concat(p,".")).call(r,e.value)}d.default.info("\t 4: ",t),e.label=m(t,e.label)}})}if((0,a.default)(n.optionsUiSchemas)){var g;(0,i.default)(g=n.optionsUiSchemas).call(g,function(n){(0,i.default)(n).call(n,function(n){return e(t,n)})})}}},v=function(e){if(e.i18n&&e.i18n.key){var t=e.i18n.key;if(f.default.login[t])return d.default.info("Override messages using i18n key ".concat(t)),(0,c.loc)(t,"login",e.i18n.params||[])}return e.message};t.getMessage=v;var y=function(e){if((0,a.default)(e.remediations)){var t,n;(0,i.default)(t=(0,o.default)(n=e.remediations).call(n,function(e){return(0,a.default)(e.uiSchema)&&e.uiSchema.length})).call(t,function(e){var t;(0,i.default)(t=e.uiSchema).call(t,function(t){return g(e,t)})})}if(e.messages&&(0,a.default)(e.messages.value)){var r;(0,i.default)(r=e.messages.value).call(r,function(e){e.message=v(e)})}return e};t.default=y},function(e,t,n){n(373),e.exports=n(558)},function(e,t,n){"use strict";n(374);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(545));r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn,r.default._babelPolyfill=!0},function(e,t,n){"use strict";n(375),n(518),n(520),n(523),n(525),n(527),n(529),n(531),n(533),n(535),n(537),n(539),n(541),n(275)},function(e,t,n){n(376),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(388),n(389),n(390),n(391),n(392),n(393),n(394),n(395),n(396),n(397),n(398),n(399),n(400),n(401),n(402),n(403),n(404),n(405),n(406),n(407),n(408),n(409),n(410),n(411),n(412),n(413),n(414),n(415),n(416),n(417),n(418),n(419),n(420),n(422),n(423),n(424),n(425),n(426),n(427),n(428),n(429),n(430),n(431),n(432),n(433),n(434),n(435),n(436),n(437),n(438),n(439),n(440),n(441),n(442),n(443),n(444),n(445),n(446),n(447),n(448),n(449),n(450),n(451),n(452),n(453),n(454),n(455),n(457),n(458),n(460),n(461),n(462),n(463),n(464),n(465),n(466),n(468),n(469),n(470),n(471),n(472),n(473),n(474),n(475),n(476),n(477),n(478),n(479),n(480),n(204),n(481),n(264),n(482),n(265),n(483),n(484),n(485),n(486),n(266),n(489),n(490),n(491),n(492),n(493),n(494),n(495),n(496),n(497),n(498),n(499),n(500),n(501),n(502),n(503),n(504),n(505),n(506),n(507),n(508),n(509),n(510),n(511),n(512),n(513),n(514),n(515),n(516),n(517),e.exports=n(30)},function(e,t,n){"use strict";var r=n(11),o=n(53),i=n(33),a=n(2),s=n(49),l=n(87).KEY,u=n(12),c=n(144),f=n(113),d=n(95),p=n(20),h=n(185),m=n(245),g=n(378),v=n(147),y=n(13),b=n(14),_=n(43),w=n(55),x=n(86),S=n(94),E=n(99),T=n(248),k=n(69),C=n(146),O=n(34),A=n(97),N=k.f,I=O.f,R=T.f,P=r.Symbol,M=r.JSON,L=M&&M.stringify,D=p("_hidden"),F=p("toPrimitive"),U={}.propertyIsEnumerable,j=c("symbol-registry"),B=c("symbols"),q=c("op-symbols"),V=Object.prototype,H="function"==typeof P&&!!C.f,W=r.QObject,$=!W||!W.prototype||!W.prototype.findChild,z=i&&u(function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=N(V,t);r&&delete V[t],I(e,t,n),r&&e!==V&&I(V,t,r)}:I,G=function(e){var t=B[e]=E(P.prototype);return t._k=e,t},K=H&&"symbol"==typeof P.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof P},Y=function(e,t,n){return e===V&&Y(q,t,n),y(e),t=x(t,!0),y(n),o(B,t)?(n.enumerable?(o(e,D)&&e[D][t]&&(e[D][t]=!1),n=E(n,{enumerable:S(0,!1)})):(o(e,D)||I(e,D,S(1,{})),e[D][t]=!0),z(e,t,n)):I(e,t,n)},J=function(e,t){y(e);for(var n,r=g(t=w(t)),o=0,i=r.length;i>o;)Y(e,n=r[o++],t[n]);return e},Q=function(e,t){return void 0===t?E(e):J(E(e),t)},X=function(e){var t=U.call(this,e=x(e,!0));return!(this===V&&o(B,e)&&!o(q,e))&&(!(t||!o(this,e)||!o(B,e)||o(this,D)&&this[D][e])||t)},Z=function(e,t){if(e=w(e),t=x(t,!0),e!==V||!o(B,t)||o(q,t)){var n=N(e,t);return!n||!o(B,t)||o(e,D)&&e[D][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=R(w(e)),r=[],i=0;n.length>i;)o(B,t=n[i++])||t==D||t==l||r.push(t);return r},te=function(e){for(var t,n=e===V,r=R(n?q:w(e)),i=[],a=0;r.length>a;)!o(B,t=r[a++])||n&&!o(V,t)||i.push(B[t]);return i};H||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0),t=function(n){this===V&&t.call(q,n),o(this,D)&&o(this[D],e)&&(this[D][e]=!1),z(this,e,S(1,n))};return i&&$&&z(V,e,{configurable:!0,set:t}),G(e)},s(P.prototype,"toString",function(){return this._k}),k.f=Z,O.f=Y,n(100).f=T.f=ee,n(130).f=X,C.f=te,i&&!n(96)&&s(V,"propertyIsEnumerable",X,!0),h.f=function(e){return G(p(e))}),a(a.G+a.W+a.F*!H,{Symbol:P});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)p(ne[re++]);for(var oe=A(p.store),ie=0;oe.length>ie;)m(oe[ie++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return o(j,e+="")?j[e]:j[e]=P(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in j)if(j[t]===e)return t},useSetter:function(){$=!0},useSimple:function(){$=!1}}),a(a.S+a.F*!H,"Object",{create:Q,defineProperty:Y,defineProperties:J,getOwnPropertyDescriptor:Z,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ae=u(function(){C.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return C.f(_(e))}}),M&&a(a.S+a.F*(!H||u(function(){var e=P();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!K(e))return v(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!K(t))return t}),r[1]=t,L.apply(M,r)}}),P.prototype[F]||n(54)(P.prototype,F,P.prototype.valueOf),f(P,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(144)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(97),o=n(146),i=n(130);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,s=n(e),l=i.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,n){var r=n(2);r(r.S,"Object",{create:n(99)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(33),"Object",{defineProperty:n(34).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(33),"Object",{defineProperties:n(247)})},function(e,t,n){var r=n(55),o=n(69).f;n(70)("getOwnPropertyDescriptor",function(){return function(e,t){return o(r(e),t)}})},function(e,t,n){var r=n(43),o=n(101);n(70)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(43),o=n(97);n(70)("keys",function(){return function(e){return o(r(e))}})},function(e,t,n){n(70)("getOwnPropertyNames",function(){return n(248).f})},function(e,t,n){var r=n(14),o=n(87).onFreeze;n(70)("freeze",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(14),o=n(87).onFreeze;n(70)("seal",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(14),o=n(87).onFreeze;n(70)("preventExtensions",function(e){return function(t){return e&&r(t)?e(o(t)):t}})},function(e,t,n){var r=n(14);n(70)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(14);n(70)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(14);n(70)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(e,t,n){var r=n(2);r(r.S+r.F,"Object",{assign:n(249)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(250)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(189).set})},function(e,t,n){"use strict";var r=n(131),o={};o[n(20)("toStringTag")]="z",o+""!="[object z]"&&n(49)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(251)})},function(e,t,n){var r=n(34).f,o=Function.prototype,i=/^\s*function ([^ (]*)/;"name"in o||n(33)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(i)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(14),o=n(101),i=n(20)("hasInstance"),a=Function.prototype;i in a||n(34).f(a,i,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=o(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),o=n(253);r(r.G+r.F*(parseInt!=o),{parseInt:o})},function(e,t,n){var r=n(2),o=n(254);r(r.G+r.F*(parseFloat!=o),{parseFloat:o})},function(e,t,n){"use strict";var r=n(11),o=n(53),i=n(76),a=n(191),s=n(86),l=n(12),u=n(100).f,c=n(69).f,f=n(34).f,d=n(114).trim,p=r.Number,h=p,m=p.prototype,g="Number"==i(n(99)(m)),v="trim"in String.prototype,y=function(e){var t=s(e,!1);if("string"==typeof t&&t.length>2){t=v?t.trim():d(t,3);var n,r,o,i=t.charCodeAt(0);if(43===i||45===i){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===i){switch(t.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+t}for(var a,l=t.slice(2),u=0,c=l.length;u<c;u++)if((a=l.charCodeAt(u))<48||a>o)return NaN;return parseInt(l,r)}}return+t};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof p&&(g?l(function(){m.valueOf.call(n)}):"Number"!=i(n))?a(new h(y(t)),n,p):y(t)};for(var b,_=n(33)?u(h):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;_.length>w;w++)o(h,b=_[w])&&!o(p,b)&&f(p,b,c(h,b));p.prototype=m,m.constructor=p,n(49)(r,"Number",p)}},function(e,t,n){"use strict";var r=n(2),o=n(68),i=n(255),a=n(192),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",f=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=l(r/1e7)},d=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},p=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==u[e]){var n=String(u[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t},h=function(e,t,n){return 0===t?n:t%2==1?h(e,t-1,n*e):h(e*e,t/2,n)},m=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t};r(r.P+r.F*(!!s&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!n(12)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=i(this,c),u=o(e),g="",v="0";if(u<0||u>20)throw RangeError(c);if(l!=l)return"NaN";if(l<=-1e21||l>=1e21)return String(l);if(l<0&&(g="-",l=-l),l>1e-21)if(t=m(l*h(2,69,1))-69,n=t<0?l*h(2,-t,1):l/h(2,t,1),n*=4503599627370496,(t=52-t)>0){for(f(0,n),r=u;r>=7;)f(1e7,0),r-=7;for(f(h(10,r,1),0),r=t-1;r>=23;)d(1<<23),r-=23;d(1<<r),f(1,1),d(2),v=p()}else f(0,n),f(1<<-t,0),v=p()+a.call("0",u);return u>0?(s=v.length,v=g+(s<=u?"0."+a.call("0",u-s)+v:v.slice(0,s-u)+"."+v.slice(s-u))):v=g+v,v}})},function(e,t,n){"use strict";var r=n(2),o=n(12),i=n(255),a=1..toPrecision;r(r.P+r.F*(o(function(){return"1"!==a.call(1,void 0)})||!o(function(){a.call({})})),"Number",{toPrecision:function(e){var t=i(this,"Number#toPrecision: incorrect invocation!");return void 0===e?a.call(t):a.call(t,e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{EPSILON:Math.pow(2,-52)})},function(e,t,n){var r=n(2),o=n(11).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(256)})},function(e,t,n){var r=n(2);r(r.S,"Number",{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(2),o=n(256),i=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){var r=n(2);r(r.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){var r=n(2);r(r.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(2),o=n(254);r(r.S+r.F*(Number.parseFloat!=o),"Number",{parseFloat:o})},function(e,t,n){var r=n(2),o=n(253);r(r.S+r.F*(Number.parseInt!=o),"Number",{parseInt:o})},function(e,t,n){var r=n(2),o=n(257),i=Math.sqrt,a=Math.acosh;r(r.S+r.F*!(a&&710==Math.floor(a(Number.MAX_VALUE))&&a(1/0)==1/0),"Math",{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?Math.log(e)+Math.LN2:o(e-1+i(e-1)*i(e+1))}})},function(e,t,n){function r(e){return isFinite(e=+e)&&0!=e?e<0?-r(-e):Math.log(e+Math.sqrt(e*e+1)):e}var o=n(2),i=Math.asinh;o(o.S+o.F*!(i&&1/i(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),o=Math.atanh;r(r.S+r.F*!(o&&1/o(-0)<0),"Math",{atanh:function(e){return 0==(e=+e)?e:Math.log((1+e)/(1-e))/2}})},function(e,t,n){var r=n(2),o=n(193);r(r.S,"Math",{cbrt:function(e){return o(e=+e)*Math.pow(Math.abs(e),1/3)}})},function(e,t,n){var r=n(2);r(r.S,"Math",{clz32:function(e){return(e>>>=0)?31-Math.floor(Math.log(e+.5)*Math.LOG2E):32}})},function(e,t,n){var r=n(2),o=Math.exp;r(r.S,"Math",{cosh:function(e){return(o(e=+e)+o(-e))/2}})},function(e,t,n){var r=n(2),o=n(194);r(r.S+r.F*(o!=Math.expm1),"Math",{expm1:o})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(421)})},function(e,t,n){var r=n(193),o=Math.pow,i=o(2,-52),a=o(2,-23),s=o(2,127)*(2-a),l=o(2,-126),u=function(e){return e+1/i-1/i};e.exports=Math.fround||function(e){var t,n,o=Math.abs(e),c=r(e);return o<l?c*u(o/l/a)*l*a:(t=(1+a/i)*o,n=t-(t-o),n>s||n!=n?c*(1/0):c*n)}},function(e,t,n){var r=n(2),o=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,i=0,a=0,s=arguments.length,l=0;a<s;)n=o(arguments[a++]),l<n?(r=l/n,i=i*r*r+1,l=n):n>0?(r=n/l,i+=r*r):i+=n;return l===1/0?1/0:l*Math.sqrt(i)}})},function(e,t,n){var r=n(2),o=Math.imul;r(r.S+r.F*n(12)(function(){return-5!=o(4294967295,5)||2!=o.length}),"Math",{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(2);r(r.S,"Math",{log10:function(e){return Math.log(e)*Math.LOG10E}})},function(e,t,n){var r=n(2);r(r.S,"Math",{log1p:n(257)})},function(e,t,n){var r=n(2);r(r.S,"Math",{log2:function(e){return Math.log(e)/Math.LN2}})},function(e,t,n){var r=n(2);r(r.S,"Math",{sign:n(193)})},function(e,t,n){var r=n(2),o=n(194),i=Math.exp;r(r.S+r.F*n(12)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(o(e)-o(-e))/2:(i(e-1)-i(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),o=n(194),i=Math.exp;r(r.S,"Math",{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){var r=n(2);r(r.S,"Math",{trunc:function(e){return(e>0?Math.floor:Math.ceil)(e)}})},function(e,t,n){var r=n(2),o=n(98),i=String.fromCharCode,a=String.fromCodePoint;r(r.S+r.F*(!!a&&1!=a.length),"String",{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(2),o=n(55),i=n(25);r(r.S,"String",{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";n(114)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(195)(!0);n(196)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(2),o=n(195)(!1);r(r.P,"String",{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(2),o=n(25),i=n(197),a="".endsWith;r(r.P+r.F*n(199)("endsWith"),"String",{endsWith:function(e){var t=i(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:Math.min(o(n),r),l=String(e);return a?a.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,n){"use strict";var r=n(2),o=n(197);r(r.P+r.F*n(199)("includes"),"String",{includes:function(e){return!!~o(this,e,"includes").indexOf(e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(2);r(r.P,"String",{repeat:n(192)})},function(e,t,n){"use strict";var r=n(2),o=n(25),i=n(197),a="".startsWith;r(r.P+r.F*n(199)("startsWith"),"String",{startsWith:function(e){var t=i(this,e,"startsWith"),n=o(Math.min(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return a?a.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){"use strict";n(50)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(50)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(50)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(50)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(50)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(50)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(50)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(50)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(50)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(50)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(50)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(50)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(50)("sup",function(e){return function(){return e(this,"sup","","")}})},function(e,t,n){var r=n(2);r(r.S,"Date",{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var r=n(2),o=n(43),i=n(86);r(r.P+r.F*n(12)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=o(this),n=i(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),o=n(456);r(r.P+r.F*(Date.prototype.toISOString!==o),"Date",{toISOString:o})},function(e,t,n){"use strict";var r=n(12),o=Date.prototype.getTime,i=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=i.call(new Date(-5e13-1))})||!r(function(){i.call(new Date(NaN))})?function(){if(!isFinite(o.call(this)))throw RangeError("Invalid time value");var e=this,t=e.getUTCFullYear(),n=e.getUTCMilliseconds(),r=t<0?"-":t>9999?"+":"";return r+("00000"+Math.abs(t)).slice(r?-6:-4)+"-"+a(e.getUTCMonth()+1)+"-"+a(e.getUTCDate())+"T"+a(e.getUTCHours())+":"+a(e.getUTCMinutes())+":"+a(e.getUTCSeconds())+"."+(n>99?n:"0"+a(n))+"Z"}:i},function(e,t,n){var r=Date.prototype,o=r.toString,i=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(49)(r,"toString",function(){var e=i.call(this);return e===e?o.call(this):"Invalid Date"})},function(e,t,n){var r=n(20)("toPrimitive"),o=Date.prototype;r in o||n(54)(o,r,n(459))},function(e,t,n){"use strict";var r=n(13),o=n(86);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(2);r(r.S,"Array",{isArray:n(147)})},function(e,t,n){"use strict";var r=n(66),o=n(2),i=n(43),a=n(259),s=n(200),l=n(25),u=n(201),c=n(202);o(o.S+o.F*!n(148)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,f,d=i(e),p="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(d);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||p==Array&&s(y))for(t=l(d.length),n=new p(t);t>v;v++)u(n,v,g?m(d[v],v):d[v]);else for(f=y.call(d),n=new p;!(o=f.next()).done;v++)u(n,v,g?a(f,m,[o.value,v],!0):o.value);return n.length=v,n}})},function(e,t,n){"use strict";var r=n(2),o=n(201);r(r.S+r.F*n(12)(function(){function e(){}return!(Array.of.call(e)instanceof e)}),"Array",{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)o(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),o=n(55),i=[].join;r(r.P+r.F*(n(129)!=Object||!n(57)(i)),"Array",{join:function(e){return i.call(o(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),o=n(188),i=n(76),a=n(98),s=n(25),l=[].slice;r(r.P+r.F*n(12)(function(){o&&l.call(o)}),"Array",{slice:function(e,t){var n=s(this.length),r=i(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var o=a(e,n),u=a(t,n),c=s(u-o),f=new Array(c),d=0;d<c;d++)f[d]="String"==r?this.charAt(o+d):this[o+d];return f}})},function(e,t,n){"use strict";var r=n(2),o=n(67),i=n(43),a=n(12),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(57)(s)),"Array",{sort:function(e){return void 0===e?s.call(i(this)):s.call(i(this),o(e))}})},function(e,t,n){"use strict";var r=n(2),o=n(71)(0),i=n(57)([].forEach,!0);r(r.P+r.F*!i,"Array",{forEach:function(e){return o(this,e,arguments[1])}})},function(e,t,n){var r=n(14),o=n(147),i=n(20)("species");e.exports=function(e){var t;return o(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!o(t.prototype)||(t=void 0),r(t)&&null===(t=t[i])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(2),o=n(71)(1);r(r.P+r.F*!n(57)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(71)(2);r(r.P+r.F*!n(57)([].filter,!0),"Array",{filter:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(71)(3);r(r.P+r.F*!n(57)([].some,!0),"Array",{some:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(71)(4);r(r.P+r.F*!n(57)([].every,!0),"Array",{every:function(e){return o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(261);r(r.P+r.F*!n(57)([].reduce,!0),"Array",{reduce:function(e){return o(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),o=n(261);r(r.P+r.F*!n(57)([].reduceRight,!0),"Array",{reduceRight:function(e){return o(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),o=n(145)(!1),i=[].indexOf,a=!!i&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(57)(i)),"Array",{indexOf:function(e){return a?i.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),o=n(55),i=n(68),a=n(25),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(57)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=o(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,i(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}})},function(e,t,n){var r=n(2);r(r.P,"Array",{copyWithin:n(262)}),n(102)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(203)}),n(102)("fill")},function(e,t,n){"use strict";var r=n(2),o=n(71)(5),i=!0;"find"in[]&&Array(1).find(function(){i=!1}),r(r.P+r.F*i,"Array",{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(102)("find")},function(e,t,n){"use strict";var r=n(2),o=n(71)(6),i="findIndex",a=!0;i in[]&&Array(1)[i](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(102)(i)},function(e,t,n){n(116)("Array")},function(e,t,n){var r=n(11),o=n(191),i=n(34).f,a=n(100).f,s=n(198),l=n(149),u=r.RegExp,c=u,f=u.prototype,d=/a/g,p=/a/g,h=new u(d)!==d;if(n(33)&&(!h||n(12)(function(){return p[n(20)("match")]=!1,u(d)!=d||u(p)==p||"/a/i"!=u(d,"i")}))){u=function(e,t){var n=this instanceof u,r=s(e),i=void 0===t;return!n&&r&&e.constructor===u&&i?e:o(h?new c(r&&!i?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&i?l.call(e):t),n?this:f,u)};for(var m=a(c),g=0;m.length>g;)!function(e){e in u||i(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);f.constructor=u,u.prototype=f,n(49)(r,"RegExp",u)}n(116)("RegExp")},function(e,t,n){"use strict";n(265);var r=n(13),o=n(149),i=n(33),a=/./.toString,s=function(e){n(49)(RegExp.prototype,"toString",e,!0)};n(12)(function(){return"/a/b"!=a.call({source:"a",flags:"b"})})?s(function(){var e=r(this);return"/".concat(e.source,"/","flags"in e?e.flags:!i&&e instanceof RegExp?o.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(13),o=n(25),i=n(206),a=n(150);n(151)("match",1,function(e,t,n,s){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=s(n,e,this);if(t.done)return t.value;var l=r(e),u=String(this);if(!l.global)return a(l,u);var c=l.unicode;l.lastIndex=0;for(var f,d=[],p=0;null!==(f=a(l,u));){var h=String(f[0]);d[p]=h,""===h&&(l.lastIndex=i(u,o(l.lastIndex),c)),p++}return 0===p?null:d}]})},function(e,t,n){"use strict";var r=n(13),o=n(43),i=n(25),a=n(68),s=n(206),l=n(150),u=Math.max,c=Math.min,f=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n(151)("replace",2,function(e,t,n,m){function g(e,t,r,i,a,s){var l=r+e.length,u=i.length,c=p;return void 0!==a&&(a=o(a),c=d),n.call(s,c,function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[o.slice(1,-1)];break;default:var c=+o;if(0===c)return n;if(c>u){var d=f(c/10);return 0===d?n:d<=u?void 0===i[d-1]?o.charAt(1):i[d-1]+o.charAt(1):n}s=i[c-1]}return void 0===s?"":s})}return[function(r,o){var i=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,i,o):n.call(String(i),r,o)},function(e,t){var o=m(n,e,this,t);if(o.done)return o.value;var f=r(e),d=String(this),p="function"==typeof t;p||(t=String(t));var v=f.global;if(v){var y=f.unicode;f.lastIndex=0}for(var b=[];;){var _=l(f,d);if(null===_)break;if(b.push(_),!v)break;""===String(_[0])&&(f.lastIndex=s(d,i(f.lastIndex),y))}for(var w="",x=0,S=0;S<b.length;S++){_=b[S];for(var E=String(_[0]),T=u(c(a(_.index),d.length),0),k=[],C=1;C<_.length;C++)k.push(h(_[C]));var O=_.groups;if(p){var A=[E].concat(k,T,d);void 0!==O&&A.push(O);var N=String(t.apply(void 0,A))}else N=g(E,d,T,k,O,t);T>=x&&(w+=d.slice(x,T)+N,x=T+E.length)}return w+d.slice(x)}]})},function(e,t,n){"use strict";var r=n(13),o=n(250),i=n(150);n(151)("search",1,function(e,t,n,a){return[function(n){var r=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,r):new RegExp(n)[t](String(r))},function(e){var t=a(n,e,this);if(t.done)return t.value;var s=r(e),l=String(this),u=s.lastIndex;o(u,0)||(s.lastIndex=0);var c=i(s,l);return o(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]})},function(e,t,n){"use strict";var r=n(198),o=n(13),i=n(132),a=n(206),s=n(25),l=n(150),u=n(205),c=n(12),f=Math.min,d=[].push,p="length",h=!c(function(){RegExp(4294967295,"y")});n(151)("split",2,function(e,t,n,c){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(e,t){var o=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(o,e,t);for(var i,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,c+"g");(i=u.call(m,o))&&!((a=m.lastIndex)>f&&(l.push(o.slice(f,i.index)),i[p]>1&&i.index<o[p]&&d.apply(l,i.slice(1)),s=i[0][p],f=a,l[p]>=h));)m.lastIndex===i.index&&m.lastIndex++;return f===o[p]?!s&&m.test("")||l.push(""):l.push(o.slice(f)),l[p]>h?l.slice(0,h):l}:"0".split(void 0,0)[p]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var o=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.call(n,o,r):m.call(String(o),n,r)},function(e,t){var r=c(m,e,this,t,m!==n);if(r.done)return r.value;var u=o(e),d=String(this),p=i(u,RegExp),g=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),y=new p(h?u:"^(?:"+u.source+")",v),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===d.length)return null===l(y,d)?[d]:[];for(var _=0,w=0,x=[];w<d.length;){y.lastIndex=h?w:0;var S,E=l(y,h?d:d.slice(w));if(null===E||(S=f(s(y.lastIndex+(h?0:w)),d.length))===_)w=a(d,w,g);else{if(x.push(d.slice(_,w)),x.length===b)return x;for(var T=1;T<=E.length-1;T++)if(x.push(E[T]),x.length===b)return x;w=_=S}}return x.push(d.slice(_)),x}]})},function(e,t,n){var r=n(11),o=n(207).set,i=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(76)(a);e.exports=function(){var e,t,n,u=function(){var r,o;for(l&&(r=a.domain)&&r.exit();e;){o=e.fn,e=e.next;try{o()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!i||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){o.call(r,u)};else{var f=!0,d=document.createTextNode("");new i(u).observe(d,{characterData:!0}),n=function(){d.data=f=!f}}return function(r){var o={fn:r,next:void 0};t&&(t.next=o),e||(e=o,n()),t=o}}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,n){"use strict";var r=n(269),o=n(103);e.exports=n(154)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(o(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(o(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(269),o=n(103);e.exports=n(154)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,o=n(11),i=n(71)(0),a=n(49),s=n(87),l=n(249),u=n(270),c=n(14),f=n(103),d=n(103),p=!o.ActiveXObject&&"ActiveXObject"in o,h=s.getWeak,m=Object.isExtensible,g=u.ufstore,v=function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},y={get:function(e){if(c(e)){var t=h(e);return!0===t?g(f(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(f(this,"WeakMap"),e,t)}},b=e.exports=n(154)("WeakMap",v,y,u,!0,!0);d&&p&&(r=u.getConstructor(v,"WeakMap"),l(r.prototype,y),s.NEED=!0,i(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,o){if(c(t)&&!m(t)){this._f||(this._f=new r);var i=this._f[e](t,o);return"set"==e?this:i}return n.call(this,t,o)})}))},function(e,t,n){"use strict";var r=n(270),o=n(103);n(154)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(o(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),o=n(155),i=n(208),a=n(13),s=n(98),l=n(25),u=n(14),c=n(11).ArrayBuffer,f=n(132),d=i.ArrayBuffer,p=i.DataView,h=o.ABV&&c.isView,m=d.prototype.slice,g=o.VIEW;r(r.G+r.W+r.F*(c!==d),{ArrayBuffer:d}),r(r.S+r.F*!o.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||u(e)&&g in e}}),r(r.P+r.U+r.F*n(12)(function(){return!new d(2).slice(1,void 0).byteLength}),"ArrayBuffer",{slice:function(e,t){if(void 0!==m&&void 0===t)return m.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(f(this,d))(l(o-r)),u=new p(this),c=new p(i),h=0;r<o;)c.setUint8(h++,u.getUint8(r++));return i}}),n(116)("ArrayBuffer")},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(155).ABV,{DataView:n(208).DataView})},function(e,t,n){n(78)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(78)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(78)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){var r=n(2),o=n(67),i=n(13),a=(n(11).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(12)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=o(e),l=i(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){var r=n(2),o=n(99),i=n(67),a=n(13),s=n(14),l=n(12),u=n(251),c=(n(11).Reflect||{}).construct,f=l(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),d=!l(function(){c(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!f)return c(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 l=n.prototype,p=o(s(l)?l:Object.prototype),h=Function.apply.call(e,p,t);return s(h)?h:p}})},function(e,t,n){var r=n(34),o=n(2),i=n(13),a=n(86);o(o.S+o.F*n(12)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){i(e),t=a(t,!0),i(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),o=n(69).f,i=n(13);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=o(i(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),o=n(13),i=function(e){this._t=o(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(258)(i,"Object",function(){var e,t=this,n=t._k;do{if(t._i>=n.length)return{value:void 0,done:!0}}while(!((e=n[t._i++])in t._t));return{value:e,done:!1}}),r(r.S,"Reflect",{enumerate:function(e){return new i(e)}})},function(e,t,n){function r(e,t){var n,s,c=arguments.length<3?e:arguments[2];return u(e)===c?e[t]:(n=o.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:l(s=i(e))?r(s,t,c):void 0}var o=n(69),i=n(101),a=n(53),s=n(2),l=n(14),u=n(13);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(69),o=n(2),i=n(13);o(o.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(i(e),t)}})},function(e,t,n){var r=n(2),o=n(101),i=n(13);r(r.S,"Reflect",{getPrototypeOf:function(e){return o(i(e))}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{has:function(e,t){return t in e}})},function(e,t,n){var r=n(2),o=n(13),i=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(272)})},function(e,t,n){var r=n(2),o=n(13),i=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){o(e);try{return i&&i(e),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var l,d,p=arguments.length<4?e:arguments[3],h=i.f(c(e),t);if(!h){if(f(d=a(e)))return r(d,t,n,p);h=u(0)}if(s(h,"value")){if(!1===h.writable||!f(p))return!1;if(l=i.f(p,t)){if(l.get||l.set||!1===l.writable)return!1;l.value=n,o.f(p,t,l)}else o.f(p,t,u(0,n));return!0}return void 0!==h.set&&(h.set.call(p,n),!0)}var o=n(34),i=n(69),a=n(101),s=n(53),l=n(2),u=n(94),c=n(13),f=n(14);l(l.S,"Reflect",{set:r})},function(e,t,n){var r=n(2),o=n(189);o&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){o.check(e,t);try{return o.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(519),e.exports=n(30).Array.includes},function(e,t,n){"use strict";var r=n(2),o=n(145)(!0);r(r.P,"Array",{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),n(102)("includes")},function(e,t,n){n(521),e.exports=n(30).Array.flatMap},function(e,t,n){"use strict";var r=n(2),o=n(522),i=n(43),a=n(25),s=n(67),l=n(260);r(r.P,"Array",{flatMap:function(e){var t,n,r=i(this);return s(e),t=a(r.length),n=l(r,0),o(n,r,r,t,0,1,e,arguments[1]),n}}),n(102)("flatMap")},function(e,t,n){"use strict";function r(e,t,n,u,c,f,d,p){for(var h,m,g=c,v=0,y=!!d&&s(d,p,3);v<u;){if(v in n){if(h=y?y(n[v],v,t):n[v],m=!1,i(h)&&(m=h[l],m=void 0!==m?!!m:o(h)),m&&f>0)g=r(e,t,h,a(h.length),g,f-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}v++}return g}var o=n(147),i=n(14),a=n(25),s=n(66),l=n(20)("isConcatSpreadable");e.exports=r},function(e,t,n){n(524),e.exports=n(30).String.padStart},function(e,t,n){"use strict";var r=n(2),o=n(273),i=n(153),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(526),e.exports=n(30).String.padEnd},function(e,t,n){"use strict";var r=n(2),o=n(273),i=n(153),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(i);r(r.P+r.F*a,"String",{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(528),e.exports=n(30).String.trimLeft},function(e,t,n){"use strict";n(114)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){n(530),e.exports=n(30).String.trimRight},function(e,t,n){"use strict";n(114)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){n(532),e.exports=n(185).f("asyncIterator")},function(e,t,n){n(245)("asyncIterator")},function(e,t,n){n(534),e.exports=n(30).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),o=n(272),i=n(55),a=n(69),s=n(201);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=i(e),l=a.f,u=o(r),c={},f=0;u.length>f;)void 0!==(n=l(r,t=u[f++]))&&s(c,t,n);return c}})},function(e,t,n){n(536),e.exports=n(30).Object.values},function(e,t,n){var r=n(2),o=n(274)(!1);r(r.S,"Object",{values:function(e){return o(e)}})},function(e,t,n){n(538),e.exports=n(30).Object.entries},function(e,t,n){var r=n(2),o=n(274)(!0);r(r.S,"Object",{entries:function(e){return o(e)}})},function(e,t,n){"use strict";n(266),n(540),e.exports=n(30).Promise.finally},function(e,t,n){"use strict";var r=n(2),o=n(30),i=n(11),a=n(132),s=n(268);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,o.Promise||i.Promise),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then(function(){return n})}:e,n?function(n){return s(t,e()).then(function(){throw n})}:e)}})},function(e,t,n){n(542),n(543),n(544),e.exports=n(30)},function(e,t,n){var r=n(11),o=n(2),i=n(153),a=[].slice,s=/MSIE .\./.test(i),l=function(e){return function(t,n){var r=arguments.length>2,o=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};o(o.G+o.B+o.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){var r=n(2),o=n(207);r(r.G+r.B,{setImmediate:o.set,clearImmediate:o.clear})},function(e,t,n){for(var r=n(204),o=n(97),i=n(49),a=n(11),s=n(54),l=n(115),u=n(20),c=u("iterator"),f=u("toStringTag"),d=l.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=o(p),m=0;m<h.length;m++){var g,v=h[m],y=p[v],b=a[v],_=b&&b.prototype;if(_&&(_[c]||s(_,c,d),_[f]||s(_,f,v),l[v]=d,y))for(g in r)_[g]||i(_,g,r[g],!0)}},function(e,t,n){n(546),e.exports=n(276).global},function(e,t,n){var r=n(547);r(r.G,{global:n(209)})},function(e,t,n){var r=n(209),o=n(276),i=n(548),a=n(550),s=n(557),l=function(e,t,n){var u,c,f,d=e&l.F,p=e&l.G,h=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=p?o:o[t]||(o[t]={}),b=y.prototype,_=p?r:h?r[t]:(r[t]||{}).prototype;p&&(n=t);for(u in n)(c=!d&&_&&void 0!==_[u])&&s(y,u)||(f=c?_[u]:n[u],y[u]=p&&"function"!=typeof _[u]?n[u]:g&&c?i(f,r):v&&_[u]==f?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}(f):m&&"function"==typeof f?i(Function.call,f):f,m&&((y.virtual||(y.virtual={}))[u]=f,e&l.R&&b&&!b[u]&&a(b,u,f)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,n){var r=n(549);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){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){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var r=n(551),o=n(556);e.exports=n(211)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(552),o=n(553),i=n(555),a=Object.defineProperty;t.f=n(211)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(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){var r=n(210);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(211)&&!n(277)(function(){return 7!=Object.defineProperty(n(554)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(210),o=n(209).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(210);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){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";var r=function(){function e(e,t){function n(n,r,a){if(o)throw new Error("An instance of the widget has already been rendered. Call remove() first.");this.hasTokensInUrl()&&l.debugMessage("\n            Looks like there are still tokens in the URL! Don't forget to parse and store them.\n            See: https://github.com/okta/okta-signin-widget/#hastokensinurl\n          "),o=new t(i.extend({},p,n,{authClient:e,globalSuccessFn:r,globalErrorFn:a})),o.start()}function r(){o&&o.hide()}function u(){o&&o.show()}function c(){o&&(o.remove(),o=void 0)}function f(){var e=this.authClient.options;return e.pkce||"code"===e.responseType||"query"===e.responseMode?"fragment"===e.responseMode?l.hasCodeInUrl(window.location.hash):l.hasCodeInUrl(window.location.search):l.hasTokensInHash(window.location.hash)}function d(e){var t=s.transformShowSignInToGetTokensOptions(e,a);return n.call(this,t)}var p=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{renderEl:n,authClient:e,showSignInToGetTokens:d,hasTokensInUrl:f,hide:r,show:u,remove:c}}function t(e){var t=i.extend({transformErrorXHR:l.transformErrorXHR,headers:{"X-Okta-User-Agent-Extended":"okta-signin-widget-"+a.version},clientId:e.clientId,redirectUri:e.redirectUri},e.authParams);return t.issuer||(t.issuer=e.baseUrl+"/oauth2/default"),new u(t)}function r(n){l.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 r,o=t(n);r=n.stateToken&&!l.isV1StateToken(n.stateToken)?f:c,i.extend(this,r.prototype.Events),i.extend(this,e(o,r,n)),this.listenTo(r.prototype,"all",this.trigger),this.once("afterRender",function(e){this.trigger("ready",e)})}var o,i=n(212),a=n(213),s=n(214),l=n(21),u=n(713),c=n(714),f=n(863);return r}();e.exports=r},function(e,t,n){var r=n(560);e.exports=r},function(e,t,n){var r=n(561),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){n(562);var r=n(18);e.exports=r("Array").indexOf},function(e,t,n){"use strict";var r=n(5),o=n(216).indexOf,i=n(108),a=n(51),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(564);e.exports=r},function(e,t,n){var r=n(565),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(566);var r=n(18);e.exports=r("Array").splice},function(e,t,n){"use strict";var r=n(5),o=n(159),i=n(119),a=n(47),s=n(52),l=n(160),u=n(121),c=n(134),f=n(51),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,g=s(this),v=a(g.length),y=o(e,v),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=v-y):(n=b-2,r=m(h(i(t),0),v-y)),v+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(c=l(g,r),f=0;f<r;f++)(d=y+f)in g&&u(c,f,g[d]);if(c.length=r,n<r){for(f=y;f<v-r;f++)d=f+r,p=f+n,d in g?g[p]=g[d]:delete g[p];for(f=v;f>v-r+n;f--)delete g[f-1]}else if(n>r)for(f=v-r;f>y;f--)d=f+r-1,p=f+n-1,d in g?g[p]=g[d]:delete g[p];for(f=0;f<n;f++)g[f+y]=arguments[f+2];return g.length=v-r+n,c}})},function(e,t,n){var r=n(22),o=n(60);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(569);e.exports=r},function(e,t,n){var r=n(570),o=n(572),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(571);var r=n(18);e.exports=r("Array").includes},function(e,t,n){"use strict";var r=n(5),o=n(216).includes,i=n(122);r({target:"Array",proto:!0,forced:!n(51)("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(573);var r=n(18);e.exports=r("String").includes},function(e,t,n){"use strict";var r=n(5),o=n(222),i=n(107);r({target:"String",proto:!0,forced:!n(223)("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(31),o=n(106),i=n(23),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(282);e.exports=r},function(e,t,n){n(5)({target:"Array",stat:!0},{isArray:n(109)})},function(e,t,n){var r=n(578);e.exports=r},function(e,t,n){var r=n(579),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(580);var r=n(18);e.exports=r("Array").lastIndexOf},function(e,t,n){var r=n(5),o=n(581);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(58),o=n(119),i=n(47),a=n(108),s=n(51),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(583)},function(e,t,n){var r=n(584);e.exports=r},function(e,t,n){var r=n(585),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(586);var r=n(18);e.exports=r("Array").reverse},function(e,t,n){"use strict";var r=n(5),o=n(109),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){e.exports=n(588)},function(e,t,n){var r=n(589);e.exports=r},function(e,t,n){var r=n(590),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(591),n(593);var r=n(18);e.exports=r("Array").flat},function(e,t,n){"use strict";var r=n(5),o=n(592),i=n(52),a=n(47),s=n(119),l=n(160);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(109),o=n(47),i=n(88),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(122)("flat")},function(e,t,n){var r=n(595);e.exports=r},function(e,t,n){var r=n(596),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(597);var r=n(598);e.exports=function(e){return r.call(e)}},function(e,t){},function(e,t,n){"use strict";var r=n(40);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(79);var r=n(603),o=n(81),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){"use strict";var r=n(225),o=n(81);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(e,t,n){var r=n(31);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(604);e.exports=r},function(e,t,n){n(605);var r=n(18);e.exports=r("Array").forEach},function(e,t,n){"use strict";var r=n(5),o=n(606);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){"use strict";var r=n(73).forEach,o=n(108),i=n(51),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(608)},function(e,t,n){var r=n(609);e.exports=r},function(e,t,n){var r=n(610),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(611);var r=n(18);e.exports=r("Array").every},function(e,t,n){"use strict";var r=n(5),o=n(73).every,i=n(108),a=n(51),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(613);e.exports=r},function(e,t,n){var r=n(614),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(615);var r=n(18);e.exports=r("Array").some},function(e,t,n){"use strict";var r=n(5),o=n(73).some,i=n(108),a=n(51),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(617);e.exports=r},function(e,t,n){var r=n(618),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(619);var r=n(18);e.exports=r("Array").findIndex},function(e,t,n){"use strict";var r=n(5),o=n(73).findIndex,i=n(122),a=n(51),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(621);e.exports=r},function(e,t,n){var r=n(622),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(296);var r=n(18);e.exports=r("Array").concat},function(e,t,n){var r=n(624);e.exports=r},function(e,t,n){var r=n(625),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(626);var r=n(18);e.exports=r("Array").filter},function(e,t,n){"use strict";var r=n(5),o=n(73).filter,i=n(134),a=n(51),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){var r=n(628);e.exports=r},function(e,t,n){var r=n(629),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(630);var r=n(18);e.exports=r("Array").reduce},function(e,t,n){"use strict";var r=n(5),o=n(631).left,i=n(108),a=n(51),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(59),o=n(52),i=n(157),a=n(47),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(633)},function(e,t,n){n(79);var r=n(634),o=n(81),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(635);e.exports=r},function(e,t,n){n(123);var r=n(18);e.exports=r("Array").values},function(e,t,n){var r=n(637);e.exports=r},function(e,t,n){var r=n(638),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(639);var r=n(18);e.exports=r("Array").map},function(e,t,n){"use strict";var r=n(5),o=n(73).map,i=n(134),a=n(51),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(297);var r=n(15);e.exports=r.setInterval},function(e,t,n){n(297);var r=n(15);e.exports=r.setTimeout},function(e,t,n){var r=n(643);e.exports=r},function(e,t,n){var r=n(644),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(645);var r=n(18);e.exports=r("Array").find},function(e,t,n){"use strict";var r=n(5),o=n(73).find,i=n(122),a=n(51),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(647);e.exports=r},function(e,t,n){var r=n(648),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(649);var r=n(18);e.exports=r("String").trim},function(e,t,n){"use strict";var r=n(5),o=n(226).trim;r({target:"String",proto:!0,forced:n(650)("trim")},{trim:function(){return o(this)}})},function(e,t,n){var r=n(19),o=n(167),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(652);e.exports=r},function(e,t,n){n(653);var r=n(15);e.exports=r.parseInt},function(e,t,n){var r=n(5),o=n(654);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){var r=n(22),o=n(226).trim,i=n(167),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(656);e.exports=r},function(e,t,n){n(657);var r=n(15);e.exports=r.parseFloat},function(e,t,n){var r=n(5),o=n(658);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(22),o=n(226).trim,i=n(167),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(79);var r=n(660),o=n(81),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(661);e.exports=r},function(e,t,n){n(123);var r=n(18);e.exports=r("Array").keys},function(e,t,n){var r=n(663);e.exports=r},function(e,t,n){n(664);var r=n(15);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(5),o=n(72),i=n(19),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(299);e.exports=r},function(e,t,n){n(667);var r=n(18);e.exports=r("Array").slice},function(e,t,n){"use strict";var r=n(5),o=n(31),i=n(109),a=n(159),s=n(47),l=n(58),u=n(121),c=n(23),f=n(134),d=n(51),p=f("slice"),h=d("slice",{ACCESSORS:!0,0:0,1:2}),m=c("species"),g=[].slice,v=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 g.call(f,p,h);for(r=new(void 0===n?Array:n)(v(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(669);e.exports=r},function(e,t,n){var r=n(670),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(671);var r=n(18);e.exports=r("Function").bind},function(e,t,n){n(5)({target:"Function",proto:!0},{bind:n(672)})},function(e,t,n){"use strict";var r=n(59),o=n(31),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){var r=n(301);e.exports=r},function(e,t,n){var r=n(119),o=n(107),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(304);e.exports=r},function(e,t,n){n(35)("asyncIterator")},function(e,t){},function(e,t,n){n(35)("hasInstance")},function(e,t,n){n(35)("isConcatSpreadable")},function(e,t,n){n(35)("match")},function(e,t,n){n(35)("matchAll")},function(e,t,n){n(35)("replace")},function(e,t,n){n(35)("search")},function(e,t,n){n(35)("species")},function(e,t,n){n(35)("split")},function(e,t,n){n(35)("toPrimitive")},function(e,t,n){n(35)("unscopables")},function(e,t,n){var r=n(310);e.exports=r},function(e,t,n){var r=n(5),o=n(38);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(61).f})},function(e,t,n){"use strict";t.__esModule=!0;var r=n(74);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(74),i=n(111),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(133))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(111),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(74),o=n(111),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(74),o=n(111),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(698),i=function(e){return e&&e.__esModule?e:{default:e}}(o)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(74);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(74)},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=v.COMPILER_REVISION;if(!(t>=v.LAST_COMPATIBLE_COMPILER_REVISION&&t<=v.COMPILER_REVISION)){if(t<v.LAST_COMPATIBLE_COMPILER_REVISION){var r=v.REVISION_CHANGES[n],o=v.REVISION_CHANGES[t];throw new g.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 g.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 g.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 g.default("No environment passed to template");if(!e||!e.main)throw new g.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 g.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 g.default("must pass block params");if(e.useDepths&&!o)throw new g.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=v.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=v.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 g.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?v.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(74),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(111),g=function(e){return e&&e.__esModule?e:{default:e}}(m),v=n(311),y=n(312),b=n(702),_=n(314)},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(133))},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(705),n(172),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&&g(o,r),i&&g(i,[t].concat(r))}return e},g=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 v=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(v.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)},F(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)},F(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):(F(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(v,{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:v,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,g=t.merge,v=t.remove,y=!(c||!m||!v)&&[],_=!1,w=0;w<e.length;w++){if(a=e[w],s=this.get(a))v&&(h[s.cid]=!0),g&&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(v){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 S=null!=u?n.clone(t):t,w=0;w<d.length;w++)null!=u&&(S.index=u+w),(i=d[w]).trigger("add",i,this,S);(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)},F(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 v},_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,E)),this._ensureElement(),this.initialize.apply(this,arguments)},S=/^(\S+)\s*(.*)$/,E=["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(S);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=T[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 T={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)},C=/\((.*?)\)/g,O=/(\(\?)?:\w+/g,A=/\*\w+/g,N=/[\-{}\[\]+?.,\\\^$|#\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(N,"\\$&").replace(C,"(?:$1)?").replace(O,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),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)},R=/^[#\/]|\s+$/g,P=/^\/+|\/+$/g,M=/#.*$/;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(R,"")},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(P,"/"),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(M,"")),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};v.extend=y.extend=k.extend=x.extend=I.extend=L;var D=function(){throw new Error('A "url" property or function must be specified')},F=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(133))},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,g=Object.create,v=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)}},S=function(e){if(!y.isObject(e))return{};if(g)return g(e);v.prototype=e;var t=new v;return v.prototype=null,t},E=function(e){return function(t){return null==t?void 0:t[e]}},T=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},C=Math.pow(2,53)-1,O=E("length"),A=function(e){var t=O(e);return"number"==typeof t&&t>=0&&t<=C};y.each=y.forEach=function(e,t,n){t=_(t,n);var r,o;if(A(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=!A(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 N=function(e){var t=function(t,n,r,o){var i=!A(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=N(1),y.reduceRight=y.foldr=N(-1),y.find=y.detect=function(e,t,n){var r=A(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=!A(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=!A(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 A(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=A(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=A(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 A(e)||(e=y.values(e)),e[y.random(e.length-1)];var r=A(e)?y.clone(e):y.values(e),o=O(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){T(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){T(e,n)?e[n]++:e[n]=1});var R=/[^\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(R):A(e)?y.map(e,y.identity):y.values(e):[]},y.size=function(e){return null==e?0:A(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 P=function(e,t,n,r){r=r||[];for(var o=r.length,i=0,a=O(e);i<a;i++){var s=e[i];if(A(s)&&(y.isArray(s)||y.isArguments(s)))if(t)for(var l=0,u=s.length;l<u;)r[o++]=s[l++];else P(s,t,n,r),o=r.length;else n||(r[o++]=s)}return r};y.flatten=function(e,t){return P(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=O(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(P(e,!0,!0))}),y.intersection=function(e){for(var t=[],n=arguments.length,r=0,o=O(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=P(t,!0,!0),y.filter(e,function(e){return!y.contains(t,e)})}),y.unzip=function(e){for(var t=e&&y.max(e,O).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=O(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n};var M=function(e){return function(t,n,r){n=w(n,r);for(var o=O(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=M(1),y.findLastIndex=M(-1),y.sortedIndex=function(e,t,n,r){n=w(n,r,1);for(var o=n(t),i=0,a=O(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=O(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=S(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=P(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 T(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 F=!{toString:null}.propertyIsEnumerable("toString"),U=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],j=function(e,t){var n=U.length,r=e.constructor,o=y.isFunction(r)&&r.prototype||l,i="constructor";for(T(e,i)&&!y.contains(t,i)&&t.push(i);n--;)(i=U[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)T(e,n)&&t.push(n);return F&&j(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return F&&j(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 q=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=q,t=P(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(P(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=S(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 V,H;V=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(!V(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],!T(t,c)||!V(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(e,t){return V(e,t)},y.isEmpty=function(e){return null==e||(A(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 T(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 T(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)}:E(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 $={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},z=y.invert($),G=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=G($),y.unescape=G(z),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 K=0;y.uniqueId=function(e){var t=++K+"";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(133),n(315)(e))},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(g)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e){var t=e.toUpperCase();return S.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 g(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 v(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:v(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 S=["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 E=[301,302,303,307,308];y.redirect=function(e,t){if(-1===E.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){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?",goback:"Back to Sign In",forgotpassword:"Forgot password?",help:"Help",retry:"Retry",iphone:"iPhone",android:"Android",backToSignin:"Back to sign in",closeWindow:"You can close this window","country.label":"Country","phone.extention.label":"Extension","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 log in again.","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","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","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.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.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.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.","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.button":"Sign in with Okta Verify","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.","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}","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 email already exists","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":"You are being redirected","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.","signin.with.fastpass":"Signing in using Okta FastPass","customUri.title":"Verify account access","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>',"universalLink.title":"Verify your sign in","universalLink.content":'To continue, you\'ll need to use the <span class="highlight-text">Okta Verify</span> app to confirm your sign in.',"universalLink.userVerification.title":"Extra verification needed","universalLink.userVerification.content.p1":"Your organization needs extra verification to make sure it's you signing in.","universalLink.userVerification.content.p2":"To continue, confirm your screen lock in Okta Verify.","universalLink.userVerification.button":"Confirm screen lock","consent.required.text":"<b>{0}</b> would like to:","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","polling.title":"There are too many users trying to sign in right now. We will automatically retry in {0} seconds.","cert.authentication.title":"Certificate authentication","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 authenticators to reset your password.","oie.phone.authenticator.description":"Verify with a code sent to your phone","oie.phone.enroll.title":"Set up phone authentication","oie.phone.enroll.subtitle":"Set up verification with a phone number. You will receive a code sent to your phone","oie.phone.sms.primaryButton":"Send a code via SMS","oie.phone.sms.secondaryButton":"Receive an SMS instead","oie.phone.call.primaryButton":"Send 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.email.authenticator.description":"Verify with a link or code sent to your email","oie.email.mfa.title":"Verify with your email","oie.email.verify.sentText":"An email was sent to","oie.email.enroll.subtitle":"Please check your email and enter the code below.","oie.authenticator.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":"Your browser will prompt to register a security key or biometric authenticator (Windows Hello, Touch ID, etc.). Follow the instructions to complete enrollment.","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.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","oie.okta_verify.authenticator.description":"Okta Verify is an authenticator app, installed on your phone or computer, 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.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.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.select.channel.email.description":"Make sure you can access the email on your (iPhone or iPad, Android device)","oie.enroll.okta_verify.select.channel.sms.description":"Make sure you can access the text on your (iPhone or iPad, Android 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.email.step1":"We sent an email to {0} with an Okta Verify setup link.","oie.enroll.okta_verify.email.step2":"To continue, open the link on your (iPhone or iPad, Android device).","oie.enroll.okta_verify.email.step3":"Didn’t get the link yet? It may take up to a few minutes to arrive, or try sending the link again.","oie.enroll.okta_verify.sms.step1":"We sent an SMS to {0} with an Okta Verify setup link.","oie.enroll.okta_verify.sms.step2":"To continue, open the link on your (iPhone or iPad, Android device).","oie.enroll.okta_verify.sms.step3":"Didn’t get the link yet? It may take up to a few minutes to arrive, or try sending the link again.","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.send":"Send push notification","oie.select.authenticators.enroll.title":"Set up Authenticators","oie.select.authenticators.enroll.subtitle":"Set up authenticators to ensure that only you have access to your account.","oie.select.authenticators.enroll.subtitle.custom":"Set up authenticators for {0} to ensure that only you have access to your account.","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 an authenticator","oie.select.authenticators.verify.subtitle":"Select from the following options","oie.success.redirect":"You are being redirected","oie.go.back":"Go back","oie.enroll.switch.authenticator":"Sign in using something else","oie.verification.switch.authenticator":"Verify using something else"}},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,n){var r=n(710);e.exports=r},function(e,t,n){var r=n(711),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(712);var r=n(18);e.exports=r("String").startsWith},function(e,t,n){"use strict";var r=n(5),o=n(104).f,i=n(47),a=n(222),s=n(107),l=n(223),u=n(62),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){!function(t,n){e.exports=n()}("undefined"!=typeof self&&self,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=11)}([function(e,t){var n=e.exports;n.stringToBase64Url=function(e){var t=btoa(e);return n.base64ToBase64Url(t)},n.base64ToBase64Url=function(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")},n.base64UrlToBase64=function(e){return e.replace(/-/g,"+").replace(/_/g,"/")},n.base64UrlToString=function(e){var t=n.base64UrlToBase64(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw"Not a valid Base64Url"}var r=atob(t);try{return decodeURIComponent(escape(r))}catch(e){return r}},n.stringToBuffer=function(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t},n.base64UrlDecode=function(e){return atob(n.base64UrlToBase64(e))},n.bind=function(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)}},n.isAbsoluteUrl=function(e){return/^(?:[a-z]+:)?\/\//i.test(e)},n.isString=function(e){return"[object String]"===Object.prototype.toString.call(e)},n.isObject=function(e){return"[object Object]"===Object.prototype.toString.call(e)},n.isNumber=function(e){return"[object Number]"===Object.prototype.toString.call(e)},n.isoToUTCString=function(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()},n.toQueryParams=function(e){var t=[];if(null!==e)for(var n in e)e.hasOwnProperty(n)&&void 0!==e[n]&&null!==e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.length?"?"+t.join("&"):""},n.genRandomString=function(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,o=t.length;r<e;++r)n+=t[Math.floor(Math.random()*o)];return n},n.extend=function(){var e=arguments[0];return[].slice.call(arguments,1).forEach(function(t){for(var n in t)t.hasOwnProperty(n)&&void 0!==t[n]&&(e[n]=t[n])}),e},n.removeNils=function(e){var t={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];null!==r&&void 0!==r&&(t[n]=r)}return t},n.clone=function(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e},n.omit=function(e){var t=Array.prototype.slice.call(arguments,1),r={};for(var o in e)e.hasOwnProperty(o)&&-1==t.indexOf(o)&&(r[o]=e[o]);return n.clone(r)},n.find=function(e,t){for(var n=e.length;n--;){var r=e[n],o=!0;for(var i in t)if(t.hasOwnProperty(i)&&r[i]!==t[i]){o=!1;break}if(o)return r}},n.getLink=function(e,t,r){if(e&&e._links){var o=n.clone(e._links[t]);return o&&o.name&&r?o.name===r?o:void 0:o}},n.getNativeConsole=function(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0},n.getConsole=function(){var e=n.getNativeConsole();return e&&e.log?e:{log:function(){}}},n.warn=function(e){n.getConsole().log("[okta-auth-sdk] WARN: "+e)},n.deprecate=function(e){n.getConsole().log("[okta-auth-sdk] DEPRECATION: "+e)},n.deprecateWrap=function(e,t){return function(){return n.deprecate(e),t.apply(null,arguments)}},n.removeTrailingSlash=function(e){if(e){var t=e.replace(/^\s+|\s+$/gm,"");return t=t.replace(/\/+$/,"")}},n.isIE11OrLess=function(){return!!document.documentMode&&document.documentMode<=11},n.isFunction=function(e){return!!e&&"[object Function]"==={}.toString.call(e)},n.delay=function(e){return new Promise(function(t){setTimeout(t,e)})}},function(e,t){function n(e,t){this.name="AuthSdkError",this.message=e,this.errorCode="INTERNAL",this.errorSummary=e,this.errorLink="INTERNAL",this.errorId="INTERNAL",this.errorCauses=[],t&&(this.xhr=t)}n.prototype=new Error,e.exports=n},function(e,t){e.exports={STATE_TOKEN_KEY_NAME:"oktaStateToken",DEFAULT_POLLING_DELAY:500,DEFAULT_MAX_CLOCK_SKEW:300,DEFAULT_CACHE_DURATION:86400,REDIRECT_OAUTH_PARAMS_COOKIE_NAME:"okta-oauth-redirect-params",REDIRECT_STATE_COOKIE_NAME:"okta-oauth-state",REDIRECT_NONCE_COOKIE_NAME:"okta-oauth-nonce",TOKEN_STORAGE_NAME:"okta-token-storage",CACHE_STORAGE_NAME:"okta-cache-storage",PKCE_STORAGE_NAME:"okta-pkce-storage"}},function(e,t,n){function r(e,t){t=t||{};var n=t.url,r=t.method,o=t.args,i=t.saveAuthnState,u=t.accessToken,c=!1!==t.withCredentials,f=e.options.storageUtil,d=f.storage,p=f.getHttpCache(e.options.cookies);if(t.cacheResponse){var h=p.getStorage(),m=h[n];if(m&&Date.now()/1e3<m.expiresAt)return Promise.resolve(m.response)}var g={Accept:"application/json","Content-Type":"application/json","X-Okta-User-Agent-Extended":e.userAgent};a.extend(g,e.options.headers,t.headers),u&&a.isString(u)&&(g.Authorization="Bearer "+u);var v,y,b={headers:g,data:o||void 0,withCredentials:c};return e.options.httpRequestClient(r,n,b).then(function(r){return y=r.responseText,y&&a.isString(y)&&(y=JSON.parse(y)),i&&(y.stateToken||d.delete(l.STATE_TOKEN_KEY_NAME)),y&&y.stateToken&&y.expiresAt&&d.set(l.STATE_TOKEN_KEY_NAME,y.stateToken,y.expiresAt,e.options.cookies),y&&t.cacheResponse&&p.updateStorage(n,{expiresAt:Math.floor(Date.now()/1e3)+l.DEFAULT_CACHE_DURATION,response:y}),y}).catch(function(t){var n=t.responseText||{};if(a.isString(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(a.clone(t))),v=new s(n,t),"E0000011"===v.errorCode&&d.delete(l.STATE_TOKEN_KEY_NAME),v})}function o(e,t,n){t=a.isAbsoluteUrl(t)?t:e.getIssuerOrigin()+t;var o={url:t,method:"GET"};return a.extend(o,n),r(e,o)}function i(e,t,n,o){t=a.isAbsoluteUrl(t)?t:e.getIssuerOrigin()+t;var i={url:t,method:"POST",args:n,saveAuthnState:!0};return a.extend(i,o),r(e,i)}var a=n(0),s=n(19),l=n(2);e.exports={get:o,post:i,httpRequest:r}},function(e,t,n){var r=n(14),o=n(6),i=n(2),a=n(1),s={};s.browserHasLocalStorage=function(){try{var e=s.getLocalStorage();return s.testStorage(e)}catch(e){return!1}},s.browserHasSessionStorage=function(){try{var e=s.getSessionStorage();return s.testStorage(e)}catch(e){return!1}},s.getPKCEStorage=function(e){return s.browserHasLocalStorage()?o(s.getLocalStorage(),i.PKCE_STORAGE_NAME):s.browserHasSessionStorage()?o(s.getSessionStorage(),i.PKCE_STORAGE_NAME):o(s.getCookieStorage(e),i.PKCE_STORAGE_NAME)},s.getHttpCache=function(e){return s.browserHasLocalStorage()?o(s.getLocalStorage(),i.CACHE_STORAGE_NAME):s.browserHasSessionStorage()?o(s.getSessionStorage(),i.CACHE_STORAGE_NAME):o(s.getCookieStorage(e),i.CACHE_STORAGE_NAME)},s.getLocalStorage=function(){return localStorage},s.getSessionStorage=function(){return sessionStorage},s.getCookieStorage=function(e){var t=e.secure,n=e.sameSite;if(void 0===t||void 0===n)throw new a('getCookieStorage: "secure" and "sameSite" options must be provided');return{getItem:s.storage.get,setItem:function(e,r){s.storage.set(e,r,"2200-01-01T00:00:00.000Z",{secure:t,sameSite:n})}}},s.getInMemoryStorage=function(){var e={};return{getItem:function(t){return e[t]},setItem:function(t,n){e[t]=n}}},s.testStorage=function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},s.storage={set:function(e,t,n,o){var i=o.secure,l=o.sameSite;if(void 0===i||void 0===l)throw new a('storage.set: "secure" and "sameSite" options must be provided');var u={path:o.path||"/",secure:i,sameSite:l};return Date.parse(n)&&(u.expires=new Date(n)),r.set(e,t,u),s.storage.get(e)},get:function(e){return r.get(e)},delete:function(e){return r.remove(e,{path:"/"})}},e.exports=s},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){function r(e,t){function n(){var n=e.getItem(t);n=n||"{}";try{return JSON.parse(n)}catch(e){throw new o("Unable to parse storage string: "+t)}}function r(n){try{var r=JSON.stringify(n);e.setItem(t,r)}catch(e){throw new o("Unable to set storage: "+t)}}function i(e){if(!e)return r({});var t=n();delete t[e],r(t)}function a(e,t){var o=n();o[e]=t,r(o)}if("string"!=typeof t||!t.length)throw new o('"storageName" is required');return{getStorage:n,setStorage:r,clearStorage:i,updateStorage:a}}var o=n(1);e.exports=r},function(e,t,n){e.exports=n(16)},function(e,t){function n(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(o,i){function a(e){n(l,o,i,a,s,"next",e)}function s(e){n(l,o,i,a,s,"throw",e)}var l=e.apply(t,r);a(void 0)})}}e.exports=r},function(e,t,n){function r(e,t){var n={};return v.extend(n,t),!n.stateToken&&e.stateToken&&(n.stateToken=e.stateToken),n}function o(e){return r(e)}function i(e,t){return t=r(e,t),g.post(e,e.getIssuerOrigin()+"/api/v1/authn",t)}function a(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(_.STATE_TOKEN_KEY_NAME);if(!n)return Promise.reject(new y("No transaction to resume"));t={stateToken:n}}return e.tx.status(t).then(function(t){return new m(e,t)})}function s(e,t){if(!t||!t.stateToken){var n=e.tx.exists._get(_.STATE_TOKEN_KEY_NAME);if(!n)return Promise.reject(new y("No transaction to evaluate"));t={stateToken:n}}return l(e,t).then(function(t){return new m(e,t)})}function l(e,t){return t=r(e,t),g.post(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",t)}function u(e){return!!e.tx.exists._get(_.STATE_TOKEN_KEY_NAME)}function c(e,t,n,r){return g.post(e,t,n,r).then(function(t){return new m(e,t)})}function f(e,t,n){return function(r){function i(){var n={};if("function"==typeof l)try{n.autoPush=!!l()}catch(e){return Promise.reject(new y("AutoPush resulted in an error."))}else void 0!==l&&null!==l&&(n.autoPush=!!l);if("function"==typeof s)try{n.rememberDevice=!!s()}catch(e){return Promise.reject(new y("RememberDevice resulted in an error."))}else void 0!==s&&null!==s&&(n.rememberDevice=!!s);var r=c.href+v.toQueryParams(n);return g.post(e,r,o(t),{saveAuthnState:!1})}var a,s,l,u;v.isNumber(r)?a=r:v.isObject(r)&&(a=r.delay,s=r.rememberDevice,l=r.autoPush,u=r.transactionCallBack),a||0===a||(a=_.DEFAULT_POLLING_DELAY);var c=v.getLink(t,"next","poll");n.isPolling=!0;var f=0;return function t(){return n.isPolling?i().then(function(r){if(f=0,r.factorResult&&"WAITING"===r.factorResult){if(!n.isPolling)throw new b;return"function"==typeof u&&u(r),v.delay(a).then(t)}return n.isPolling=!1,new m(e,r)}).catch(function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&f<=4){var n=1e3*Math.pow(2,f);return f++,v.delay(n).then(t)}throw e}):Promise.reject(new b)}().catch(function(e){throw n.isPolling=!1,e})}}function d(e,t,n,o,i){if(Array.isArray(o))return function(r,a){if(!r)throw new y("Must provide a link name");var s=v.find(o,{name:r});if(!s)throw new y("No link found for that name");return d(e,t,n,s,i)(a)};if(o.hints&&o.hints.allow&&1===o.hints.allow.length)switch(o.hints.allow[0]){case"GET":return function(){return g.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||v.extend(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 y("AutoPush resulted in an error."))}else null!==u&&(l.autoPush=!!u);s=v.omit(s,"autoPush")}var f=s.rememberDevice;if(void 0!==f){if("function"==typeof f)try{l.rememberDevice=!!f()}catch(e){return Promise.reject(new y("RememberDevice resulted in an error."))}else null!==f&&(l.rememberDevice=!!f);s=v.omit(s,"rememberDevice")}else s.profile&&void 0!==s.profile.updatePhone&&(s.profile.updatePhone&&(l.updatePhone=!0),s.profile=v.omit(s.profile,"updatePhone"));var d=o.href+v.toQueryParams(l);return c(e,d,s)}}}function p(e,t,n,r){var o={};for(var i in n._links)if(n._links.hasOwnProperty(i)){var a=n._links[i];if("next"===i&&(i=a.name),a.type)o[i]=a;else switch(i){case"poll":o.poll=f(e,t,r);break;default:var s=d(e,t,n,a,r);s&&(o[i]=s)}}return o}function h(e,t,n,r){if(n=n||t,n=v.clone(n),Array.isArray(n)){for(var o=[],i=0,a=n.length;i<a;i++)o.push(h(e,t,n[i],r));return o}var s=n._embedded||{};for(var l in s)s.hasOwnProperty(l)&&(v.isObject(s[l])||Array.isArray(s[l]))&&(s[l]=h(e,t,s[l],r));var u=p(e,t,n,r);return v.extend(s,u),n=v.omit(n,"_embedded","_links"),v.extend(n,s),n}function m(e,t){t&&(this.data=t,v.extend(this,h(e,t,t,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==t.status||t._links||(this.cancel=function(){return Promise.resolve(new m(e))}))}var g=n(3),v=n(0),y=n(1),b=n(20),_=n(2);e.exports={transactionStatus:i,resumeTransaction:a,transactionExists:u,postToTransaction:c,introspect:s}},function(e,t,n){function r(){return g.genRandomString(64)}function o(){return g.genRandomString(64)}function i(e){return!(!e||!e.accessToken&&!e.idToken||!Array.isArray(e.scopes))}function a(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function s(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function l(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)}function u(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(g.isIE11OrLess()){var o=window.open("/",n,r);return o.location.href=e,o}return window.open(e,n,r)}function c(e,t){var n=t||e.options.issuer;return m.get(e,n+"/.well-known/openid-configuration",{cacheResponse:!0})}function f(e,t,n){var r=v.getHttpCache(e.options.cookies);return c(e,t).then(function(t){var o=t.jwks_uri,i=r.getStorage(),a=i[o];if(a&&Date.now()/1e3<a.expiresAt){var s=g.find(a.response.keys,{kid:n});if(s)return s}return r.clearStorage(o),m.get(e,o,{cacheResponse:!0}).then(function(e){var t=g.find(e.keys,{kid:n});if(t)return t;throw new y("The key id, "+n+", was not found in the server's keys")})})}function d(e,t,n){var r=n.clientId,o=n.issuer,i=n.nonce;if(!t||!o||!r)throw new y("The jwt, iss, and aud arguments are all required");if(i&&t.nonce!==i)throw new y("OAuth flow response nonce doesn't match request nonce");var a=Math.floor(Date.now()/1e3);if(t.iss!==o)throw new y("The issuer ["+t.iss+"] does not match ["+o+"]");if(t.aud!==r)throw new y("The audience ["+t.aud+"] does not match ["+r+"]");if(t.iat>t.exp)throw new y("The JWT expired before it was issued");if(a-e.options.maxClockSkew>t.exp)throw new y("The JWT expired and is no longer valid");if(t.iat>a+e.options.maxClockSkew)throw new y("The JWT was issued in the future")}function p(e,t){if(arguments.length>2)throw new y('As of version 3.0, "getOAuthUrls" takes only a single set of options');t=t||{};var n=g.removeTrailingSlash(t.authorizeUrl)||e.options.authorizeUrl,r=g.removeTrailingSlash(t.issuer)||e.options.issuer,o=g.removeTrailingSlash(t.userinfoUrl)||e.options.userinfoUrl,i=g.removeTrailingSlash(t.tokenUrl)||e.options.tokenUrl,a=g.removeTrailingSlash(t.logoutUrl)||e.options.logoutUrl,s=g.removeTrailingSlash(t.revokeUrl)||e.options.revokeUrl,l=r.indexOf("/oauth2")>0?r:r+"/oauth2";return n=n||l+"/v1/authorize",o=o||l+"/v1/userinfo",i=i||l+"/v1/token",s=s||l+"/v1/revoke",a=a||l+"/v1/logout",{issuer:r,authorizeUrl:n,userinfoUrl:o,tokenUrl:i,revokeUrl:s,logoutUrl:a}}function h(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}var m=n(3),g=n(0),v=n(4),y=n(1);e.exports={generateState:r,generateNonce:o,getWellKnown:c,getKey:f,validateClaims:d,getOAuthUrls:p,loadFrame:l,loadPopup:u,urlParamsToObject:h,isToken:i,addListener:a,removeListener:s}},function(e,t,n){var r=n(12),o=n(4);e.exports=n(15)(o,r)},function(e,t,n){function r(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()}function o(e,t){var n="object"===a(t),r={responseText:n?JSON.stringify(t):t,status:e};return n&&(r.responseType="json",r.responseJSON=t),r}function i(e,t,n){var i=n.data,a=n.headers||{};return"application/json"===(a["Content-Type"]||a["content-type"]||"")&&i&&"string"!=typeof i&&(i=JSON.stringify(i)),s(t,{method:e,headers:n.headers,body:i,credentials:n.withCredentials?"include":"omit"}).then(function(e){var t=!e.ok,n=e.status;return r(e).then(function(e){return o(n,e)}).then(function(e){if(t)throw e;return e})})}var a=n(5),s=n(13);e.exports=i},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(g)}),this.json=function(){return this.text().then(JSON.parse)},this}function h(e){var t=e.toUpperCase();return S.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 g(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 v(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:v(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 S=["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 E=[301,302,303,307,308];y.redirect=function(e,t){if(-1===E.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){var r,o;!function(i){if(r=i,void 0!==(o="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=o),!0,e.exports=i(),!!0){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(n){function r(t,o,i){var a;if("undefined"!=typeof document){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}i.expires=i.expires?i.expires.toUTCString():"";try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}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);var l="";for(var u in i)i[u]&&(l+="; "+u,!0!==i[u]&&(l+="="+i[u]));return document.cookie=t+"="+o+l}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],f=/(%[0-9A-Z]{2})+/g,d=0;d<c.length;d++){var p=c[d].split("="),h=p.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var m=p[0].replace(f,decodeURIComponent);if(h=n.read?n.read(h,m):n(h,m)||h.replace(f,decodeURIComponent),this.json)try{h=JSON.parse(h)}catch(e){}if(t===m){a=h;break}t||(a[m]=h)}catch(e){}}return a}}return r.set=r,r.get=function(e){return r.call(r,e)},r.getJSON=function(){return r.apply({json:!0},[].slice.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){var t=this;l.assertValidConfig(e);var n=v.extend({secure:!0},e.cookies);t.features.isLocalhost()&&!t.features.isHTTPS()&&(n.secure=!1),void 0===n.sameSite&&(n.sameSite=n.secure?"none":"lax"),n.secure&&!t.features.isHTTPS()&&(n.secure=!1),this.options={clientId:e.clientId,issuer:v.removeTrailingSlash(e.issuer),authorizeUrl:v.removeTrailingSlash(e.authorizeUrl),userinfoUrl:v.removeTrailingSlash(e.userinfoUrl),tokenUrl:v.removeTrailingSlash(e.tokenUrl),revokeUrl:v.removeTrailingSlash(e.revokeUrl),logoutUrl:v.removeTrailingSlash(e.logoutUrl),pkce:!1!==e.pkce,redirectUri:e.redirectUri,postLogoutRedirectUri:e.postLogoutRedirectUri,responseMode:e.responseMode,httpRequestClient:e.httpRequestClient,storageUtil:e.storageUtil,transformErrorXHR:e.transformErrorXHR,headers:e.headers,onSessionExpired:e.onSessionExpired,cookies:n},this.userAgent=l.getUserAgent(e,"3.1.1")||"okta-auth-js-3.1.1",e.maxClockSkew||0===e.maxClockSkew?this.options.maxClockSkew=e.maxClockSkew:this.options.maxClockSkew=u.DEFAULT_MAX_CLOCK_SKEW,this.options.ignoreSignature=!!e.ignoreSignature,t.session={close:v.bind(p.closeSession,null,t),exists:v.bind(p.sessionExists,null,t),get:v.bind(p.getSession,null,t),refresh:v.bind(p.refreshSession,null,t),setCookieAndRedirect:v.bind(p.setCookieAndRedirect,null,t)},t.tx={status:v.bind(g.transactionStatus,null,t),resume:v.bind(g.resumeTransaction,null,t),exists:v.bind(g.transactionExists,null,t),introspect:v.bind(g.introspect,null,t)},t.tx.exists._get=function(e){return c.get(e)},t.idToken={authorize:{_getLocationHref:function(){return window.location.href}}},t.token={getWithoutPrompt:v.bind(h.getWithoutPrompt,null,t),getWithPopup:v.bind(h.getWithPopup,null,t),getWithRedirect:v.bind(h.getWithRedirect,null,t),parseFromUrl:v.bind(h.parseFromUrl,null,t),decode:h.decodeToken,revoke:v.bind(h.revokeToken,null,t),renew:v.bind(h.renewToken,null,t),getUserInfo:v.bind(h.getUserInfo,null,t),verify:v.bind(h.verifyToken,null,t)},t.token.getWithRedirect._setLocation=function(e){window.location=e},t.token.parseFromUrl._getHistory=function(){return window.history},t.token.parseFromUrl._getLocation=function(){return window.location},t.token.parseFromUrl._getDocument=function(){return window.document},t.fingerprint._getUserAgent=function(){return navigator.userAgent};var r=/windows phone|iemobile|wpdesktop/i;t.features.isFingerprintSupported=function(){var e=t.fingerprint._getUserAgent();return e&&!r.test(e)},t.emitter=new a,t.tokenManager=new m(t,e.tokenManager),t.tokenManager.on("error",this._onTokenManagerError,this)}var o=n(7),i=n(8),a=n(17),s=n(1),l=n(18),u=n(2),c=n(4).storage,f=n(3),d=n(10),p=n(21),h=n(22),m=n(26),g=n(9),v=n(0),y=r.prototype;y._onTokenManagerError=function(e){"login_required"===e.errorCode&&e.accessToken&&this.options.onSessionExpired&&this.options.onSessionExpired()},y.features={},y.features.isPopupPostMessageSupported=function(){var e=document.documentMode&&document.documentMode<10;return!(!window.postMessage||e)},y.features.isTokenVerifySupported=function(){return"undefined"!=typeof crypto&&crypto.subtle&&"undefined"!=typeof Uint8Array},y.features.hasTextEncoder=function(){return"undefined"!=typeof TextEncoder},y.features.isPKCESupported=function(){return y.features.isTokenVerifySupported()&&y.features.hasTextEncoder()},y.features.isHTTPS=function(){return"https:"===window.location.protocol},y.features.isLocalhost=function(){return"localhost"===window.location.hostname},y.signIn=function(e){function t(t){return delete e.sendFingerprint,g.postToTransaction(n,"/api/v1/authn",e,t)}var n=this;return e=v.clone(e||{}),e.sendFingerprint?n.fingerprint().then(function(e){return t({headers:{"X-Device-Fingerprint":e}})}):t()},y.closeSession=function(){var e=this;return e.tokenManager.clear(),e.session.close().catch(function(e){if("AuthApiError"!==e.name||"E0000007"!==e.errorCode)throw e})},y.revokeAccessToken=function(){function e(e){return t.apply(this,arguments)}var t=i(o.mark(function e(t){var n;return o.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=this,t){e.next=5;break}return e.next=4,n.tokenManager.get("accessToken");case 4:t=e.sent;case 5:if(t){e.next=7;break}return e.abrupt("return",Promise.resolve());case 7:return e.abrupt("return",n.token.revoke(t));case 8:case"end":return e.stop()}},e,this)}));return e}(),y.signOut=function(){var e=i(o.mark(function e(t){var n,r,i,a,s,l,u,c,f,p;return o.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=v.extend({},t),n=window.location.origin,r=t.postLogoutRedirectUri||this.options.postLogoutRedirectUri||n,i=t.accessToken,a=!1!==t.revokeAccessToken,s=t.idToken,l=this,u=d.getOAuthUrls(l).logoutUrl,void 0!==s){e.next=12;break}return e.next=11,l.tokenManager.get("idToken");case 11:s=e.sent;case 12:if(!a||void 0!==i){e.next=16;break}return e.next=15,l.tokenManager.get("token");case 15:i=e.sent;case 16:if(l.tokenManager.clear(),!a||!i){e.next=20;break}return e.next=20,l.revokeAccessToken(i);case 20:if(s){e.next=22;break}return e.abrupt("return",l.closeSession().then(function(){r===n?window.location.reload():window.location.assign(r)}));case 22:c=t.state,f=s.idToken,p=u+"?id_token_hint="+encodeURIComponent(f)+"&post_logout_redirect_uri="+encodeURIComponent(r),c&&(p+="&state="+encodeURIComponent(c)),window.location.assign(p);case 27:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),l.addSharedPrototypes(y),y.webfinger=function(e){var t="/.well-known/webfinger"+v.toQueryParams(e),n={headers:{Accept:"application/jrd+json"}};return f.get(this,t,n)},y.fingerprint=function(e){e=e||{};var t=this;if(!t.features.isFingerprintSupported())return Promise.reject(new s("Fingerprinting is not supported on this device"));var n,r,o;return new Promise(function(i,a){r=document.createElement("iframe"),r.style.display="none",o=function(e){if(e&&e.data&&e.origin===t.getIssuerOrigin()){try{var n=JSON.parse(e.data)}catch(e){return a(new s("Unable to parse iframe response"))}if(n)return"FingerprintAvailable"===n.type?i(n.fingerprint):void("FingerprintServiceReady"===n.type&&e.source.postMessage(JSON.stringify({type:"GetFingerprint"}),e.origin))}},d.addListener(window,"message",o),r.src=t.getIssuerOrigin()+"/auth/services/devicefingerprint",document.body.appendChild(r),n=setTimeout(function(){a(new s("Fingerprinting timed out"))},e.timeout||15e3)}).finally(function(){clearTimeout(n),d.removeListener(window,"message",o),document.body.contains(r)&&r.parentElement.removeChild(r)})},e.exports=l.buildOktaAuth(r)},function(e,t,n){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){function t(r,o,i,a){var s=n(e[r],e,o);if("throw"!==s.type){var l=s.arg,u=l.value;return u&&"object"==typeof u&&v.call(u,"__await")?Promise.resolve(u.__await).then(function(e){t("next",e,i,a)},function(e){t("throw",e,i,a)}):Promise.resolve(u).then(function(e){l.value=e,i(l)},function(e){return t("throw",e,i,a)})}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,o){t(e,n,r,o)})}return o=o?o.then(r,r):r()}var o;this._invoke=r}function l(e,t,r){var o=x;return function(i,a){if(o===E)throw new Error("Generator is already running");if(o===T){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=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=E;var c=n(e,t,r);if("normal"===c.type){if(o=r.done?T:S,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(o=T,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(v.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,g=Object.prototype,v=g.hasOwnProperty,y="function"==typeof Symbol?Symbol:{},b=y.iterator||"@@iterator",_=y.asyncIterator||"@@asyncIterator",w=y.toStringTag||"@@toStringTag";e.wrap=t;var x="suspendedStart",S="suspendedYield",E="executing",T="completed",k={},C={};C[b]=function(){return this};var O=Object.getPrototypeOf,A=O&&O(O(p([])));A&&A!==g&&v.call(A,b)&&(C=A);var N=i.prototype=r.prototype=Object.create(C);return o.prototype=N.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(N),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){var a=new s(t(n,r,o,i));return e.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},a(N),N[w]="Generator",N[b]=function(){return this},N.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)&&v.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=v.call(o,"catchLoc"),s=v.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&&v.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){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=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;for(r;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){function r(e){if(!e)throw new s("No arguments passed to constructor. Required usage: new OktaAuth(args)");var t=e.issuer;if(!t)throw new s('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 s('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==t.indexOf("-admin."))throw new s('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 s('UserAgentTemplate must include "$OKTA_AUTH_JS" placeholder. Required usage: new OktaAuth({userAgentTemplate: "xxx $OKTA_AUTH_JS xxx"})')}function o(e){e.getIssuerOrigin=function(){return this.options.issuer.split("/oauth2/")[0]},e.forgotPassword=function(e){return l.postToTransaction(this,"/api/v1/authn/recovery/password",e)},e.unlockAccount=function(e){return l.postToTransaction(this,"/api/v1/authn/recovery/unlock",e)},e.verifyRecoveryToken=function(e){return l.postToTransaction(this,"/api/v1/authn/recovery/token",e)}}function i(e){return function(t,n){function r(o){if(!(this instanceof r))return new r(o);o&&(o.storageUtil=t,o.ajaxRequest?(u.deprecate("ajaxRequest is being deprecated, use httpRequestClient attribute instead."),o.httpRequestClient=o.ajaxRequest):o.httpRequestClient||(o.httpRequestClient=n)),u.bind(e,this)(o)}return r.prototype=e.prototype,r.prototype.constructor=r,r.features=e.prototype.features,r}}function a(e,t){var n=e.userAgent;return n?n.value?n.value:n.template?n.template.replace("$OKTA_AUTH_JS","okta-auth-js/".concat(t)):"":""}var s=n(1),l=n(9),u=n(0);e.exports={addSharedPrototypes:o,buildOktaAuth:i,assertValidConfig:r,getUserAgent:a}},function(e,t){function n(e,t){this.name="AuthApiError",this.message=e.errorSummary,this.errorSummary=e.errorSummary,this.errorCode=e.errorCode,this.errorLink=e.errorLink,this.errorId=e.errorId,this.errorCauses=e.errorCauses,t&&(this.xhr=t)}n.prototype=new Error,e.exports=n},function(e,t){function n(){this.name="AuthPollStopError",this.message="The poll was stopped by the sdk"}n.prototype=new Error,e.exports=n},function(e,t,n){function r(e){return e.session.get().then(function(e){return"ACTIVE"===e.status}).catch(function(){return!1})}function o(e){return u.get(e,"/api/v1/sessions/me").then(function(t){var n=l.omit(t,"_links");return n.refresh=function(){return u.post(e,l.getLink(t,"refresh").href)},n.user=function(){return u.get(e,l.getLink(t,"user").href)},n}).catch(function(){return{status:"INACTIVE"}})}function i(e){return u.httpRequest(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE"})}function a(e){return u.post(e,"/api/v1/sessions/me/lifecycle/refresh")}function s(e,t,n){n=n||window.location.href,window.location=e.getIssuerOrigin()+"/login/sessionCookieRedirect"+l.toQueryParams({checkAccountSetupComplete:!0,token:t,redirectUrl:n})}var l=n(0),u=n(3);e.exports={sessionExists:r,getSession:o,closeSession:i,refreshSession:a,setCookieAndRedirect:s}},function(e,t,n){function r(e,t){return Promise.resolve().then(function(){if(!t||!t.accessToken)throw new I("A valid access token object is required");var n=e.options.clientId;if(!n)throw new I("A clientId must be specified in the OktaAuth constructor to revoke a token");var r=A.getOAuthUrls(e).revokeUrl,o=t.accessToken,i=O.toQueryParams({token_type_hint:"access_token",token:o}).slice(1),a=btoa(n);return C.post(e,r,i,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+a}})})}function o(e){var t,n=e.split(".");try{t={header:JSON.parse(O.base64UrlToString(n[0])),payload:JSON.parse(O.base64UrlToString(n[1])),signature:n[2]}}catch(e){throw new I("Malformed token")}return t}function i(e,t,n){return Promise.resolve().then(function(){if(!t||!t.idToken)throw new I("Only idTokens may be verified");var r=o(t.idToken),i={clientId:e.options.clientId,issuer:e.options.issuer,ignoreSignature:e.options.ignoreSignature};return O.extend(i,n),A.validateClaims(e,r.payload,i),1!=i.ignoreSignature&&e.features.isTokenVerifySupported()?A.getKey(e,t.issuer,r.header.kid).then(function(e){return N.verifyToken(t.idToken,e)}).then(function(e){if(!e)throw new I("The token signature is not valid");if(n.accessToken&&t.claims.at_hash)return N.getOidcHash(n.accessToken).then(function(e){if(e!==t.claims.at_hash)throw new I("Token hash verification failed")})}).then(function(){return t}):t})}function a(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 I("The request does not match client configuration")):void i(t.data)},A.addListener(window,"message",r),o=setTimeout(function(){a(new I("OAuth flow timed out"))},t||12e4)}).finally(function(){clearTimeout(o),A.removeListener(window,"message",r)})}function s(e,t,n){var r;return new Promise(function(e,o){function i(){try{t&&t.location&&t.location.hash?e(A.hashToObject(t.location.hash)):t&&!t.closed&&setTimeout(i,500)}catch(e){setTimeout(i,500)}}i(),r=setTimeout(function(){o(new I("OAuth flow timed out"))},n||12e4)}).finally(function(){clearTimeout(r)})}function l(e,t,n,r){var o=L.loadMeta(e),i={clientId:t.clientId,authorizationCode:n,codeVerifier:o.codeVerifier,redirectUri:o.redirectUri};return L.getToken(e,i,r).then(function(e){return u(e,i),e}).finally(function(){L.clearMeta(e)})}function u(e,t){if(e.error||e.error_description)throw new R(e.error,e.error_description);if(e.state!==t.state)throw new I("OAuth flow response state doesn't match request state")}function c(e,t,n,r){r=r||{};var o=t.responseType;Array.isArray(o)||(o=[o]);var a=O.clone(t.scopes),s=t.clientId||e.options.clientId,c=!1!==e.options.pkce;return Promise.resolve().then(function(){return u(n,t),n.code&&c?(o=["token","id_token"],l(e,t,n.code,r)):n}).then(function(n){var o={},l=n.expires_in,u=n.token_type,c=n.access_token,f=n.id_token;if(c&&(o.accessToken={value:c,accessToken:c,expiresAt:Number(l)+Math.floor(Date.now()/1e3),tokenType:u,scopes:a,authorizeUrl:r.authorizeUrl,userinfoUrl:r.userinfoUrl}),f){var d=e.token.decode(f),p={value:f,idToken:f,claims:d.payload,expiresAt:d.payload.exp,scopes:a,authorizeUrl:r.authorizeUrl,issuer:r.issuer,clientId:s},h={clientId:s,issuer:r.issuer,nonce:t.nonce,accessToken:c};return void 0!==t.ignoreSignature&&(h.ignoreSignature=t.ignoreSignature),i(e,p,h).then(function(){return o.idToken=p,o})}return o}).then(function(e){if(-1!==o.indexOf("token")&&!e.accessToken)throw new I('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');if(-1!==o.indexOf("id_token")&&!e.idToken)throw new I('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 f(e){return{pkce:e.options.pkce,clientId:e.options.clientId,redirectUri:e.options.redirectUri||window.location.href,responseType:["token","id_token"],responseMode:e.options.responseMode,state:A.generateState(),nonce:A.generateNonce(),scopes:["openid","email"],ignoreSignature:e.options.ignoreSignature}}function d(e){if(!e.clientId)throw new I("A clientId must be specified in the OktaAuth constructor to get a token");if(O.isString(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new I("Multiple OAuth responseTypes must be defined as an array");var t=O.removeNils({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(["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 I("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}function p(e){var t=d(e);return O.toQueryParams(t)}function h(e,t){return arguments.length>2?Promise.reject(new I('As of version 3.0, "getToken" takes only a single set of options')):(t=t||{},v(e,t).then(function(n){function r(e){return/^(https?\:\/\/)?([^:\/?#]*(?:\:[0-9]+)?)/.exec(e)[0]}var o={prompt:"none",responseMode:"okta_post_message",display:null},i={display:"popup"};t.sessionToken?O.extend(n,o):t.idp&&O.extend(n,i);var l,u,f;switch(f=A.getOAuthUrls(e,n),u=t.codeVerifier?f.tokenUrl:f.authorizeUrl,l=u+p(n),n.sessionToken||null===n.display?"IFRAME":"popup"===n.display?"POPUP":"IMPLICIT"){case"IFRAME":var d=a(e,t.timeout,n.state),h=A.loadFrame(l);return d.then(function(t){return c(e,n,t,f)}).finally(function(){document.body.contains(h)&&h.parentElement.removeChild(h)});case"POPUP":var m;if("okta_post_message"===n.responseMode){if(!e.features.isPopupPostMessageSupported())throw new I("This browser doesn't have full postMessage support");m=a(e,t.timeout,n.state)}var g={popupTitle:t.popupTitle},v=A.loadPopup(l,g);if("fragment"===n.responseMode){var y=r(e.idToken.authorize._getLocationHref()),b=r(n.redirectUri);if(y!==b)throw new I("Using fragment, the redirectUri origin ("+b+") must match the origin of this page ("+y+")");m=s(e,v,t.timeout)}return new Promise(function(e,t){var n=setInterval(function(){v&&!v.closed||(clearInterval(n),t(new I("Unable to parse OAuth flow response")))},100);m.then(function(t){clearInterval(n),e(t)}).catch(function(e){clearInterval(n),t(e)})}).then(function(t){return c(e,n,t,f)}).finally(function(){v&&!v.closed&&v.close()});default:throw new I("The full page redirect flow is not supported")}}))}function m(e,t){return arguments.length>2?Promise.reject(new I('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=O.clone(t)||{},O.extend(t,{prompt:"none",responseMode:"okta_post_message",display:null}),h(e,t))}function g(e,t){return arguments.length>2?Promise.reject(new I('As of version 3.0, "getWithPopup" takes only a single set of options')):(t=O.clone(t)||{},O.extend(t,{display:"popup",responseMode:"okta_post_message"}),h(e,t))}function v(e,t){t=O.clone(t)||{};var n=f(e);if(O.extend(n,t),!1===n.pkce)return Promise.resolve(n);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 I(r))}return n.codeChallengeMethod||(n.codeChallengeMethod=L.DEFAULT_CODE_CHALLENGE_METHOD),n.responseType="code",A.getWellKnown(e,null).then(function(e){if(-1===(e.code_challenge_methods_supported||[]).indexOf(n.codeChallengeMethod))throw new I("Invalid code_challenge_method")}).then(function(){var t=L.generateVerifier(n.codeVerifier),r={codeVerifier:t,redirectUri:n.redirectUri};return L.saveMeta(e,r),L.computeChallenge(t)}).then(function(e){var t=O.clone(n)||{};return O.extend(t,n,{codeChallenge:e}),t})}function y(e,t){return arguments.length>2?Promise.reject(new I('As of version 3.0, "getWithRedirect" takes only a single set of options')):(t=O.clone(t)||{},v(e,t).then(function(n){var r=A.getOAuthUrls(e,t),o=r.authorizeUrl+p(n);M.set(P.REDIRECT_OAUTH_PARAMS_COOKIE_NAME,JSON.stringify({responseType:n.responseType,state:n.state,nonce:n.nonce,scopes:n.scopes,clientId:n.clientId,urls:r,ignoreSignature:n.ignoreSignature}),null,e.options.cookies),M.set(P.REDIRECT_NONCE_COOKIE_NAME,n.nonce,null,e.options.cookies),M.set(P.REDIRECT_STATE_COOKIE_NAME,n.state,null,e.options.cookies),e.token.getWithRedirect._setLocation(o)}))}function b(e,t){if(!A.isToken(t))return Promise.reject(new I("Renew must be passed a token with an array of scopes and an accessToken or idToken"));var n;return n=e.options.pkce?"code":t.accessToken?"token":"id_token",e.token.getWithoutPrompt({responseType:n,scopes:t.scopes,authorizeUrl:t.authorizeUrl,userinfoUrl:t.userinfoUrl,issuer:t.issuer}).then(function(e){var n=e.tokens;return t.idToken?n.idToken:n.accessToken})}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=""}function w(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=""}function x(e,t){t=t||{},O.isString(t)&&(t={url: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 I("Unable to parse a token from the url"));var s=M.get(P.REDIRECT_OAUTH_PARAMS_COOKIE_NAME);if(!s)return Promise.reject(new I("Unable to retrieve OAuth redirect params cookie"));try{var l=JSON.parse(s),u=l.urls;delete l.urls,M.delete(P.REDIRECT_OAUTH_PARAMS_COOKIE_NAME)}catch(e){return Promise.reject(new I("Unable to parse the "+P.REDIRECT_OAUTH_PARAMS_COOKIE_NAME+" cookie: "+e.message))}return Promise.resolve(A.urlParamsToObject(n)).then(function(t){return o||("query"===i?w(e):_(e)),c(e,l,t,u)})}function S(e,t,n){return E.apply(this,arguments)}function E(){return E=k(T.mark(function e(t,n,r){return T.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}return e.next=3,t.tokenManager.get("accessToken");case 3:n=e.sent;case 4:if(r){e.next=8;break}return e.next=7,t.tokenManager.get("idToken");case 7:r=e.sent;case 8:if(n&&(A.isToken(n)||n.accessToken||n.userinfoUrl)){e.next=10;break}return e.abrupt("return",Promise.reject(new I("getUserInfo requires an access token object")));case 10:if(r&&(A.isToken(r)||r.idToken)){e.next=12;break}return e.abrupt("return",Promise.reject(new I("getUserInfo requires an ID token object")));case 12:return e.abrupt("return",C.httpRequest(t,{url:n.userinfoUrl,method:"GET",accessToken:n.accessToken}).then(function(e){return e.sub===r.claims.sub?e:Promise.reject(new I("getUserInfo request was rejected due to token mismatch"))}).catch(function(e){if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)){var t;if(e.xhr.headers&&O.isFunction(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):O.isFunction(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 R(o,i))}}throw e}));case 13:case"end":return e.stop()}},e)})),E.apply(this,arguments)}var T=n(7),k=n(8),C=n(3),O=n(0),A=n(10),N=n(23),I=n(1),R=n(24),P=n(2),M=n(4).storage,L=n(25);e.exports={revokeToken:r,getToken:h,getWithoutPrompt:m,getWithPopup:g,getWithRedirect:y,parseFromUrl:x,decodeToken:o,renewToken:b,getUserInfo:S,verifyToken:i,handleOAuthResponse:c,prepareOauthParams:v}},function(e,t,n){function r(e){var t=(new TextEncoder).encode(e);return crypto.subtle.digest("SHA-256",t).then(function(e){var t=new Uint8Array(e),n=t.slice(0,16),r=String.fromCharCode.apply(null,n);return i.stringToBase64Url(r)})}function o(e,t){t=i.clone(t);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},r=["verify"];return delete t.use,crypto.subtle.importKey("jwk",t,n,!0,r).then(function(t){var r=e.split("."),o=i.stringToBuffer(r[0]+"."+r[1]),a=i.base64UrlDecode(r[2]),s=i.stringToBuffer(a);return crypto.subtle.verify(n,t,s,o)})}var i=n(0);e.exports={getOidcHash:r,verifyToken:o}},function(e,t){function n(e,t){this.name="OAuthError",this.message=t,this.errorCode=e,this.errorSummary=t}n.prototype=new Error,e.exports=n},function(e,t,n){function r(e){return("0"+e.toString(16)).substr(-2)}function o(e){var t=new Uint8Array(Math.ceil(e/2));return crypto.getRandomValues(t),Array.from(t,r).join("").slice(0,e)}function i(e){var t=e||"";return t.length<v&&(t+=o(v-t.length)),encodeURIComponent(t).slice(0,y)}function a(e){return e.options.storageUtil.getPKCEStorage(e.options.cookies)}function s(e,t){a(e).setStorage(t)}function l(e){return a(e).getStorage()}function u(e){a(e).clearStorage()}function c(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 g.stringToBase64Url(t)})}function f(e){if(!e.clientId)throw new h("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new h("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode)throw new h("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new h('The "codeVerifier" (generated and saved by your app) must be passed to /token')}function d(e){var t=g.removeNils({client_id:e.clientId,redirect_uri:e.redirectUri,grant_type:"authorization_code",code:e.authorizationCode,code_verifier:e.codeVerifier});return g.toQueryParams(t).slice(1)}function p(e,t,n){f(t);var r=d(t);return m.httpRequest(e,{url:n.tokenUrl,method:"POST",args:r,withCredentials:!1,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}var h=n(1),m=n(3),g=n(0),v=43,y=128;e.exports={DEFAULT_CODE_CHALLENGE_METHOD:"S256",generateVerifier:i,clearMeta:u,saveMeta:s,loadMeta:l,computeChallenge:c,getToken:p}},function(e,t,n){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){e.emitter.emit("expired",t,n)}function a(e,t){e.emitter.emit("error",t)}function s(e,t){clearTimeout(e.expireTimeouts[t]),delete e.expireTimeouts[t],delete e.renewPromise[t]}function l(e){var t=e.expireTimeouts;for(var n in t)t.hasOwnProperty(n)&&s(e,n)}function u(e,t,n,o){var a=r(t,o),l=1e3*Math.max(a-t.clock.now(),0);s(t,n);var u=setTimeout(function(){i(t,n,o)},l);t.expireTimeouts[n]=u}function c(e,t,n){try{var r=n.getStorage()}catch(e){return void a(t,e)}for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];u(e,t,o,i)}}function f(e,t,n,r,o){var i=n.getStorage();if(!b.isObject(o)||!o.scopes||!o.expiresAt&&0!==o.expiresAt||!o.idToken&&!o.accessToken)throw new _("Token must be an Object with scopes, expiresAt, and an idToken or accessToken properties");i[r]=o,n.setStorage(i),u(e,t,r,o)}function d(e,t){return e.getStorage()[t]}function p(e,t,n,r){return new Promise(function(i){var a=d(n,r);return i(a&&o(t,a)?t.options.autoRenew?m(e,t,n,r):h(t,n,r):a)})}function h(e,t,n){s(e,n);var r=t.getStorage();delete r[n],t.setStorage(r)}function m(e,t,n,r){var o=t.renewPromise[r];if(o)return o;try{var i=d(n,r);if(!i)throw new _("The tokenManager has no token for the key: "+r)}catch(e){return Promise.reject(e)}return s(t,r),t.renewPromise[r]=e.token.renew(i).then(function(o){var i=d(n,r);if(i)return f(e,t,n,r,o),t.emitter.emit("renewed",r,o,i),o}).catch(function(e){throw"OAuthError"!==e.name&&"AuthSdkError"!==e.name||(h(t,n,r),e.tokenKey=r,e.accessToken=!!i.accessToken,a(t,e)),e}).finally(function(){delete t.renewPromise[r]}),t.renewPromise[r]}function g(e,t){l(e),t.clearStorage()}function v(e,t){t=b.extend({},T,b.removeNils(t)),"localStorage"!==t.storage||w.browserHasLocalStorage()||(b.warn("This browser doesn't support localStorage. Switching to sessionStorage."),t.storage="sessionStorage"),"sessionStorage"!==t.storage||w.browserHasSessionStorage()||(b.warn("This browser doesn't support sessionStorage. Switching to cookie-based storage."),t.storage="cookie");var n;if("object"===y(t.storage))n=t.storage;else switch(t.storage){case"localStorage":n=localStorage;break;case"sessionStorage":n=sessionStorage;break;case"cookie":n=w.getCookieStorage(e.options.cookies);break;case"memory":n=w.getInMemoryStorage();break;default:throw new _("Unrecognized storage option")}var r=t.storageKey||x.TOKEN_STORAGE_NAME,o=S(n,r),i=E.create(e,t),a={clock:i,options:t,emitter:e.emitter,expireTimeouts:{},renewPromise:{}};this.add=b.bind(f,this,e,a,o),this.get=b.bind(p,this,e,a,o),this.remove=b.bind(h,this,a,o),this.clear=b.bind(g,this,a,o),this.renew=b.bind(m,this,e,a,o),this.on=b.bind(a.emitter.on,a.emitter),this.off=b.bind(a.emitter.off,a.emitter),c(e,a,o)}var y=n(5),b=n(0),_=n(1),w=n(4),x=n(2),S=n(6),E=n(27),T={autoRenew:!0,storage:"localStorage",expireEarlySeconds:30};e.exports=v},function(e,t,n){function r(e){this.localOffset=parseInt(e||0)}n(0).extend(r.prototype,{now:function(){return(Date.now()+this.localOffset)/1e3}}),r.create=function(){return new r(0)},e.exports=r}])})},function(e,t,n){"use strict";var r,o;r=[n(715),n(765),n(345),n(775),n(781),n(782),n(793),n(797),n(798),n(799),n(800),n(808),n(809),n(810),n(811),n(812),n(814),n(815),n(816),n(817),n(818),n(819),n(821),n(822),n(358),n(823),n(824),n(825),n(826),n(827),n(828),n(830),n(832),n(833),n(834),n(835),n(836),n(837),n(838),n(839),n(840),n(841),n(842),n(843),n(844),n(845),n(846),n(850),n(851),n(854),n(320),n(858),n(861),n(862)],void 0!==(o=function(e,t,n,r,o,i,a,s,l,u,c,f,d,p,h,m,g,v,y,b,_,w,x,S,E,T,k,C,O,A,N,I,R,P,M,L,D,F,U,j,B,q,V,H,W,$,z,G,K,Y,J,Q,X,Z){return e.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/consent":"consentRequired","signin/enroll-user":"enrollUser","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete","verifyPIV"],defaultAuth:function(){this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth()},idpDiscovery:function(){this.render(t,{Beacon:J})},primaryAuth:function(){this.render(n,{Beacon:J})},verifyDuo:function(){this.render(r,{provider:"DUO",factorType:"web",Beacon:Q})},verifyPIV:function(){this.render(o,{Beacon:X})},poll:function(){this.render(Z)},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(l,{provider:"FIDO",factorType:"webauthn",Beacon:Q}):this.render(a,{provider:"FIDO",factorType:"webauthn",Beacon:Q})},verifyU2F:function(){this.render(s,{provider:"FIDO",factorType:"u2f",Beacon:Q})},verifySAMLFactor:function(){this.render(u,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:Q})},verifyOIDCFactor:function(){this.render(u,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:Q})},verifyClaimsFactor:function(){this.render(u,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Q})},verify:function(e,t,n){this.render(i,{provider:e.toUpperCase(),factorType:t,factorIndex:n,Beacon:Q})},verifyNoProvider:function(e){this.render(i,{factorType:e,Beacon:Q})},enrollChoices:function(){this.render(c,{Beacon:J})},enrollDuo:function(){this.render(f,{provider:"DUO",factorType:"web",Beacon:Q})},enrollQuestion:function(){this.render(d,{provider:"OKTA",factorType:"question",Beacon:Q})},enrollPassword:function(){this.render(p,{provider:"OKTA",factorType:"password",Beacon:Q})},enrollSms:function(){this.render(m,{provider:"OKTA",factorType:"sms",Beacon:Q})},enrollCall:function(){this.render(m,{provider:"OKTA",factorType:"call",Beacon:Q})},enrollEmail:function(){this.render(g,{provider:"OKTA",factorType:"email",Beacon:Q})},enrollActivateEmail:function(){this.render(v,{provider:"OKTA",factorType:"email",Beacon:Q})},enrollRsa:function(){this.render(y,{provider:"RSA",factorType:"token",Beacon:Q})},enrollOnPrem:function(){this.render(y,{provider:"DEL_OATH",factorType:"token",Beacon:Q})},enrollSymantecVip:function(){this.render(b,{provider:"SYMANTEC",factorType:"token",Beacon:Q})},enrollYubikey:function(){this.render(_,{provider:"YUBICO",factorType:"token:hardware",Beacon:Q})},enrollSAMLFactor:function(){this.render(E,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:Q})},enrollOIDCFactor:function(){this.render(E,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:Q})},enrollClaimsFactor:function(){this.render(E,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Q})},enrollActivateClaimsFactor:function(){this.render(T,{provider:"CUSTOM",factorType:"claims_provider",Beacon:Q})},enrollTotpFactor:function(e,t){this.render(w,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},enrollHotpFactor:function(){this.render(k,{provider:"CUSTOM",factorType:"token:hotp",Beacon:Q})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(S,{provider:"FIDO",factorType:"webauthn",Beacon:Q}):this.render(h,{provider:"FIDO",factorType:"webauthn",Beacon:Q})},enrollU2F:function(){this.render(x,{provider:"FIDO",factorType:"u2f",Beacon:Q})},scanBarcodeTotpFactor:function(e,t){this.render(C,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},scanBarcodePushFactor:function(){this.render(O,{provider:"OKTA",factorType:"push",Beacon:Q})},activateTotpFactor:function(e,t){this.render(A,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},manualSetupTotpFactor:function(e,t){this.render(N,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},manualSetupPushFactor:function(){this.render(I,{provider:"OKTA",factorType:"push",Beacon:Q})},activationLinkSent:function(){this.render(R,{provider:"OKTA",factorType:"push",Beacon:Q})},enterPasscodeInPushEnrollmentFlow:function(){this.render(P,{provider:"OKTA",factorType:"token:software:totp",Beacon:Q})},passwordExpired:function(){this.render(M,{Beacon:J})},customPasswordExpired:function(){this.render(L,{Beacon:J})},forgotPassword:function(){this.render(D)},recoveryChallenge:function(){this.render(F,{Beacon:J})},recoveryEmailSent:function(){this.render(U,{Beacon:J})},unlockEmailSent:function(){this.render(W,{Beacon:J})},recoveryQuestion:function(){this.render(j,{Beacon:J})},passwordReset:function(){this.render(B,{Beacon:J})},recoveryLoading:function(e){this.render(q,{token:e,Beacon:J})},unlockAccount:function(){this.render(V)},accountUnlocked:function(){this.render(H,{Beacon:J})},refreshAuthState:function(e){this.render($,{token:e,Beacon:J})},register:function(){this.render(z)},registerComplete:function(){this.render(G)},consentRequired:function(){this.render(K)},enrollUser:function(){this.render(Y)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(82)),l=i(n(24));r=[n(0),n(75),n(317),n(319),n(320),n(332),n(736),n(344),n(48),n(173),n(56),n(21),n(10),n(125),n(63)],void 0!==(o=function(e,t,n,r,o,i,u,c,f,d,p,h,m,g,v){function y(e,t){return(0,l.default)(w).call(w,e.stateLessRouteHandlers,function(n){return t===e[n]})}function b(e,t){return!!e&&(e!==o||t.get("features.securityImage"))}function _(e,t,n,r){var o=(0,s.default)(function(){e.trigger("loading",!0)},200);return g.loadLanguage(e.get("languageCode"),t,{baseUrl:n,rewrite:r}).then(function(){clearTimeout(o),e.trigger("loading",!1)})}var w=e._,x=e.$,S=e.Backbone;return e.Router.extend({Events:S.Events,initialize:function(t){t.globalSuccessFn||(t.globalSuccessFn=function(){}),t.globalErrorFn||(t.globalErrorFn=function(e){v.error(e)}),this.settings=new n(w.omit(t,"el","authClient"),{parse:!0}),this.settings.setAuthClient(t.authClient),t.el||this.settings.callGlobalError(new p.ConfigError(e.loc("error.required.el"))),x("body > div").on("click",function(){}),this.appState=new u({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var o=new i({appState:this.appState});e.$(t.el).append(o.render().$el),this.el="#".concat(m.WIDGET_CONTAINER_ID),this.header=new r({el:this.el,appState:this.appState,settings:this.settings}),this.listenTo(this.appState,"change:transactionError",function(e,t){f.routeAfterAuthStatusChangeError(this,t)}),this.listenTo(this.appState,"change:transaction",function(e,t){f.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(f.createRecoveryUrl(n),{trigger:!0});var r=this.settings.get("stateToken");if(r)return this.settings.unset("stateToken"),void this.navigate(f.createRefreshUrl(r),{trigger:!0});var o=this.appState.get("transaction");return o&&o.data||y(this,e)?void e.apply(this,t):this.settings.getAuthClient().tx.exists()?void this.navigate(f.createRefreshUrl(),{trigger:!0}):void this.navigate("",{trigger:!0})},navigate:function(t,n){return this.settings.get("features.router")?e.Router.prototype.navigate.apply(this,arguments):n&&n.trigger?S.history.loadUrl(t):void 0},render:function(t,n){n||(n={});var r=n.Beacon,o=w.extend({settings:this.settings,appState:this.appState},w.omit(n,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!g.isLoaded(this.appState.get("languageCode")))return _(this.appState,this.settings.get("i18n"),this.settings.get("assets.baseUrl"),this.settings.get("assets.rewrite")).then((0,a.default)(w).call(w,this.render,this,t,n));if(this.settings.get("colors.brand")&&!c.isLoaded()){var i={brand:this.settings.get("colors.brand")};c.addStyle(i)}var s=this.controller;return this.controller=new t(o),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then((0,a.default)(w).call(w,function(){return b(r,this.settings)||(r=null),this.header.setBeacon(r,o),this.controller.render(),s?d.swapPages({$parent:this.el,$oldRoot:s.$el,$newRoot:this.controller.$el,dir:s.state.get("navigateDir"),ctx:this,success:function(){var t=this.appState.get("flashError"),n=this.controller.model;s.remove(),s.$el.remove(),this.controller.postRenderAnimation(),t&&(n.trigger("error",n,{responseJSON:{errorSummary:e.loc("error.expired.session")}}),this.appState.unset("flashError"),h.triggerAfterError(this.controller,t))}}):(this.el.append(this.controller.el),void this.controller.postRenderAnimation())},this)).catch(function(){s&&(s.remove(),s.$el.remove())})},start:function(){var n=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",(0,a.default)(w).call(w,function(e){this.controller.back&&(e.preventDefault(),e.stopImmediatePropagation(),this.controller.back())},this)),n=t.supportsPushState()),e.Router.prototype.start.call(this,{pushState:n})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller.remove(),this.header.$el.remove(),g.remove(),S.history.stop()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(717)},function(e,t,n){var r=n(301);e.exports=r},function(e,t,n){var r=n(304);n(719),n(720),n(721),n(722),n(723),e.exports=r},function(e,t,n){n(35)("asyncDispose")},function(e,t,n){n(35)("dispose")},function(e,t,n){n(35)("observable")},function(e,t,n){n(35)("patternMatch")},function(e,t,n){n(35)("replaceAll")},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"/><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>'},useData:!0}),equals:function(e){return e&&this instanceof e}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(726)},function(e,t,n){var r=n(322);n(732),n(733),n(734),n(735),e.exports=r},function(e,t,n){"use strict";var r,o,i,a,s=n(5),l=n(62),u=n(22),c=n(72),f=n(323),d=n(124),p=n(174),h=n(89),m=n(728),g=n(31),v=n(59),y=n(175),b=n(106),_=n(286),w=n(91),x=n(326),S=n(327),E=n(328).set,T=n(729),k=n(330),C=n(730),O=n(139),A=n(177),N=n(80),I=n(279),R=n(23),P=n(219),M=R("species"),L="Promise",D=N.get,F=N.set,U=N.getterFor(L),j=f,B=u.TypeError,q=u.document,V=u.process,H=c("fetch"),W=O.f,$=W,z="process"==b(V),G=!!(q&&q.createEvent&&u.dispatchEvent),K=I(L,function(){if(_(j)===String(j)){if(66===P)return!0;if(!z&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!j.prototype.finally)return!0;if(P>=51&&/native code/.test(j))return!1;var e=j.resolve(1),t=function(e){e(function(){},function(){})},n=e.constructor={};return n[M]=t,!(e.then(function(){})instanceof t)}),Y=K||!x(function(e){j.all(e).catch(function(){})}),J=function(e){var t;return!(!g(e)||"function"!=typeof(t=e.then))&&t},Q=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;T(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;G?(r=q.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&&C("Unhandled promise rejection",n)},Z=function(e,t){E.call(u,function(){var n,r=t.value,o=ee(t);if(o&&(n=A(function(){z?V.emit("unhandledRejection",r,e):X("unhandledrejection",e,r)}),t.rejection=z||ee(t)?2:1,n.error))throw n.value})},ee=function(e){return 1!==e.rejection&&!e.parent},te=function(e,t){E.call(u,function(){z?V.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?T(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)}}};K&&(j=function(e){y(this,j,L),v(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){F(this,{type:L,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})},r.prototype=p(j.prototype,{then:function(e,t){var n=U(this),r=W(S(this,j));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=z?V.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)},O.f=W=function(e){return e===j||e===i?new o(e):$(e)},l||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",function(e,t){var n=this;return new j(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(j,H.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:K},{Promise:j}),h(j,L,!1,!0),m(L),i=c(L),s({target:L,stat:!0,forced:K},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),s({target:L,stat:!0,forced:l||K},{resolve:function(e){return k(l&&this===i?j: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=v(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=A(function(){var o=v(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(72),o=n(61),i=n(23),a=n(38),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(22),d=n(104).f,p=n(106),h=n(328).set,m=n(329),g=f.MutationObserver||f.WebKitMutationObserver,v=f.process,y=f.Promise,b="process"==p(v),_=d(f,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(b&&(e=v.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(){v.nextTick(r)}:g&&!m?(s=!0,l=document.createTextNode(""),new g(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(22);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(5),o=n(62),i=n(323),a=n(19),s=n(72),l=n(327),u=n(330),c=n(124);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(5),o=n(38),i=n(163),a=n(294),s=n(136),l=n(61),u=n(105),c=n(91),f=n(60),d=n(80),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(331)},function(e,t,n){"use strict";var r=n(5),o=n(139),i=n(177);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(5),o=n(59),i=n(72),a=n(139),s=n(177),l=n(91);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,o,i=n(1),a=i(n(316)),s=i(n(41)),l=i(n(28)),u=i(n(3));r=[n(0),n(36),n(178),n(75),n(56)],void 0!==(o=function(e,t,n,r,o){function i(e,n,r){if(p.isEmpty(n)||p.isUndefined(n))return t({securityImage:g,securityImageDescription:b});n=encodeURIComponent(n);var o=w({baseUrl:e,username:n}),i={url:o,dataType:"json"};return r&&(i.headers={"X-Device-Fingerprint":r}),t(h.ajax(i)).then(function(e){return e.pwdImg===m?{securityImage:v,securityImageDescription:y}:{securityImage:e.pwdImg,securityImageDescription:e.imageDescription||_}})}function c(t){if(t>60&&t<=1440){var n=t/60;return e.loc("hours","login",[n])}if(t>1440){var r=t/1440;return e.loc("days","login",[r])}return 1===t?e.loc("minutes.oneMinute","login"):e.loc("minutes","login",[t])}function f(e){var t=new Date(e).getTime();return Math.floor((t-(new Date).getTime())/864e5)}function d(e,t){var n=[],r=[];return p.each(t,function(t){var o=t.factorType;if(!p.contains(n,o)){var i=p.findWhere(e,{factorType:o});i?(n.push(o),r.push(i)):r.push(t)}}),r}var p=e._,h=e.$,m="/img/security/unknown.png",g="/img/security/default.png",v="/img/security/unknown-device.png",y="",b="",_="",w=u.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,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return u((i=null!=(i=c(n,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?i:s,"function"===(0,l.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="+u((i=null!=(i=c(n,"username")||(null!=t?c(t,"username"):t))?i:s,"function"===(0,l.default)(i)?i.call(a,{name:"username",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:48}}}):i))},useData:!0});return e.Model.extend({initialize:function(){if(this.settings.get("features.securityImage")){var t=this;this.listenTo(this,"change:username",function(n,a){i(this.get("baseUrl"),a,this.get("deviceFingerprint")).then(function(e){n.set("securityImage",e.securityImage),n.set("securityImageDescription",e.securityImageDescription),n.unset("deviceFingerprint")}).fail(function(n){if(!r.corsIsNotEnabled(n))throw n;t.settings.callGlobalError(new o.UnsupportedBrowserError(e.loc("error.enabled.cors")))}).done()})}},local:{baseUrl:"string",lastAuthResponse:["object",!0,{}],transaction:"object",transactionError:"object",introspectSuccess:"object",introspectError:"object",username:"string",factors:"object",policy:"object",securityImage:["string",!0,g],securityImageDescription:["string",!0,b],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 r=e._embedded.factors;e._embedded.factorTypes&&(r=d(e._embedded.factorTypes,r));var o=(0,s.default)(p).call(p,r,function(e){return e.settings=t.settings,e.appState=t,e});this.set("factors",new n.Collection(o,{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}},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&&p.isString(e.stateToken)&&(0,a.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=p.findWhere(e,{name:"sms"});return t?t.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=p.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?f(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||p.isEmpty(e.firstName)?t:p.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}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=p.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=p.findWhere(t,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===g}},isNewUser:{deps:["securityImage"],fn:function(e){return e===v}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(t){if(t&&t.rememberDeviceLifetimeInMinutes>0){var n=c(t.rememberDeviceLifetimeInMinutes);return e.loc("rememberDevice.timebased","login",[n])}return t&&0===t.rememberDeviceLifetimeInMinutes?e.loc("rememberDevice.devicebased","login"):e.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(t,n){return n?t.factorResultMessage||e.loc("oform.error.unexpected","login"):null}}},parse:function(e){return this.settings=e.settings,p.extend(p.omit(e,"settings"),{languageCode:this.settings.get("languageCode")})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(27)),s=i(n(90)),l=i(n(140)),u=i(n(17)),c=i(n(39)),f=i(n(334));r=[n(746),n(747)],void 0!==(o=function(e,t){var n={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},r=(0,f.default)(n),o=function(e){var t=(0,c.default)(r).call(r,function(t){return n[t]===e});return 1===t.length?t[0]:e};return{getTimeInHighestRelevantUnit:function(r,i){var c,d,p={days:0,hours:0,minutes:0,seconds:0,milliseconds:0},h=n[i]||i;try{var m=t((0,u.default)(p,(0,l.default)({},h,r)));d=e(m)}catch(e){d={}}var g,v,y=(0,s.default)(c=(0,f.default)(d)).call(c,function(e,t){return 0!==d[t]&&(e[t]=d[t]),e},{});if(1===(0,f.default)(y).length){var b;(0,a.default)(b=(0,f.default)(y)).call(b,function(e){v=y[e],g=e})}else v=r,g=h;return{time:v,unit:o(g)}}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(310);e.exports=r},function(e,t,n){var r=n(740);e.exports=r},function(e,t,n){n(741);var r=n(15);e.exports=r.Object.assign},function(e,t,n){var r=n(5),o=n(742);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){"use strict";var r=n(38),o=n(19),i=n(137),a=n(229),s=n(156),l=n(52),u=n(157),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),g=m.length,v=0;g>v;)p=m[v++],r&&!d.call(h,p)||(n[p]=h[p]);return n}:c},function(e,t,n){var r=n(744);e.exports=r},function(e,t,n){n(745);var r=n(15);e.exports=r.Object.keys},function(e,t,n){var r=n(5),o=n(52),i=n(137);r({target:"Object",stat:!0,forced:n(19)(function(){i(1)})},{keys:function(e){return i(o(e))}})},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=r(n(28)),i=r(n(16)),a=r(n(335)),s=r(n(343)),l=r(n(90)),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(336);e.exports=r},function(e,t,n){var r=n(282);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(337),i=n(233),a=n(231);e.exports=r},function(e,t,n){n(79),n(138);var r=n(338);e.exports=r},function(e,t,n){n(79),n(138);var r=n(753);e.exports=r},function(e,t,n){var r=n(81),o=n(23),i=n(110),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){var r=n(341);e.exports=r},function(e,t,n){var r=n(5),o=n(756);r({target:"Array",stat:!0,forced:!n(326)(function(e){Array.from(e)})},{from:o})},function(e,t,n){"use strict";var r=n(88),o=n(52),i=n(325),a=n(324),s=n(47),l=n(121),u=n(176);e.exports=function(e){var t,n,c,f,d,p,h=o(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,y=void 0!==v,b=u(h),_=0;if(y&&(v=r(v,g>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?v(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,v,[c.value,_],!0):c.value,l(n,_,p);return n.length=_,n}},function(e,t,n){e.exports=n(758)},function(e,t,n){var r=n(299);e.exports=r},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){var r=n(761);e.exports=r},function(e,t,n){n(762);var r=n(15);e.exports=r.Object.entries},function(e,t,n){var r=n(5),o=n(763).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(38),o=n(137),i=n(58),a=n(156).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={INVALID_TOKEN_EXCEPTION:"E0000011"}},function(e,t,n){"use strict";var r,o;r=[n(0),n(345),n(235),n(773),n(774),n(348),n(126),n(347)],void 0!==(o=function(e,t,n,r,o,i,a,s){return t.extend({className:"idp-discovery",View:r,constructor:function(e){e.appState.unset("username"),this.model=new o({requestContext:e.settings.get("idpDiscovery.requestContext"),settings:e.settings,appState:e.appState},{parse:!0}),a.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(s,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},initialize:function(){t.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",function(){if(this.settings.set("username",this.model.get("username")),this.settings.get("features.passwordlessAuth")){var e=new n({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")})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(767)],void 0!==(o=function(e){var t;return{track:function(n){try{t=new e,t.addTarget(n),t.start()}catch(e){}},getTypingPattern:function(){try{return t.getTypingPattern({type:1})}catch(e){return null}}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1),o=r(n(227)),i=r(n(168)),a=r(n(234)),s=r(n(16)),l=r(n(284)),u=r(n(335)),c=r(n(28)),f=r(n(120)),d=r(n(45)),p=r(n(165));/**
 * 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)),g=Math.round(e.math.sd(f)),v=h+p,y=e.math.rd((p+s)/(v+s),4),b=e.math.rd((1-y)/y,4),_=e.math.rd((m+s)/(p+s),4),w=e.math.rd((g+s)/(p+s),4),x=Math.round(6e4/(v+s));0==c&&(x=0);for(var S in o.arr){var E=o.arr[S][1].length,T=0,k=0,C=0,O=0,A=0,N=0;switch(o.arr[S][0].length){case 0:break;case 1:var T=e.math.rd((o.arr[S][0][0]+s)/(h+s),4);break;default:var I=e.math.fo(o.arr[S][0]);T=e.math.rd((e.math.avg(I)+s)/(h+s),4),O=e.math.rd((e.math.sd(I)+s)/(g+s),4)}switch(o.arr[S][1].length){case 0:break;case 1:var k=e.math.rd((o.arr[S][1][0]+s)/(p+s),4);break;default:var I=e.math.fo(o.arr[S][1]);k=e.math.rd((e.math.avg(I)+s)/(p+s),4),A=e.math.rd((e.math.sd(I)+s)/(m+s),4)}switch(o.arr[S][2].length){case 0:break;case 1:var C=e.math.rd((o.arr[S][2][0]+s)/(h+s),4);break;default:var I=e.math.fo(o.arr[S][2]);C=e.math.rd((e.math.avg(I)+s)/(h+s),4),N=e.math.rd((e.math.sd(I)+s)/(g+s),4)}delete o.arr[S][2],delete o.arr[S][1],delete o.arr[S][0],o.arr[S][0]=E,o.arr[S][1]=T,o.arr[S][2]=k,o.arr[S][3]=C,o.arr[S][4]=O,o.arr[S][5]=A,o.arr[S][6]=N}var I=[];e.apu(I,c),e.apu(I,x),e.apu(I,v),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,g);for(var R=0;R<=6;R++)for(var S=0;S<44;S++){var P=e.keyCodes[S],M=o.arr[P][R];0==M&&R>0&&(M=1),e.apu(I,M)}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,g=f.length,v=g;"string"==typeof n?v=n.length:"number"==typeof n&&n<g&&(v=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,v,y,e.history.getSpecialKeys()]),void 0!=n&&n.length>0&&"string"==typeof n)for(var b,_,w=n.toLowerCase(),x=n.toUpperCase(),S=[],E=0,h=0;h<n.length;h++){var T=n.charCodeAt(h);a||(b=x.charCodeAt(h),_=b!=T?b:w.charCodeAt(h));for(var k=E,C=g,O=!1;0==O;){for(var A=k;A<C;A++){var N=f[A],I=N[3];if(I==T||!a&&I==_){if(O=!0,A==E)E++,S=[];else{S.push(A);var R=S.length;R>1&&S[R-1]==S[R-2]+1&&(E=A+1,S=[])}var P=N[0],M=N[1],L=N[2];t?s.push([I,M,L,P]):s.push([M,L]);break}}if(0==O)if(0!=k)k=0,C=E;else if(O=!0,e.replaceMissingKeys){if(m++,"object"!==(0,c.default)(e.savedMissingAvgValues)||e.savedMissingAvgValues.historyLength!=g){var D=e.math.fo(e.history.get(0,"seek")),F=e.math.fo(e.history.get(0,"press")),M=Math.round(e.math.avg(D)),L=Math.round(e.math.avg(F));e.savedMissingAvgValues={seekTime:M,pressTime:L,historyLength:g}}else var M=e.savedMissingAvgValues.seekTime,L=e.savedMissingAvgValues.pressTime;t?s.push([T,M,L,T,1]):s.push([M,L,1]);break}}if(e.replaceMissingKeysPerc<100*m/v)return null}else{var U=0;"number"==typeof n&&(U=g-n),U<0&&(U=0);for(var h=U;h<g;h++){var N=f[h],P=N[0],M=N[1],L=N[2];if(t){var I=N[3];s.push([I,M,L,P])}else s.push([M,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(769);e.exports=r},function(e,t,n){var r=n(770),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(771);var r=n(18);e.exports=r("Array").sort},function(e,t,n){"use strict";var r=n(5),o=n(59),i=n(52),a=n(19),s=n(108),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,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main: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 class="content-container"><span class="registration-label">'+u((i=null!=(i=c(n,"label")||(null!=t?c(t,"label"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):i))+'</span><a title="'+u((i=null!=(i=c(n,"text")||(null!=t?c(t,"text"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):i))+'" aria-label="'+u((i=null!=(i=c(n,"text")||(null!=t?c(t,"text"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):i))+'" class="registration-link" href="#">'+u((i=null!=(i=c(n,"text")||(null!=t?c(t,"text"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):i))+"</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:e.loc("registration.signup.label","login"),text:e.loc("registration.signup.text","login")}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(21),n(346)],void 0!==(o=function(e,t,n){var r=e._;return n.extend({className:"idp-discovery-form",save:function(){return e.loc("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",(0,a.default)(r).call(r,this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var n=[],o={className:"margin-btm-30",label:e.loc("primaryauth.username.placeholder","login"),"label-top":!0,explain:t.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login"),"explain-top":!0,inputId:"idp-discovery-username",disabled:!1};return n.push(r.extend(this.getUsernameField(),o)),this.settings.get("features.rememberMe")&&n.push(this.getRemeberMeCheckbox()),n},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(221)),s=i(n(7));r=[n(0),n(235),n(236),n(10),n(21)],void 0!==(o=function(e,t,n,r,o){var i=e._;return t.extend({props:function(){var e=n.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.settings.transformUsername(this.get("username"),r.IDP_DISCOVERY),t=this.get("remember"),l=this.get("lastUsername"),u="okta:acct:"+e,c=this.get("requestContext");this.setUsernameCookie(e,t,l),this.trigger("save"),this.appState.trigger("loading",!0);var f={resource:u,requestContext:c};this.appState.settings.authClient.webfinger(f).then((0,s.default)(i).call(i,function(e){if(e&&e.links&&e.links[0])if("OKTA"===e.links[0].properties["okta:idp:type"])this.trigger("goToPrimaryAuth");else if(e.links[0].href){var t,n,r=(0,a.default)(t=e.links[0].href).call(t,"OKTA_INVALID_SESSION_REPOST%3Dtrue")?(0,s.default)(n=o.redirectWithFormGet).call(n,o):this.settings.get("redirectUtilFn");r(e.links[0].href)}},this)).catch((0,s.default)(i).call(i,function(){this.trigger("error"),this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).finally((0,s.default)(i).call(i,function(){this.appState.trigger("loading",!1)},this))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(349),n(36),n(32),n(6),n(10),n(8),n(84)],void 0!==(o=function(e,t,n,r,o,i,s,l){var u=e.$,c=e._;return o.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=r.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},getInitOptions:function(){var e=!!this.get("rememberDevice");return this.doTransaction(function(t){var n={rememberDevice:e};return c.findWhere(t.factors,{provider:"DUO",factorType:"web"}).verify(n).catch(function(e){throw e})},!0)},verify:function(e){var t=this.get("postAction"),r=this.get("factorId"),o=this,i={id:r,stateToken:this.get("stateToken"),sig_response:e},a=this.get("rememberDevice");return n(u.post(t,i)).then(function(){return o.doTransaction(function(e){var t;return a&&(t={rememberDevice:a}),e.poll(t)})}).catch(function(e){o.trigger("error",o,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:c.partial(e.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"}),t.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:(0,a.default)(c).call(c,this.model.verify,this.model)})}},Footer:l,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(){}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(777)},function(e,t,n){var r=n(778);e.exports=r},function(e,t,n){var r=n(779),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(780);var r=n(18);e.exports=r("String").endsWith},function(e,t,n){"use strict";var r=n(5),o=n(104).f,i=n(47),a=n(222),s=n(107),l=n(223),u=n(62),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,o,i=n(1),a=i(n(83)),s=i(n(232)),l=i(n(321)),u=i(n(3));r=[n(0),n(6),n(8),n(350)],void 0!==(o=function(e,t,n,r){var o=e._,i=e.$,c=e.internal.util.Util;return t.extend({className:"piv-cac-card",Model:{save:function(){function t(){return n.apply(this,arguments)}var n=(0,l.default)(s.default.mark(function t(){var n,r,i,a;return s.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.trigger("request"),n=this,r=this.settings.get("piv"),i={fromURI:this.settings.get("relayState"),isCustomDomain:r.isCustomDomain},t.prev=2,t.next=5,this.getCert(r.certAuthUrl);case 5:return t.next=7,this.postCert(r.certAuthUrl,i);case 7:a=t.sent,c.redirect(a.redirectUrl),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),o.isEmpty(t.t0.responseJSON)&&!t.t0.responseText&&(t.t0.responseJSON={errorSummary:e.loc("piv.cac.error","login")}),n.trigger("error",n,t.t0);case 15:case"end":return t.stop()}},t,this,[[2,11]])}));return t}(),getCert:function(e){return i.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,t){return i.post({url:e,xhrFields:{withCredentials:!0},data:(0,a.default)(t),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:o.partial(e.loc,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:o.partial(e.loc,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[n.View({View:e.View.extend({template:u.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;o.defer(function(){e.model.save()})}},back:function(){},Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(126),n(783),n(784),n(785),n(786),n(787),n(788),n(790),n(791),n(792),n(84)],void 0!==(o=function(e,t,n,r,o,i,a,s,l,u,c,f){var d=e.internal.views.forms.inputs.CheckBox;return t.extend({className:"mfa-verify",initialize:function(t){var p,h=t.factorType;switch(h){case"question":p=o;break;case"email":p=this.options.appState.get("isIdxStateToken")?a:c;break;case"sms":case"call":p=i;break;case"token":case"token:software:totp":case"token:hotp":p=n;break;case"token:hardware":p=r;break;case"push":p=s;break;case"password":p=l;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(h,t),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new p(this.toJSON())),"push"===h&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&(this.inlineTotpForm=this.add(u,{options:{model:this.model.get("backupFactor")}}).last()),this.settings.get("features.autoPush")&&(this.autoPushCheckBox=this.add(d,{options:{model:this.model,name:"autoPush",placeholder:e.loc("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}).last()),this.options.appState.get("allowRememberDevice")&&(this.rememberDeviceCheckbox=this.add(d,{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.settings.get("features.hideSignOutLinkInMFA")||this.add(new f(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(){}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(26)],void 0!==(o=function(e,t){var n=e._;return e.Form.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:n.partial(e.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){var r=this.model.get("factorLabel"),o="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=r,this.model.get("isFactorTypeVerification")?this.subtitle=e.loc("mfa.challenge.totp.subtitle.multiple","login",[r]):this.subtitle=e.loc("mfa.challenge.title","login",[r]),this.addInput({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:t,type:o?"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",(0,a.default)(n).call(n,function(e,t){t&&409===t.status&&(this.$(".auth-passcode input").val(""),this.$(".auth-passcode input").trigger("change"),this.$(".auth-passcode input").focus())},this))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(26)],void 0!==(o=function(e,t){var n=e._;return e.Form.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:n.partial(e.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){var n=this.model.get("factorLabel");this.title=n,this.subtitle=e.loc("factor.totpHard.yubikey.description","login"),this.addInput({label:e.loc("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:t,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"})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t=e._;return e.Form.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:t.partial(e.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:e.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"})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(36),n(26),n(10)],void 0!==(o=function(e,t,n,r){function o(t){switch(t){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:e.loc("mfa.sendCode","login"),formRetry:e.loc("mfa.resendCode","login"),formSubmitted:e.loc("mfa.sent","login"),subtitle:i({subtitle:this.model.get("phoneNumber")}),warning:e.loc("factor.sms.time.warning","login")};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:e.loc("mfa.call","login"),formRetry:e.loc("mfa.redial","login"),formSubmitted:e.loc("mfa.calling","login"),subtitle:i({subtitle:this.model.get("phoneNumber")}),warning:e.loc("factor.call.time.warning","login")};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:e.loc("mfa.sendEmail","login"),formRetry:e.loc("mfa.resendEmail","login"),formSubmitted:e.loc("mfa.sent","login"),subtitle:i({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var i=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"("+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}),l=e._,u=e.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",template:s.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})});return e.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:l.partial(e.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(u,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var i=this;this.title=this.model.get("factorLabel");var s=this.model.get("factorType"),u=o.call(this,s),c=u.warning;this.$el.attr("data-se","factor-"+s),this.subtitle=u.subtitle,this.listenTo(this.model,"error",function(){this.clearErrors()}),this.addInput({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:n,type:"tel"}),this.add(e.createButton({attributes:{"data-se":u.buttonDataSe},className:"button "+u.buttonClassName,title:u.formSubmit,click:function(){i.clearErrors(),this.disable(),i.clearWarnings(),this.options.title=u.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then(function(){return i.getInputs().first().render().focus(),t.delay(r.API_RATE_LIMIT)}).then((0,a.default)(l).call(l,function(){this.options.title=u.formRetry,this.enable(),"call"!==s&&"sms"!==s||i.showWarning(c),this.render()},this))}})),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"})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(36),n(10)],void 0!==(o=function(e,t,n){var r=e._;return e.Form.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){var o=this;this.title=this.model.get("factorLabel");var i=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+i+")",this.add(e.createButton({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:e.loc("mfa.sendEmail","login"),click:function(){o.clearErrors(),this.disable(),this.options.title=e.loc("mfa.sent","login"),this.render(),this.model.save().then((0,a.default)(r).call(r,function(){return t.delay(n.API_RATE_LIMIT)},this)).then((0,a.default)(r).call(r,function(){this.options.title=e.loc("mfa.resendEmail","login"),this.enable(),this.render()},this))}}))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(24)),l=i(n(28)),u=i(n(3));r=[n(0),n(236),n(21),n(789)],void 0!==(o=function(e,t,n,r){var o=e._,i=u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=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((a=null!=(a=c(n,"factorName")||(null!=t?c(t,"factorName"):t))?a:u,"function"===(0,l.default)(a)?a.call(s,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):a))+" ("+(null!=(a=null!=(a=c(n,"deviceName")||(null!=t?c(t,"deviceName"):t))?a:u,i="function"===(0,l.default)(a)?a.call(s,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):a)?i:"")+")"},useData:!0}),c=e.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",template:u.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})});return e.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:o.partial(e.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(r).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,s.default)(n=this.$el).call(n,".button").hide(),this.numberChallengeView.$el.show()}else{var r;this.numberChallengeView.$el.hide(),(0,s.default)(r=this.$el).call(r,".button").show()}}),this.listenTo(this.options.appState,"change:isMfaTimeout",function(t,n){this.setSubmitState(n),n&&this.showError(e.loc("oktaverify.timeout","login"))}),this.listenTo(this.options.appState,"change:isMfaRequired",function(e,t){t&&(this.clearErrors(),this.clearWarnings())}),this.title=i({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(t){var n,r=(0,s.default)(n=this.$el).call(n,".button");this.enabled=t,t?(r.removeClass("link-button-disabled"),r.prop("value",e.loc("oktaverify.send","login")),r.prop("disabled",!1)):(r.addClass("link-button-disabled"),r.prop("value",e.loc("oktaverify.sent","login")),r.prop("disabled",!0))},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),o.defer((0,a.default)(o).call(o,this.submit,this)))},doSave:function(){var t;this.clearErrors(),this.clearWarnings(),this.model.isValid()&&(this.listenToOnce(this.model,"error",function(){this.setSubmitState(!0),this.clearWarnings(),clearTimeout(t)}),this.trigger("save",this.model),t=n.callAfterTimeout((0,a.default)(o).call(o,function(){this.options.appState.get("isWaitingForNumberChallenge")||this.showWarning(e.loc("oktaverify.warning","login"))},this),3e4))},showError:function(e){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},showWarning:function(e){this.clearWarnings(),this.add(c,".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(e.loc("oktaverify.rejected.upgradeRequired.ios","login")):this.showError(e.loc("oktaverify.rejected.upgradeRequired.android","login")):this.showError(e.loc("oktaverify.rejected","login"))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.View.extend({className:"number-challenge-view",template:a.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}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t=e._;return e.Form.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:t.partial(e.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:e.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"})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(26)],void 0!==(o=function(e,t){function n(n){n.addDivider(),n.addInput({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:t,type:"tel"}),n.add(e.createButton({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:e.loc("mfa.challenge.verify","login"),click:function(){n.clearErrors(),n.isValid()&&n.model.manageTransaction(function(e,t){if("MFA_CHALLENGE"===e.status&&e.prev)return n.options.appState.set("trapMfaRequiredResponse",!0),e.prev().then(function(e){t(e),n.model.save()});n.model.save()})}})),n.at(1).focus()}return e.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 t=this;this.listenTo(this.model,"error",function(){this.clearErrors()}),this.add(e.createButton({className:"link",attributes:{"data-se":"inline-totp-add"},title:e.loc("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),n(t)}}))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(17)),l=i(n(3));r=[n(0),n(26),n(351)],void 0!==(o=function(e,t,n){var r=e._,o=function(){var e=this.model.get("email");return{factorEmail:l.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})}};return e.Form.extend({layout:"o-form-theme",className:"mfa-verify-email",title:r.partial(e.loc,"email.mfa.title","login"),noButtonBar:!1,autoSave:!0,noCancelButton:!0,attributes:{"data-se":"factor-email"},save:function(){return this.options.appState.get("isMfaChallenge")?e.loc("mfa.challenge.verify","login"):e.loc("email.button.send","login")},events:(0,s.default)({},e.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,a.default)(e=this.renderChallengView).call(e,this))}},initialize:function(){e.Form.prototype.initialize.apply(this,arguments),this.handleSubmit=r.throttle(this.handleSubmit,100,{leading:!1}),this.add(e.View.extend({attributes:{"data-se":"mfa-send-email-content"},className:"mfa-send-email-content",template:l.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:o}))},renderChallengView:function(){this.removeChildren(),this.add(e.View.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:l.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:o})),this.add(n),this.addInput({label:e.loc("email.code.label","login"),"label-top":!0,name:"answer",input:t,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()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(112),n(354),n(84),n(85)],void 0!==(o=function(e,t,n,r,o,i,a){var s=e._;return t.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(r.isAvailable()){this.trigger("request");var e=this;return this.doTransaction(function(t){var n=s.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"});return n.verify().then(function(o){var i=o.factor;return r.getAssertion(i.challenge.nonce,[{id:i.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:s.partial(e.loc,"factor.windowsHello","login"),subtitle:function(){return r.isAvailable()?e.loc("verify.windowsHello.subtitle","login"):""},save:s.partial(e.loc,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return r.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!r.isAvailable()},formChildren:function(){var t=[];return r.isAvailable()||t.push(n.View({View:new a({message:e.loc("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),t.push(n.View({View:new o({model:this.model,visible:!1})})),t},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=e.loc("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(t){this.subtitle=e.loc("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide");var n;switch(t){case"NotFoundError":n=this.options.appState.get("factors").length>1?e.loc("verify.windowsHello.error.notFound.selectAnother","login"):e.loc("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":n=e.loc("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),n){var r=new a({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(r,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?e.loc("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):e.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:i})}.apply(t,r))&&(e.exports=o)},function(e,t,n){var r=n(795);e.exports=r},function(e,t,n){n(796);var r=n(15);e.exports=r.Object.freeze},function(e,t,n){var r=n(5),o=n(353),i=n(19),a=n(31),s=n(180).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,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(56),n(6),n(8),n(84),n(36),n(32),n(237),n(85),n(355)],void 0!==(o=function(e,t,n,r,o,i,l,u,c){function f(e){var t=[];return d.each(e,function(e){t.push({version:e.profile.version,keyHandle:e.profile.credentialId})}),t}var d=e._;return n.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=l.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){return this.trigger("request"),this.doTransaction(function(e){var n;n=e.factorTypes?d.findWhere(e.factorTypes,{factorType:"u2f"}):d.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"});var r=this;return n.verify().then(function(e){var o,a,s;if(e.factors){var l=e.factors;a=l[0].profile.appId,s=e.challenge.nonce,o=f(l)}else{var c=e.factor;a=c.profile.appId,s=c.challenge.nonce,o=[{version:u.getU2fVersion(),keyHandle:c.profile.credentialId}]}r.trigger("request");var d=i.defer();return u2f.sign(a,s,o,function(e){if(r.trigger("errors:clear"),!e.errorCode||0===e.errorCode){var o=!!r.get("rememberDevice");return n.verify({clientData:e.clientData,signatureData:e.signatureData,rememberDevice:o}).then(d.resolve)}var i=1===r.options.appState.get("factors").length;d.reject(new t.U2FError({xhr:{responseJSON:{errorSummary:u.getU2fVerifyErrorMessageByCode(e.errorCode,i)}}}))}),d.promise})})}},Form:{autoSave:!0,hasSavingState:!1,title:d.partial(e.loc,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:d.partial(e.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!u.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(u.isU2fAvailable())t.push(r.View({View:e.View.extend({template:s.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 n="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="u2f.error.factorNotSupported.oneFactor"),t.push(r.View({View:new c({message:e.loc(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&t.push(r.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),t},postRender:function(){d.defer((0,a.default)(d).call(d,function(){u.isU2fAvailable()?this.model.save():this.$('[data-se="u2f-waiting"]').addClass("hide")},this))},_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:o})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(56),n(6),n(8),n(142),n(112),n(84),n(36),n(32),n(85)],void 0!==(o=function(e,t,n,r,o,i,l,u,c,f){function d(e){var t=[];return p.each(e,function(e){t.push({type:"public-key",id:o.strToBin(e.profile.credentialId)})}),t}var p=e._;return n.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=this,t=c.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 n;n=e.factorTypes?p.findWhere(e.factorTypes,{factorType:"webauthn"}):p.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});var r=this;return n.verify().then(function(e){var i,a;if(e.factors){var s=e.factors;a=e.challenge,i=d(s)}else{var l=e.factor;a=l.challenge,i=d([l])}r.trigger("request");var c=p.extend({},a,{allowCredentials:i,challenge:o.strToBin(a.challenge)});return r.webauthnAbortController=new AbortController,new u(navigator.credentials.get({publicKey:c,signal:r.webauthnAbortController.signal})).then(function(e){var t=!!r.get("rememberDevice");return n.verify({clientData:o.binToStr(e.response.clientDataJSON),authenticatorData:o.binToStr(e.response.authenticatorData),signatureData:o.binToStr(e.response.signature),rememberDevice:t})}).catch(function(e){throw r.trigger("errors:clear"),r.webauthnAbortController?new t.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new t.WebauthnAbortError}).finally(function(){r.webauthnAbortController=null})})})}},Form:{autoSave:!0,hasSavingState:!1,title:p.partial(e.loc,"factor.webauthn.biometric","login"),className:"verify-webauthn-form",noCancelButton:!0,save:p.partial(e.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!i.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(i.isNewApiAvailable())t.push(r.View({View:e.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="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 n="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(n="webauthn.biometric.error.factorNotSupported.oneFactor"),t.push(r.View({View:new f({message:e.loc(n,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&t.push(r.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),t},postRender:function(){p.defer((0,a.default)(p).call(p,function(){i.isNewApiAvailable()?this.model.save():this.$('[data-se="webauthn-waiting"]').hide()},this))},_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()}},back:function(){},Footer:l})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(84),n(32),n(85)],void 0!==(o=function(e,t,n,r,o,i){var a=e._,s=e.internal.util.Util;return t.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=o.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){var e=this,t=!!this.get("rememberDevice");return this.manageTransaction(function(n,r){var o={rememberDevice:t};return a.findWhere(n.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).verify(o).then(function(t){r(t);var n=e.appState.get("verifyCustomFactorRedirectUrl");null!==n&&s.redirect(n)}).catch(function(e){throw e})})}},Form:function(){var t=this.options.appState.get("factors"),r=t.findWhere({provider:this.options.provider,factorType:this.options.factorType}),o=r.get("vendorName");return{autoSave:!0,title:o,save:e.loc("mfa.challenge.verify","login"),subtitle:e.loc("verify.customFactor.subtitle","login",[o]),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(n.View({View:new i({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.settings.get("features.hideSignOutLinkInMFA")||this.addFooter(r)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(39)),s=i(n(801)),l=i(n(3));r=[n(0),n(6),n(10),n(48),n(356),n(806),n(807)],void 0!==(o=function(e,t,n,r,o,i,u){var c=e._,f=e.$,d=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>"+(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});return t.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:c.partial(e.loc,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===n.ALL_OPTIONAL_NONE_ENROLLED},subtitle:" ",getSubtitle:function(){switch(this.state.get("pageType")){case n.ALL_OPTIONAL_SOME_ENROLLED:case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return e.loc("enroll.choices.optional","login");case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:var t=this.options.appState.get("gracePeriodRemainingDays");return(0,s.default)(t)&&t>=0?this.getGracePeriodSubtitle(t):this.getDefaultSubtitle();default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?e.loc("enroll.choices.description.specific","login",[this.settings.get("brandName")]):e.loc("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(t){return t>=1?e.loc("enroll.choices.description.gracePeriod.bold","login",[t]):e.loc("enroll.choices.description.gracePeriod.oneDay.bold","login")},save:function(){switch(this.state.get("pageType")){case n.ALL_OPTIONAL_SOME_ENROLLED:case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return e.loc("enroll.choices.submit.finish","login");case n.HAS_REQUIRED_NONE_ENROLLED:return e.loc("enroll.choices.submit.configure","login");case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return e.loc("enroll.choices.submit.next","login");default:return""}},initialize:function(e){this.listenTo(this,"save",function(){var t;switch(this.state.get("pageType")){case n.HAS_REQUIRED_NONE_ENROLLED:case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t=e.appState.get("factors").getFirstUnenrolledRequiredFactor(),e.appState.trigger("navigate",r.createEnrollFactorUrl(t.get("provider"),t.get("factorType")));break;default:return this.model.doTransaction(function(e){return e.skip()})}})},preRender:function(){this.add(d({subtitle:this.getSubtitle()}),f("p.okta-form-subtitle"));var t=this.options.appState.get("factors");switch(this.state.get("pageType")){case n.HAS_REQUIRED_NONE_ENROLLED:case n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new i({minimize:!0,collection:new e.Collection(t.where({required:!0})),appState:this.options.appState}));break;case n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case n.ALL_OPTIONAL_SOME_ENROLLED:case n.ALL_OPTIONAL_NONE_ENROLLED:var r,s=t.where({enrolled:!0}),l=(0,a.default)(t).call(t,function(e){return!e.get("enrolled")||e.get("additionalEnrollment")});s.length>0&&(r=e.loc("enroll.choices.list.optional","login"),this.add(new o({listTitle:e.loc("enroll.choices.list.enrolled","login"),minimize:!0,collection:new e.Collection(s),appState:this.options.appState}))),this.add(new o({listTitle:r,collection:new e.Collection(l),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(e){var t,r,o=0,i=0,a=0,s=0;e.appState.get("factors").each(function(e){var t=e.get("required"),n=e.get("enrolled"),r=e.get("additionalEnrollment");t&&n?o++:t&&!n?i++:!t&&n?a++:t||n||s++,n&&r&&s++}),t=o>0||i>0,t&&0===o?r=n.HAS_REQUIRED_NONE_ENROLLED:t&&i>0?r=n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t&&s>0?r=n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===a&&s>0?r=n.ALL_OPTIONAL_NONE_ENROLLED:s>0?r=n.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction(function(e){return e.skip()}),this.state.set("pageType",r),this.options.appState.get("skipLink")&&r===n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new u(this.toJSON()))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){e.exports=n(802)},function(e,t,n){var r=n(803);e.exports=r},function(e,t,n){n(804);var r=n(15);e.exports=r.Number.isInteger},function(e,t,n){n(5)({target:"Number",stat:!0},{isInteger:n(805)})},function(e,t,n){var r=n(31),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24));r=[n(0),n(356)],void 0!==(o=function(e,t){var n=e._;return t.extend({listTitle:n.partial(e.loc,"enroll.choices.list.setup","login"),className:function(){return t.prototype.className+" enroll-required-factor-list"},postRender:function(){var e,n,r;t.prototype.postRender.apply(this,arguments),n=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),r=(0,a.default)(e=this).call(e,function(e){return e.model===n}),r.maximize()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.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'<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()})}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(349),n(36),n(6),n(37)],void 0!==(o=function(e,t,n,r,o){var i=e.$,s=e._;return r.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 s.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()})},activate:function(e){var t=this.get("postAction"),r=this.get("factorId"),o=this,a={id:r,stateToken:this.get("stateToken"),sig_response:e};return n(i.post(t,a)).then(function(){return o.doTransaction(function(e){return e.poll()})}).catch(function(e){o.trigger("error",o,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:s.partial(e.loc,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),t.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:(0,a.default)(s).call(s,this.model.activate,this.model)})}},Footer:o,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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(32),n(21),n(37),n(26)],void 0!==(o=function(e,t,n,r,o,i){var a=e._;return t.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction(function(e){return a.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})})}},Form:{autoSave:!0,title:a.partial(e.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:e.loc("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:r.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:i,type:"text"}]}},Footer:o,fetchInitialData:function(){var e=this;return this.model.manageTransaction(function(e){return a.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).questions()}).then(function(t){var r={};a.each(t,function(e){r[e.question]=n.getSecurityQuestionLabel(e)}),e.model.set("securityQuestions",r)})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(143),n(37),n(26)],void 0!==(o=function(e,t,n,r,o){var i=e._;return t.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return n.validateFieldsMatch(this,"password","confirmPassword",e.loc("password.enroll.error.match","login"))},save:function(){return this.doTransaction(function(e){return i.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})})}},Form:{autoSave:!0,title:i.partial(e.loc,"enroll.password.setup","login"),inputs:function(){return[{label:e.loc("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:o,type:"password"},{label:e.loc("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:o,type:"password"}]}},Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(112),n(354),n(37),n(85)],void 0!==(o=function(e,t,n,r,o,i,a){var s=e._;return t.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(r.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction(function(e){return this._enroll(e)})},_enroll:function(e){return s.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,o=this,i={rpDisplayName:t.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},a=[{algorithm:t.algorithm}],s=t.nonce;return r.makeCredential(i,a,s).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 o.trigger("abort",t.message),e}throw t})})}},Form:{autoSave:!0,hasSavingState:!1,title:s.partial(e.loc,"enroll.windowsHello.title","login"),subtitle:function(){return r.isAvailable()?e.loc("enroll.windowsHello.subtitle","login"):""},save:s.partial(e.loc,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return r.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!r.isAvailable()},formChildren:function(){var t=[];return r.isAvailable()||t.push(n.View({View:new a({message:e.loc("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),t.push(n.View({View:new o({model:this.model,visible:!1})})),t},_startEnrollment:function(){this.subtitle=e.loc("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(t){this.subtitle=e.loc("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide");var n;switch(t){case"NotSupportedError":n=e.loc("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),n){var r=new a({message:n});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(r,{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:i,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(6),n(37),n(357),n(26),n(181),n(8),n(21),n(10)],void 0!==(o=function(e,t,n,r,o,i,l,u,c){function f(e){return"call"===e}function d(e){return f(e)?"enroll-call":"enroll-sms"}function p(e){m.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var h=e._,m=e.internal.util.Keys,g=e.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",template:s.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})}),v={factorId:function(e){return!h.isUndefined(e)}};return t.extend({className:function(){return d(this.options.factorType)},Model:{props:{countryCode:["string",!0,"US"],phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.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}),h.delay((0,a.default)(h).call(h,this.set,this),c.API_RATE_LIMIT,{ableToResend:!0})},sendCode:function(){var t=this,n=this.get("fullPhoneNumber"),r=this.get("phoneExtension");return t.trigger("errors:clear"),n.length?this.doTransaction(function(o){var i="MFA_ENROLL"===o.status||"FACTOR_ENROLL"===o.status,a={phoneNumber:n,updatePhone:!i||t.get("hasExistingPhones")};f(t.get("factorType"))&&(a.phoneExtension=r),t.get("skipPhoneValidation")&&(a.validatePhone=!1);var s=function(n){return h.findWhere(n.factors,{factorType:t.get("factorType"),provider:"OKTA"}).enroll({profile:a}).catch(function(n){throw"E0000098"===n.errorCode&&(t.set("skipPhoneValidation",!0),n.xhr.responseJSON.errorSummary=e.loc("enroll.sms.try_again","login")),n})};return i?s(o):(t.set("trapEnrollment",!0),o.prev().then(s).then(function(e){return t.set("trapEnrollment",!1),e}))},!0).then(function(){t.set("lastEnrolledPhoneNumber",n),t.limitResending()}).catch(function(){t.set("ableToResend",!0),t.set("trapEnrollment",!1)}):void t.trigger("invalid",t,{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 t=this.options.factorType,n=f(t),a=e.loc(n?"enroll.call.setup":"enroll.sms.setup","login"),s=e.loc(n?"mfa.call":"mfa.sendCode","login"),c=e.loc(n?"mfa.redial":"mfa.resendCode","login"),h=e.loc(n?"mfa.calling":"mfa.sent","login"),m=n?"enroll-call-phone":"enroll-sms-phone",y=n?"call-request-button":"sms-request-button",b=[l.Input({name:"countryCode",type:"select",wide:!0,options:i.getCountries()}),l.Input({label:e.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:m,name:"phoneNumber",input:r,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",p).keydown(p).keyup({model:this.model},p)}})];return n&&b.push(l.Input({label:e.loc("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:o,type:"text"})),b.push(l.Button({title:s,attributes:{"data-se":y},className:"button button-primary js-enroll-phone margin-top-30 "+y,click:function(){this.model.sendCode()}}),l.Button({title:c,attributes:{"data-se":y},className:"button js-enroll-phone margin-top-30 "+y,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=c,this.enable()):(this.options.title=h,this.disable()),this.render()})}}),l.Divider({showWhen:v}),l.Input({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:u.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:o,type:"tel",showWhen:v}),l.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login"),showWhen:v})),{title:a,noButtonBar:!0,autoSave:!0,className:d(t),showWarning:function(e){this.clearWarnings(),this.add(g,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){this.listenTo(this.model,"change:ableToResend",function(t,r){r?this.showWarning(e.loc(n?"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:b}},Footer:n,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(){f(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)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";e.exports={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"}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(6),n(37),n(8)],void 0!==(o=function(e,t,n,r){var o=e._,i={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");var e=this.pick("factorType","provider");return this.doTransaction(function(t){return o.findWhere(t.factors,e).enroll()})}},s=function(){return{title:o.partial(e.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o.partial(e.loc,"email.button.send","login"),formChildren:[r.View({View:e.View.extend({attributes:{"data-se":"enroll-email-content"},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 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})})})]}};return t.extend({className:"enroll-email",Model:i,Form:s,Footer:n,initialize:function(){this.model.set(o.pick(this.options,"factorType","provider"))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(6),n(37),n(351),n(8)],void 0!==(o=function(e,t,n,r,o){var i=e._,s={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)})}},l=function(){return{title:i.partial(e.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:i.partial(e.loc,"oform.verify","login"),formChildren:[o.View({View:e.View.extend({className:"enroll-activate-email-content",attributes:{"data-se":"enroll-activate-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.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: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:t})}}})}),o.View({View:r}),o.Input({label:e.loc("email.code.label","login"),"label-top":!0,name:"passCode",type:"text",wide:!0})]}};return t.extend({className:"enroll-activate-email",Model:s,Form:l,Footer:n})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7));r=[n(0),n(8),n(6),n(21),n(37),n(26)],void 0!==(o=function(e,t,n,r,o,i){function s(e){return"RSA"===e}function l(e){return s(e)?"enroll-rsa":"enroll-onprem"}var u=e._;return n.extend({className:function(){return l(this.options.provider)},Model:function(){var e=this.options.provider,t=this.options.appState.get("factors"),n=t.findWhere(u.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 u.findWhere(t.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})})}}},Form:function(){var n=this.options.provider,o=this.options.appState.get("factors"),c=o.findWhere(u.pick(this.options,"provider","factorType")),f=c.get("vendorName");return{title:s(n)?e.loc("factor.totpHard.rsaSecurId","login"):f,noButtonBar:!0,autoSave:!0,className:l(n),initialize:function(){this.listenTo(this.model,"error",(0,a.default)(u).call(u,function(e,t){t&&409===t.status&&(this.$(".o-form-input-name-passCode input").val(""),this.$(".o-form-input-name-passCode input").trigger("change"),this.$(".o-form-input-name-passCode input").focus())},this))},formChildren:[t.Input({label:e.loc("enroll.onprem.username.placeholder","login",[f]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[f],[f]),"explain-top":!0,name:"credentialId",input:i,type:"text"}),t.Input({label:e.loc("enroll.onprem.passcode.placeholder","login",[f]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[f],[f]),"explain-top":!0,name:"passCode",input:i,type:"password"}),t.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login")})]}},Footer:o})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(8),n(6),n(21),n(37),n(26)],void 0!==(o=function(e,t,n,r,o,i){var a=e._;return n.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 a.findWhere(e.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})})}},Form:{title:a.partial(e.loc,"factor.totpHard.symantecVip","login"),subtitle:a.partial(e.loc,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[t.Input({label:e.loc("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:i,type:"text"}),t.Input({label:e.loc("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:i,type:"text"}),t.Input({label:e.loc("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:r.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:i,type:"text"}),t.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login")})]}},Footer:o})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(8),n(6),n(37),n(26)],void 0!==(o=function(e,t,n,r,o){var i=e._;return n.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return i.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})})}},Form:{title:i.partial(e.loc,"enroll.yubikey.title","login"),subtitle:i.partial(e.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:i.partial(e.loc,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[t.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),t.Input({name:"passCode",input:o,type:"password"})]},Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(32),n(6),n(8),n(48),n(820),n(238),n(37)],void 0!==(o=function(e,t,n,r,o,i,l,u){var c=e._,f={__deviceType__:function(e){return void 0!==e}},d=e.View.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template: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'<span class="app-logo '+e.escapeExpression((s=null!=(s=c(n,"appIcon")||(null!=t?c(t,"appIcon"):t))?s:u,"function"===(0,a.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,i="function"===(0,a.default)(s)?s.call(l,{name:"appStoreLinkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):s)?i:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},getTemplateData:function(){var n,r,o,a=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return o=i.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(n=i.GOOGLE[this.model.get("__deviceType__")],r="google-auth-38"):(n=i.OKTA[this.model.get("__deviceType__")],r="okta-verify-38"),{appStoreLinkText:e.loc("enroll.totp.downloadApp","login",[n,a,o]),appIcon:r}}});return n.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 c.findWhere(e.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()})}}},Form:{title:function(){var n=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[n])},subtitle:c.partial(e.loc,"enroll.totp.selectDevice","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){var t={APPLE:e.loc("iphone","login"),ANDROID:e.loc("android","login")};return[r.Input({name:"__deviceType__",type:"radio",options:t}),r.Divider({showWhen:f}),r.View({View:d,showWhen:f}),r.Toolbar({noCancelButton:!0,save:e.loc("oform.next","login"),showWhen:f})]}},Footer:u})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";e.exports={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"}}},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(56),n(8),n(6),n(237),n(37),n(36),n(85),n(355)],void 0!==(o=function(e,t,n,r,o,i,s,l){var u=e._;return r.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return u.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"}).enroll()})},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction(function(e){var n=e.factor.activation,r=n.appId,i=[{version:o.getU2fVersion(),challenge:n.nonce}],a=this,l=s.defer();return u2f.register(r,i,[],function(n){a.trigger("errors:clear"),n.errorCode&&0!==n.errorCode?l.reject(new t.U2FError({xhr:{responseJSON:{errorSummary:o.getU2fEnrollErrorMessageByCode(n.errorCode)}}})):l.resolve(e.activate({registrationData:n.registrationData,version:n.version,challenge:n.challenge,clientData:n.clientData}))}),l.promise})}},Form:{title:u.partial(e.loc,"enroll.u2f.title","login"),save:u.partial(e.loc,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!o.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(o.isU2fAvailable())t.push(n.View({View:e.View.extend({template:a.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})})})),t.push(n.View({View:e.View.extend({template:a.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 r="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(r="u2f.error.factorNotSupported.oneFactor"),t.push(n.View({View:new l({message:e.loc(r,"login")})},{selector:".o-form-error-container"}))}return t},_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:i,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(56),n(8),n(6),n(142),n(112),n(37),n(36),n(85),n(75)],void 0!==(o=function(e,t,n,r,o,i,s,l,u,c){function f(e){var t=[];return d.each(e,function(e){t.push({type:"public-key",id:o.strToBin(e.id)})}),t}var d=e._;return r.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction(function(e){return d.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 n=e.factor.activation,r=this;if(i.isNewApiAvailable()){var a=d.extend({},n,{challenge:o.strToBin(n.challenge),user:{id:o.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName},excludeCredentials:f(n.excludeCredentials)});return r.webauthnAbortController=new AbortController,new l(navigator.credentials.create({publicKey:a,signal:r.webauthnAbortController.signal})).then(function(t){return e.activate({attestation:o.binToStr(t.response.attestationObject),clientData:o.binToStr(t.response.clientDataJSON)})}).catch(function(e){throw r.trigger("errors:clear"),r.webauthnAbortController?new t.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new t.WebauthnAbortError}).finally(function(){r.webauthnAbortController=null})}})}},Form:{title:d.partial(e.loc,"enroll.webauthn.biometric.title","login"),save:d.partial(e.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!i.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(i.isNewApiAvailable())t.push(n.View({View:e.View.extend({className:"webauthn-enroll-text",template: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'<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:c.isEdge(),onlySupportsSecurityKey:(c.isFirefox()||c.isSafari())&&c.isMac()}}})}));else{var r="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(r="webauthn.biometric.error.factorNotSupported.oneFactor"),t.push(n.View({View:new u({message:e.loc(r,"login")})},{selector:".o-form-error-container"}))}return t},_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:s,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(178),n(8),n(358),n(85)],void 0!==(o=function(e,t,n,r,o){var i=e.internal.util.Util;return r.extend({Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction(function(){var t=e.appState.get("enrollCustomFactorRedirectUrl");null!==t&&i.redirect(t)})}},Form:function(){var r=new t.Model(this.options.appState.get("factor"),this.toJSON()),i=r.get("vendorName");return{autoSave:!0,title:i,subtitle:e.loc("enroll.customFactor.subtitle","login",[i]),save:e.loc("enroll.customFactor.save","login"),formChildren:function(){var e=[];return this.options.appState.get("isFactorResultFailed")&&e.push(n.View({View:new o({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),e}}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(37),n(85)],void 0!==(o=function(e,t,n,r,o){return t.extend({className:"enroll-hotp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var t=this.options.appState.get("factors"),n=t.findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return e.loc("enroll.totp.title","login",[n.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[n.View({View:new o({message:e.loc("enroll.hotp.restricted","login")})})]}},Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(32),n(6),n(8),n(48),n(238),n(37)],void 0!==(o=function(e,t,n,r,o,i,a){var s=e._;return n.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var n=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[n])},subtitle:s.partial(e.loc,"mfa.scanBarcode","login"),save:s.partial(e.loc,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[r.View({View:i})]},Footer:a,initialize:function(){this.listenTo(this.form,"save",function(){var e=o.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(32),n(6),n(8),n(48),n(238),n(37)],void 0!==(o=function(e,t,n,r,o,i,a){var s=e._;return n.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var n=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[n])},subtitle:s.partial(e.loc,"mfa.scanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",function(){this.clearErrors()})},formChildren:[r.View({View:i})]},Footer:a,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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(359),n(37)],void 0!==(o=function(e,t,n,r){return t.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:n,Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(32),n(6),n(8),n(48),n(829),n(26)],void 0!==(o=function(e,t,n,r,o,i,s){var l=e._;return n.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 n=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[n])},subtitle:l.partial(e.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var t=this.settings.get("brandName")?e.loc("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):e.loc("enroll.totp.manualSetupInstructions.generic","login");return[r.View({View:e.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'<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}}})}),r.Input({name:"sharedSecret",input:s,type:"text",disabled:!0}),r.Toolbar({noCancelButton:!0,save:e.loc("oform.next","login")})]}},Footer:i,initialize:function(){this.listenTo(this.form,"save",function(){var e=o.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(48),n(10)],void 0!==(o=function(e,t,n){return e.View.extend({template:a.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",n.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction(function(e){return e.prev()}):this.options.appState.trigger("navigate","signin/enroll")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(181),n(32),n(6),n(8),n(48),n(831),n(357),n(26)],void 0!==(o=function(e,t,n,r,o,i,l,u,c){function f(e,t){var n=i.createActivateFactorUrl(e.options.appState.get("activatedFactorProvider"),e.options.appState.get("activatedFactorType"),t);e.options.appState.trigger("navigate",n)}function d(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 p(e,t){return e.model.doTransaction(function(n){return n.prev().then(function(e){return h.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,l=h.findWhere(s,{name:"sms"});n=l?l.href:null;var u=h.findWhere(s,{name:"email"});r=u?u.href:null}}return e.model.set({SMS:n,EMAIL:r,sharedSecret:o}),t})})}var h=e._;return r.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,"US"],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"+"+t.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:{title:function(){var t=n.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return e.loc("enroll.totp.title","login",[t])},subtitle:h.partial(e.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var n=this.settings.get("brandName")?e.loc("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):e.loc("enroll.totp.sharedSecretInstructions.generic","login");return[o.Input({name:"activationType",type:"select",wide:!0,options:{SMS:e.loc("enroll.totp.sendSms","login"),EMAIL:e.loc("enroll.totp.sendEmail","login"),MANUAL:e.loc("enroll.totp.setupManually","login")}}),o.Input({name:"countryCode",type:"select",wide:!0,options:t.getCountries(),showWhen:{activationType:"SMS"}}),o.Input({label:e.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:u,type:"text",showWhen:{activationType:"SMS"}}),o.View({View:e.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:n}}}),showWhen:{activationType:"MANUAL"}}),o.Input({name:"sharedSecret",input:c,type:"text",disabled:!0,showWhen:{activationType:"MANUAL"},initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)}}),o.View({View:e.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"}}),o.Button({title:e.loc("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:(0,a.default)(h).call(h,function(){d(this),f(this,"passcode")},this)},'[data-type="next-button-wrap"]'),o.Toolbar({noCancelButton:!0,save:e.loc("oform.send","login"),showWhen:{activationType:function(e){return"SMS"===e||"EMAIL"===e}}})]}},Footer:l,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",function(){var e=this;this.model.doTransaction(function(t){var n=this.get("activationType").toLowerCase(),r={};return"sms"===n&&(r.profile={phoneNumber:this.get("fullPhoneNumber")}),t.factor.activation.send(n,r).then(function(t){return d(e),h.defer(function(){f(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")?p(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&p(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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(48)],void 0!==(o=function(e,t){function n(e){var n=t.createActivateFactorUrl(e.get("activatedFactorProvider"),e.get("activatedFactorType"));e.trigger("navigate",n)}var r=e._;return e.View.extend({template:a.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=r.partial(n,this.options.appState);this.options.appState.unset("factorActivationType"),this.model.doTransaction(function(e){return e.prev().then(function(e){return r.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")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(181),n(6),n(8),n(48)],void 0!==(o=function(e,t,n,r,o){var i=e._,s=e.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'<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=o.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),l={title:i.partial(e.loc,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[r.View({View:e.View.extend({template:a.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")}}})})]},u={title:i.partial(e.loc,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[r.View({View:e.View.extend({template:a.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")}}})})]};return n.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"+"+t.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 u;case"EMAIL":return l;default:throw new Error("Unknown activation option: "+e)}},Footer:s,initialize:function(){this.pollForEnrollment()},remove:function(){return n.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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(6),n(48),n(359)],void 0!==(o=function(e,t,n,r){var o=e.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'<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=n.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",e)}});return t.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:r,Footer:o})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(16));r=[n(0),n(6),n(10),n(8),n(143),n(32),n(21),n(360),n(26),n(361)],void 0!==(o=function(e,t,n,r,o,i,l,u,c,f){var d=e._;return t.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return o.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:d.partial(e.loc,"password.expired.submit","login"),title:function(){var t=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return t&&n>0?e.loc("password.expiring.title","login",[n]):t&&0===n?e.loc("password.expiring.today","login"):t?e.loc("password.expiring.soon","login"):this.settings.get("brandName")?e.loc("password.expired.title.specific","login",[this.settings.get("brandName")]):e.loc("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?e.loc("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):e.loc("password.expiring.subtitle.generic","login");var t=this.options.appState.get("policy");if(t&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return i.getPasswordComplexityDescription(t)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=i.removeRequirementsFromError(e,t)),e},formChildren:function(){var t=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&t.push(r.View({View:new f({policy:this.options.appState.get("policy")})})),t=(0,s.default)(t).call(t,[r.Input({"label-top":!0,label:e.loc("password.oldPassword.placeholder","login"),explain:l.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:c,type:"password"}),r.Divider(),r.Input({className:"margin-btm-5","label-top":!0,label:e.loc("password.newPassword.placeholder","login"),explain:l.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:c,type:"password"}),r.Input({"label-top":!0,label:e.loc("password.confirmPassword.placeholder","login"),explain:l.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:c,type:"password"})])}},Footer:u,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,a.default)(d).call(d,this.model.save,this.model))})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(360)],void 0!==(o=function(e,t,n,r){var o=e._,i=e.internal.util.Util;return t.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){var t=this.options.appState.get("isPwdExpiringSoon"),n=this.options.appState.get("passwordExpireDays");return t&&n>0?e.loc("password.expiring.title","login",[n]):t&&0===n?e.loc("password.expiring.today","login"):t?e.loc("password.expiring.soon","login"):this.settings.get("brandName")?e.loc("password.expired.title.specific","login",[this.settings.get("brandName")]):e.loc("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon")){return(this.settings.get("brandName")?e.loc("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):e.loc("password.expiring.subtitle.generic","login"))+" "+e.loc("password.expired.custom.subtitle","login")}return e.loc("password.expired.custom.subtitle","login")},formChildren:function(){return[n.Button({title:o.partial(e.loc,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){i.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:r})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(6),n(10),n(8),n(143),n(21),n(362),n(26)],void 0!==(o=function(e,t,n,r,o,i,s,l){var u=e._,c=e.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:"password.forgot.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),f=e.View.extend({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'<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",n.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return t.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return o.validateUsername(this)},save:function(){var e=this,t=this.settings.get("relayState");this.startTransaction(function(r){return r.forgotPassword({username:e.settings.transformUsername(e.get("username"),n.FORGOT_PASSWORD),factorType:e.get("factorType"),relayState:t})}).catch(function(){})}},Form:{noButtonBar:!0,title:u.partial(e.loc,"password.reset","login"),formChildren:function(){var t=this.settings.get("features.smsRecovery"),o=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(t||o||s),f=[];return u?this.add(c,".o-form-error-container"):(f.push(r.Input({label:e.loc("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:i.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:l,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(t||o)&&f.push(r.View({View:e.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'<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=t&&o?e.loc("recovery.smsOrCall"):o?e.loc("recovery.call"):e.loc("recovery.sms"),{mobileFactors:n}}})})),t&&(this.$el.addClass("forgot-password-sms-enabled"),f.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",n.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),o&&(this.$el.addClass("forgot-password-call-enabled"),f.push(this.createRecoveryFactorButton("call-button","password.forgot.call",n.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_CALL)),s&&(this.$el.addClass("forgot-password-email-enabled"),f.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),f},initialize:function(){this.listenTo(this.state,"contactSupport",function(){this.add(s,".o-form-error-container")}),this.listenTo(this,"save",function(){this.options.appState.set("username",this.model.get("username")),this.model.save()})},setDefaultFactorType:function(e){u.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(t,n,o,i){return r.Button({attributes:{"data-se":t},className:"button button-primary button-wide "+t,title:e.loc(n,"login"),click:function(){i.clearErrors(),this.model.isValid()&&(this.model.set("factorType",o),i.trigger("save",this.model))}})}},Footer:f,initialize:function(){this.options.appState.unset("username")}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(6),n(8),n(10),n(84),n(26)],void 0!==(o=function(e,t,n,r,o,i){var l=e._;return t.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}),l.delay((0,a.default)(l).call(l,this.set,this),r.API_RATE_LIMIT,{ableToResend:!0})},save:function(){return this.doTransaction(function(e){return e.verify({passCode:this.get("passCode")})})}},Form:{autoSave:!0,save:l.partial(e.loc,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===r.RECOVERY_FACTOR_TYPE_CALL?e.loc("recoveryChallenge.call.title","login"):e.loc("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",function(){this.clearErrors()})},formChildren:function(){return[n.Button({title:e.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(t,n){n?(this.options.title=e.loc("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=e.loc("mfa.sent","login"),this.disable(),this.render())})}}),n.Input({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:i,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();var t=this.model.settings,n=this.options.appState.get("username"),o=this.options.appState.get("recoveryType");this.model.startTransaction(function(e){switch(o){case r.RECOVERY_TYPE_PASSWORD:return e.forgotPassword({username:t.transformUsername(n,r.FORGOT_PASSWORD),factorType:r.RECOVERY_FACTOR_TYPE_EMAIL});case r.RECOVERY_TYPE_UNLOCK:return e.unlockAccount({username:t.transformUsername(n,r.UNLOCK_ACCOUNT),factorType:r.RECOVERY_FACTOR_TYPE_EMAIL});default:return}})}},initialize:function(){var t,n=this.options.appState.get("recoveryType");switch(n){case r.RECOVERY_TYPE_PASSWORD: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 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 r.RECOVERY_TYPE_UNLOCK: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 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})}t&&this.settings.get("features.emailRecovery")&&this.add(e.View.extend({className:"link send-email-link",tagName:"a",attributes:{href:"#","data-se":"send-email-link"},template:t})),this.settings.get("features.hideBackToSignInForReset")||this.add(new o(l.extend(this.toJSON(),{linkText:e.loc("goback","login"),linkClassName:""})))},postRender:function(){this.model.limitResending()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(10),n(6),n(8)],void 0!==(o=function(e,t,n,r){var o=e._;return n.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o.partial(e.loc,"password.forgot.emailSent.title","login"),subtitle:function(){var t=this.options.appState.get("username");return e.loc("password.forgot.emailSent.desc","login",[t])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){var n=[r.View({View:e.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'<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:e.loc("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||n.push(r.Button({title:e.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",t.DIRECTION_BACK),e.options.appState.trigger("navigate","")})}})),n}},initialize:function(e){this.settings.callGlobalSuccess(t.FORGOT_PASSWORD_EMAIL_SENT,{username:e.appState.get("username")})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6),n(8),n(84),n(26)],void 0!==(o=function(e,t,n,r,o){return t.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 e.loc("password.forgot.question.submit","login");case"UNLOCK":return e.loc("account.unlock.question.submit","login");default:return e.loc("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return e.loc("password.forgot.question.title","login");case"UNLOCK":return e.loc("account.unlock.question.title","login");default:return""}},formChildren:function(){return[n.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:e.loc("mfa.challenge.answer.placeholder","login"),name:"answer",input:o,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",function(){var e=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(e)})}}),n.Input({label:!1,"label-top":!0,placeholder:e.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(r,{linkText:e.loc("goback","login"),linkClassName:""})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(16));r=[n(0),n(6),n(8),n(143),n(32),n(21),n(84),n(26),n(361)],void 0!==(o=function(e,t,n,r,o,i,l,u,c){var f=e._;return t.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return r.validatePasswordMatch(this)},save:function(){this.trigger("save");var e=this;return this.doTransaction(function(t){return t.resetPassword({newPassword:e.get("newPassword")})})}},Form:{save:f.partial(e.loc,"password.reset","login"),title:function(){return this.settings.get("brandName")?e.loc("password.reset.title.specific","login",[this.settings.get("brandName")]):e.loc("password.reset.title.generic","login")},subtitle:function(){var e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return o.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=o.removeRequirementsFromError(e,t)),e},formChildren:function(){var t=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&t.push(n.View({View:new c({policy:this.options.appState.get("policy")})})),t=(0,s.default)(t).call(t,[n.Input({className:"margin-btm-5",label:e.loc("password.newPassword.placeholder","login"),"label-top":!0,explain:i.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:u,type:"password"}),n.Input({label:e.loc("password.confirmPassword.placeholder","login"),"label-top":!0,explain:i.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:u,type:"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,a.default)(f).call(f,this.model.save,this.model))}),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(l)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(6)],void 0!==(o=function(e,t){return t.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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(6),n(10),n(8),n(21),n(143),n(362),n(26)],void 0!==(o=function(e,t,n,r,o,i,s,l){var u=e._,c=e.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:"account.unlock.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),f=e.View.extend({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'<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",n.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return t.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return i.validateUsername(this)},save:function(){var e=this;return this.startTransaction(function(t){return t.unlockAccount({username:e.settings.transformUsername(e.get("username"),n.UNLOCK_ACCOUNT),factorType:e.get("factorType")})}).catch(function(){})}},Form:{noButtonBar:!0,title:u.partial(e.loc,"account.unlock.title","login"),formChildren:function(){var t=this.settings.get("features.smsRecovery"),i=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(t||i||s),f=[],d=this;return u?this.add(c,".o-form-error-container"):(f.push(r.Input({label:e.loc("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:o.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:l,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(t||i)&&f.push(r.View({View:e.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'<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=t&&i?e.loc("recovery.smsOrCall"):i?e.loc("recovery.call"):e.loc("recovery.sms"),{mobileFactors:n}}})})),t&&(this.$el.addClass("forgot-password-sms-enabled"),f.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",n.RECOVERY_FACTOR_TYPE_SMS,d)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),i&&(this.$el.addClass("forgot-password-call-enabled"),f.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",n.RECOVERY_FACTOR_TYPE_CALL,d)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_CALL)),s&&(this.$el.addClass("forgot-password-email-enabled"),f.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,d)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),f},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(s,".o-form-error-container")})},setDefaultFactorType:function(e){u.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(t,n,o,i){return r.Button({attributes:{"data-se":t},className:"button button-primary button-wide "+t,title:e.loc(n,"login"),click:function(){i.clearErrors(),this.model.isValid()&&(this.model.set("factorType",o),i.trigger("save",this.model))}})}},Footer:f})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(10),n(6),n(8)],void 0!==(o=function(e,t,n,r){var o=e._;return n.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o.partial(e.loc,"account.unlock.unlocked.title","login"),subtitle:o.partial(e.loc,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[r.Button({title:e.loc("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",t.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(10),n(6),n(8)],void 0!==(o=function(e,t,n,r){var o=e._;return n.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o.partial(e.loc,"account.unlock.emailSent.title","login"),subtitle:function(){var t=this.options.appState.get("username");return e.loc("account.unlock.emailSent.desc","login",[t])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[r.Button({title:e.loc("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",t.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(e){this.settings.callGlobalSuccess(t.UNLOCK_ACCOUNT_EMAIL_SENT,{username:e.appState.get("username")})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(6)],void 0!==(o=function(e){return e.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),e.prototype.remove.apply(this,arguments)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24)),s=i(n(3));r=[n(0),n(36),n(847),n(848),n(126),n(10),n(363),n(849),n(56),n(21)],void 0!==(o=function(e,t,n,r,o,i,l,u,c,f){var d=e._,p=e.Backbone,h=e.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'<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",i.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return o.extend({className:"registration",initialize:function(){var e=n.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(i.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")});new r({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;this.model.attributes=e,p.Model.prototype.save.call(this.model).then(function(){var e=t.model.get("activationToken"),n=e||t.model.get("email");t.settings.postSubmit(n,function(){t.doPostSubmit()},function(e){t.showErrors(e)})}).fail(function(e){var n=e.responseJSON;if(n&&n.errorCauses.length){var r=n.errorCauses[0].errorSummary;f.triggerAfterError(t,new c.RegistrationError(r))}})},createRegistrationModel:function(t){var n=this;return new(e.Model.extend({url:n.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:t,local:{activationToken:"string"},toJSON:function(){return{userProfile:e.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.preSubmit(this.attributes,function(e){n.registerUser(e)},function(e){n.showErrors(e)})}}))},showErrors:function(e,t){"parseSchema"===e.callback&&e.errorCauses&&(e.errorSummary=d.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(f.triggerAfterError(this,new c.RegistrationError(n)),t){var r;(0,a.default)(r=this.$el).call(r,".button-primary").hide()}},fetchInitialData:function(){var n=this;return n.state.get("schema").on("parseComplete",function(t){var r=t.properties.createModelProperties();n.settings.set("defaultPolicyId",t.properties.defaultPolicyId),n.model=n.createRegistrationModel(r);var o=e.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:e.loc("registration.form.title","login"),save:e.loc("registration.form.submit","login")}),i=new o(n.toJSON());if(n.add(i),n.footer=new n.Footer(n.toJSON()),n.add(n.footer),n.addListeners(),t.error)n.showErrors(t.error,!0);else{t.properties.each(function(e){var t=l.createInputOptions(e),n=e.get("subSchemas"),r=e.get("name");i.addInput(t),"password"===r&&n&&i.add(u.extend({id:"subschemas-"+r,subSchemas:n}))});var a=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="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:e.loc("registration.required.fields.label","login")});i.add(a)}}),t(this.state.get("schema").fetch())},Footer:h})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(234)),s=i(n(7));r=[n(0)],void 0!==(o=function(e){var t=e._,n=e.internal.models,r=n.BaseSchema,o=n.SchemaProperty,i=o.Collection.extend({createModelProperties:function(){var e=o.Collection.prototype.createModelProperties.apply(this);return t.each(e,function(e,t){e.required=!!this.get(t).get("required")},this),e}});return r.Model.extend({expand:["schema"],constructor:function(){this.properties=new i,e.BaseModel.apply(this,arguments)},parse:function(e){var n=(0,s.default)(t).call(t,function(e){var n=e.schema.required;t.isArray(n)&&t.each(n,function(e){var t=this.properties.get(e);t&&t.set("required",!0)},this);var r=e.schema.fieldOrder;if(t.isArray(r)){var o;t.each(r,function(e,t){var n=this.properties.get(e);n&&n.set("sortOrder",t)},this),this.properties.comparator="sortOrder",(0,a.default)(o=this.properties).call(o)}return this.properties.defaultPolicyId=e.policyId,e},this),o=this;this.settings.parseSchema(e,function(e){e.profileSchema&&(e.schema=e.profileSchema,r.Model.prototype.parse.apply(o,[e]),e=n(e)),o.trigger("parseComplete",{properties:o.properties})},function(e){o.trigger("parseComplete",{properties:o.properties,error:e})})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(141)],void 0!==(o=function(e,t){return t.extend({constructor:function(t){this.settings=t&&t.settings,e.Model.apply(this,arguments)},loginWithActivationToken:function(e){return this.startTransaction(function(t){return t.signIn({token:e})})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(41)),s=i(n(3));r=[n(0)],void 0!==(o=function(e){var t=e.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},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="default-schema"><span class="icon icon-16"/>'+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:54},end:{line:1,column:65}}}):i))+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}});return e.View.extend({className:"subschema",children:function(){var e;return(0,a.default)(e=this.subSchemas).call(e,function(e,n){var r=e.get("description"),o=r;return t.extend({index:n,message:o})})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(10),n(6),n(8)],void 0!==(o=function(e,t,n,r){return n.extend({events:{"click .back-btn":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",t.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(t.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})},Form:{noButtonBar:!0,formChildren:function(){return[r.View({View:e.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main: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 class="container"><span class="title-icon icon icon-16 confirm-16-green"></span><h2 class="title">'+u((i=null!=(i=c(n,"title")||(null!=t?c(t,"title"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"title",hash:{},data:o,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):i))+'</h2><div class="desc">'+u((i=null!=(i=c(n,"desc")||(null!=t?c(t,"desc"):t))?i:l,"function"===(0,a.default)(i)?i.call(s,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i))+'</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:o,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:e.loc("registration.complete.confirm.text","login"),title:e.loc("registration.complete.title","login")}}})})]}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(7)),s=i(n(3));r=[n(0),n(6),n(8),n(852)],void 0!==(o=function(e,t,n,r){var o=e._;return t.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,a.default)(o).call(o,this.model.cancel,this.model))},postRender:function(){t.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: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()})}},Form:{noCancelButton:!1,autoSave:!0,save:o.partial(e.loc,"consent.required.consentButton","login"),cancel:o.partial(e.loc,"consent.required.cancelButton","login"),formChildren:function(){return[n.View({View:e.View.extend({className:"consent-title detail-row",template: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'<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=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+e.escapeExpression((i=null!=(i=a(n,"customLogo")||(null!=t?a(t,"customLogo"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):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'<img class="client-logo default-logo" src="'+e.escapeExpression((i=null!=(i=a(n,"defaultLogo")||(null!=t?a(t,"defaultLogo"):t))?i:e.hooks.helperMissing,"function"==typeof i?i.call(null!=t?t:e.nullContext||{},{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:218},end:{line:1,column:233}}}):i))+'" />'},7:function(e,t,n,r,o){return"</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,"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:244}}}))?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:244},end:{line:1,column:272}}}))?i:"")+"<span>"+(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:278},end:{line:1,column:352}}}))?i:"")+"</span>"},useData:!0}),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}}})}),n.View({View:new r({model:this.model})}),n.View({View:e.View.extend({className:"consent-description detail-row",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"<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:e.View.extend({className:"consent-footer",template:s.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}}})})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(27));r=[n(0),n(853)],void 0!==(o=function(e,t){return e.View.extend({className:"scope-list detail-row",postRender:function(){var e,n=this;(0,a.default)(e=this.model.get("scopes")).call(e,function(e){n.add(t,{options:{name:e.displayName||e.name,description:e.description}})})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(230)],void 0!==(o=function(e){return e.View.extend({className:"scope-item",template:a.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'<div class="scope-item-text"><p>'+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:32},end:{line:1,column:40}}}):a))+"</p></div>"+(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:50},end:{line:1,column:129}}}))?i:"")},useData:!0}),postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:this.options.description},style:{classes:"okta-sign-in-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(855),n(126),n(856),n(350)],void 0!==(o=function(e,t,n,r,o){return n.extend({className:"enroll-user",initialize:function(e){this.options=e||{},this.model=new t(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():n.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){var e=new r(this.toJSON());this.add(e),this.add(new o(this.toJSON())),this.addListeners()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0),n(141)],void 0!==(o=function(e,t){var n=e._;return t.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 r=t.prototype.toJSON.apply(this,arguments);if(r=n.omit(r,["appState","settings","createNewAccount"]),!n.isEmpty(r))return this.manageTransaction(function(e,t){e.enroll(this.constructPostData(r)).then(function(e){t(e)})});var o={errorSummary:e.loc("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:o})}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0),n(363),n(857)],void 0!==(o=function(e,t,n){return e.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:e.loc("registration.form.title","login"),save:e.loc("registration.form.submit","login"),initialize:function(r){var o=this;this.options=r||{},this.schema=new n({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each(function(e){var n=t.createInputOptions(e);o.addInput(n)});var i=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="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:e.loc("registration.required.fields.label","login")});this.add(i)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o;r=[n(0)],void 0!==(o=function(e){var t=e._;return e.internal.models.BaseSchema.Model.extend({expand:["schema"],setFieldPlaceholder:function(e){return t.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}])}}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24)),s=i(n(3));r=[n(0),n(36),n(32),n(859),n(178)],void 0!==(o=function(e,t,n,r,o){return e.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'<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,a.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,r=this.options.appState.get("factors");return e=r?n.findFactorInFactorsArray(r,this.options.provider,this.options.factorType):new o.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(r,'[data-type="factor-types-dropdown"]')},fadeOut:function(){var e=t.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||n.isOktaVerify(t.provider,t.factorType)&&n.isOktaVerify(this.options.provider,this.options.factorType))}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24));r=[n(0),n(32),n(178),n(860)],void 0!==(o=function(e,t,n,r){var o=e._,i=e.$,s=e.internal.views.components.BaseDropDown;return i(document).click(function(e){var t=i(e.target);t.closest(".option-selected").length>0&&t.closest(".dropdown").length>0||(i(".dropdown .options").hide(),i(".dropdown a.option-selected").attr("aria-expanded",!1))}),s.extend({className:"bg-helper icon-button",screenReaderText:function(){var r,o,i=this.options.appState.get("factors");return r=i?t.findFactorInFactorsArray(i,this.options.provider,this.options.factorType):new n.Model(this.options.appState.get("factor"),this.toJSON()),o=r.get("factorLabel"),e.loc("mfa.factors.dropdown.sr.text","login",[o])},events:{"click a.option-selected":function(e){if(e.preventDefault(),o.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,a.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(r.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(r.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)}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(28)),s=i(n(3));r=[n(0),n(48)],void 0!==(o=function(e,t){var n=e._,r=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}),o=function(e){var n,r=e.get("factorType"),o=this.options.appState.get("factors");o.hasMultipleFactorsOfSameType(r)&&(n=o.getFactorIndex(r,e.get("id")));var i=t.createVerifyUrl(e.get("provider"),r,n),a=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){a.trigger("options:toggle"),t(e),a.options.appState.trigger("navigate",i)});a.trigger("options:toggle"),a.options.appState.trigger("navigate",i)})},i={TITLE:{title:n.partial(e.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(){o.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return r({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){o.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(){o.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:n.partial(e.loc,"factor.totpHard.rsaSecurId","login"),action:function(){o.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:n.partial(e.loc,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:n.partial(e.loc,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:n.partial(e.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(){o.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.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(){o.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){o.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(){o.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(){o.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(){o.call(this,this.model)}}};return{getDropdownOption:function(e){return i[e]}}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(3));r=[n(0)],void 0!==(o=function(e){return e.View.extend({className:"piv-beacon",template:a.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}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(24)),s=i(n(82)),l=i(n(165));r=[n(0),n(6),n(8)],void 0!==(o=function(e,t,n){return t.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:e.loc("oform.cancel","login"),modelEvents:{cancelRequest:"_stopCountDown"},formChildren:[n.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,l.default)(function(){t._updateTitle(e),0===e?(t._stopCountDown(),t.$(".okta-waiting-spinner").show(),t.checkStatusTimeout=(0,s.default)(function(){t._checkStatus()},200)):e-=1},1e3)},_updateTitle:function(t){var n;this.title=e.loc("polling.title","login",[t]),(0,a.default)(n=this.$el).call(n,".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()}})}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1),o=r(n(864)),i=r(n(934));e.exports=i.default.extend({routes:{"":"defaultAuth","*wildcard":"defaultAuth"},defaultAuth:function(){this.render(o.default)}})},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(24)),a=n(0),s=r(n(865)),l=r(n(933)),u=n(366),c=a.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){var t=s.default.create(e.name,this.options.appState.get("authenticatorType"));try{this.formView=this.add(t,{options:{currentViewState:e}}).last()}catch(e){return void this.options.settings.callGlobalError(e)}this.triggerAfterRenderEvent()}},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("authenticatorType"),n=this.options.appState.get("authenticatorMethodType"),r=this.options.appState.get("isPasswordRecoveryFlow"),o=(0,u.getV1ClassName)(e,t,n,r),i={controller:o,formName:e};return t&&(i.authenticatorType=t),n&&t!==n&&(i.methodType=n),i},handleSwitchForm:function(e){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((0,i.default)(e=r.neededToProceed).call(e,function(e){return e.name===n})){var s;return void r.proceed(n,{}).then((0,o.default)(s=this.handleIdxSuccess).call(s,this)).catch(function(e){t.showFormErrors(t.formView.model,e)})}var l=r.actions[n];if(a._.isFunction(l)){var u;l().then((0,o.default)(u=this.handleIdxSuccess).call(u,this)).catch(function(e){t.showFormErrors(t.formView.model,e)})}else this.options.settings.callGlobalError("Invalid action selected: ".concat(n)),this.showFormErrors(this.formView.model,"Invalid action selected.")},handleSaveForm:function(e){var t,n,r=this,a=e.get("formName"),s=this.options.appState.get("idx");if(!(0,i.default)(t=s.neededToProceed).call(t,function(e){return e.name===a}))return this.options.settings.callGlobalError('Cannot find http action for "'.concat(a,'".')),void this.showFormErrors(this.formView.model,"Cannot find action to proceed.");this.toggleFormButtonState(!0),e.trigger("request"),s.proceed(a,e.toJSON()).then((0,o.default)(n=this.handleIdxSuccess).call(n,this)).catch(function(t){t.proceed&&t.rawIdxState?r.handleIdxSuccess(t):r.showFormErrors(e,t)}).finally(function(){r.toggleFormButtonState(!1)})},showFormErrors:function(e,t){if(e.trigger("clearFormError"),t||(t="FormController - unknown error found",this.options.settings.callGlobalError(t)),l.default.isIonErrorResponse(t)){var n=l.default.convertFormErrors(t),r=!n.responseJSON.errorCauses.length;e.trigger("error",e,n,r)}else t.errorSummary?e.trigger("error",e,{responseJSON:t},!0):e.trigger("error",e,{responseJSON:{errorSummary:String(t)}},!0)},handleIdxSuccess:function(e){this.options.appState.trigger("remediationSuccess",e)},toggleFormButtonState:function(e){var t;(0,i.default)(t=this.$el).call(t,".o-form-button-bar .button").toggleClass("link-button-disabled",e)}});t.default=c},function(e,t,n){"use strict";var r,o=n(1),i=o(n(16)),a=o(n(140)),s=o(n(63)),l=n(64),u=o(n(42)),c=o(n(871)),f=o(n(875)),d=o(n(876)),p=o(n(877)),h=o(n(879)),m=o(n(880)),g=o(n(881)),v=o(n(882)),y=o(n(883)),b=o(n(884)),_=o(n(885)),w=o(n(886)),x=o(n(182)),S=o(n(887)),E=o(n(888)),T=o(n(889)),k=o(n(890)),C=o(n(891)),O=o(n(910)),A=o(n(368)),N=o(n(911)),I=o(n(912)),R=o(n(913)),P=o(n(914)),M=o(n(915)),L=o(n(917)),D=o(n(919)),F=o(n(920)),U=o(n(921)),j=o(n(922)),B=o(n(923)),q=o(n(927)),V=o(n(928)),H=o(n(931)),W=o(n(932)),$=(r={},(0,a.default)(r,l.FORMS.IDENTIFY,(0,a.default)({},"_",c.default)),(0,a.default)(r,l.FORMS.DEVICE_CHALLENGE_POLL,(0,a.default)({},"_",p.default)),(0,a.default)(r,l.FORMS.DEVICE_APPLE_SSO_EXTENSION,(0,a.default)({},"_",h.default)),(0,a.default)(r,l.FORMS.CANCEL_TRANSACTION,(0,a.default)({},"_",h.default)),(0,a.default)(r,"select-factor-authenticate",(0,a.default)({},"_",v.default)),(0,a.default)(r,"select-factor-enroll",(0,a.default)({},"_",g.default)),(0,a.default)(r,l.FORMS.ENROLL_PROFILE,(0,a.default)({},"_",m.default)),(0,a.default)(r,"enroll-factor",{email:F.default,password:_.default}),(0,a.default)(r,"challenge-factor",{email:F.default,password:w.default,webauthn:P.default}),(0,a.default)(r,l.FORMS.SELECT_AUTHENTICATOR_ENROLL,(0,a.default)({},"_",y.default)),(0,a.default)(r,l.FORMS.AUTHENTICATOR_ENROLLMENT_DATA,{phone:O.default}),(0,a.default)(r,l.FORMS.ENROLL_AUTHENTICATOR,{password:x.default,security_key:M.default,phone:C.default,security_question:I.default,email:D.default}),(0,a.default)(r,l.FORMS.ENROLL_POLL,{app:j.default}),(0,a.default)(r,l.FORMS.SELECT_ENROLLMENT_CHANNEL,{app:B.default}),(0,a.default)(r,l.FORMS.ENROLLMENT_CHANNEL_DATA,{app:q.default}),(0,a.default)(r,l.FORMS.REENROLL_AUTHENTICATOR,{password:E.default}),(0,a.default)(r,l.FORMS.REENROLL_AUTHENTICATOR_WARNING,{password:T.default}),(0,a.default)(r,l.FORMS.RESET_AUTHENTICATOR,{password:k.default}),(0,a.default)(r,l.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,(0,a.default)({},"_",b.default)),(0,a.default)(r,l.FORMS.CHALLENGE_AUTHENTICATOR,{email:U.default,password:S.default,webauthn:P.default,security_key:L.default,security_question:R.default,phone:A.default,app:V.default}),(0,a.default)(r,l.FORMS.CHALLENGE_POLL,{app:H.default}),(0,a.default)(r,l.FORMS.RESEND_PUSH,(0,a.default)({},"_",W.default)),(0,a.default)(r,l.FORMS.AUTHENTICATOR_VERIFICATION_DATA,{phone:N.default}),(0,a.default)(r,l.FORMS.SUCCESS_REDIRECT,(0,a.default)({},"_",d.default)),(0,a.default)(r,l.FORMS.REDIRECT_IDP,(0,a.default)({},"_",c.default)),(0,a.default)(r,l.FORMS.TERMINAL,(0,a.default)({},"_",f.default)),r);e.exports={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_",n=$[e];if(!n)return s.default.warn("Cannot find customized View for ".concat(e,".")),u.default;var r=n[t]||n._;if(!r){var o;return s.default.warn((0,i.default)(o="Cannot find customized View for ".concat(e," + ")).call(o,t,".")),u.default}return r}}},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(28)),i=r(n(3)),a=n(0),s=a.View.extend({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 class="factor-description">'+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:250},end:{line:1,column:265}}}):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,"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:187},end:{line:1,column:196}}}):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:201},end:{line:1,column:276}}}))?a:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),children:function(){return[[(0,a.createButton)({className:"button select-factor",title:function(){return"Select"},click:function(){this.model.trigger("selectFactor",this.model.get("value"))}}),".enroll-factor-button"]]},minimize:function(){this.$el.addClass("enroll-factor-row-min")}}),l=a.ListView.extend({className:"enroll-factor-list",item:s,itemSelector:".list-content",initialize:function(){this.listenTo(this.collection,"selectFactor",function(e){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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(28)),i=r(n(3)),a=n(0),s=n(64),l=r(n(868)),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:263},end:{line:1,column:278}}}):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="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">'+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:187},end:{line:1,column:196}}}):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:201},end:{line:1,column:289}}}))?a:"")+'<div class="authenticator-button"></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(4)(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),o=n(64),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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(28)),i=r(n(3)),a=n(0),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,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:321},end:{line:1,column:336}}}):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="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 '+(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:191},end:{line:1,column:243}}}))?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:245},end:{line:1,column:254}}}):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:259},end:{line:1,column:347}}}))?a:"")+'</div><div class="authenticator-button"></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",function(e){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),o=r(n(44)),i=r(n(27)),a=r(n(140)),s=r(n(17)),l=n(0),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"};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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(27)),a=r(n(24)),s=r(n(44)),l=n(0),u=n(64),c=r(n(42)),f=r(n(9)),d=r(n(92)),p=r(n(872)),h=r(n(873)),m=r(n(874)),g=n(364),v=n(127),y=f.default.extend({title:function(){return(0,l.loc)("primaryauth.title","login")},save:(0,l.loc)("oform.next","login"),render:function(){f.default.prototype.render.apply(this,arguments),this.options.appState.hasRemediationObject(u.FORMS.LAUNCH_AUTHENTICATOR)&&this.add(m.default,".o-form-fieldset-container",!1,!0);var e=this.getUISchema().length>0,t=(0,g.createIdpButtons)(this.options.appState.get("remediations"));(0,s.default)(t)&&t.length&&this.add(p.default,{selector:".o-form-button-bar",options:{idpButtons:t,addSeparateLine:e}});var n=(0,g.createCustomButtons)(this.options.settings);if((0,s.default)(n)&&n.length&&this.add(h.default,{selector:".o-form-button-bar",options:{customButtons:n,addSeparateLine:!0}}),!e){var r;(0,a.default)(r=this.$el).call(r,".button-primary").hide()}},showMessages:function(){var e=this.options.appState.get("messages");if(e&&e.value.length&&"identify"===this.options.appState.get("currentFormName")){var t=e.value[0].message,n=(0,l.createCallout)({content:t,type:"warning"});this.add(n,".o-form-error-container")}}}),b=d.default.extend({links:function(){var e,t,n;if(this.options.settings.get("helpLinks.help"))n=this.options.settings.get("helpLinks.help");else{n=this.options.settings.get("baseUrl")+"/help/login"}var r=[{name:"help",label:(0,l.loc)("help","login"),href:n}],a=[];this.options.appState.hasRemediationObject(u.FORMS.SELECT_ENROLL_PROFILE)&&a.push({type:"link",label:(0,l.loc)("signup","login"),name:"enroll",actionPath:u.FORMS.SELECT_ENROLL_PROFILE});var s=(0,v.getForgotPasswordLink)(this.options.appState,this.options.settings),c=[];if(this.options.settings.get("helpLinks.custom")){var f;(0,i.default)(f=this.options.settings.get("helpLinks.custom")).call(f,function(e){e.name="custom",e.label=e.text,c.push(e)})}return(0,o.default)(e=(0,o.default)(t=(0,o.default)(s).call(s,a)).call(t,r)).call(e,c)}}),_=c.default.extend({Body:y,Footer:b,postRender:function(){var e;c.default.prototype.postRender.apply(this,arguments);var t=this.options.appState;(0,a.default)(e=this.$el).call(e,".js-sign-up").click(function(){return t.trigger("invokeAction",u.FORMS.SELECT_ENROLL_PROFILE),!1})}});t.default=_},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(27)),a=r(n(3)),s=n(0),l=s.View.extend({className:"sign-in-with-idp",template:a.default.template({1:function(e,t,n,r,o){return'<div class="separation-line"><span>OR</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:80}}}))?i:"")+'<div class="okta-idps-container"></div>'},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);return(0,o.default)(e,{addSeparateLine:this.options.addSeparateLine})}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(27)),a=r(n(3)),s=n(0),l=s.View.extend({className:"custom-buttons",template:a.default.template({1:function(e,t,n,r,o){return'<div class="separation-line"><span>OR</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:80}}}))?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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=n(0),a=i.View.extend({className:"sign-in-with-device-option",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="okta-verify-container"></div><div class="separation-line"><span>OR</span></div>'},useData:!0}),initialize:function(){var e=this.options.appState;this.add((0,i.createButton)({className:"button",title:(0,i.loc)("oktaVerify.button","login"),click:function(){e.trigger("invokeAction","launch-authenticator")}}),".okta-verify-container")}});t.default=a},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(44)),a=n(0),s=r(n(42)),l=r(n(9)),u=l.default.extend({noButtonBar:!0,postRender:function(){l.default.prototype.postRender.apply(this,arguments),this.$el.addClass("terminal-state")},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;t.class&&"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")})}}}),c=s.default.extend({Body:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(9)),a=r(n(21)),s=n(0),l=i.default.extend({title:function(){return(0,s.loc)("oie.success.redirect","login")},noButtonBar:!0,initialize:function(){i.default.prototype.initialize.apply(this,arguments);var e=this.options.currentViewState.href;a.default.redirectWithFormGet(e)},render:function(){i.default.prototype.render.apply(this,arguments),this.add('<div class="okta-waiting-spinner"></div>')}}),u=o.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(242)),a=r(n(83)),s=r(n(16)),l=r(n(17)),u=r(n(3)),c=n(0),f=r(n(42)),d=r(n(9)),p=r(n(240)),h=r(n(241)),m=r(n(92)),g=r(n(63)),v=r(n(179)),y=r(n(128)),b=r(n(21)),_=function(e){var t=(0,l.default)({method:"GET",contentType:"application/json"},e);return c.$.ajax(t)},w=d.default.extend((0,l.default)({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){d.default.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.onPollingFail),this.deviceChallengePollRemediation=this.options.currentViewState,this.doChallenge(),this.startPolling()},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling()},remove:function(){d.default.prototype.remove.apply(this,arguments),this.stopPolling()},doChallenge:function(){var e=this.deviceChallengePollRemediation.relatesTo.value;switch(e.challengeMethod){case"LOOPBACK":this.title=(0,c.loc)("signin.with.fastpass","login"),this.add(c.View.extend({template:u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="spinner"></div>'},useData:!0})})),this.doLoopback(e.domain,e.ports,e.challengeRequest);break;case"CUSTOM_URI":this.title=(0,c.loc)("customUri.title","login"),this.subtitle=(0,c.loc)("customUri.subtitle","login"),this.add(c.View.extend({template:u.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:"customUri.content"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?i:""},useData:!0})})),this.customURI=e.href,this.doCustomURI();break;case"UNIVERSAL_LINK":this.title=(0,c.loc)("universalLink.title","login"),this.add(c.View.extend({template:u.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:"universalLink.content"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?i:""},useData:!0})})),this.add((0,c.createButton)({className:"ul-button button button-wide button-primary",title:(0,c.loc)("oktaVerify.button","login"),click:function(){b.default.redirect(e.href)}}))}},doLoopback:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",u=!1,c=0,f=function(t){var r,o;return(0,s.default)(r=(0,s.default)(o="".concat(n,":")).call(o,e,"/")).call(r,t)},d=function(){return _({url:f("probe"),timeout:v.default.isAndroid()?3e3:1e3})},p=function(){return u=!0,_({url:f("challenge"),method:"POST",data:(0,a.default)({challengeRequest:l}),timeout:3e3})},h=function(){g.default.error("Something unexpected happened while we were checking port ".concat(e,"."))},m=function(){return d().done(p).fail(h)},y=i.default.resolve();(0,o.default)(r).call(r,function(n){y=y.then(function(){if(!u)return e=n,m()}).catch(function(){c++,g.default.error("Authenticator is not listening on port ".concat(e,".")),c===r.length&&(g.default.error("No available ports. Loopback server failed and polling is cancelled."),t.options.appState.trigger("invokeAction","authenticatorChallenge-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()}},y.default)),x=m.default.extend({links:function(){var e=[];return"CUSTOM_URI"===this.options.currentViewState.relatesTo.value.challengeMethod&&(e=[{name:"sign-in-options",type:"link",label:(0,c.loc)("goback","login"),href:this.settings.get("baseUrl")}]),e}}),S=f.default.extend({Header:p.default.extend({HeaderBeacon:h.default.extend({getBeaconClassName:function(){return"mfa-okta-verify"}})}),Body:w,Footer:x});t.default=S},function(e,t,n){var r=n(322);e.exports=r},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(39)),i=r(n(29)),a=r(n(9)),s=r(n(21)),l=n(0),u=a.default.extend({noButtonBar:!0,title:function(){return(0,l.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e,t=this;a.default.prototype.initialize.apply(this,arguments),"get"===((0,o.default)(e=this.options.appState.get("remediations")).call(e,function(e){return e.name===t.options.appState.get("currentFormName")})[0].method||"").toLowerCase()?s.default.redirectWithFormGet(this.options.currentViewState.href):(this.add('<div class="spinner"></div>'),this.options.appState.trigger("saveForm",this.model))}}),c=i.default.extend({Body:u});t.default=c},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(42)),a=r(n(9)),s=r(n(92)),l=n(64),u=a.default.extend({title:function(){return(0,o.loc)("registration.form.title","login")},save:(0,o.loc)("registration.form.submit","login")}),c=s.default.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject(l.FORMS.SELECT_IDENTIFY)&&e.push({type:"link",label:(0,o.loc)("haveaccount","login"),name:"back",actionPath:l.FORMS.SELECT_IDENTIFY}),e}}),f=i.default.extend({Body:u,Footer:c});t.default=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(9)),a=n(0),s=i.default.extend({title:function(){return(0,a.loc)("enroll.choices.setup","login")},subtitle:(0,a.loc)("enroll.choices.description","login"),noButtonBar:!0}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(9)),a=n(0),s=i.default.extend({title:function(){return this.isPasswordRecoveryFlow()?(0,a.loc)("password.reset.title.generic","login"):(0,a.loc)("mfa.factors.dropdown.title","login")},subtitle:function(){return this.isPasswordRecoveryFlow()?(0,a.loc)("password.reset.verification","login"):(0,a.loc)("verify.choices.description","login")},isPasswordRecoveryFlow:function(){var e=this.options.appState.get("recoveryFactor");return e&&"password"===e.factorType},noButtonBar:!0}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(9)),a=n(0),s=i.default.extend({title:function(){return(0,a.loc)("oie.select.authenticators.enroll.title","login")},subtitle:function(){return this.options.settings.get("brandName")?(0,a.loc)("oie.select.authenticators.enroll.subtitle.custom","login",[this.options.settings.get("brandName")]):(0,a.loc)("oie.select.authenticators.enroll.subtitle","login")},noButtonBar:!0}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(42)),i=r(n(9)),a=n(0),s=i.default.extend({title:function(){return this.isPasswordRecoveryFlow()?(0,a.loc)("password.reset.title.generic","login"):(0,a.loc)("oie.select.authenticators.verify.title","login")},subtitle:function(){return this.isPasswordRecoveryFlow()?(0,a.loc)("oie.password.reset.verification","login"):(0,a.loc)("oie.select.authenticators.verify.subtitle","login")},isPasswordRecoveryFlow:function(){return this.options.appState.get("isPasswordRecovery")},noButtonBar:!0}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(16)),a=n(0),s=r(n(42)),l=r(n(9)),u=r(n(29)),c=l.default.extend({title:function(){return(0,a.loc)("enroll.password.setup","login")},save:function(){return(0,a.loc)("save.password","login")},getUISchema:function(){var e=l.default.prototype.getUISchema.apply(this,arguments);return(0,i.default)(e).call(e,[{name:"confirmPassword",label:(0,a.loc)("password.confirmPassword.placeholder","login"),type:"password","label-top":!0,params:{showPasswordToggle:!0}}])}}),f=u.default.extend({Body:c,createModelClass:function(){var e=s.default.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")){var e={};return e.confirmPassword=(0,a.loc)("password.error.match","login"),e}}})}});t.default=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=n(0),a=r(n(9)),s=r(n(65)),l=r(n(29)),u=a.default.extend({title:function(){return(0,i.loc)("factor.password","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),c=s.default.extend({links:function(){var e=s.default.prototype.links.apply(this,arguments);if(this.options.appState.getActionByPath("factor-recover")){var t;e=(0,o.default)(t=[{type:"link",label:(0,i.loc)("forgotpassword","login"),name:"forgot-password",actionPath:"factor-recover"}]).call(t,e)}return e}}),f=l.default.extend({Body:u,Footer:c});t.default=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=n(0),a=r(n(9)),s=r(n(65)),l=r(n(29)),u=n(127),c=a.default.extend({title:function(){return(0,i.loc)("oie.password.challenge.title","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),f=s.default.extend({links:function(){var e,t=s.default.prototype.links.apply(this,arguments);return t=(0,o.default)(e=(0,u.getForgotPasswordLink)(this.options.appState,this.options.settings)).call(e,t),t}}),d=l.default.extend({Body:c,Footer:f});t.default=d},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(182)),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(){return this.options.appState.get("recoveryAuthenticator").settings}}),s=i.default.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(92)),a=r(n(182)),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.default.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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(182)),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(1),o=n(892);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),a=o(n(368)),s=r(n(9)),l=a.ResendView.extend({className:"phone-authenticator-enroll--warning hide",resendActionKey:"currentAuthenticator-resend"}),u=a.default.prototype.Body.extend({className:"phone-authenticator-enroll",title:function(){return(0,i.loc)("oie.phone.enroll.title","login")},postRender:function(){s.default.prototype.postRender.apply(this,arguments),this.add(l,{selector:".o-form-error-container",prepend:!0})}}),c=a.default.extend({Body:u});t.default=c},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(893),a=n(333),s=n(28),l=n(896);e.exports=o},function(e,t,n){e.exports=n(894)},function(e,t,n){var r=n(367);e.exports=r},function(e,t,n){var r=n(5),o=n(19),i=n(58),a=n(104).f,s=n(38),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){e.exports=n(897)},function(e,t,n){var r=n(898);n(902),n(904),n(906),n(908),e.exports=r},function(e,t,n){n(171),n(899),n(79);var r=n(15);e.exports=r.WeakMap},function(e,t,n){"use strict";var r,o=n(22),i=n(174),a=n(180),s=n(900),l=n(901),u=n(31),c=n(80).enforce,f=n(285),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 g=m.prototype,v=g.delete,y=g.has,b=g.get,_=g.set;i(g,{delete:function(e){if(u(e)&&!p(e)){var t=c(this);return t.frozen||(t.frozen=new r),v.call(this,e)||t.frozen.delete(e)}return v.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(5),o=n(22),i=n(180),a=n(19),s=n(60),l=n(91),u=n(175),c=n(31),f=n(89),d=n(61).f,p=n(73).forEach,h=n(38),m=n(80),g=m.set,v=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,S={};if(h&&"function"==typeof w&&(b||x.forEach&&!a(function(){(new w).entries().next()}))){m=t(function(t,n){g(u(t,m,e),{type:e,collection:new w}),void 0!=n&&l(n,t[_],t,y)});var E=v(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=E(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 E(this).collection.size}})}else m=n.getConstructor(t,e,y,_),i.REQUIRED=!0;return f(m,e,!1,!0),S[e]=m,r({global:!0,forced:!0},S),b||n.setStrong(m,e,y),m}},function(e,t,n){"use strict";var r=n(174),o=n(180).getWeakData,i=n(40),a=n(31),s=n(175),l=n(91),u=n(73),c=n(46),f=n(80),d=f.set,p=f.getterFor,h=u.find,m=u.findIndex,g=0,v=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:g++,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?v(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?v(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?v(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?v(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(5)({target:"WeakMap",stat:!0},{from:n(903)})},function(e,t,n){"use strict";var r=n(59),o=n(88),i=n(91);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(5)({target:"WeakMap",stat:!0},{of:n(905)})},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(5),o=n(62),i=n(907);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(40),o=n(59);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(5)({target:"WeakMap",proto:!0,real:!0,forced:n(62)},{upsert:n(909)})},function(e,t,n){"use strict";var r=n(40);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){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(166)),i=r(n(16)),a=r(n(7)),s=r(n(120)),l=r(n(17)),u=r(n(164)),c=r(n(24)),f=n(0),d=r(n(42)),p=r(n(9)),h=r(n(29)),m=r(n(181)),g=r(n(93)),v=p.default.extend({className:"phone-authenticator-enroll",title:function(){return(0,f.loc)("oie.phone.enroll.title","login")},subtitle:function(){return(0,f.loc)("oie.phone.enroll.subtitle","login")},render:function(){p.default.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=p.default.prototype.getUISchema.apply(this,arguments),t=(0,c.default)(f._).call(f._,e,function(e){return"authenticator.phoneNumber"===e.name}),n=(0,u.default)(f._).call(f._,e,function(e){return"authenticator.phoneNumber"===e.name}),r={"label-top":!0,label:(0,f.loc)("country.label","login"),type:"select",options:m.default.getCountries(),name:"country"},o={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"},(0,l.default)({},t)]},i={label:(0,f.loc)("phone.extention.label","login"),type:"text",className:"phone-authenticator-enroll__phone-ext hide","label-top":!0,name:"extension"};return-1!==n&&((0,s.default)(e).call(e,n,1,o),(0,s.default)(e).call(e,n,0,r),(0,s.default)(e).call(e,n+2,0,i)),e},initialize:function(){var e,t;p.default.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))}}),y=h.default.extend({Body:v,Footer:g.default,createModelClass:function(){var e=d.default.prototype.createModelClass.apply(this,arguments),t=(0,l.default)({country:{value:"US",type:"string"},extension:{type:"string"}},e.prototype.local),n=(0,l.default)({phoneCode:{deps:["country"],fn:function(e){return m.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&&n&&(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=y},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(24)),a=r(n(39)),s=r(n(16)),l=n(0),u=r(n(42)),c=r(n(9)),f=r(n(29)),d=r(n(65)),p=c.default.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;c.default.prototype.initialize.apply(this,arguments);var t="sms"===this.model.get("primaryMode")?(0,l.loc)("oie.phone.verify.sms.sendText","login"):(0,l.loc)("oie.phone.verify.call.sendText","login");this.add((0,s.default)(e='<div class="okta-form-subtitle" data-se="o-form-explain">'.concat(t,'\n        <div><span class="strong">')).call(e,this.model.escape("phoneNumber"),"</span></div>\n        </div>"))},getUISchema:function(){var e=c.default.prototype.getUISchema.apply(this,arguments);return(0,a.default)(e).call(e,function(e){return"authenticator.methodType"!==e.name})},render:function(){c.default.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")}}}),h=f.default.extend({Body:p,Footer:d.default,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=a&&a.value||{},c=s.profile,f=u.default.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:c.phoneNumber,type:"string"}},f.prototype.local);return f.extend({local:d})}});t.default=h},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(9)),a=r(n(29)),s=r(n(93)),l=i.default.extend({title:function(){return(0,o.loc)("oie.security.question.enroll.title","login")},save:function(){return(0,o.loc)("mfa.challenge.verify","login")}}),u=a.default.extend({Body:l,Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(45)),i=r(n(39)),a=n(0),s=r(n(9)),l=r(n(29)),u=r(n(65)),c=s.default.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.default.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}}),f=l.default.extend({Body:c,Footer:u.default});t.default=f},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=n(0),a=r(n(9)),s=r(n(92)),l=r(n(29)),u=r(n(142)),c=r(n(112)),f=a.default.extend({title:function(){return(0,i.loc)("factor.webauthn.biometric","login")},getUISchema:function(){var e=this,t=[];if(c.default.isNewApiAvailable()){var n=(0,i.createButton)({className:"retry-webauthn button-primary default-custom-button",title:(0,i.loc)("retry","login"),click:function(){e.getCredentialsAndSave()}});t.push({View:i.View.extend({className:"webauthn-verify-text idx-webauthn-verify-text",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:"verify.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:72}}}))+'</p><div data-se="webauthn-waiting" class="okta-waiting-spinner"></div>'},useData:!0})})},{View:n})}return t},remove:function(){a.default.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.appState.get("factor"),n=[{type:"public-key",id:u.default.strToBin(t.contextualData.profile.credentialId)}],r={allowCredentials:n,challenge:u.default.strToBin(t.contextualData.challengeData.challenge)};navigator.credentials.get({publicKey:r,signal:this.webauthnAbortController.signal}).then(function(t){e.model.set({credentials:{clientData:u.default.binToStr(t.response.clientDataJSON),authenticatorData:u.default.binToStr(t.response.authenticatorData),signatureData:u.default.binToStr(t.response.signature)}}),e.saveForm(e.model)},function(t){e.webauthnAbortController&&e.model.trigger("error",e.model,{responseJSON:{errorSummary:t.message}})}).finally(function(){e.webauthnAbortController=null})},postRender:function(){var e=this;i._.defer(function(){c.default.isNewApiAvailable()?e.getCredentialsAndSave():(e.model.trigger("error",e.model,{responseJSON:{errorSummary:(0,i.loc)("webauthn.biometric.error.factorNotSupported","login")}}),e.$('[data-se="webauthn-waiting"]').hide())})},_startVerification:function(){this.$(".okta-waiting-spinner").show(),this.$(".retry-webauthn").hide()},_stopVerification:function(){this.$(".okta-waiting-spinner").hide(),this.$(".retry-webauthn").show()}}),d=s.default.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject("select-factor")&&e.push({type:"link",label:(0,i.loc)("mfa.switch","login"),name:"switchFactor",formName:"select-factor"}),e}}),p=l.default.extend({Body:f,Footer:d});t.default=p},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){"security_key"===e.type&&t.push({type:"public-key",id:f.default.strToBin(e.credentialId)})}),t}var o=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var i=o(n(24)),a=o(n(27)),s=n(0),l=o(n(9)),u=o(n(29)),c=o(n(112)),f=o(n(142)),d=o(n(916)),p=o(n(93)),h=l.default.extend({title:(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=n&&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:e.message}})}).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,Footer:p.default,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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=n(0),a=r(n(75)),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=e&&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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=n(0),a=r(n(9)),s=r(n(29)),l=r(n(142)),u=r(n(112)),c=r(n(65)),f=r(n(918)),d=a.default.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)("retry","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.default.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=t&&t.value||{},r=[],i=this.options.appState.get("authenticatorEnrollments").value||[];(0,o.default)(i).call(i,function(e){"security_key"===e.type&&r.push({type:"public-key",id:l.default.strToBin(e.credentialId)})});var a={allowCredentials:r,userVerification:n.contextualData.challengeData.userVerification,challenge:l.default.strToBin(n.contextualData.challengeData.challenge)};navigator.credentials.get({publicKey:a,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:t.message}})}).finally(function(){e.webauthnAbortController=null})},_startVerification:function(){this.$(".okta-waiting-spinner").show(),this.$(".retry-webauthn").hide()},_stopVerification:function(){this.$(".okta-waiting-spinner").hide(),this.$(".retry-webauthn").show()}}),p=s.default.extend({Body:d,Footer:c.default,postRender:function(){s.default.prototype.postRender.apply(this,arguments),u.default.isNewApiAvailable()&&this.form.getCredentialsAndSave()}});t.default=p},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),i=n(0),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"===(e&&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(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=n(0),a=r(n(93)),s=r(n(369)),l=s.default.prototype.Body,u=l.extend((0,o.default)({resendEmailAction:"currentAuthenticator-resend",subtitle:function(){return(0,i.loc)("oie.email.enroll.subtitle","login")}})),c=s.default.extend({Body:u,Footer:a.default});t.default=c},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(24)),i=r(n(7)),a=r(n(17)),s=r(n(16)),l=n(0),u=r(n(9)),c=r(n(370)),f=r(n(128)),d=r(n(29)),p=r(n(65)),h=n(183),m=l.View.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","factor-resend"),this.$el.addClass("hide"),this.showCalloutWithDelay()},postRender:function(){this.showCalloutWithDelay()},showCalloutWithDelay:function(){var e=this;this.showMeTimeout=l._.delay(function(){e.$el.removeClass("hide")},h.SHOW_RESEND_TIMEOUT)},remove:function(){l.View.prototype.remove.apply(this,arguments),clearTimeout(this.showMeTimeout)}}),g=u.default.extend((0,a.default)({save:function(){return(0,l.loc)("mfa.challenge.verify","login")},subtitle:"A verification code was sent to your email.",initialize:function(){var e;u.default.prototype.initialize.apply(this,arguments),this.listenTo(this.options.model,"error",(0,i.default)(e=this.startPolling).call(e,this))},saveForm:function(){u.default.prototype.saveForm.apply(this,arguments),this.stopPolling()},postRender:function(){var e,t,n;(0,o.default)(e=this.$el).call(e,".okta-form-subtitle").empty(),this.add((0,s.default)(t=(0,s.default)(n="<div>".concat((0,l.loc)("email.mfa.email.sent.description.sentText","login"),"<span class='strong'>\n        ")).call(n,this.options.appState.get("authenticatorProfile").email,"</span>.\n        ")).call(t,(0,l.loc)("email.mfa.email.sent.description.emailCodeText","login"),"</div>"),".okta-form-subtitle"),this.add(m,{selector:".o-form-error-container",prepend:!0}),this.startPolling()},remove:function(){u.default.prototype.remove.apply(this,arguments),this.stopPolling()}},c.default,f.default)),v=d.default.extend({Body:g,Footer:p.default});t.default=v},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(3)),a=n(0),s=r(n(65)),l=r(n(369)),u=l.default.prototype.Body,c=a.View.extend({className:"okta-form-subtitle",attributes:{"data-se":"o-form-explain"},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 l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"oie.email.verify.sentText"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:56}}}))+'&nbsp;<span class="strong">'+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:83},end:{line:1,column:92}}}):i))+".</span>&nbsp;"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"email.mfa.email.sent.description.emailCodeText"},data:o,loc:{start:{line:1,column:106},end:{line:1,column:183}}}))},useData:!0}),getTemplateData:function(){return{email:this.options.email}}}),f=u.extend((0,o.default)({resendEmailAction:"currentAuthenticatorEnrollment-resend",initialize:function(){u.prototype.initialize.apply(this,arguments);var e=this.options.currentViewState.relatesTo&&this.options.currentViewState.relatesTo.value&&this.options.currentViewState.relatesTo.value.profile,t=e.email;this.add(c,{prepend:!0,selector:".o-form-error-container",options:{email:t}})}})),d=l.default.extend({Body:f,Footer:s.default});t.default=d},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(3)),a=n(0),s=r(n(9)),l=n(75),u=r(n(29)),c=r(n(93)),f=r(n(365)),d=n(127),p=r(n(128)),h=n(64),m=s.default.extend((0,o.default)({title:function(){var e,t=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;switch(t){case"email":e=(0,a.loc)("oie.enroll.okta_verify.setup.email.title","login");break;case"sms":e=(0,a.loc)("oie.enroll.okta_verify.setup.sms.title","login");break;default:e=(0,a.loc)("oie.enroll.okta_verify.setup.title","login")}return e},className:"oie-enroll-ov-poll",noButtonBar:!0,initialize:function(){s.default.prototype.initialize.apply(this,arguments),((0,l.isAndroid)()||(0,l.isIOS)())&"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&this.options.appState.trigger("switchForm",h.FORMS.SELECT_ENROLLMENT_CHANNEL),this.listenTo(this.model,"error",this.stopPolling),this.startPolling()},getUISchema:function(){var e=[],t=this.options.appState.get("currentAuthenticator").contextualData,n=t.selectedChannel;return"qrcode"===n?e.push({View:a.View.extend({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'<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:36},end:{line:1,column:102}}}))+"</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:111},end:{line:1,column:177}}}))+"</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:186},end:{line:1,column:252}}}))+'</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:316},end:{line:1,column:324}}}):i))+' alt="qr code"></img></div>'},useData:!0}),getTemplateData:function(){return{href:t.qrcode.href}}})}):"email"===n?e.push({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'<ul class="email-info ov-info"><li>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{arguments:"email",bundle:"login",code:"oie.enroll.okta_verify.email.step1"},data:o,loc:{start:{line:1,column:35},end:{line:1,column:118}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.step2"},data:o,loc:{start:{line:1,column:127},end:{line:1,column:192}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.step3"},data:o,loc:{start:{line:1,column:201},end:{line:1,column:266}}}))+"</li></ul>"},useData:!0}),getTemplateData:function(){return{email:t.email}}})}):"sms"===n&&e.push({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'<ul class="sms-info ov-info"><li>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{arguments:"phoneNumber",bundle:"login",code:"oie.enroll.okta_verify.sms.step1"},data:o,loc:{start:{line:1,column:33},end:{line:1,column:120}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.step2"},data:o,loc:{start:{line:1,column:129},end:{line:1,column:192}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.step3"},data:o,loc:{start:{line:1,column:201},end:{line:1,column:264}}}))+"</li></ul>"},useData:!0}),getTemplateData:function(){return{phoneNumber:t.phoneNumber}}})}),"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&e.push({View:f.default,options:(0,d.getSwitchOVEnrollChannelLink)(this.options.appState),selector:".qrcode-container"}),e},remove:function(){s.default.prototype.remove.apply(this,arguments),this.stopPolling()}},p.default)),g=u.default.extend({Body:m,Footer:c.default});t.default=g},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(243)),a=n(0),s=r(n(9)),l=r(n(29)),u=r(n(93)),c=n(75),f=s.default.extend({title:function(){return(0,c.isAndroid)()||(0,c.isIOS)()?(0,a.loc)("oie.enroll.okta_verify.setup.title","login"):(0,a.loc)("oie.enroll.okta_verify.select.channel.title","login")},getUISchema:function(){var e,t=s.default.prototype.getUISchema.apply(this,arguments),n={View:(0,a.loc)("oie.enroll.okta_verify.select.channel.description","login"),selector:".o-form-fieldset-container"};return(0,o.default)(e=[n]).call(e,(0,i.default)(t))}}),d=l.default.extend({Body:f,Footer:u.default});t.default=d},function(e,t,n){function r(e){if(o(e))return i(e)}var o=n(336),i=n(342);e.exports=r},function(e,t,n){function r(e){if(void 0!==a&&i(Object(e)))return o(e)}var o=n(340),i=n(233),a=n(231);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);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),i=r(n(9)),a=r(n(29)),s=r(n(93)),l=i.default.extend({title:function(){return"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,o.loc)("oie.enroll.okta_verify.enroll.channel.email.title","login"):(0,o.loc)("oie.enroll.okta_verify.enroll.channel.sms.title","login")},save:(0,o.loc)("oie.enroll.okta_verify.setupLink","login"),getUISchema:function(){var e=i.default.prototype.getUISchema.apply(this,arguments),t={View:"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,o.loc)("oie.enroll.okta_verify.select.channel.email.description","login"):(0,o.loc)("oie.enroll.okta_verify.select.channel.sms.description","login"),selector:".o-form-fieldset-container"};return e.push(t),e}}),u=a.default.extend({Body:l,Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(29)),i=r(n(65)),a=r(n(929)),s=r(n(930)),l=o.default.extend({initialize:function(){var e,t;o.default.prototype.initialize.apply(this,arguments);var n=null===(e=this.options)||void 0===e?void 0:null===(t=e.appState)||void 0===t?void 0:t.get("currentAuthenticator"),r=null===n||void 0===n?void 0:n.methods[0];"totp"===(null===r||void 0===r?void 0:r.type)?(this.Body=a.default,this.Footer=i.default):this.Body=s.default}});t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=n(0),a=r(n(9)),s=a.default.extend((0,o.default)({className:"okta-verify-totp-challenge",title:function(){return(0,i.loc)("oie.okta_verify.totp.title","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}})),l=s;t.default=l},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(242)),a=r(n(83)),s=r(n(16)),l=r(n(17)),u=r(n(3)),c=n(0),f=r(n(9)),d=r(n(63)),p=r(n(179)),h=r(n(128)),m=r(n(21)),g=function(e){var t=(0,l.default)({method:"GET",contentType:"application/json"},e);return c.$.ajax(t)},v=f.default.extend((0,l.default)({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){f.default.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.onPollingFail),this.deviceChallengePollRemediation=this.options.currentViewState,this.doChallenge(),this.startPolling()},onPollingFail:function(){this.$(".spinner").hide(),this.stopPolling()},remove:function(){f.default.prototype.remove.apply(this,arguments),this.stopPolling()},doChallenge:function(){var e=this.deviceChallengePollRemediation.relatesTo.value.contextualData.challenge.value;switch(e.challengeMethod){case"LOOPBACK":this.title=(0,c.loc)("signin.with.fastpass","login"),this.add(c.View.extend({template:u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="spinner"></div>'},useData:!0})})),this.doLoopback(e.domain,e.ports,e.challengeRequest);break;case"CUSTOM_URI":this.title=(0,c.loc)("customUri.title","login"),this.subtitle=(0,c.loc)("customUri.subtitle","login"),this.add(c.View.extend({template:u.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:"customUri.content"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?i:""},useData:!0})})),this.customURI=e.href,this.doCustomURI();break;case"UNIVERSAL_LINK":this.title=(0,c.loc)("universalLink.userVerification.title","login"),this.add(c.View.extend({template:u.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:"universalLink.userVerification.content.p1"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:72}}}))},useData:!0})})),this.add(c.View.extend({template:u.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:"universalLink.userVerification.content.p2"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:72}}}))},useData:!0})})),this.add((0,c.createButton)({className:"ul-button button button-wide button-primary",title:(0,c.loc)("universalLink.userVerification.button","login"),click:function(){m.default.redirect(e.href)}}))}},doLoopback:function(){var e,t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",u=!1,c=0,f=function(t){var r,o;return(0,s.default)(r=(0,s.default)(o="".concat(n,":")).call(o,e,"/")).call(r,t)},h=function(){return g({url:f("probe"),timeout:p.default.isAndroid()?3e3:1e3})},m=function(){return u=!0,g({url:f("challenge"),method:"POST",data:(0,a.default)({challengeRequest:l}),timeout:3e3})},v=function(){d.default.error("Something unexpected happened while we were checking port ".concat(e,"."))},y=function(){return h().done(m).fail(v)},b=i.default.resolve();(0,o.default)(r).call(r,function(n){b=b.then(function(){if(!u)return e=n,y()}).catch(function(){c++,d.default.error("Authenticator is not listening on port ".concat(e,".")),c===r.length&&(d.default.error("No available ports. Loopback server failed and polling is cancelled."),t.options.appState.trigger("invokeAction","currentAuthenticatorEnrollment-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()}},h.default)),y=v;t.default=y},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=r(n(82)),a=r(n(17)),s=r(n(3)),l=n(0),u=r(n(9)),c=r(n(29)),f=r(n(65)),d=r(n(128)),p=n(183),h=l.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",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})}),m=u.default.extend((0,a.default)({noButtonBar:!0,className:"okta-verify-push-challenge",title:function(){return(0,l.loc)("oie.okta_verify.push.title","login")},initialize:function(){u.default.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPoll),this.addView()},addView:function(){this.add((0,l.createButton)({className:"button button-wide button-primary send-push link-button-disabled",title:(0,l.loc)("oie.okta_verify.push.sent","login"),click:function(e){e.preventDefault()}}))},postRender:function(){this.startPoll()},startPoll:function(){this.startPolling(),this.warningTimeout=(0,i.default)((0,o.default)(l._).call(l._,function(){this.showWarning((0,l.loc)("oktaverify.warning","login"))},this),p.WARNING_TIMEOUT)},stopPoll:function(){this.stopPolling(),this.clearWarning()},showWarning:function(e){this.clearWarning(),this.add(h,".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(){u.default.prototype.remove.apply(this,arguments),this.stopPolling()}},d.default)),g=c.default.extend({Body:m,Footer:f.default});t.default=g},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(27)),i=r(n(44)),a=r(n(17)),s=n(0),l=r(n(9)),u=r(n(29)),c=r(n(65)),f=l.default.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.send","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;"ERROR"===(null===t||void 0===t?void 0:t.class)?e.add((0,s.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")})}}})),d=u.default.extend({Body:f,Footer:c.default});t.default=d},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(16)),i=r(n(44)),a=r(n(39)),s=r(n(41)),l=n(0),u=n(371),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){return e.messages&&(0,i.default)(e.messages.value)&&e.messages.value.length})).call(t,function(t){var n,r;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)}}).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=e.name;e.form&&(0,i.default)(e.form.value)&&t.push(c(n,e.form.value)),(0,i.default)(e.options)&&l._.each(e.options,function(e){e.value&&e.value.form&&(0,i.default)(e.value.form.value)&&t.push(c(n,e.value.form.value))})}),f(l._.flatten(t),l._.isEqual)):t},p=function(e){var t=[];if(e.messages&&(0,i.default)(e.messages.value)){var n;t=(0,s.default)(n=e.messages.value).call(n,u.getMessage)}return t.join(". ")},h=function(e){return{responseJSON:{errorCauses:d(e),errorSummary:p(e)}}},m=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).version},g={convertFormErrors:h,isIonErrorResponse:m};t.default=g},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(7)),i=n(0),a=r(n(317)),s=r(n(125)),l=r(n(344)),u=r(n(10)),c=r(n(56)),f=r(n(63)),d=r(n(935)),p=r(n(332)),h=r(n(319)),m=r(n(936)),g=r(n(937)),v=r(n(371)),y=r(n(941)),b=r(n(942)),_=function(e){var t=e.get("baseUrl"),n=e.get("stateToken"),r=e.get("apiVersion");return b.default.start({domain:t,stateHandle:n,version:r})},w=i.Router.extend({Events:i.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){f.default.error(e)}),this.settings=new a.default(i._.omit(e,"el","authClient"),{parse:!0}),this.settings.setAuthClient(e.authClient),e.el||this.settings.callGlobalError(new c.default.ConfigError((0,i.loc)("error.required.el"))),(0,i.$)("body > div").on("click",function(){}),this.appState=new y.default;var t=new p.default({appState:this.appState});(0,i.$)(e.el).append(t.render().$el),this.el="#".concat(u.default.WIDGET_CONTAINER_ID),this.header=new h.default({el:this.el,appState:this.appState,settings:this.settings}),this.listenTo(this.appState,"remediationSuccess",this.handleIdxResponseSuccess),this.listenTo(this.appState,"remediationError",this.handleIdxResponseFailure)},handleIdxResponseSuccess:function(e){var t=i._.compose(v.default,g.default,(0,o.default)(m.default).call(m.default,{},this.settings))(e);this.appState.setIonResponse(t)},handleIdxResponseFailure:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e&&e.details&&e.details.stateHandle?this.handleIdxResponseSuccess({rawIdxState:e.details,context:i._.pick(e.details,"messages"),neededToProceed:[]}):this.settings.callGlobalError(new c.default.ConfigError(e))},render:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!s.default.isLoaded(this.settings.get("languageCode")))return d.default.loadLanguage(this.appState,this.settings).done(function(){t.render(e,n)});if(this.settings.get("stateToken"))return _(this.settings).then(function(r){t.settings.unset("stateToken"),t.appState.trigger("remediationSuccess",r),t.render(e,n)}).catch(function(r){t.settings.unset("stateToken"),t.appState.trigger("remediationError",r.error),t.render(e,n)});if(this.settings.get("colors.brand")&&!l.default.isLoaded()){var r={brand:this.settings.get("colors.brand")};l.default.addStyle(r)}this.unload();var o=i._.extend({el:this.el,settings:this.settings,appState:this.appState},n);this.controller=new e(o),this.listenTo(this.controller,"all",this.trigger),this.controller.render()},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),s.default.remove(),i.Backbone.history.stop()}});t.default=w},function(e,t,n){"use strict";var r,o,i=n(1),a=i(n(82));r=[n(125)],void 0!==(o=function(e){function t(t,n){var r=n.get("languageCode"),o=n.get("i18n"),i=n.get("assets.baseUrl"),s=n.get("assets.rewrite"),l=(0,a.default)(function(){t.trigger("loading",!0)},200);return e.loadLanguage(r,o,{baseUrl:i,rewrite:s}).then(function(){clearTimeout(l),t.trigger("loading",!1)})}return{loadLanguage:t}}.apply(t,r))&&(e.exports=o)},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(41)),a=r(n(27)),s=r(n(44)),l=r(n(39)),u=r(n(16)),c=r(n(243)),f=n(0),d=n(64),p=function(e){return f._.isObject(e)},h=function(e){var t={};return f._.each(e,function(e,n){"remediation"!==n&&("array"===e.type&&(t[n]={value:e.value}),"object"===e.type&&(t[n]=e.value))}),t},m=function(e){var t,n=[];return f._.isEmpty(e.neededToProceed)&&(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:[]})),{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},v=function(e){if((0,s.default)(e.remediations)){var t,n=(0,l.default)(t=e.remediations).call(t,function(e){return e.name===d.FORMS.REDIRECT_IDP});if(1===n.length&&1===e.remediations.length){var r={name:d.FORMS.SUCCESS_REDIRECT,href:n[0].href,value:[]};e.remediations=[r]}}},y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!p(t.rawIdxState))return null;var n=h(t.rawIdxState),r=m(t),i=(0,o.default)({},n,r,{idx:t});return g(e,i),v(i),i},b=y;t.default=b},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(17)),i=r(n(39)),a=r(n(41)),s=n(0),l=r(n(938)),u=r(n(939)),c=r(n(940)),f={string:c.default,boolean:l.default,object:u.default},d=function e(t,n){var r,l,u=(0,a.default)(r=(0,i.default)(l=s._.chain(n.value||[])).call(l,function(e){return!1!==e.visible})).call(r,function(e){var t;if(e.form?t=e.form:e.value&&e.value.form&&(t=e.value.form),t){var n,r=e.name;return(0,a.default)(n=t.value).call(n,function(e){return(0,o.default)({},e,{name:r+"."+e.name})})}return e}).flatten().value();return(0,a.default)(u).call(u,function(r){var i={"label-top":!0},a=r.type||"string",s=f[a],l=s(r,n,t,e);return(0,o.default)({},r,i,l)})},p=function(e){if(e){var t;e.remediations=(0,a.default)(t=e.remediations).call(t,function(t){return t.uiSchema=d(e,t),t})}return e},h=p;t.default=h},function(e,t,n){"use strict";n(4)(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return{placeholder:e.label,label:!1,modelType:e.type,type:"checkbox",required:e.required||!1}},o=function(e){return r(e)},i=o;t.default=i},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(44)),i=r(n(140)),a=r(n(39)),s=r(n(90)),l=r(n(16)),u=r(n(120)),c=r(n(17)),f=r(n(164)),d=r(n(243)),p=r(n(41)),h=r(n(24)),m=n(0),g=function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=(0,h.default)(r).call(r,function(e){return"app"===e.relatesTo.type}),i=null===o||void 0===o?void 0:null===(e=o.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,h.default)(n).call(n,function(e){return"methodType"===e.name}),a=null===i||void 0===i?void 0:i.options;if(a){var s,g,v=(0,p.default)(a).call(a,function(e){var t,n=(0,d.default)(o.value.form.value),r=(0,f.default)(t=o.value.form.value).call(t,function(e){return"methodType"===e.name}),a=(0,c.default)(m._.omit(i,"options"),e);return a.required=!0,(0,u.default)(n).call(n,r,1,a),(0,c.default)({},o,{label:e.label,value:{form:{value:n}}})}),y=(0,f.default)(r).call(r,function(e){return"app"===e.relatesTo.type});(s=(0,u.default)(r)).call.apply(s,(0,l.default)(g=[r,y,1]).call(g,(0,d.default)(v)))}},v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return g(e),(0,p.default)(e).call(e,function(e){var t,n=e.value&&e.value.form&&e.value.form.value||[],r=(0,s.default)(t=(0,a.default)(n).call(n,function(e){return!0===e.required&&!1===e.mutable})).call(t,function(e,t){return(0,c.default)(e,(0,i.default)({},t.name,t.value))},{});return{label:e.label,value:r,relatesTo:e.relatesTo,authenticatorType:e.relatesTo&&e.relatesTo.type}})},y=function(e){var t=e.options;return{type:"authenticatorEnrollSelect",options:v(t)}},b=function(e){var t=e.options;return{type:"authenticatorVerifySelect",options:v(t)}},_=function(e,t,n,r){var i={};if("authenticator"===e.name&&"select-authenticator-authenticate"===t.name)(0,c.default)(i,b(e));else if("authenticator"===e.name&&"select-authenticator-enroll"===t.name)(0,c.default)(i,y(e));else if((0,o.default)(e.options)){var a,s;i.optionsUiSchemas=(0,p.default)(a=e.options).call(a,function(t){return r(n,{value:[{name:e.name,value:t.value}]})}),i.options=(0,p.default)(s=e.options).call(s,function(e,t){return{label:e.label,value:t}}),i.type="radio",i.value="0",i.name="sub_schema_local_".concat(e.name)}return i},w=_;t.default=w},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(44)),i=r(n(17)),a=r(n(45)),s=r(n(24)),l=r(n(27)),u=n(0),c=function(e){var t={};return(0,l.default)(e).call(e,function(e){var n=e.value,r=e.label;t[n]=r}),t},f=function(e,t){return u._.each(e,function(e){var n=e.value,r=(0,s.default)(t).call(t,function(e){return e.factorProfileId===n||e.factorId===n})||{};e.factorType=r.factorType}),e},d=function(e,t){var n=e.options;return{type:"factorSelect",options:f(n,t)}},p=function(){return{type:"password",params:{showPasswordToggle:!0}}},h=function(e){return(0,a.default)(e).call(e,"methodType")>=0||(0,a.default)(e).call(e,"channel")>=0},m=function(e,t,n){var r={type:"text"};if(!0===e.secret&&(0,i.default)(r,p()),(0,o.default)(e.options))if("factorId"===e.name||"factorProfileId"===e.name){var a=n.factors&&n.factors.value||[];(0,i.default)(r,d(e,a))}else h(e.name)?(r.type="radio",e.options[0]&&e.options[0].value&&(e.value=e.options[0].value)):(r.type="select",r.wide=!0,r.options=c(e.options));return r},g=m;t.default=g},function(e,t,n){"use strict";var r=n(1);n(4)(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(83)),i=r(n(221)),a=r(n(41)),s=r(n(39)),l=r(n(24)),u=n(0),c=r(n(63)),f=n(64),d=u.Model.extend({local:{introspectSuccess:"object",introspectError:"object",factor:"object",user:"object",currentFormName:"string",idx:"object",remediations:"array"},derived:{authenticatorProfile:{deps:["currentAuthenticator","currentAuthenticatorEnrollment","factor"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.profile||t.profile||n.profile||{}}},authenticatorType:{deps:["currentAuthenticator","currentAuthenticatorEnrollment","factor"],fn:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.type||t.type||n.factorType||""}},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 e&&"password"===e.type}}},hasRemediationObject:function(e){var t;return(0,l.default)(t=this.get("idx").neededToProceed).call(t,function(t){return t.name===e})},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&&u._.isFunction(t[r])?t[r]:null},getCurrentViewState:function(){var e,t=this.get("currentFormName");if(t){var n=(0,s.default)(e=this.get("remediations")).call(e,function(e){return e.name===t})[0];if(!n){var r;c.default.error("Panic!!"),c.default.error("\tCannot find view state for form ".concat(t,"."));var o=(0,a.default)(r=this.get("remediations")).call(r,function(e){return e.name});c.default.error("\tAll available form names: ".concat(o))}return n}},shouldReRenderView:function(e){var t=this.has("idx")?this.get("idx").rawIdxState:null,n=u._.isEqual(u._.omit(e.idx.rawIdxState,"expiresAt"),u._.omit(t,"expiresAt")),r=!0;return n&&(r=!1),n&&(0,i.default)(f.FORMS_WITH_STATIC_BACK_LINK).call(f.FORMS_WITH_STATIC_BACK_LINK,this.get("currentFormName"))&&(r=!0),r},shouldShowSignOutLinkInCurrentForm:function(e){var t=this.get("idx")&&this.get("idx").actions,n=this.get("currentFormName");return!(e&&(0,i.default)(f.FORMS_FOR_VERIFICATION).call(f.FORMS_FOR_VERIFICATION,n))&&t&&u._.isFunction(t.cancel)&&!(0,i.default)(f.FORMS_WITHOUT_SIGNOUT).call(f.FORMS_WITHOUT_SIGNOUT,n)},setIonResponse:function(e){if(this.shouldReRenderView(e)){var t=null;u._.isEmpty(e.remediations)?(c.default.error("Panic!!"),c.default.error("\tNo remediation found."),c.default.error("\tHere is the entire response"),c.default.error((0,o.default)(e,null,2))):t=e.remediations[0].name,this.clear({silent:!0}),this.trigger("cache:clear"),this.set(e),this.set({currentFormName:t})}}});t.default=d},function(e,t,n){"use strict";(function(e){var r,o,i,a=n(1),s=a(n(24)),l=a(n(943)),u=a(n(343)),c=a(n(945)),f=a(n(233)),d=a(n(949)),p=a(n(953)),h=a(n(958)),m=a(n(337)),g=a(n(232)),v=a(n(82)),y=a(n(120)),b=a(n(961)),_=a(n(90)),w=a(n(963)),x=a(n(969)),S=a(n(83)),E=a(n(234)),T=a(n(334)),k=a(n(39)),C=a(n(169)),O=a(n(974)),A=a(n(16)),N=a(n(352)),I=a(n(298)),R=a(n(168)),P=a(n(166)),M=a(n(978)),L=a(n(41)),D=a(n(982)),F=a(n(227)),U=a(n(242)),j=a(n(987)),B=a(n(44)),q=a(n(27)),V=a(n(300)),H=a(n(45)),W=a(n(7)),$=a(n(991)),z=a(n(995)),G=a(n(303)),K=a(n(4)),Y=a(n(28));!function(n,a){"object"==(0,Y.default)(t)&&"object"==(0,Y.default)(e)?e.exports=a():(o=[],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i))}(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)||(0,K.default)(e,n,{enumerable:!0,get:r})},t.r=function(e){void 0!==G.default&&z.default&&(0,K.default)(e,z.default,{value:"Module"}),(0,K.default)(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==(0,Y.default)(e)&&e&&e.__esModule)return e;var r=(0,$.default)(null);if(t.r(r),(0,K.default)(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e){var i;t.d(r,o,(0,W.default)(i=function(t){return e[t]}).call(i,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=3)}([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 g&&(t[V.default]=function(){return t}),t}function i(e){var t;this.map={},e instanceof i?(0,q.default)(e).call(e,function(e,t){this.append(t,e)},this):(0,B.default)(e)?(0,q.default)(e).call(e,function(e){this.append(e[0],e[1])},this):e&&(0,q.default)(t=(0,j.default)(e)).call(t,function(t){this.append(t,e[t])},this)}function a(e){if(e.bodyUsed)return U.default.reject(new TypeError("Already read"));e.bodyUsed=!0}function s(e){return new U.default(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((0,F.default)(e))return(0,F.default)(e).call(e,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:v&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:y&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:m&&D.default.prototype.isPrototypeOf(e)?this._bodyText=e.toString():b&&v&&(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&&D.default.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},v&&(this.blob=function(){var e=a(this);if(e)return e;if(this._bodyBlob)return U.default.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return U.default.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return U.default.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||U.default.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 U.default.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 U.default.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(),(0,H.default)(x).call(x,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,n=new FormData;return(0,q.default)(t=(0,P.default)(e).call(e).split("&")).call(t,function(e){if(e){var t=e.split("="),r=t.shift().replace(/\+/g," "),o=t.join("=").replace(/\+/g," ");n.append(decodeURIComponent(r),decodeURIComponent(o))}}),n}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 U.default(function(r,o){function a(){u.abort()}var s,l=new f(e,n);if(l.signal&&l.signal.aborted)return o(new t.DOMException("Aborted","AbortError"));var u=new XMLHttpRequest;u.onload=function(){var e,t,n,o={status:u.status,statusText:u.statusText,headers:(t=u.getAllResponseHeaders()||"",n=new i,(0,q.default)(e=t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/)).call(e,function(e){var t,r=e.split(":"),o=(0,P.default)(t=r.shift()).call(t);if(o){var i,a=(0,P.default)(i=r.join(":")).call(i);n.append(o,a)}}),n)};o.url="responseURL"in u?u.responseURL:o.headers.get("X-Request-URL");var a="response"in u?u.response:u.responseText;r(new p(a,o))},u.onerror=function(){o(new TypeError("Network request failed"))},u.ontimeout=function(){o(new TypeError("Network request failed"))},u.onabort=function(){o(new t.DOMException("Aborted","AbortError"))},u.open(l.method,l.url,!0),"include"===l.credentials?u.withCredentials=!0:"omit"===l.credentials&&(u.withCredentials=!1),"responseType"in u&&v&&(u.responseType="blob"),(0,q.default)(s=l.headers).call(s,function(e,t){u.setRequestHeader(t,e)}),l.signal&&(l.signal.addEventListener("abort",a),u.onreadystatechange=function(){4===u.readyState&&l.signal.removeEventListener("abort",a)}),u.send(void 0===l._bodyInit?null:l._bodyInit)})}var m="URLSearchParams"in e,g="Symbol"in e&&"iterator"in G.default,v="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&&(0,H.default)(_).call(_,Object.prototype.toString.call(e))>-1};i.prototype.append=function(e,t){e=n(e),t=r(t);var o=(0,L.default)(this)[e];(0,L.default)(this)[e]=o?o+", "+t:t},i.prototype.delete=function(e){delete(0,L.default)(this)[n(e)]},i.prototype.get=function(e){return e=n(e),this.has(e)?(0,L.default)(this)[e]:null},i.prototype.has=function(e){return(0,L.default)(this).hasOwnProperty(n(e))},i.prototype.set=function(e,t){(0,L.default)(this)[n(e)]=r(t)},i.prototype.forEach=function(e,t){for(var n in(0,L.default)(this))(0,L.default)(this).hasOwnProperty(n)&&e.call(t,(0,L.default)(this)[n],n,this)},i.prototype.keys=function(){var e,t=[];return(0,q.default)(e=this).call(e,function(e,n){t.push(n)}),o(t)},i.prototype.values=function(){var e,t=[];return(0,q.default)(e=this).call(e,function(e){t.push(e)}),o(t)},i.prototype.entries=function(){var e,t=[];return(0,q.default)(e=this).call(e,function(e,n){t.push([n,e])}),o(t)},g&&(i.prototype[V.default]=(0,M.default)(i.prototype));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 S=[301,302,303,307,308];p.redirect=function(e,t){if(-1===(0,H.default)(S).call(S,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=(0,$.default)(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){(function(t){e.exports=function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i=!1,a=0;a<r.length;a++)o(r[a]);return o}({"./aesprim":[function(e,t,n){!function(e,t){!function(e){function t(e,t){if(!e)throw new Error("ASSERT: "+t)}function n(e){return e>=48&&e<=57}function r(e){var t;return(0,H.default)(t="0123456789abcdefABCDEF").call(t,e)>=0}function o(e){var t;return(0,H.default)(t="01234567").call(t,e)>=0}function i(e){var t;return 32===e||9===e||11===e||12===e||160===e||e>=5760&&(0,H.default)(t=[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279]).call(t,e)>=0}function a(e){return 10===e||13===e||8232===e||8233===e}function s(e){return 64==e||36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||92===e||e>=128&&Te.NonAsciiIdentifierStart.test(String.fromCharCode(e))}function l(e){return 36===e||95===e||e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||92===e||e>=128&&Te.NonAsciiIdentifierPart.test(String.fromCharCode(e))}function u(e){switch(e){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}}function c(e){return"eval"===e||"arguments"===e}function f(e,n,r,o,i){var a;t("number"==typeof r,"Comment must have valid position"),Le.lastCommentStart>=r||(Le.lastCommentStart=r,a={type:e,value:n},De.range&&(a.range=[r,o]),De.loc&&(a.loc=i),De.comments.push(a),De.attachComment&&(De.leadingComments.push(a),De.trailingComments.push(a)))}function d(e){var t,n,r,o;for(t=Ae-e,n={start:{line:Ne,column:Ae-Ie-e}};Ae<Re;)if(r=Ce.charCodeAt(Ae),++Ae,a(r))return De.comments&&(o=(0,F.default)(Ce).call(Ce,t+e,Ae-1),n.end={line:Ne,column:Ae-Ie-1},f("Line",o,t,Ae-1,n)),13===r&&10===Ce.charCodeAt(Ae)&&++Ae,++Ne,void(Ie=Ae);De.comments&&(o=(0,F.default)(Ce).call(Ce,t+e,Ae),n.end={line:Ne,column:Ae-Ie},f("Line",o,t,Ae,n))}function p(){var e,t,n,r;for(De.comments&&(e=Ae-2,t={start:{line:Ne,column:Ae-Ie-2}});Ae<Re;)if(a(n=Ce.charCodeAt(Ae)))13===n&&10===Ce.charCodeAt(Ae+1)&&++Ae,++Ne,++Ae,Ie=Ae,Ae>=Re&&A({},Ee.UnexpectedToken,"ILLEGAL");else if(42===n){if(47===Ce.charCodeAt(Ae+1))return++Ae,++Ae,void(De.comments&&(r=(0,F.default)(Ce).call(Ce,e+2,Ae-2),t.end={line:Ne,column:Ae-Ie},f("Block",r,e,Ae,t)));++Ae}else++Ae;A({},Ee.UnexpectedToken,"ILLEGAL")}function h(){var e,t;for(t=0===Ae;Ae<Re;)if(i(e=Ce.charCodeAt(Ae)))++Ae;else if(a(e))++Ae,13===e&&10===Ce.charCodeAt(Ae)&&++Ae,++Ne,Ie=Ae,t=!0;else if(47===e)if(47===(e=Ce.charCodeAt(Ae+1)))++Ae,++Ae,d(2),t=!0;else{if(42!==e)break;++Ae,++Ae,p()}else if(t&&45===e){if(45!==Ce.charCodeAt(Ae+1)||62!==Ce.charCodeAt(Ae+2))break;Ae+=3,d(3)}else{if(60!==e)break;if("!--"!==(0,F.default)(Ce).call(Ce,Ae+1,Ae+4))break;++Ae,++Ae,++Ae,++Ae,d(4)}}function m(e){var t,n,o,i=0;for(n="u"===e?4:2,t=0;t<n;++t){var a;if(!(Ae<Re&&r(Ce[Ae])))return"";o=Ce[Ae++],i=16*i+(0,H.default)(a="0123456789abcdef").call(a,o.toLowerCase())}return String.fromCharCode(i)}function g(){var e,t;for(e=Ce.charCodeAt(Ae++),t=String.fromCharCode(e),92===e&&(117!==Ce.charCodeAt(Ae)&&A({},Ee.UnexpectedToken,"ILLEGAL"),++Ae,(e=m("u"))&&"\\"!==e&&s(e.charCodeAt(0))||A({},Ee.UnexpectedToken,"ILLEGAL"),t=e);Ae<Re&&l(e=Ce.charCodeAt(Ae));)++Ae,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==Ce.charCodeAt(Ae)&&A({},Ee.UnexpectedToken,"ILLEGAL"),++Ae,(e=m("u"))&&"\\"!==e&&l(e.charCodeAt(0))||A({},Ee.UnexpectedToken,"ILLEGAL"),t+=e);return t}function v(){var e,t;return e=Ae,{type:1===(t=92===Ce.charCodeAt(Ae)?g():function(){var e,t;for(e=Ae++;Ae<Re;){if(92===(t=Ce.charCodeAt(Ae)))return Ae=e,g();if(!l(t))break;++Ae}return(0,F.default)(Ce).call(Ce,e,Ae)}()).length?be.Identifier:function(e){if(Oe&&u(e))return!0;switch(e.length){case 2:return"if"===e||"in"===e||"do"===e;case 3:return"var"===e||"for"===e||"new"===e||"try"===e||"let"===e;case 4:return"this"===e||"else"===e||"case"===e||"void"===e||"with"===e||"enum"===e;case 5:return"while"===e||"break"===e||"catch"===e||"throw"===e||"const"===e||"yield"===e||"class"===e||"super"===e;case 6:return"return"===e||"typeof"===e||"delete"===e||"switch"===e||"export"===e||"import"===e;case 7:return"default"===e||"finally"===e||"extends"===e;case 8:return"function"===e||"continue"===e||"debugger"===e;case 10:return"instanceof"===e;default:return!1}}(t)?be.Keyword:"null"===t?be.NullLiteral:"true"===t||"false"===t?be.BooleanLiteral:be.Identifier,value:t,lineNumber:Ne,lineStart:Ie,start:e,end:Ae}}function y(){var e,t,n,r,o,i,a=Ae,s=Ce.charCodeAt(Ae),l=Ce[Ae];switch(s){case 46:case 40:case 41:case 59:case 44:case 123:case 125:case 91:case 93:case 58:case 63:case 126:return++Ae,De.tokenize&&(40===s?De.openParenToken=De.tokens.length:123===s&&(De.openCurlyToken=De.tokens.length)),{type:be.Punctuator,value:String.fromCharCode(s),lineNumber:Ne,lineStart:Ie,start:a,end:Ae};default:if(61===(n=Ce.charCodeAt(Ae+1)))switch(s){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return Ae+=2,{type:be.Punctuator,value:String.fromCharCode(s)+String.fromCharCode(n),lineNumber:Ne,lineStart:Ie,start:a,end:Ae};case 33:case 61:return Ae+=2,61===Ce.charCodeAt(Ae)&&++Ae,{type:be.Punctuator,value:(0,F.default)(Ce).call(Ce,a,Ae),lineNumber:Ne,lineStart:Ie,start:a,end:Ae}}}return">>>="===(i=Ce.substr(Ae,4))?{type:be.Punctuator,value:i,lineNumber:Ne,lineStart:Ie,start:a,end:Ae+=4}:">>>"===(o=i.substr(0,3))||"<<="===o||">>="===o?{type:be.Punctuator,value:o,lineNumber:Ne,lineStart:Ie,start:a,end:Ae+=3}:l===(r=o.substr(0,2))[1]&&(0,H.default)(e="+-<>&|").call(e,l)>=0||"=>"===r?{type:be.Punctuator,value:r,lineNumber:Ne,lineStart:Ie,start:a,end:Ae+=2}:(0,H.default)(t="<>=!+-*%&|^/").call(t,l)>=0?(++Ae,{type:be.Punctuator,value:l,lineNumber:Ne,lineStart:Ie,start:a,end:Ae}):void A({},Ee.UnexpectedToken,"ILLEGAL")}function b(){var e,i,a;if(t(n((a=Ce[Ae]).charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),i=Ae,e="","."!==a){if(e=Ce[Ae++],a=Ce[Ae],"0"===e){if("x"===a||"X"===a)return++Ae,function(e){for(var t="";Ae<Re&&r(Ce[Ae]);)t+=Ce[Ae++];return 0===t.length&&A({},Ee.UnexpectedToken,"ILLEGAL"),s(Ce.charCodeAt(Ae))&&A({},Ee.UnexpectedToken,"ILLEGAL"),{type:be.NumericLiteral,value:(0,R.default)("0x"+t,16),lineNumber:Ne,lineStart:Ie,start:e,end:Ae}}(i);if(o(a))return function(e){for(var t="0"+Ce[Ae++];Ae<Re&&o(Ce[Ae]);)t+=Ce[Ae++];return(s(Ce.charCodeAt(Ae))||n(Ce.charCodeAt(Ae)))&&A({},Ee.UnexpectedToken,"ILLEGAL"),{type:be.NumericLiteral,value:(0,R.default)(t,8),octal:!0,lineNumber:Ne,lineStart:Ie,start:e,end:Ae}}(i);a&&n(a.charCodeAt(0))&&A({},Ee.UnexpectedToken,"ILLEGAL")}for(;n(Ce.charCodeAt(Ae));)e+=Ce[Ae++];a=Ce[Ae]}if("."===a){for(e+=Ce[Ae++];n(Ce.charCodeAt(Ae));)e+=Ce[Ae++];a=Ce[Ae]}if("e"===a||"E"===a)if(e+=Ce[Ae++],"+"!==(a=Ce[Ae])&&"-"!==a||(e+=Ce[Ae++]),n(Ce.charCodeAt(Ae)))for(;n(Ce.charCodeAt(Ae));)e+=Ce[Ae++];else A({},Ee.UnexpectedToken,"ILLEGAL");return s(Ce.charCodeAt(Ae))&&A({},Ee.UnexpectedToken,"ILLEGAL"),{type:be.NumericLiteral,value:(0,I.default)(e),lineNumber:Ne,lineStart:Ie,start:i,end:Ae}}function _(){var e,n,r,o;return Me=null,h(),e=Ae,n=function(){var e,n,r,o;for(t("/"===(e=Ce[Ae]),"Regular expression literal must start with a slash"),n=Ce[Ae++],r=!1,o=!1;Ae<Re;)if(n+=e=Ce[Ae++],"\\"===e)a((e=Ce[Ae++]).charCodeAt(0))&&A({},Ee.UnterminatedRegExp),n+=e;else if(a(e.charCodeAt(0)))A({},Ee.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){o=!0;break}"["===e&&(r=!0)}return o||A({},Ee.UnterminatedRegExp),{value:n.substr(1,n.length-2),literal:n}}(),r=function(){var e,t,n,r;for(t="",n="";Ae<Re&&l((e=Ce[Ae]).charCodeAt(0));)if(++Ae,"\\"===e&&Ae<Re)if("u"===(e=Ce[Ae])){if(r=++Ae,e=m("u"))for(n+=e,t+="\\u";r<Ae;++r)t+=Ce[r];else Ae=r,n+="u",t+="\\u";P({},Ee.UnexpectedToken,"ILLEGAL")}else t+="\\",P({},Ee.UnexpectedToken,"ILLEGAL");else n+=e,t+=e;return{value:n,literal:t}}(),o=function(e,t){var n;try{n=new RegExp(e,t)}catch(e){A({},Ee.InvalidRegExp)}return n}(n.value,r.value),De.tokenize?{type:be.RegularExpression,value:o,lineNumber:Ne,lineStart:Ie,start:e,end:Ae}:{literal:n.literal+r.literal,value:o,start:e,end:Ae}}function w(){var e,t,n,r;return h(),e=Ae,t={start:{line:Ne,column:Ae-Ie}},n=_(),t.end={line:Ne,column:Ae-Ie},De.tokenize||(De.tokens.length>0&&(r=De.tokens[De.tokens.length-1]).range[0]===e&&"Punctuator"===r.type&&("/"!==r.value&&"/="!==r.value||De.tokens.pop()),De.tokens.push({type:"RegularExpression",value:n.literal,range:[e,Ae],loc:t})),n}function x(){var e;return h(),Ae>=Re?{type:be.EOF,lineNumber:Ne,lineStart:Ie,start:Ae,end:Ae}:s(e=Ce.charCodeAt(Ae))?v():40===e||41===e||59===e?y():39===e||34===e?function(){var e,n,r,i,s,l,u,c,f,d,p,h,g="",v=!1;for(p=Ne,h=Ie,t("'"===(s=Ce[Ae])||'"'===s,"String literal must starts with a quote"),l=Ae,++Ae;Ae<Re;){if((u=Ce[Ae++])===s){s="";break}if("\\"===u)if((u=Ce[Ae++])&&a(u.charCodeAt(0)))++Ne,"\r"===u&&"\n"===Ce[Ae]&&++Ae,Ie=Ae;else switch(u){case"u":case"x":d=Ae,(f=m(u))?g+=f:(Ae=d,g+=u);break;case"n":g+="\n";break;case"r":g+="\r";break;case"t":g+="\t";break;case"b":g+="\b";break;case"f":g+="\f";break;case"v":g+="\v";break;default:o(u)?(0!==(c=(0,H.default)(e="01234567").call(e,u))&&(v=!0),Ae<Re&&o(Ce[Ae])&&(v=!0,c=8*c+(0,H.default)(n="01234567").call(n,Ce[Ae++]),(0,H.default)(r="0123").call(r,u)>=0&&Ae<Re&&o(Ce[Ae])&&(c=8*c+(0,H.default)(i="01234567").call(i,Ce[Ae++]))),g+=String.fromCharCode(c)):g+=u}else{if(a(u.charCodeAt(0)))break;g+=u}}return""!==s&&A({},Ee.UnexpectedToken,"ILLEGAL"),{type:be.StringLiteral,value:g,octal:v,startLineNumber:p,startLineStart:h,lineNumber:Ne,lineStart:Ie,start:l,end:Ae}}():46===e?n(Ce.charCodeAt(Ae+1))?b():y():n(e)?b():De.tokenize&&47===e?function(){var e,t;if(!(e=De.tokens[De.tokens.length-1]))return w();if("Punctuator"===e.type){if("]"===e.value)return y();if(")"===e.value)return!(t=De.tokens[De.openParenToken-1])||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?y():w();if("}"===e.value){if(De.tokens[De.openCurlyToken-3]&&"Keyword"===De.tokens[De.openCurlyToken-3].type){if(!(t=De.tokens[De.openCurlyToken-4]))return y()}else{if(!De.tokens[De.openCurlyToken-4]||"Keyword"!==De.tokens[De.openCurlyToken-4].type)return y();if(!(t=De.tokens[De.openCurlyToken-5]))return w()}return(0,H.default)(we).call(we,t.value)>=0?y():w()}return w()}return"Keyword"===e.type?w():y()}():y()}function S(){var e,t,n;return h(),e={start:{line:Ne,column:Ae-Ie}},t=x(),e.end={line:Ne,column:Ae-Ie},t.type!==be.EOF&&(n=(0,F.default)(Ce).call(Ce,t.start,t.end),De.tokens.push({type:_e[t.type],value:n,range:[t.start,t.end],loc:e})),t}function E(){var e;return Ae=(e=Me).end,Ne=e.lineNumber,Ie=e.lineStart,Me=void 0!==De.tokens?S():x(),Ae=e.end,Ne=e.lineNumber,Ie=e.lineStart,e}function T(){var e,t,n;e=Ae,t=Ne,n=Ie,Me=void 0!==De.tokens?S():x(),Ae=e,Ne=t,Ie=n}function k(e,t){this.line=e,this.column=t}function C(e,t,n,r){this.start=new k(e,t),this.end=new k(n,r)}function O(){var e,t,n,r;return e=Ae,t=Ne,n=Ie,h(),r=Ne!==t,Ae=e,Ne=t,Ie=n,r}function A(e,n){var r,o=(0,F.default)(Array.prototype).call(arguments,2),i=n.replace(/%(\d)/g,function(e,n){return t(n<o.length,"Message reference must be in range"),o[n]});throw"number"==typeof e.lineNumber?((r=new Error("Line "+e.lineNumber+": "+i)).index=e.start,r.lineNumber=e.lineNumber,r.column=e.start-Ie+1):((r=new Error("Line "+Ne+": "+i)).index=Ae,r.lineNumber=Ne,r.column=Ae-Ie+1),r.description=i,r}function P(){try{A.apply(null,arguments)}catch(e){if(!De.errors)throw e;De.errors.push(e)}}function M(e){if(e.type===be.EOF&&A(e,Ee.UnexpectedEOS),e.type===be.NumericLiteral&&A(e,Ee.UnexpectedNumber),e.type===be.StringLiteral&&A(e,Ee.UnexpectedString),e.type===be.Identifier&&A(e,Ee.UnexpectedIdentifier),e.type===be.Keyword){if(function(e){switch(e){case"class":case"enum":case"export":case"extends":case"import":case"super":return!0;default:return!1}}(e.value))A(e,Ee.UnexpectedReserved);else if(Oe&&u(e.value))return void P(e,Ee.StrictReservedWord);A(e,Ee.UnexpectedToken,e.value)}A(e,Ee.UnexpectedToken,e.value)}function L(e){var t=E();t.type===be.Punctuator&&t.value===e||M(t)}function D(e){var t=E();t.type===be.Keyword&&t.value===e||M(t)}function U(e){return Me.type===be.Punctuator&&Me.value===e}function j(e){return Me.type===be.Keyword&&Me.value===e}function B(){var e;59===Ce.charCodeAt(Ae)||U(";")?E():(e=Ne,h(),Ne===e&&(Me.type===be.EOF||U("}")||M(Me)))}function q(e){return e.type===xe.Identifier||e.type===xe.MemberExpression}function V(e,t){var n,r,o;return n=Oe,o=Me,r=pe(),t&&Oe&&c(e[0].name)&&P(t,Ee.StrictParamName),Oe=n,Pe.markEnd(Pe.createFunctionExpression(null,e,[],r),o)}function W(){var e,t;return t=Me,(e=E()).type===be.StringLiteral||e.type===be.NumericLiteral?(Oe&&e.octal&&P(e,Ee.StrictOctalLiteral),Pe.markEnd(Pe.createLiteral(e),t)):Pe.markEnd(Pe.createIdentifier(e.value),t)}function z(){var e,t,n,r,o,i;return i=Me,(e=Me).type===be.Identifier?(n=W(),"get"!==e.value||U(":")?"set"!==e.value||U(":")?(L(":"),r=re(),Pe.markEnd(Pe.createProperty("init",n,r),i)):(t=W(),L("("),(e=Me).type!==be.Identifier?(L(")"),P(e,Ee.UnexpectedToken,e.value),r=V([])):(o=[ae()],L(")"),r=V(o,e)),Pe.markEnd(Pe.createProperty("set",t,r),i)):(t=W(),L("("),L(")"),r=V([]),Pe.markEnd(Pe.createProperty("get",t,r),i))):e.type!==be.EOF&&e.type!==be.Punctuator?(t=W(),L(":"),r=re(),Pe.markEnd(Pe.createProperty("init",t,r),i)):void M(e)}function G(){var e,t,n,r;if(U("("))return function(){var e;return L("("),e=oe(),L(")"),e}();if(U("["))return function(){var e,t=[];for(e=Me,L("[");!U("]");)U(",")?(E(),t.push(null)):(t.push(re()),U("]")||L(","));return E(),Pe.markEnd(Pe.createArrayExpression(t),e)}();if(U("{"))return function(){var e,t,n,r,o,i=[],a={},s=String;for(o=Me,L("{");!U("}");)t=(e=z()).key.type===xe.Identifier?e.key.name:s(e.key.value),r="init"===e.kind?Se.Data:"get"===e.kind?Se.Get:Se.Set,n="$"+t,Object.prototype.hasOwnProperty.call(a,n)?(a[n]===Se.Data?Oe&&r===Se.Data?P({},Ee.StrictDuplicateProperty):r!==Se.Data&&P({},Ee.AccessorDataProperty):r===Se.Data?P({},Ee.AccessorDataProperty):a[n]&r&&P({},Ee.AccessorGetSet),a[n]|=r):a[n]=r,i.push(e),U("}")||L(",");return L("}"),Pe.markEnd(Pe.createObjectExpression(i),o)}();if(e=Me.type,r=Me,e===be.Identifier)n=Pe.createIdentifier(E().value);else if(e===be.StringLiteral||e===be.NumericLiteral)Oe&&Me.octal&&P(Me,Ee.StrictOctalLiteral),n=Pe.createLiteral(E());else if(e===be.Keyword){if(j("function"))return function(){var e,t,n,r,o,i,a,s,l,f=null;return l=Me,D("function"),U("(")||(e=Me,f=ae(),Oe?c(e.value)&&P(e,Ee.StrictFunctionName):c(e.value)?(n=e,r=Ee.StrictFunctionName):u(e.value)&&(n=e,r=Ee.StrictReservedWord)),o=he(n),i=o.params,t=o.stricted,n=o.firstRestricted,o.message&&(r=o.message),s=Oe,a=pe(),Oe&&n&&A(n,r),Oe&&t&&P(t,r),Oe=s,Pe.markEnd(Pe.createFunctionExpression(f,i,[],a),l)}();j("this")?(E(),n=Pe.createThisExpression()):M(E())}else e===be.BooleanLiteral?((t=E()).value="true"===t.value,n=Pe.createLiteral(t)):e===be.NullLiteral?((t=E()).value=null,n=Pe.createLiteral(t)):U("/")||U("/=")?(n=void 0!==De.tokens?Pe.createLiteral(w()):Pe.createLiteral(_()),T()):M(E());return Pe.markEnd(n,r)}function K(){var e=[];if(L("("),!U(")"))for(;Ae<Re&&(e.push(re()),!U(")"));)L(",");return L(")"),e}function Y(){var e,t;return t=Me,function(e){return e.type===be.Identifier||e.type===be.Keyword||e.type===be.BooleanLiteral||e.type===be.NullLiteral}(e=E())||M(e),Pe.markEnd(Pe.createIdentifier(e.value),t)}function J(){return L("."),Y()}function Q(){var e;return L("["),e=oe(),L("]"),e}function X(){var e,t,n;return n=Me,D("new"),e=function(){var e,t,n,r;for(r=Me,e=Le.allowIn,t=j("new")?X():G(),Le.allowIn=e;U(".")||U("[");)U("[")?(n=Q(),t=Pe.createMemberExpression("[",t,n)):(n=J(),t=Pe.createMemberExpression(".",t,n)),Pe.markEnd(t,r);return t}(),t=U("(")?K():[],Pe.markEnd(Pe.createNewExpression(e,t),n)}function Z(){var e,t,n=Me;return e=function(){var e,t,n,r,o;for(o=Me,e=Le.allowIn,Le.allowIn=!0,t=j("new")?X():G(),Le.allowIn=e;;){if(U("."))r=J(),t=Pe.createMemberExpression(".",t,r);else if(U("("))n=K(),t=Pe.createCallExpression(t,n);else{if(!U("["))break;r=Q(),t=Pe.createMemberExpression("[",t,r)}Pe.markEnd(t,o)}return t}(),Me.type===be.Punctuator&&(!U("++")&&!U("--")||O()||(Oe&&e.type===xe.Identifier&&c(e.name)&&P({},Ee.StrictLHSPostfix),q(e)||P({},Ee.InvalidLHSInAssignment),t=E(),e=Pe.markEnd(Pe.createPostfixExpression(t.value,e),n))),e}function ee(){var e,t,n;return Me.type!==be.Punctuator&&Me.type!==be.Keyword?t=Z():U("++")||U("--")?(n=Me,e=E(),t=ee(),Oe&&t.type===xe.Identifier&&c(t.name)&&P({},Ee.StrictLHSPrefix),q(t)||P({},Ee.InvalidLHSInAssignment),t=Pe.createUnaryExpression(e.value,t),t=Pe.markEnd(t,n)):U("+")||U("-")||U("~")||U("!")?(n=Me,e=E(),t=ee(),t=Pe.createUnaryExpression(e.value,t),t=Pe.markEnd(t,n)):j("delete")||j("void")||j("typeof")?(n=Me,e=E(),t=ee(),t=Pe.createUnaryExpression(e.value,t),t=Pe.markEnd(t,n),Oe&&"delete"===t.operator&&t.argument.type===xe.Identifier&&P({},Ee.StrictDelete)):t=Z(),t}function te(e,t){var n=0;if(e.type!==be.Punctuator&&e.type!==be.Keyword)return 0;switch(e.value){case"||":n=1;break;case"&&":n=2;break;case"|":n=3;break;case"^":n=4;break;case"&":n=5;break;case"==":case"!=":case"===":case"!==":n=6;break;case"<":case">":case"<=":case">=":case"instanceof":n=7;break;case"in":n=t?7:0;break;case"<<":case">>":case">>>":n=8;break;case"+":case"-":n=9;break;case"*":case"/":case"%":n=11}return n}function ne(){var e,t,n,r,o;return o=Me,e=function(){var e,t,n,r,o,i,a,s,l,u;if(e=Me,l=ee(),0===(o=te(r=Me,Le.allowIn)))return l;for(r.prec=o,E(),t=[e,Me],i=[l,r,a=ee()];(o=te(Me,Le.allowIn))>0;){for(;i.length>2&&o<=i[i.length-2].prec;)a=i.pop(),s=i.pop().value,l=i.pop(),n=Pe.createBinaryExpression(s,l,a),t.pop(),e=t[t.length-1],Pe.markEnd(n,e),i.push(n);(r=E()).prec=o,i.push(r),t.push(Me),n=ee(),i.push(n)}for(n=i[u=i.length-1],t.pop();u>1;)n=Pe.createBinaryExpression(i[u-1].value,i[u-2],n),u-=2,e=t.pop(),Pe.markEnd(n,e);return n}(),U("?")&&(E(),t=Le.allowIn,Le.allowIn=!0,n=re(),Le.allowIn=t,L(":"),r=re(),e=Pe.createConditionalExpression(e,n,r),Pe.markEnd(e,o)),e}function re(){var e,t,n,r,o,i;return e=Me,o=Me,r=t=ne(),Me.type!==be.Punctuator||"="!==(i=Me.value)&&"*="!==i&&"/="!==i&&"%="!==i&&"+="!==i&&"-="!==i&&"<<="!==i&&">>="!==i&&">>>="!==i&&"&="!==i&&"^="!==i&&"|="!==i||(q(t)||P({},Ee.InvalidLHSInAssignment),Oe&&t.type===xe.Identifier&&c(t.name)&&P(e,Ee.StrictLHSAssignment),e=E(),n=re(),r=Pe.markEnd(Pe.createAssignmentExpression(e.value,t,n),o)),r}function oe(){var e,t=Me;if(e=re(),U(",")){for(e=Pe.createSequenceExpression([e]);Ae<Re&&U(",");)E(),e.expressions.push(re());Pe.markEnd(e,t)}return e}function ie(){var e,t;return t=Me,L("{"),e=function(){for(var e,t=[];Ae<Re&&!U("}")&&void 0!==(e=ge());)t.push(e);return t}(),L("}"),Pe.markEnd(Pe.createBlockStatement(e),t)}function ae(){var e,t;return t=Me,(e=E()).type!==be.Identifier&&M(e),Pe.markEnd(Pe.createIdentifier(e.value),t)}function se(e){var t,n,r=null;return n=Me,t=ae(),Oe&&c(t.name)&&P({},Ee.StrictVarName),"const"===e?(L("="),r=re()):U("=")&&(E(),r=re()),Pe.markEnd(Pe.createVariableDeclarator(t,r),n)}function le(e){var t=[];do{if(t.push(se(e)),!U(","))break;E()}while(Ae<Re);return t}function ue(){var e,t,n,r,o,i,a,s,l,u;return e=t=n=null,D("for"),L("("),U(";")?E():(j("var")||j("let")?(Le.allowIn=!1,u=Me,s=E(),l=le(),e=Pe.markEnd(Pe.createVariableDeclaration(l,s.value),u),Le.allowIn=!0,1===e.declarations.length&&j("in")&&(E(),r=e,o=oe(),e=null)):(Le.allowIn=!1,e=oe(),Le.allowIn=!0,j("in")&&(q(e)||P({},Ee.InvalidLHSInForIn),E(),r=e,o=oe(),e=null)),void 0===r&&L(";")),void 0===r&&(U(";")||(t=oe()),L(";"),U(")")||(n=oe())),L(")"),a=Le.inIteration,Le.inIteration=!0,i=de(),Le.inIteration=a,void 0===r?Pe.createForStatement(e,t,n,i):Pe.createForInStatement(r,o,i)}function ce(){var e,t,n,r=[];for(n=Me,j("default")?(E(),e=null):(D("case"),e=oe()),L(":");Ae<Re&&!(U("}")||j("default")||j("case"));)t=de(),r.push(t);return Pe.markEnd(Pe.createSwitchCase(e,r),n)}function fe(){var e,t,n,r,o=[],i=null;return D("try"),e=ie(),j("catch")&&o.push((r=Me,D("catch"),L("("),U(")")&&M(Me),t=ae(),Oe&&c(t.name)&&P({},Ee.StrictCatchVariable),L(")"),n=ie(),Pe.markEnd(Pe.createCatchClause(t,n),r))),j("finally")&&(E(),i=ie()),0!==o.length||i||A({},Ee.NoCatchOrFinally),Pe.createTryStatement(e,[],o,i)}function de(){var e,t,n,r,o,i,a,l,u,c=Me.type;if(c===be.EOF&&M(Me),c===be.Punctuator&&"{"===Me.value)return ie();if(r=Me,c===be.Punctuator)switch(Me.value){case";":return Pe.markEnd((L(";"),Pe.createEmptyStatement()),r);case"(":return Pe.markEnd(function(){var e=oe();return B(),Pe.createExpressionStatement(e)}(),r)}if(c===be.Keyword)switch(Me.value){case"break":return Pe.markEnd(function(){var e,t=null;return D("break"),59===Ce.charCodeAt(Ae)?(E(),Le.inIteration||Le.inSwitch||A({},Ee.IllegalBreak),Pe.createBreakStatement(null)):O()?(Le.inIteration||Le.inSwitch||A({},Ee.IllegalBreak),Pe.createBreakStatement(null)):(Me.type===be.Identifier&&(e="$"+(t=ae()).name,Object.prototype.hasOwnProperty.call(Le.labelSet,e)||A({},Ee.UnknownLabel,t.name)),B(),null!==t||Le.inIteration||Le.inSwitch||A({},Ee.IllegalBreak),Pe.createBreakStatement(t))}(),r);case"continue":return Pe.markEnd(function(){var e,t=null;return D("continue"),59===Ce.charCodeAt(Ae)?(E(),Le.inIteration||A({},Ee.IllegalContinue),Pe.createContinueStatement(null)):O()?(Le.inIteration||A({},Ee.IllegalContinue),Pe.createContinueStatement(null)):(Me.type===be.Identifier&&(e="$"+(t=ae()).name,Object.prototype.hasOwnProperty.call(Le.labelSet,e)||A({},Ee.UnknownLabel,t.name)),B(),null!==t||Le.inIteration||A({},Ee.IllegalContinue),Pe.createContinueStatement(t))}(),r);case"debugger":return Pe.markEnd((D("debugger"),B(),Pe.createDebuggerStatement()),r);case"do":return Pe.markEnd((D("do"),u=Le.inIteration,Le.inIteration=!0,a=de(),Le.inIteration=u,D("while"),L("("),l=oe(),L(")"),U(";")&&E(),Pe.createDoWhileStatement(a,l)),r);case"for":return Pe.markEnd(ue(),r);case"function":return Pe.markEnd(me(),r);case"if":return Pe.markEnd(function(){var e,t,n;return D("if"),L("("),e=oe(),L(")"),t=de(),j("else")?(E(),n=de()):n=null,Pe.createIfStatement(e,t,n)}(),r);case"return":return Pe.markEnd((i=null,D("return"),Le.inFunctionBody||P({},Ee.IllegalReturn),32===Ce.charCodeAt(Ae)&&s(Ce.charCodeAt(Ae+1))?(i=oe(),B(),Pe.createReturnStatement(i)):O()?Pe.createReturnStatement(null):(U(";")||U("}")||Me.type===be.EOF||(i=oe()),B(),Pe.createReturnStatement(i))),r);case"switch":return Pe.markEnd(function(){var e,t,n,r,o;if(D("switch"),L("("),e=oe(),L(")"),L("{"),t=[],U("}"))return E(),Pe.createSwitchStatement(e,t);for(r=Le.inSwitch,Le.inSwitch=!0,o=!1;Ae<Re&&!U("}");)null===(n=ce()).test&&(o&&A({},Ee.MultipleDefaultsInSwitch),o=!0),t.push(n);return Le.inSwitch=r,L("}"),Pe.createSwitchStatement(e,t)}(),r);case"throw":return Pe.markEnd(function(){var e;return D("throw"),O()&&A({},Ee.NewlineAfterThrow),e=oe(),B(),Pe.createThrowStatement(e)}(),r);case"try":return Pe.markEnd(fe(),r);case"var":return Pe.markEnd((D("var"),o=le(),B(),Pe.createVariableDeclaration(o,"var")),r);case"while":return Pe.markEnd(function(){var e,t,n;return D("while"),L("("),e=oe(),L(")"),n=Le.inIteration,Le.inIteration=!0,t=de(),Le.inIteration=n,Pe.createWhileStatement(e,t)}(),r);case"with":return Pe.markEnd(function(){var e,t;return Oe&&(h(),P({},Ee.StrictModeWith)),D("with"),L("("),e=oe(),L(")"),t=de(),Pe.createWithStatement(e,t)}(),r)}return(e=oe()).type===xe.Identifier&&U(":")?(E(),n="$"+e.name,Object.prototype.hasOwnProperty.call(Le.labelSet,n)&&A({},Ee.Redeclaration,"Label",e.name),Le.labelSet[n]=!0,t=de(),delete Le.labelSet[n],Pe.markEnd(Pe.createLabeledStatement(e,t),r)):(B(),Pe.markEnd(Pe.createExpressionStatement(e),r))}function pe(){var e,t,n,r,o,i,a,s,l=[];for(s=Me,L("{");Ae<Re&&Me.type===be.StringLiteral&&(t=Me,e=ge(),l.push(e),e.expression.type===xe.Literal);)"use strict"===(0,F.default)(Ce).call(Ce,t.start+1,t.end-1)?(Oe=!0,n&&P(n,Ee.StrictOctalLiteral)):!n&&t.octal&&(n=t);for(r=Le.labelSet,o=Le.inIteration,i=Le.inSwitch,a=Le.inFunctionBody,Le.labelSet={},Le.inIteration=!1,Le.inSwitch=!1,Le.inFunctionBody=!0;Ae<Re&&!U("}")&&void 0!==(e=ge());)l.push(e);return L("}"),Le.labelSet=r,Le.inIteration=o,Le.inSwitch=i,Le.inFunctionBody=a,Pe.markEnd(Pe.createBlockStatement(l),s)}function he(e){var t,n,r,o,i,a,s=[];if(L("("),!U(")"))for(o={};Ae<Re&&(n=Me,t=ae(),i="$"+n.value,Oe?(c(n.value)&&(r=n,a=Ee.StrictParamName),Object.prototype.hasOwnProperty.call(o,i)&&(r=n,a=Ee.StrictParamDupe)):e||(c(n.value)?(e=n,a=Ee.StrictParamName):u(n.value)?(e=n,a=Ee.StrictReservedWord):Object.prototype.hasOwnProperty.call(o,i)&&(e=n,a=Ee.StrictParamDupe)),s.push(t),o[i]=!0,!U(")"));)L(",");return L(")"),{params:s,stricted:r,firstRestricted:e,message:a}}function me(){var e,t,n,r,o,i,a,s,l,f;return f=Me,D("function"),r=Me,e=ae(),Oe?c(r.value)&&P(r,Ee.StrictFunctionName):c(r.value)?(a=r,s=Ee.StrictFunctionName):u(r.value)&&(a=r,s=Ee.StrictReservedWord),t=(i=he(a)).params,o=i.stricted,a=i.firstRestricted,i.message&&(s=i.message),l=Oe,n=pe(),Oe&&a&&A(a,s),Oe&&o&&P(o,s),Oe=l,Pe.markEnd(Pe.createFunctionDeclaration(e,t,[],n),f)}function ge(){if(Me.type===be.Keyword)switch(Me.value){case"const":case"let":return e=Me.value,n=Me,D(e),t=le(e),B(),Pe.markEnd(Pe.createVariableDeclaration(t,e),n);case"function":return me();default:return de()}var e,t,n;if(Me.type!==be.EOF)return de()}function ve(){var e,t;return h(),T(),t=Me,Oe=!1,e=function(){for(var e,t,n,r=[];Ae<Re&&(t=Me).type===be.StringLiteral&&(e=ge(),r.push(e),e.expression.type===xe.Literal);)"use strict"===(0,F.default)(Ce).call(Ce,t.start+1,t.end-1)?(Oe=!0,n&&P(n,Ee.StrictOctalLiteral)):!n&&t.octal&&(n=t);for(;Ae<Re&&void 0!==(e=ge());)r.push(e);return r}(),Pe.markEnd(Pe.createProgram(e),t)}function ye(){var e,t,n,r=[];for(e=0;e<De.tokens.length;++e)n={type:(t=De.tokens[e]).type,value:t.value},De.range&&(n.range=t.range),De.loc&&(n.loc=t.loc),r.push(n);De.tokens=r}var be,_e,we,xe,Se,Ee,Te,ke,Ce,Oe,Ae,Ne,Ie,Re,Pe,Me,Le,De;(_e={})[(be={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9}).BooleanLiteral]="Boolean",_e[be.EOF]="<end>",_e[be.Identifier]="Identifier",_e[be.Keyword]="Keyword",_e[be.NullLiteral]="Null",_e[be.NumericLiteral]="Numeric",_e[be.Punctuator]="Punctuator",_e[be.StringLiteral]="String",_e[be.RegularExpression]="RegularExpression",we=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],xe={AssignmentExpression:"AssignmentExpression",ArrayExpression:"ArrayExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",Program:"Program",Property:"Property",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement"},Se={Data:1,Get:2,Set:4},Ee={UnexpectedToken:"Unexpected token %0",UnexpectedNumber:"Unexpected number",UnexpectedString:"Unexpected string",UnexpectedIdentifier:"Unexpected identifier",UnexpectedReserved:"Unexpected reserved word",UnexpectedEOS:"Unexpected end of input",NewlineAfterThrow:"Illegal newline after throw",InvalidRegExp:"Invalid regular expression",UnterminatedRegExp:"Invalid regular expression: missing /",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NoCatchOrFinally:"Missing catch or finally after try",UnknownLabel:"Undefined label '%0'",Redeclaration:"%0 '%1' has already been declared",IllegalContinue:"Illegal continue statement",IllegalBreak:"Illegal break statement",IllegalReturn:"Illegal return statement",StrictModeWith:"Strict mode code may not include a with statement",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictDuplicateProperty:"Duplicate data property in object literal not allowed in strict mode",AccessorDataProperty:"Object literal may not have data and accessor property with the same name",AccessorGetSet:"Object literal may not have multiple get/set accessors with the same name",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictReservedWord:"Use of future reserved word in strict mode"},Te={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")},ke={name:"SyntaxTree",processComment:function(e){var t,n;if(!(e.type===xe.Program&&e.body.length>0)){for(De.trailingComments.length>0?De.trailingComments[0].range[0]>=e.range[1]?(n=De.trailingComments,De.trailingComments=[]):De.trailingComments.length=0:De.bottomRightStack.length>0&&De.bottomRightStack[De.bottomRightStack.length-1].trailingComments&&De.bottomRightStack[De.bottomRightStack.length-1].trailingComments[0].range[0]>=e.range[1]&&(n=De.bottomRightStack[De.bottomRightStack.length-1].trailingComments,delete De.bottomRightStack[De.bottomRightStack.length-1].trailingComments);De.bottomRightStack.length>0&&De.bottomRightStack[De.bottomRightStack.length-1].range[0]>=e.range[0];)t=De.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):De.leadingComments.length>0&&De.leadingComments[De.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=De.leadingComments,De.leadingComments=[]),n&&(e.trailingComments=n),De.bottomRightStack.push(e)}},markEnd:function(e,t){return De.range&&(e.range=[t.start,Ae]),De.loc&&(e.loc=new C(void 0===t.startLineNumber?t.lineNumber:t.startLineNumber,t.start-(void 0===t.startLineStart?t.lineStart:t.startLineStart),Ne,Ae-Ie),this.postProcess(e)),De.attachComment&&this.processComment(e),e},postProcess:function(e){return De.source&&(e.loc.source=De.source),e},createArrayExpression:function(e){return{type:xe.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:xe.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){return{type:"||"===e||"&&"===e?xe.LogicalExpression:xe.BinaryExpression,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:xe.BlockStatement,body:e}},createBreakStatement:function(e){return{type:xe.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:xe.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:xe.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:xe.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:xe.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:xe.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:xe.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:xe.EmptyStatement}},createExpressionStatement:function(e){return{type:xe.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:xe.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:xe.ForInStatement,left:e,right:t,body:n,each:!1}},createFunctionDeclaration:function(e,t,n,r){return{type:xe.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(e,t,n,r){return{type:xe.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createIdentifier:function(e){return{type:xe.Identifier,name:e}},createIfStatement:function(e,t,n){return{type:xe.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:xe.LabeledStatement,label:e,body:t}},createLiteral:function(e){return{type:xe.Literal,value:e.value,raw:(0,F.default)(Ce).call(Ce,e.start,e.end)}},createMemberExpression:function(e,t,n){return{type:xe.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:xe.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:xe.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:xe.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:xe.Program,body:e}},createProperty:function(e,t,n){return{type:xe.Property,key:t,value:n,kind:e}},createReturnStatement:function(e){return{type:xe.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:xe.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:xe.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:xe.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:xe.ThisExpression}},createThrowStatement:function(e){return{type:xe.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:xe.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:xe.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:xe.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:xe.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:xe.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:xe.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:xe.WithStatement,object:e,body:t}}},e.version="1.2.2",e.tokenize=function(e,t){var n;"string"==typeof e||e instanceof String||(e=String(e)),Pe=ke,Ae=0,Ne=(Ce=e).length>0?1:0,Ie=0,Re=Ce.length,Me=null,Le={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},De={},(t=t||{}).tokens=!0,De.tokens=[],De.tokenize=!0,De.openParenToken=-1,De.openCurlyToken=-1,De.range="boolean"==typeof t.range&&t.range,De.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(De.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(De.errors=[]);try{if(T(),Me.type===be.EOF)return De.tokens;for(E();Me.type!==be.EOF;)try{E()}catch(e){if(De.errors){De.errors.push(e);break}throw e}ye(),n=De.tokens,void 0!==De.comments&&(n.comments=De.comments),void 0!==De.errors&&(n.errors=De.errors)}catch(e){throw e}finally{De={}}return n},e.parse=function(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),Pe=ke,Ae=0,Ne=(Ce=e).length>0?1:0,Ie=0,Re=Ce.length,Me=null,Le={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},De={},void 0!==t&&(De.range="boolean"==typeof t.range&&t.range,De.loc="boolean"==typeof t.loc&&t.loc,De.attachComment="boolean"==typeof t.attachComment&&t.attachComment,De.loc&&null!==t.source&&void 0!==t.source&&(De.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(De.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(De.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(De.errors=[]),De.attachComment&&(De.range=!0,De.comments=[],De.bottomRightStack=[],De.trailingComments=[],De.leadingComments=[]));try{n=ve(),void 0!==De.comments&&(n.comments=De.comments),void 0!==De.tokens&&(ye(),n.tokens=De.tokens),void 0!==De.errors&&(n.errors=De.errors)}catch(e){throw e}finally{De={}}return n},e.Syntax=function(){var e,t={};for(e in"function"==typeof $.default&&(t=(0,$.default)(null)),xe)xe.hasOwnProperty(e)&&(t[e]=xe[e]);return"function"==typeof N.default&&(0,N.default)(t),t}()}(void 0!==n?n:e.esprima={})}(this)},{}],1:[function(e,t,n){(function(r){var o,i=function(){function e(){this.yy={}}var t={trace:function(){},yy:{},symbols_:{error:2,JSON_PATH:3,DOLLAR:4,PATH_COMPONENTS:5,LEADING_CHILD_MEMBER_EXPRESSION:6,PATH_COMPONENT:7,MEMBER_COMPONENT:8,SUBSCRIPT_COMPONENT:9,CHILD_MEMBER_COMPONENT:10,DESCENDANT_MEMBER_COMPONENT:11,DOT:12,MEMBER_EXPRESSION:13,DOT_DOT:14,STAR:15,IDENTIFIER:16,SCRIPT_EXPRESSION:17,INTEGER:18,END:19,CHILD_SUBSCRIPT_COMPONENT:20,DESCENDANT_SUBSCRIPT_COMPONENT:21,"[":22,SUBSCRIPT:23,"]":24,SUBSCRIPT_EXPRESSION:25,SUBSCRIPT_EXPRESSION_LIST:26,SUBSCRIPT_EXPRESSION_LISTABLE:27,",":28,STRING_LITERAL:29,ARRAY_SLICE:30,FILTER_EXPRESSION:31,QQ_STRING:32,Q_STRING:33,$accept:0,$end:1},terminals_:{2:"error",4:"DOLLAR",12:"DOT",14:"DOT_DOT",15:"STAR",16:"IDENTIFIER",17:"SCRIPT_EXPRESSION",18:"INTEGER",19:"END",22:"[",24:"]",28:",",30:"ARRAY_SLICE",31:"FILTER_EXPRESSION",32:"QQ_STRING",33:"Q_STRING"},productions_:[0,[3,1],[3,2],[3,1],[3,2],[5,1],[5,2],[7,1],[7,1],[8,1],[8,1],[10,2],[6,1],[11,2],[13,1],[13,1],[13,1],[13,1],[13,1],[9,1],[9,1],[20,3],[21,4],[23,1],[23,1],[26,1],[26,3],[27,1],[27,1],[27,1],[25,1],[25,1],[25,1],[29,1],[29,1]],performAction:function(e,t,r,o,i,a,s){var l;o.ast||(o.ast=n,n.initialize());var u=a.length-1;switch(i){case 1:return o.ast.set({expression:{type:"root",value:a[u]}}),o.ast.unshift(),o.ast.yield();case 2:return o.ast.set({expression:{type:"root",value:a[u-1]}}),o.ast.unshift(),o.ast.yield();case 3:return o.ast.unshift(),o.ast.yield();case 4:return o.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:a[u-1]}}),o.ast.unshift(),o.ast.yield();case 5:case 6:break;case 7:o.ast.set({operation:"member"}),o.ast.push();break;case 8:o.ast.set({operation:"subscript"}),o.ast.push();break;case 9:o.ast.set({scope:"child"});break;case 10:o.ast.set({scope:"descendant"});break;case 11:break;case 12:o.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:o.ast.set({expression:{type:"wildcard",value:a[u]}});break;case 15:o.ast.set({expression:{type:"identifier",value:a[u]}});break;case 16:o.ast.set({expression:{type:"script_expression",value:a[u]}});break;case 17:o.ast.set({expression:{type:"numeric_literal",value:(0,R.default)(a[u])}});break;case 18:break;case 19:o.ast.set({scope:"child"});break;case 20:o.ast.set({scope:"descendant"});break;case 21:case 22:case 23:break;case 24:a[u].length>1?o.ast.set({expression:{type:"union",value:a[u]}}):this.$=a[u];break;case 25:this.$=[a[u]];break;case 26:this.$=(0,A.default)(l=a[u-2]).call(l,a[u]);break;case 27:this.$={expression:{type:"numeric_literal",value:(0,R.default)(a[u])}},o.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:a[u]}},o.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:a[u]}},o.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:a[u]}},o.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:a[u]}},o.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:a[u]}},o.ast.set(this.$);break;case 33:case 34:this.$=a[u]}},table:[{3:1,4:[1,2],6:3,13:4,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{1:[3]},{1:[2,1],5:10,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,3],5:21,7:11,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,12],12:[2,12],14:[2,12],22:[2,12]},{1:[2,14],12:[2,14],14:[2,14],22:[2,14]},{1:[2,15],12:[2,15],14:[2,15],22:[2,15]},{1:[2,16],12:[2,16],14:[2,16],22:[2,16]},{1:[2,17],12:[2,17],14:[2,17],22:[2,17]},{1:[2,18],12:[2,18],14:[2,18],22:[2,18]},{1:[2,2],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,5],12:[2,5],14:[2,5],22:[2,5]},{1:[2,7],12:[2,7],14:[2,7],22:[2,7]},{1:[2,8],12:[2,8],14:[2,8],22:[2,8]},{1:[2,9],12:[2,9],14:[2,9],22:[2,9]},{1:[2,10],12:[2,10],14:[2,10],22:[2,10]},{1:[2,19],12:[2,19],14:[2,19],22:[2,19]},{1:[2,20],12:[2,20],14:[2,20],22:[2,20]},{13:23,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9]},{13:24,15:[1,5],16:[1,6],17:[1,7],18:[1,8],19:[1,9],22:[1,25]},{15:[1,29],17:[1,30],18:[1,33],23:26,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{1:[2,4],7:22,8:12,9:13,10:14,11:15,12:[1,18],14:[1,19],20:16,21:17,22:[1,20]},{1:[2,6],12:[2,6],14:[2,6],22:[2,6]},{1:[2,11],12:[2,11],14:[2,11],22:[2,11]},{1:[2,13],12:[2,13],14:[2,13],22:[2,13]},{15:[1,29],17:[1,30],18:[1,33],23:38,25:27,26:28,27:32,29:34,30:[1,35],31:[1,31],32:[1,36],33:[1,37]},{24:[1,39]},{24:[2,23]},{24:[2,24],28:[1,40]},{24:[2,30]},{24:[2,31]},{24:[2,32]},{24:[2,25],28:[2,25]},{24:[2,27],28:[2,27]},{24:[2,28],28:[2,28]},{24:[2,29],28:[2,29]},{24:[2,33],28:[2,33]},{24:[2,34],28:[2,34]},{24:[1,41]},{1:[2,21],12:[2,21],14:[2,21],22:[2,21]},{18:[1,33],27:42,29:34,30:[1,35],32:[1,36],33:[1,37]},{1:[2,22],12:[2,22],14:[2,22],22:[2,22]},{24:[2,26],28:[2,26]}],defaultActions:{27:[2,23],29:[2,30],30:[2,31],31:[2,32]},parseError:function(e,t){if(!t.recoverable)throw new Error(e);this.trace(e)},parse:function(e){var t,n=this,r=[0],o=[null],i=[],a=this.table,s="",l=0,u=0,c=0,f=1,d=(0,F.default)(i).call(arguments,1);this.lexer.setInput(e),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,this.yy.parser=this,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var p=this.lexer.yylloc;i.push(p);var h=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError?this.parseError=this.yy.parseError:this.parseError=(0,O.default)(this).parseError;for(var m,g,v,y,b,_,w,x,S,E={};;){if(v=r[r.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==m&&(m=function(){var e;return"number"!=typeof(e=n.lexer.lex()||f)&&(e=n.symbols_[e]||e),e}()),y=a[v]&&a[v][m]),void 0===y||!y.length||!y[0]){var T="";for(_ in S=[],a[v])this.terminals_[_]&&_>2&&S.push("'"+this.terminals_[_]+"'");T=this.lexer.showPosition?"Parse error on line "+(l+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(l+1)+": Unexpected "+(m==f?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(T,{text:this.lexer.match,token:this.terminals_[m]||m,line:this.lexer.yylineno,loc:p,expected:S})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(y[0]){case 1:r.push(m),o.push(this.lexer.yytext),i.push(this.lexer.yylloc),r.push(y[1]),m=null,g?(m=g,g=null):(u=this.lexer.yyleng,s=this.lexer.yytext,l=this.lexer.yylineno,p=this.lexer.yylloc,c>0&&c--);break;case 2:if(w=this.productions_[y[1]][1],E.$=o[o.length-w],E._$={first_line:i[i.length-(w||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(w||1)].first_column,last_column:i[i.length-1].last_column},h&&(E._$.range=[i[i.length-(w||1)].range[0],i[i.length-1].range[1]]),void 0!==(b=this.performAction.apply(E,(0,A.default)(t=[s,u,l,this.yy,y[1],o,i]).call(t,d))))return b;w&&(r=(0,F.default)(r).call(r,0,-1*w*2),o=(0,F.default)(o).call(o,0,-1*w),i=(0,F.default)(i).call(i,0,-1*w)),r.push(this.productions_[y[1]][0]),o.push(E.$),i.push(E._$),x=a[r[r.length-2]][r[r.length-1]],r.push(x);break;case 3:return!0}}return!0}},n={initialize:function(){this._nodes=[],this._node={},this._stash=[]},set:function(e){for(var t in e)this._node[t]=e[t];return this._node},node:function(e){return arguments.length&&(this._node=e),this._node},push:function(){this._nodes.push(this._node),this._node={}},unshift:function(){this._nodes.unshift(this._node),this._node={}},yield:function(){var e=this._nodes;return this.initialize(),e}},r={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e){return this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e,t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=(0,F.default)(e=this._input).call(e,1),t},unput:function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t-1),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){var t;this.unput((0,F.default)(t=this.match).call(t,e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var n,r,o,i,a,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:(0,F.default)(n=this.conditionStack).call(n,0),done:this.done},this.options.ranges&&(s.yylloc.range=(0,F.default)(r=this.yylloc.range).call(r,0))),(a=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=a.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:a?a[a.length-1].length-a[a.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=(0,F.default)(o=this._input).call(o,e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var l in s)this[l]=s[l];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,n,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var o=this._currentRules(),i=0;i<o.length;i++)if((n=this._input.match(this.rules[o[i]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=i,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,o[i])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,o[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(e,t,n,r){switch(n){case 0:return 4;case 1:return 14;case 2:return 12;case 3:return 15;case 4:return 16;case 5:return 22;case 6:return 24;case 7:return 28;case 8:return 30;case 9:return 18;case 10:return t.yytext=t.yytext.substr(1,t.yyleng-2),32;case 11:return t.yytext=t.yytext.substr(1,t.yyleng-2),33;case 12:return 17;case 13:return 31}},rules:[/^(?:\$)/,/^(?:\.\.)/,/^(?:\.)/,/^(?:\*)/,/^(?:[a-zA-Z_]+[a-zA-Z0-9_]*)/,/^(?:\[)/,/^(?:\])/,/^(?:,)/,/^(?:((-?(?:0|[1-9][0-9]*)))?\:((-?(?:0|[1-9][0-9]*)))?(\:((-?(?:0|[1-9][0-9]*)))?)?)/,/^(?:(-?(?:0|[1-9][0-9]*)))/,/^(?:"(?:\\["bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^"\\])*")/,/^(?:'(?:\\['bfnrt/\\]|\\u[a-fA-F0-9]{4}|[^'\\])*')/,/^(?:\(.+?\)(?=\]))/,/^(?:\?\(.+?\)(?=\]))/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13],inclusive:!0}}};return t.lexer=r,e.prototype=t,t.Parser=e,new e}();void 0!==e&&void 0!==n&&(n.parser=i,n.Parser=i.Parser,n.parse=function(){return i.parse.apply(i,arguments)},n.main=function(t){t[1]||r.exit(1);var o=e("fs").readFileSync(e("path").normalize(t[1]),"utf8");return n.parser.parse(o)},void 0!==t&&e.main===t&&n.main((0,F.default)(o=r.argv).call(o,1)))}).call(this,e("_process"))},{_process:14,fs:12,path:13}],2:[function(e,t,n){t.exports={identifier:"[a-zA-Z_]+[a-zA-Z0-9_]*",integer:"-?(?:0|[1-9][0-9]*)",qq_string:'"(?:\\\\["bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^"\\\\])*"',q_string:"'(?:\\\\['bfnrt/\\\\]|\\\\u[a-fA-F0-9]{4}|[^'\\\\])*'"}},{}],3:[function(e,t,n){var r=e("./dict"),o=e("fs"),i={lex:{macros:{esc:"\\\\",int:r.integer},rules:[["\\$","return 'DOLLAR'"],["\\.\\.","return 'DOT_DOT'"],["\\.","return 'DOT'"],["\\*","return 'STAR'"],[r.identifier,"return 'IDENTIFIER'"],["\\[","return '['"],["\\]","return ']'"],[",","return ','"],["({int})?\\:({int})?(\\:({int})?)?","return 'ARRAY_SLICE'"],["{int}","return 'INTEGER'"],[r.qq_string,"yytext = yytext.substr(1,yyleng-2); return 'QQ_STRING';"],[r.q_string,"yytext = yytext.substr(1,yyleng-2); return 'Q_STRING';"],["\\(.+?\\)(?=\\])","return 'SCRIPT_EXPRESSION'"],["\\?\\(.+?\\)(?=\\])","return 'FILTER_EXPRESSION'"]]},start:"JSON_PATH",bnf:{JSON_PATH:[["DOLLAR",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["DOLLAR PATH_COMPONENTS",'yy.ast.set({ expression: { type: "root", value: $1 } }); yy.ast.unshift(); return yy.ast.yield()'],["LEADING_CHILD_MEMBER_EXPRESSION","yy.ast.unshift(); return yy.ast.yield()"],["LEADING_CHILD_MEMBER_EXPRESSION PATH_COMPONENTS",'yy.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: $1 }}); yy.ast.unshift(); return yy.ast.yield()']],PATH_COMPONENTS:[["PATH_COMPONENT",""],["PATH_COMPONENTS PATH_COMPONENT",""]],PATH_COMPONENT:[["MEMBER_COMPONENT",'yy.ast.set({ operation: "member" }); yy.ast.push()'],["SUBSCRIPT_COMPONENT",'yy.ast.set({ operation: "subscript" }); yy.ast.push() ']],MEMBER_COMPONENT:[["CHILD_MEMBER_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_MEMBER_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_MEMBER_COMPONENT:[["DOT MEMBER_EXPRESSION",""]],LEADING_CHILD_MEMBER_EXPRESSION:[["MEMBER_EXPRESSION",'yy.ast.set({ scope: "child", operation: "member" })']],DESCENDANT_MEMBER_COMPONENT:[["DOT_DOT MEMBER_EXPRESSION",""]],MEMBER_EXPRESSION:[["STAR",'yy.ast.set({ expression: { type: "wildcard", value: $1 } })'],["IDENTIFIER",'yy.ast.set({ expression: { type: "identifier", value: $1 } })'],["SCRIPT_EXPRESSION",'yy.ast.set({ expression: { type: "script_expression", value: $1 } })'],["INTEGER",'yy.ast.set({ expression: { type: "numeric_literal", value: parseInt($1) } })'],["END",""]],SUBSCRIPT_COMPONENT:[["CHILD_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "child" })'],["DESCENDANT_SUBSCRIPT_COMPONENT",'yy.ast.set({ scope: "descendant" })']],CHILD_SUBSCRIPT_COMPONENT:[["[ SUBSCRIPT ]",""]],DESCENDANT_SUBSCRIPT_COMPONENT:[["DOT_DOT [ SUBSCRIPT ]",""]],SUBSCRIPT:[["SUBSCRIPT_EXPRESSION",""],["SUBSCRIPT_EXPRESSION_LIST",'$1.length > 1? yy.ast.set({ expression: { type: "union", value: $1 } }) : $$ = $1']],SUBSCRIPT_EXPRESSION_LIST:[["SUBSCRIPT_EXPRESSION_LISTABLE","$$ = [$1]"],["SUBSCRIPT_EXPRESSION_LIST , SUBSCRIPT_EXPRESSION_LISTABLE","$$ = $1.concat($3)"]],SUBSCRIPT_EXPRESSION_LISTABLE:[["INTEGER",'$$ = { expression: { type: "numeric_literal", value: parseInt($1) } }; yy.ast.set($$)'],["STRING_LITERAL",'$$ = { expression: { type: "string_literal", value: $1 } }; yy.ast.set($$)'],["ARRAY_SLICE",'$$ = { expression: { type: "slice", value: $1 } }; yy.ast.set($$)']],SUBSCRIPT_EXPRESSION:[["STAR",'$$ = { expression: { type: "wildcard", value: $1 } }; yy.ast.set($$)'],["SCRIPT_EXPRESSION",'$$ = { expression: { type: "script_expression", value: $1 } }; yy.ast.set($$)'],["FILTER_EXPRESSION",'$$ = { expression: { type: "filter_expression", value: $1 } }; yy.ast.set($$)']],STRING_LITERAL:[["QQ_STRING","$$ = $1"],["Q_STRING","$$ = $1"]]}};o.readFileSync&&(i.moduleInclude=o.readFileSync(e.resolve("../include/module.js")),i.actionInclude=o.readFileSync(e.resolve("../include/action.js"))),t.exports=i},{"./dict":2,fs:12}],4:[function(e,t,n){function r(t,n,r){var o=e("./index"),i=l(f.parse(n).body[0].expression,{"@":t.value}),a=r.replace(/\{\{\s*value\s*\}\}/g,i),s=o.nodes(t.value,a);return(0,q.default)(s).call(s,function(e){var n,r;e.path=(0,A.default)(n=t.path).call(n,(0,F.default)(r=e.path).call(r,1))}),s}function o(e){return(0,B.default)(e)}function i(e){return function(t,n,r,i){var a,s=t.value,l=t.path,u=[],c=(0,W.default)(a=function(t,a){var s,l,f,d,p;o(t)?((0,q.default)(t).call(t,function(e,t){u.length>=i||r(t,e,n)&&u.push({path:(0,A.default)(a).call(a,t),value:e})}),(0,q.default)(t).call(t,function(t,n){u.length>=i||e&&c(t,(0,A.default)(a).call(a,n))})):(p=t)&&!(p instanceof Array)&&p instanceof Object&&((0,q.default)(s=(0,C.default)(l=this).call(l,t)).call(s,function(e){u.length>=i||r(e,t[e],n)&&u.push({path:(0,A.default)(a).call(a,e),value:t[e]})}),(0,q.default)(f=(0,C.default)(d=this).call(d,t)).call(f,function(n){u.length>=i||e&&c(t[n],(0,A.default)(a).call(a,n))}))}).call(a,this);return c(s,l),u}}function a(e){return function(t,n,r){return this.descend(n,t.expression.value,e,r)}}function s(e){return function(t,n,r){return this.traverse(n,t.expression.value,e,r)}}function l(){try{return p.apply(this,arguments)}catch(e){}}function u(e){return e=(0,k.default)(e).call(e,function(e){return e}),h(e,function(e){var t;return(0,L.default)(t=e.path).call(t,function(e){return String(e).replace("-","--")}).join("-")})}function c(e){var t=String(e);return t.match(/^-?[0-9]+$/)?(0,R.default)(t):null}var f=e("./aesprim"),d=e("./slice"),p=e("static-eval"),h=e("underscore").uniq,m=function(){return this.initialize.apply(this,arguments)};m.prototype.initialize=function(){this.traverse=i(!0),this.descend=i()},m.prototype.keys=T.default,m.prototype.resolve=function(e){var t=[e.operation,e.scope,e.expression.type].join("-"),n=this._fns[t];if(!n)throw new Error("couldn't resolve key: "+t);return(0,W.default)(n).call(n,this)},m.prototype.register=function(e,t){if(!t instanceof Function)throw new Error("handler must be a function");this._fns[e]=t},m.prototype._fns={"member-child-identifier":function(e,t){var n,r=e.expression.value,o=t.value;if(o instanceof Object&&r in o)return[{value:o[r],path:(0,A.default)(n=t.path).call(n,r)}]},"member-descendant-identifier":s(function(e,t,n){return e==n}),"subscript-child-numeric_literal":a(function(e,t,n){return e===n}),"member-child-numeric_literal":a(function(e,t,n){return String(e)===String(n)}),"subscript-descendant-numeric_literal":s(function(e,t,n){return e===n}),"member-child-wildcard":a(function(){return!0}),"member-descendant-wildcard":s(function(){return!0}),"subscript-descendant-wildcard":s(function(){return!0}),"subscript-child-wildcard":a(function(){return!0}),"subscript-child-slice":function(e,t){if(o(t.value)){var n,r,i,a=(0,L.default)(n=e.expression.value.split(":")).call(n,c),s=(0,L.default)(r=t.value).call(r,function(e,n){var r;return{value:e,path:(0,A.default)(r=t.path).call(r,n)}});return d.apply(null,(0,A.default)(i=[s]).call(i,a))}},"subscript-child-union":function(e,t){var n,r=[];return(0,q.default)(n=e.expression.value).call(n,function(e){var n={operation:"subscript",scope:"child",expression:e.expression},o=this.resolve(n)(n,t);o&&(r=(0,A.default)(r).call(r,o))},this),u(r)},"subscript-descendant-union":function(t,n,r){var o,i,a=e(".."),s=this,l=[];return(0,q.default)(o=(0,F.default)(i=a.nodes(n,"$..*")).call(i,1)).call(o,function(e){var n;l.length>=r||(0,q.default)(n=t.expression.value).call(n,function(t){var n={operation:"subscript",scope:"child",expression:t.expression},r=s.resolve(n)(n,e);l=(0,A.default)(l).call(l,r)})}),u(l)},"subscript-child-filter_expression":function(e,t,n){var r,o=(0,F.default)(r=e.expression.value).call(r,2,-1),i=f.parse(o).body[0].expression;return this.descend(t,null,function(e,t){return l(i,{"@":t})},n)},"subscript-descendant-filter_expression":function(e,t,n){var r,o=(0,F.default)(r=e.expression.value).call(r,2,-1),i=f.parse(o).body[0].expression;return this.traverse(t,null,function(e,t){return l(i,{"@":t})},n)},"subscript-child-script_expression":function(e,t){var n;return r(t,(0,F.default)(n=e.expression.value).call(n,1,-1),"$[{{value}}]")},"member-child-script_expression":function(e,t){var n;return r(t,(0,F.default)(n=e.expression.value).call(n,1,-1),"$.{{value}}")},"member-descendant-script_expression":function(e,t){var n;return r(t,(0,F.default)(n=e.expression.value).call(n,1,-1),"$..value")}},m.prototype._fns["subscript-child-string_literal"]=m.prototype._fns["member-child-identifier"],m.prototype._fns["member-descendant-numeric_literal"]=m.prototype._fns["subscript-descendant-string_literal"]=m.prototype._fns["member-descendant-identifier"],t.exports=m},{"..":"jsonpath","./aesprim":"./aesprim","./index":5,"./slice":7,"static-eval":15,underscore:12}],5:[function(e,t,n){function r(e){return"[object String]"==Object.prototype.toString.call(e)}var o=e("assert"),i=e("./dict"),a=e("./parser"),s=e("./handlers"),l=function(){this.initialize.apply(this,arguments)};l.prototype.initialize=function(){this.parser=new a,this.handlers=new s},l.prototype.parse=function(e){return o.ok(r(e),"we need a path"),this.parser.parse(e)},l.prototype.parent=function(e,t){o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path");var n=this.nodes(e,t)[0];return n.path.pop(),this.value(e,n.path)},l.prototype.apply=function(e,t,n){var r;o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path"),o.equal((0,Y.default)(n),"function","fn needs to be function");var i=(0,E.default)(r=this.nodes(e,t)).call(r,function(e,t){return t.path.length-e.path.length});return(0,q.default)(i).call(i,function(t){var r=t.path.pop(),o=this.value(e,this.stringify(t.path)),i=t.value=n.call(e,o[r]);o[r]=i},this),i},l.prototype.value=function(e,t,n){if(o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path"),arguments.length>=3){var r,i=this.nodes(e,t).shift();if(!i)return this._vivify(e,t,n);var a=(0,F.default)(r=i.path).call(r,-1).shift();this.parent(e,this.stringify(i.path))[a]=n}return this.query(e,this.stringify(t),1).shift()},l.prototype._vivify=function(e,t,n){var r,i=this;o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path");var a=(0,L.default)(r=this.parser.parse(t)).call(r,function(e){return e.expression.value});return function t(n,r){var o=n.pop(),a=i.value(e,n);a||(t((0,A.default)(n).call(n),"string"==typeof o?{}:[]),a=i.value(e,n)),a[o]=r}(a,n),this.query(e,t)[0]},l.prototype.query=function(e,t,n){var i;return o.ok(e instanceof Object,"obj needs to be an object"),o.ok(r(t),"we need a path"),(0,L.default)(i=this.nodes(e,t,n)).call(i,function(e){return e.value})},l.prototype.paths=function(e,t,n){var r;return o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path"),(0,L.default)(r=this.nodes(e,t,n)).call(r,function(e){return e.path})},l.prototype.nodes=function(e,t,n){if(o.ok(e instanceof Object,"obj needs to be an object"),o.ok(t,"we need a path"),0===n)return[];var r=this.parser.parse(t),i=this.handlers,a=[{path:["$"],value:e}],s=[];return r.length&&"root"==r[0].expression.type&&r.shift(),r.length?((0,q.default)(r).call(r,function(e,t){if(!(s.length>=n)){var o=i.resolve(e),l=[];(0,q.default)(a).call(a,function(i){if(!(s.length>=n)){var a=o(e,i,n);t==r.length-1?s=(0,A.default)(s).call(s,a||[]):l=(0,A.default)(l).call(l,a||[])}}),a=l}}),n?(0,F.default)(s).call(s,0,n):s):a},l.prototype.stringify=function(e){var t;o.ok(e,"we need a path");var n="$",r={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return(0,q.default)(t=e=this._normalize(e)).call(t,function(e){if("root"!=e.expression.type){var t,o=[e.scope,e.operation].join("-"),i=r[o];if(t="string_literal"==e.expression.type?(0,S.default)(e.expression.value):e.expression.value,!i)throw new Error("couldn't find template "+o);n+=i.replace(/{{value}}/,t)}}),n},l.prototype._normalize=function(e){if(o.ok(e,"we need a path"),"string"==typeof e)return this.parser.parse(e);if((0,B.default)(e)&&"string"==typeof e[0]){var t=[{expression:{type:"root",value:"$"}}];return(0,q.default)(e).call(e,function(e,n){if("$"!=e||0!==n)if("string"==typeof e&&e.match("^"+i.identifier+"$"))t.push({operation:"member",scope:"child",expression:{value:e,type:"identifier"}});else{var r="number"==typeof e?"numeric_literal":"string_literal";t.push({operation:"subscript",scope:"child",expression:{value:e,type:r}})}}),t}if((0,B.default)(e)&&"object"==(0,Y.default)(e[0]))return e;throw new Error("couldn't understand path "+e)},l.Handlers=s,l.Parser=a;var u=new l;u.JSONPath=l,t.exports=u},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(e,t,n){var r=e("./grammar"),o=e("../generated/parser"),i=function(){var e=new o.Parser,t=e.parseError;return e.yy.parseError=function(){e.yy.ast&&e.yy.ast.initialize(),t.apply(e,arguments)},e};i.grammar=r,t.exports=i},{"../generated/parser":1,"./grammar":3}],7:[function(e,t,n){function r(e){return String(e).match(/^[0-9]+$/)?(0,R.default)(e):(0,x.default)(e)?(0,R.default)(e,10):0}t.exports=function(e,t,n,o){if("string"==typeof t)throw new Error("start cannot be a string");if("string"==typeof n)throw new Error("end cannot be a string");if("string"==typeof o)throw new Error("step cannot be a string");var i=e.length;if(0===o)throw new Error("step cannot be zero");if(o=o?r(o):1,n=n<0?i+n:n,t=r(0===(t=t<0?i+t:t)?0:t||(o>0?0:i-1)),n=r(0===n?0:n||(o>0?i:-1)),t=o>0?Math.max(0,t):Math.min(i,t),n=o>0?Math.min(n,i):Math.max(-1,n),o>0&&n<=t)return[];if(o<0&&t<=n)return[];for(var a=[],s=t;s!=n&&!(o<0&&s<=n||o>0&&s>=n);s+=o)a.push(e[s]);return a}},{}],8:[function(e,t,n){function r(e,t){return f.isUndefined(t)?""+t:f.isNumber(t)&&!isFinite(t)?t.toString():f.isFunction(t)||f.isRegExp(t)?t.toString():t}function o(e,t){return f.isString(e)?e.length<t?e:(0,F.default)(e).call(e,0,t):e}function i(e,t,n,r,o){throw new h.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:o})}function a(e,t){e||i(e,!0,t,"==",h.ok)}function s(e,t){if(e===t)return!0;if(f.isBuffer(e)&&f.isBuffer(t)){if(e.length!=t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return f.isDate(e)&&f.isDate(t)?e.getTime()===t.getTime():f.isRegExp(e)&&f.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:f.isObject(e)||f.isObject(t)?function(e,t){if(f.isNullOrUndefined(e)||f.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(f.isPrimitive(e)||f.isPrimitive(t))return e===t;var n=l(e),r=l(t);if(n&&!r||!n&&r)return!1;if(n)return e=d.call(e),t=d.call(t),s(e,t);var o,i,a=m(e),u=m(t);if(a.length!=u.length)return!1;for((0,E.default)(a).call(a),(0,E.default)(u).call(u),i=a.length-1;i>=0;i--)if(a[i]!=u[i])return!1;for(i=a.length-1;i>=0;i--)if(o=a[i],!s(e[o],t[o]))return!1;return!0}(e,t):e==t}function l(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function u(e,t){return!(!e||!t)&&("[object RegExp]"==Object.prototype.toString.call(t)?t.test(e):e instanceof t||!0===t.call({},e))}function c(e,t,n,r){var o;f.isString(n)&&(r=n,n=null);try{t()}catch(e){o=e}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!o&&i(o,n,"Missing expected exception"+r),!e&&u(o,n)&&i(o,n,"Got unwanted exception"+r),e&&o&&n&&!u(o,n)||!e&&o)throw o}var f=e("util/"),d=(0,F.default)(Array.prototype),p=Object.prototype.hasOwnProperty,h=t.exports=a;h.AssertionError=function(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=function(e){return o((0,S.default)(e.actual,r),128)+" "+e.operator+" "+o((0,S.default)(e.expected,r),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||i;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var a=n.stack,s=t.name,l=(0,H.default)(a).call(a,"\n"+s);if(l>=0){var u=(0,H.default)(a).call(a,"\n",l+1);a=a.substring(u+1)}this.stack=a}}},f.inherits(h.AssertionError,Error),h.fail=i,h.ok=a,h.equal=function(e,t,n){e!=t&&i(e,t,n,"==",h.equal)},h.notEqual=function(e,t,n){e==t&&i(e,t,n,"!=",h.notEqual)},h.deepEqual=function(e,t,n){s(e,t)||i(e,t,n,"deepEqual",h.deepEqual)},h.notDeepEqual=function(e,t,n){s(e,t)&&i(e,t,n,"notDeepEqual",h.notDeepEqual)},h.strictEqual=function(e,t,n){e!==t&&i(e,t,n,"===",h.strictEqual)},h.notStrictEqual=function(e,t,n){e===t&&i(e,t,n,"!==",h.notStrictEqual)},h.throws=function(e,t,n){var r;c.apply(this,(0,A.default)(r=[!0]).call(r,d.call(arguments)))},h.doesNotThrow=function(e,t){var n;c.apply(this,(0,A.default)(n=[!1]).call(n,d.call(arguments)))},h.ifError=function(e){if(e)throw e};var m=T.default||function(e){var t=[];for(var n in e)p.call(e,n)&&t.push(n);return t}},{"util/":11}],9:[function(e,t,n){"function"==typeof $.default?t.exports=function(e,t){e.super_=t,e.prototype=(0,$.default)(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},{}],10:[function(e,t,n){t.exports=function(e){return e&&"object"==(0,Y.default)(e)&&"function"==typeof e.copy&&"function"==typeof(0,w.default)(e)&&"function"==typeof e.readUInt8}},{}],11:[function(e,n,r){(function(t,n){function o(e,t){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),f(t)?n.showHidden=t:t&&r._extend(n,t),m(n.showHidden)&&(n.showHidden=!1),m(n.depth)&&(n.depth=2),m(n.colors)&&(n.colors=!1),m(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=i),s(n,e,n.depth)}function i(e,t){var n=o.styles[t];return n?"["+o.colors[n][0]+"m"+e+"["+o.colors[n][1]+"m":e}function a(e,t){return e}function s(e,t,n){if(e.customInspect&&t&&x(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var o=t.inspect(n,e);return h(o)||(o=s(e,o,n)),o}var i=function(e,t){if(m(t))return e.stylize("undefined","undefined");if(h(t)){var n="'"+(0,S.default)(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return p(t)?e.stylize(""+t,"number"):f(t)?e.stylize(""+t,"boolean"):d(t)?e.stylize("null","null"):void 0}(e,t);if(i)return i;var a=(0,T.default)(t),v=function(e){var t={};return(0,q.default)(e).call(e,function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=(0,j.default)(t)),w(t)&&((0,H.default)(a).call(a,"message")>=0||(0,H.default)(a).call(a,"description")>=0))return l(t);if(0===a.length){if(x(t)){var b=t.name?": "+t.name:"";return e.stylize("[Function"+b+"]","special")}if(g(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(y(t))return e.stylize(Date.prototype.toString.call(t),"date");if(w(t))return l(t)}var E,C="",O=!1,A=["{","}"];return c(t)&&(O=!0,A=["[","]"]),x(t)&&(C=" [Function"+(t.name?": "+t.name:"")+"]"),g(t)&&(C=" "+RegExp.prototype.toString.call(t)),y(t)&&(C=" "+Date.prototype.toUTCString.call(t)),w(t)&&(C=" "+l(t)),0!==a.length||O&&0!=t.length?n<0?g(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),E=O?function(e,t,n,r,o){for(var i=[],a=0,s=t.length;a<s;++a)k(t,String(a))?i.push(u(e,t,n,r,String(a),!0)):i.push("");return(0,q.default)(o).call(o,function(o){o.match(/^\d+$/)||i.push(u(e,t,n,r,o,!0))}),i}(e,t,n,v,a):(0,L.default)(a).call(a,function(r){return u(e,t,n,v,r,O)}),e.seen.pop(),function(e,t,n){return(0,_.default)(e).call(e,function(e,t){return(0,H.default)(t).call(t,"\n"),e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?n[0]+(""===t?"":t+"\n ")+" "+e.join(",\n  ")+" "+n[1]:n[0]+t+" "+e.join(", ")+" "+n[1]}(E,C,A)):A[0]+C+A[1]}function l(e){return"["+Error.prototype.toString.call(e)+"]"}function u(e,t,n,r,o,i){var a,l,u,c,f,p,h;if((h=(0,b.default)(t,o)||{value:t[o]}).get?p=h.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):h.set&&(p=e.stylize("[Setter]","special")),k(r,o)||(f="["+o+"]"),p||((0,H.default)(a=e.seen).call(a,h.value)<0?(0,H.default)(l=p=d(n)?s(e,h.value,null):s(e,h.value,n-1)).call(l,"\n")>-1&&(p=i?(0,L.default)(u=p.split("\n")).call(u,function(e){return"  "+e}).join("\n").substr(2):"\n"+(0,L.default)(c=p.split("\n")).call(c,function(e){return"   "+e}).join("\n")):p=e.stylize("[Circular]","special")),m(f)){if(i&&o.match(/^\d+$/))return p;(f=(0,S.default)(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(f=f.substr(1,f.length-2),f=e.stylize(f,"name")):(f=f.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),f=e.stylize(f,"string"))}return f+": "+p}function c(e){return(0,B.default)(e)}function f(e){return"boolean"==typeof e}function d(e){return null===e}function p(e){return"number"==typeof e}function h(e){return"string"==typeof e}function m(e){return void 0===e}function g(e){return v(e)&&"[object RegExp]"===E(e)}function v(e){return"object"==(0,Y.default)(e)&&null!==e}function y(e){return v(e)&&"[object Date]"===E(e)}function w(e){return v(e)&&("[object Error]"===E(e)||e instanceof Error)}function x(e){return"function"==typeof e}function E(e){return Object.prototype.toString.call(e)}function k(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var C=/%[sdj%]/g;r.format=function(e){if(!h(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(o(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,i=r.length,a=String(e).replace(C,function(e){if("%%"===e)return"%";if(n>=i)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return(0,S.default)(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<i;s=r[++n])d(s)||!v(s)?a+=" "+s:a+=" "+o(s);return a},r.deprecate=function(e,o){if(m(n.process))return function(){return r.deprecate(e,o).apply(this,arguments)};if(!0===t.noDeprecation)return e;var i=!1;return function(){if(!i){if(t.throwDeprecation)throw new Error(o);t.traceDeprecation,i=!0}return e.apply(this,arguments)}};var O,A={};r.debuglog=function(e){if(m(O)&&(O=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!A[e])if(new RegExp("\\b"+e+"\\b","i").test(O)){t.pid;A[e]=function(){r.format.apply(r,arguments)}}else A[e]=function(){};return A[e]},r.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=c,r.isBoolean=f,r.isNull=d,r.isNullOrUndefined=function(e){return null==e},r.isNumber=p,r.isString=h,r.isSymbol=function(e){return"symbol"==(0,Y.default)(e)},r.isUndefined=m,r.isRegExp=g,r.isObject=v,r.isDate=y,r.isError=w,r.isFunction=x,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==(0,Y.default)(e)||void 0===e},r.isBuffer=e("./support/isBuffer");r.log=function(){},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!v(t))return e;for(var n=(0,T.default)(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e}}).call(this,e("_process"),void 0!==t?t:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./support/isBuffer":10,_process:14,inherits:9}],12:[function(e,t,n){},{}],13:[function(e,t,n){(function(e){function t(e,t){for(var n=0,r=e.length-1;r>=0;r--){var o=e[r];"."===o?(0,y.default)(e).call(e,r,1):".."===o?((0,y.default)(e).call(e,r,1),n++):n&&((0,y.default)(e).call(e,r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if((0,k.default)(e))return(0,k.default)(e).call(e,t);for(var n=[],r=0;r<e.length;r++)t(e[r],r,e)&&n.push(e[r]);return n}n.resolve=function(){for(var n="",o=!1,i=arguments.length-1;i>=-1&&!o;i--){var a=i>=0?arguments[i]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,o="/"===a.charAt(0))}return(o?"/":"")+(n=t(r(n.split("/"),function(e){return!!e}),!o).join("/"))||"."},n.normalize=function(e){var i=n.isAbsolute(e),a="/"===o(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=(0,F.default)(Array.prototype).call(arguments,0);return n.normalize(r(e,function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))},n.relative=function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var n=e.length-1;n>=0&&""===e[n];n--);return t>n?[]:(0,F.default)(e).call(e,t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var o=r(e.split("/")),i=r(t.split("/")),a=Math.min(o.length,i.length),s=a,l=0;l<a;l++)if(o[l]!==i[l]){s=l;break}var u=[];for(l=s;l<o.length;l++)u.push("..");return(u=(0,A.default)(u).call(u,(0,F.default)(i).call(i,s))).join("/")},n.sep="/",n.delimiter=":",n.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!o){r=i;break}}else o=!1;return-1===r?n?"/":".":n&&1===r?"/":(0,F.default)(e).call(e,0,r)},n.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,o=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!o){n=t+1;break}}else-1===r&&(o=!1,r=t+1);return-1===r?"":(0,F.default)(e).call(e,n,r)}(e);return t&&n.substr(-1*t.length)===t&&(n=n.substr(0,n.length-t.length)),n},n.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,n=0,r=-1,o=!0,i=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(o=!1,r=a+1),46===s?-1===t?t=a:1!==i&&(i=1):-1!==t&&(i=-1);else if(!o){n=a+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":(0,F.default)(e).call(e,t,r)};var o="b"==="ab".substr(-1)?function(e,t,n){return e.substr(t,n)}:function(e,t,n){return t<0&&(t=e.length+t),e.substr(t,n)}}).call(this,e("_process"))},{_process:14}],14:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===v.default)return(0,v.default)(e,0);if((c===r||!c)&&v.default)return c=v.default,(0,v.default)(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function a(){m&&p&&(m=!1,p.length?h=(0,A.default)(p).call(p,h):g=-1,h.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=h.length;t;){for(p=h,h=[];++g<t;)p&&p[g].run();g=-1,t=h.length}p=null,m=!1,function(e){if(f===clearTimeout)return clearTimeout(e);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,f,d=t.exports={};!function(){try{c="function"==typeof v.default?v.default:r}catch(e){c=r}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(e){f=o}}();var p,h=[],m=!1,g=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new l(e,t)),1!==h.length||m||i(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=u,d.addListener=u,d.once=u,d.off=u,d.removeListener=u,d.removeAllListeners=u,d.emit=u,d.prependListener=u,d.prependOnceListener=u,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},{}],15:[function(e,t,n){var r=e("escodegen").generate;t.exports=function(e,t){t||(t={});var n={},o=function e(o,i){if("Literal"===o.type)return o.value;if("UnaryExpression"===o.type){var a=e(o.argument);return"+"===o.operator?+a:"-"===o.operator?-a:"~"===o.operator?~a:"!"===o.operator?!a:n}if("ArrayExpression"===o.type){for(var s=[],l=0,u=o.elements.length;l<u;l++){if((v=e(o.elements[l]))===n)return n;s.push(v)}return s}if("ObjectExpression"===o.type){var c={};for(l=0;l<o.properties.length;l++){var f=null===(y=o.properties[l]).value?y.value:e(y.value);if(f===n)return n;c[y.key.value||y.key.name]=f}return c}if("BinaryExpression"===o.type||"LogicalExpression"===o.type){if((u=e(o.left))===n)return n;var d=e(o.right);if(d===n)return n;var p=o.operator;return"=="===p?u==d:"==="===p?u===d:"!="===p?u!=d:"!=="===p?u!==d:"+"===p?u+d:"-"===p?u-d:"*"===p?u*d:"/"===p?u/d:"%"===p?u%d:"<"===p?u<d:"<="===p?u<=d:">"===p?u>d:">="===p?u>=d:"|"===p?u|d:"&"===p?u&d:"^"===p?u^d:"&&"===p?u&&d:"||"===p?u||d:n}if("Identifier"===o.type)return{}.hasOwnProperty.call(t,o.name)?t[o.name]:n;if("ThisExpression"===o.type)return{}.hasOwnProperty.call(t,"this")?t.this:n;if("CallExpression"===o.type){var h=e(o.callee);if(h===n)return n;if("function"!=typeof h)return n;var m=o.callee.object?e(o.callee.object):n;m===n&&(m=null);var g=[];for(l=0,u=o.arguments.length;l<u;l++){var v;if((v=e(o.arguments[l]))===n)return n;g.push(v)}return h.apply(m,g)}var y;if("MemberExpression"===o.type)return(c=e(o.object))===n||"function"==typeof c?n:"Identifier"===o.property.type?c[o.property.name]:(y=e(o.property))===n?n:c[y];if("ConditionalExpression"===o.type)return(a=e(o.test))===n?n:e(a?o.consequent:o.alternate);if("ExpressionStatement"===o.type)return(a=e(o.expression))===n?n:a;if("ReturnStatement"===o.type)return e(o.argument);if("FunctionExpression"===o.type){var b=o.body.body,_={};for((0,q.default)(w=(0,T.default)(t)).call(w,function(e){_[e]=t[e]}),l=0;l<o.params.length;l++){var w,x=o.params[l];if("Identifier"!=x.type)return n;t[x.name]=null}for(var l in b)if(e(b[l])===n)return n;t=_;var S=(0,T.default)(t),E=(0,L.default)(S).call(S,function(e){return t[e]});return Function(S.join(", "),"return "+r(o)).apply(null,E)}if("TemplateLiteral"===o.type){var k="";for(l=0;l<o.expressions.length;l++)k+=e(o.quasis[l]),k+=e(o.expressions[l]);return k+=e(o.quasis[l])}if("TaggedTemplateExpression"===o.type){var C,O,N,I=e(o.tag),R=o.quasi,P=(0,L.default)(C=R.quasis).call(C,e),M=(0,L.default)(O=R.expressions).call(O,e);return I.apply(null,(0,A.default)(N=[P]).call(N,M))}return"TemplateElement"===o.type?o.value.cooked:n}(e);return o===n?void 0:o}},{escodegen:12}],jsonpath:[function(e,t,n){t.exports=e("./lib/index")},{"./lib/index":5}]},{},["jsonpath"])("jsonpath")}).call(this,n(2))},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==("undefined"==typeof window?"undefined":(0,Y.default)(window))&&(n=window)}e.exports=n},function(e,t,n){function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):U.default.resolve(l).then(r,o)}function o(e,t){var n=(0,T.default)(e);if(h.default){var r=(0,h.default)(e);t&&(r=(0,k.default)(r).call(r,function(t){return(0,b.default)(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n,r,i=null!=arguments[t]?arguments[t]:{};t%2?(0,q.default)(n=o(Object(i),!0)).call(n,function(t){a(e,t,i[t])}):p.default?(0,d.default)(e,(0,p.default)(i)):(0,q.default)(r=o(Object(i))).call(r,function(t){(0,K.default)(e,t,(0,b.default)(i,t))})}return e}function a(e,t,n){return t in e?(0,K.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):U.default.resolve(l).then(r,o)}function y(e,t){return function(e){if((0,B.default)(e))return e}(e)||function(e,t){if((0,f.default)(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=(0,m.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}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function _(e,t){var n=(0,T.default)(e);if(h.default){var r=(0,h.default)(e);t&&(r=(0,k.default)(r).call(r,function(t){return(0,b.default)(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n,r,o=null!=arguments[t]?arguments[t]:{};t%2?(0,q.default)(n=_(Object(o),!0)).call(n,function(t){x(e,t,o[t])}):p.default?(0,d.default)(e,(0,p.default)(o)):(0,q.default)(r=_(Object(o))).call(r,function(t){(0,K.default)(e,t,(0,b.default)(o,t))})}return e}function x(e,t,n){return t in e?(0,K.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=(0,T.default)(e);for(r=0;r<i.length;r++)n=i[r],(0,H.default)(t).call(t,n)>=0||(o[n]=e[n]);return o}(e,t);if(h.default){var i=(0,h.default)(e);for(r=0;r<i.length;r++)n=i[r],(0,H.default)(t).call(t,n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function C(e){return(C="function"==typeof G.default&&"symbol"==(0,Y.default)(V.default)?function(e){return(0,Y.default)(e)}:function(e){return e&&"function"==typeof G.default&&e.constructor===G.default&&e!==G.default.prototype?"symbol":(0,Y.default)(e)})(e)}function O(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):U.default.resolve(l).then(r,o)}function N(e){return function(e){if((0,B.default)(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if((0,f.default)(Object(e))||"[object Arguments]"===Object.prototype.toString.call(e))return(0,l.default)(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function I(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):U.default.resolve(l).then(r,o)}var R;n.r(t);var P=n(0),M=n.n(P),D=function(){var e,t=(e=g.default.mark(function e(t){var n,r,o,i;return g.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.domain,r=t.stateHandle,(null!=(o=t.version)?o:"").replace(/[^0-9a-zA-Z._-]/,"")===o&&o){e.next=4;break}throw new Error("invalid version supplied - version is required and uses semver syntax");case 4:return i="".concat(n,"/idp/idx/introspect"),e.abrupt("return",M()(i,{method:"POST",headers:{"content-type":"application/ion+json; okta-version=".concat(o),accept:"application/ion+json; okta-version=".concat(o)},body:(0,S.default)({stateToken:r})}).then(function(e){return e.ok?e.json():e.json().then(function(e){return U.default.reject(e)})}));case 6:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new U.default(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)})});return function(e){return t.apply(this,arguments)}}(),F=function(e){return!1!==e.mutable},j=function(e){var t={},n=[],r={};if(!e.value)return n.push(e),{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r};var o=!0,i=!1,a=void 0;try{for(var s,l=(0,m.default)(e.value);!(o=(s=l.next()).done);o=!0){var u,c,f=s.value;F(f)?(n.push(f),null!==(u=f.value)&&void 0!==u&&u&&(t[f.name]=f.value)):r[f.name]=null!==(c=f.value)&&void 0!==c?c:""}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}return{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r}},W=function(e){var t=e.actionDefinition,n=e.defaultParamsForAction,r=void 0===n?{}:n,o=e.immutableParamsForAction,a=void 0===o?{}:o,s=t.href;return function(){var e,n=(e=g.default.mark(function e(n){return g.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",M()(s,{method:t.method,headers:{"content-type":"application/json",accepts:t.accepts||"application/ion+json"},body:(0,S.default)(i({},r,{},n,{},a))}).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){return U.default.reject(ee(e))}):t.then(function(e){return U.default.reject(e)})}).then(function(e){return ee(e)}));case 1:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new U.default(function(r,o){function i(e){v(s,r,o,i,a,"next",e)}function a(e){v(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)})});return function(e){return n.apply(this,arguments)}}()},$=function(e){var t=W,n=function(e){e=(0,B.default)(e)?e:[e];var t=[],n={},r={},o=!0,i=!1,a=void 0;try{for(var s,l=(0,m.default)(e);!(o=(s=l.next()).done);o=!0){var u=s.value,c=j(u),f=c.defaultParamsForAction,d=c.neededParamsForAction,p=c.immutableParamsForAction;t.push(d),n[u.name]=f,r[u.name]=p}}catch(e){i=!0,a=e}finally{try{o||null==l.return||l.return()}finally{if(i)throw a}}return{defaultParams:n,neededParams:t,immutableParams:r}}(e),r=n.defaultParams,o=n.neededParams,i=n.immutableParams,a=t({actionDefinition:e,defaultParamsForAction:r[e.name],immutableParamsForAction:i[e.name]});return a.neededParams=o,a},z=n(1),J=n.n(z),Q=(0,c.default)((0,L.default)(R=["remediation","context"]).call(R,function(e){return[e,!0]})),X=function(e){var t;return w({},e,{action:(t=[e],(0,c.default)((0,L.default)(t).call(t,function(e){return[e.name,$(e)]})))[e.name]})},Z=function(e){var t,n=(null===(t=e.remediation)||void 0===t?void 0:t.value)||[];(0,q.default)(n).call(n,function(t){return function e(t,n){var r;(0,q.default)(r=(0,T.default)(n)).call(r,function(r){var o;if("relatesTo"===r){var i=(0,B.default)(n[r])?n[r][0]:n[r];if("string"==typeof i){var a=J.a.query(t,i)[0];if(a)return void(n[r]=a)}}(0,B.default)(n[r])&&(0,q.default)(o=n[r]).call(o,function(n){return e(t,n)})})}(e,t)});var r=(0,L.default)(n).call(n,X),o=function(e){var t,n,r={},o={};return(0,q.default)(t=(0,k.default)(n=(0,T.default)(e)).call(n,function(e){return!Q[e]})).call(t,function(t){if("object"===C(e[t])&&e[t])if(e[t].rel)r[e[t].name]=$(e[t]);else{var n,i=e[t],a=i.value,s=i.type,l=E(i,["value","type"]);o[t]=w({type:s},l),"object"===s?(o[t].value={},(0,q.default)(n=(0,u.default)(a)).call(n,function(e){var n,i=y(e,2),a=i[0],s=i[1];s.rel?r[(0,A.default)(n="".concat(t,"-")).call(n,a.name||a)]=$(s):o[t].value[a]=s})):o[t].value=a}else o[t]=e[t]}),{context:o,actions:r}}(e);return{remediations:r,context:o.context,actions:o.actions}},ee=function(e){var t=e,n=Z(e),r=n.remediations,o=n.context,i=n.actions,a=N(r);return{proceed:function(){var e,t=(e=g.default.mark(function e(t){var n,o,i=arguments;return g.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=i.length>1&&void 0!==i[1]?i[1]:{},o=(0,s.default)(r).call(r,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",o.action(n));case 5:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new U.default(function(r,o){function i(e){O(s,r,o,i,a,"next",e)}function a(e){O(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)})});return function(e){return t.apply(this,arguments)}}(),neededToProceed:a,actions:i,context:o,rawIdxState:t}},te={makeIdxState:ee},ne=function(e){switch(e){case"1.0.0":return te;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."))}},re=function(){var e,t=(e=g.default.mark(function e(t){var n,r,o,i,a,s,l;return g.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.domain,r=t.stateHandle,o=t.version,r){e.next=3;break}return e.abrupt("return",U.default.reject({error:"stateHandle is required"}));case 3:if(n){e.next=5;break}return e.abrupt("return",U.default.reject({error:"domain is required"}));case 5:if(o){e.next=7;break}return e.abrupt("return",U.default.reject({error:"version is required"}));case 7:return e.prev=7,i=ne(o),a=i.makeIdxState,e.next=11,D({domain:n,stateHandle:r,version:o}).catch(function(e){return U.default.reject({error:"introspect call failed",details:e})});case 11:return s=e.sent,l=a(s),e.abrupt("return",l);case 16:return e.prev=16,e.t0=e.catch(7),e.abrupt("return",U.default.reject({error:e.t0}));case 19:case"end":return e.stop()}},e,null,[[7,16]])}),function(){var t=this,n=arguments;return new U.default(function(r,o){function i(e){I(s,r,o,i,a,"next",e)}function a(e){I(s,r,o,i,a,"throw",e)}var s=e.apply(t,n);i(void 0)})});return function(e){return t.apply(this,arguments)}}();t.default={start:re,LATEST_SUPPORTED_IDX_API_VERSION:"1.0.0"}}])})}).call(t,n(315)(e))},function(e,t,n){e.exports=n(944)},function(e,t,n){var r=n(341);e.exports=r},function(e,t,n){e.exports=n(946)},function(e,t,n){var r=n(947);e.exports=r},function(e,t,n){n(123),n(948);var r=n(15);e.exports=r.Object.fromEntries},function(e,t,n){var r=n(5),o=n(91),i=n(121);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){e.exports=n(950)},function(e,t,n){var r=n(951);e.exports=r},function(e,t,n){n(952);var r=n(15),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(5),o=n(38);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(291)})},function(e,t,n){e.exports=n(954)},function(e,t,n){var r=n(955);e.exports=r},function(e,t,n){n(956);var r=n(15);e.exports=r.Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(5),o=n(38),i=n(957),a=n(58),s=n(104),l=n(121);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(72),o=n(228),i=n(229),a=n(40);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){e.exports=n(959)},function(e,t,n){var r=n(960);e.exports=r},function(e,t,n){n(305);var r=n(15);e.exports=r.Object.getOwnPropertySymbols},function(e,t,n){e.exports=n(962)},function(e,t,n){var r=n(367);e.exports=r},function(e,t,n){e.exports=n(964)},function(e,t,n){var r=n(965);e.exports=r},function(e,t,n){var r=n(966),o=Array.prototype;e.exports=function(e){var t=e.fill;return e===o||e instanceof Array&&t===o.fill?r:t}},function(e,t,n){n(967);var r=n(18);e.exports=r("Array").fill},function(e,t,n){var r=n(5),o=n(968),i=n(122);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(52),o=n(159),i=n(47);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){e.exports=n(970)},function(e,t,n){var r=n(971);e.exports=r},function(e,t,n){n(972);var r=n(15);e.exports=r.Number.isFinite},function(e,t,n){n(5)({target:"Number",stat:!0},{isFinite:n(973)})},function(e,t,n){var r=n(22),o=r.isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&o(e)}},function(e,t,n){e.exports=n(975)},function(e,t,n){var r=n(976);e.exports=r},function(e,t,n){n(977);var r=n(15);e.exports=r.Object.getPrototypeOf},function(e,t,n){var r=n(5),o=n(19),i=n(52),a=n(163),s=n(290);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(979)},function(e,t,n){n(79);var r=n(980),o=n(81),i=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.entries;return e===i||e instanceof Array&&t===i.entries||a.hasOwnProperty(o(e))?r:t}},function(e,t,n){var r=n(981);e.exports=r},function(e,t,n){n(123);var r=n(18);e.exports=r("Array").entries},function(e,t,n){e.exports=n(983)},function(e,t,n){var r=n(984);e.exports=r},function(e,t,n){n(985);var r=n(15);e.exports=r.URLSearchParams},function(e,t,n){"use strict";n(123);var r=n(5),o=n(72),i=n(986),a=n(124),s=n(174),l=n(89),u=n(288),c=n(80),f=n(175),d=n(46),p=n(88),h=n(81),m=n(40),g=n(31),v=n(136),y=n(105),b=n(338),_=n(176),w=n(23),x=o("fetch"),S=o("Headers"),E=w("iterator"),T=c.set,k=c.getterFor("URLSearchParams"),C=c.getterFor("URLSearchParamsIterator"),O=/\+/g,A=Array(4),N=function(e){return A[e-1]||(A[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},I=function(e){try{return decodeURIComponent(e)}catch(t){return e}},R=function(e){var t=e.replace(O," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(N(n--),I);return t}},P=/[!'()~]|%20/g,M={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},L=function(e){return M[e]},D=function(e){return encodeURIComponent(e).replace(P,L)},F=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:R(r.shift()),value:R(r.join("="))}))},U=function(e){this.entries.length=0,F(this.entries,e)},j=function(e,t){if(e<t)throw TypeError("Not enough arguments")},B=u(function(e,t){T(this,{type:"URLSearchParamsIterator",iterator:b(k(e).entries),kind:t})},"Iterator",function(){var e=C(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}),q=function(){f(this,q,"URLSearchParams");var e,t,n,r,o,i,a,s,l,u=arguments.length>0?arguments[0]:void 0,c=this,p=[];if(T(c,{type:"URLSearchParams",entries:p,updateURL:function(){},updateSearchParams:U}),void 0!==u)if(g(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 F(p,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},V=q.prototype;s(V,{append:function(e,t){j(arguments.length,2);var n=k(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){j(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){j(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){j(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){j(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){j(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(V,E,V.entries),a(V,"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(q,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:q}),i||"function"!=typeof x||"function"!=typeof S||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,"URLSearchParams"===h(n)&&(r=t.headers?new S(t.headers):new S,r.has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:y(0,String(n)),headers:y(0,r)}))),o.push(t)),x.apply(this,o)}}),e.exports={URLSearchParams:q,getState:k}},function(e,t,n){var r=n(19),o=n(23),i=n(62),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){e.exports=n(988)},function(e,t,n){var r=n(989);e.exports=r},function(e,t,n){n(990);var r=n(15),o=r.Object;e.exports=function(e){return o.getOwnPropertyNames(e)}},function(e,t,n){var r=n(5),o=n(19),i=n(306).f;r({target:"Object",stat:!0,forced:o(function(){return!Object.getOwnPropertyNames(1)})},{getOwnPropertyNames:i})},function(e,t,n){e.exports=n(992)},function(e,t,n){var r=n(993);e.exports=r},function(e,t,n){n(994);var r=n(15),o=r.Object;e.exports=function(e,t){return o.create(e,t)}},function(e,t,n){n(5)({target:"Object",stat:!0,sham:!n(38)},{create:n(136)})},function(e,t,n){e.exports=n(996)},function(e,t,n){var r=n(997);e.exports=r},function(e,t,n){n(307),n(171),n(308),n(309);var r=n(170);e.exports=r.f("toStringTag")}])});
//# sourceMappingURL=okta-sign-in.min.js.map