UNPKG

@okta/okta-signin-widget

Version:
106 lines • 1.07 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(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?exports.OktaSignIn=t(require("jquery")):e.OktaSignIn=t(e.jQuery)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=218)}([function(e,t,n){"use strict";/*! 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 i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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=33)}([function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),o=r(n(35)),a=o.default.noConflict();a.mixin({resultCtx:function(e,t,n,r){var i=a.isObject(e)?e[t]:void 0;return a.isFunction(i)&&(i=i.call(n||e)),i||(a.isUndefined(r)?i:r)},isInteger:function(e){return a.isNumber(e)&&e%1==0},template:function(e,t){var n=i.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 i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(6)),a=r(n(0)),s=r(n(16)),l=r(n(42)),u=a.default.clone(o.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 o;return o="object"===i(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(o.ok)&&(o.ok=a.default.bind(o.ok,this)),a.default.isFunction(o.cancelFn)&&(o.cancelFn=a.default.bind(o.cancelFn,this)),this.broadcast("confirmation",o),this},alert:function(e){return a.default.isString(e)&&(e={subtitle:e}),this.confirm(a.default.extend({},e,{noCancelButton:!0})),this}},d=s.default.extend(c,{decorate:function(e){var t=e.extend({});return a.default.defaults(t.prototype,c),t}});t.default=d,e.exports=t.default},function(e,t){e.exports=n(3)},function(e,t,n){Object.defineProperty(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 i=r.default;t.default=i,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=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]+", "+JSON.stringify(t))}for(var t=Array.prototype.slice.apply(arguments),n=t.shift(),r=n,i=0,o=t.length;i<o;i++){var a=t[i];n=n.replace("{"+i+"}",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 i=n[r],o=i.split("=");t[o.shift()]=o.join("=")}return t},encodeJSObject:function(e){return encodeURIComponent(JSON.stringify(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=t?a.default[t]:a.default[o.default.keys(a.default)[0]];return n?n[e]||"L10N_ERROR["+e+"]":"L10N_ERROR["+t+"]"},localize:function(e,t,n){var r=t?a.default[t]:a.default[o.default.keys(a.default)[0]];if(!r)return"L10N_ERROR["+t+"]";var i=r[e];try{n=n&&n.slice?n.slice(0):[],n.unshift(i),i=u.sprintf.apply(null,n)}catch(e){i=null}return i||"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===parseFloat(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 o.default.isString(e)&&t===parseInt(e,10)?t:e}),parseObject:function(e){if(!o.default.isString(e))return e;try{var t=JSON.parse(e);return i.default.isPlainObject(t)?t:e}catch(t){return e}},randomString:function(e){var t="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz";if(void 0===e)e=o.default.random(t.length);else if(0===e)return"";for(var n=[];e--;)n.push(t[o.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=i.default.trim(e);return!o.default.isEmpty(t)&&l.test(t)}},c=u;t.default=c,e.exports=t.default},function(e,t){e.exports=n(3)},function(e,t){e.exports=n(419)},function(e,t,n){function r(e,t){window.console&&window.okta&&window.okta.debug&&window.console[e].apply(window.console,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={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=i,e.exports=t.default},function(e,t,n){Object.defineProperty(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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(3)),a=r(n(0)),s=r(n(17)),l=r(n(4)),u=r(n(1)),c=r(n(29)),d=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;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)&&(this.focus=a.default.debounce(a.default.bind(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(){a.default.result(this.options,"inlineValidation")&&this.$el.on("focusout",":input",a.default.bind(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,o.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:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression((o=null!=(o=a(n,"msg")||(null!=t?a(t,"msg"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"msg",hash:{},data:i,loc:{start:{line:1,column:29},end:{line:1,column:36}}}):o))+"</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(){this.$el.find(".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);e&&a.default.delay(function(){this.model.trigger("form:clear-error:"+this.options.name),this.model.trigger("invalid",this.model,e,!1)}.bind(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=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&!e.__edit__)return l.default.extend({__edit__:l.default.constant(!0)},e)}function o(e){e=l.default.pick(e||{},"action","id","className","text","type");var t,n,r;return f.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(){this.disable(),"save"===e.type&&(t=setTimeout(l.default.bind(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(){r=0,n=setInterval(l.default.bind(this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(_[r++%_.length])}})}function a(e,t){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 n=[];l.default.isArray(e.name)?n=e.name:n.push(e.name),l.default.each(n,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 r=l.default.keys(e),i=l.default.intersection(r,b);if(l.default.size(i)!==l.default.size(e)){var o=l.default.clone(b);o.unshift(r),c.default.warn("Invalid input parameters",l.default.without.apply(null,o),e)}}function s(e,t,n){e=l.default.clone(e),l.default.contains(["list","group"],e.type)&&(e.params=l.default.defaults({create:n,inputs:l.default.map(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 r=l.default.isArray(e.input)?l.default.clone(e.input):[e];return l.default.map(r,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})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(8)),c=r(n(7)),d=r(n(4)),p=r(n(24)),f=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"],b=l.default.uniq(l.default.union(h,m,g,v,y)),_=["•         ","•  •      ","•  •  •   ","•  •  •  •","   •  •  •","      •  •","         •","          ","          ","          "],w={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=d.default.localize("oform.cancel","courage"),t=function(){this.model.trigger("form:cancel")}):(n=d.default.localize("oform.edit","courage"),r=n+" "+e.formTitle,t=function(){this.model.set("__edit__",!0)}),f.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:d.default.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":l.default.defaults(e,{text:d.default.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return o(e)},validateInput:a,applyShowWhen:function(e,t){var n=function(t){return function(){e.$el.toggle(t),e.model.trigger("form:resize")}};p.default.applyDoWhen(e,i(t),function(t,r){r.animate?e.$el["slide"+(t?"Down":"Up")](200,n(t)):e.$el.toggle(t)})},applyToggleWhen:function(e,t){p.default.applyDoWhen(e,i(t),function(t,n){e.$el.toggle(t),e.model.trigger("form:resize"),n.animate&&e.render()})}};t.default=w,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(37)),a=o.default.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},constructor:function(){this.local=i.default.defaults({},i.default.result(this,"local"),this._builtInLocalProps),i.default.result(this,"secureJSON")&&(this.sync=i.default.wrap(this.sync,function(e,t,n,r){return e.call(this,t,n,i.default.extend({dataType:"secureJSON"},r))})),o.default.apply(this,arguments)}});t.default=a,e.exports=t.default},function(e,t){e.exports=n(97)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(4)),a=o.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 i;return e&&(i=t?this.FORMATDISPLAYTYPE[t]:n?this.ARRAYDISPLAYTYPE[e+"of"+n]:e),i||(i=void 0===r?"":r),i},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){return i.default.contains(i.default.values(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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(36)),a=o.default.extend({secureJSON:!1,constructor:function(){i.default.result(this,"secureJSON")&&(this.sync=i.default.wrap(this.sync,function(e,t,n,r){return e.call(this,t,n,i.default.extend({dataType:"secureJSON"},r))})),o.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 i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),a=r(n(11)),s=function(e){var t=o.default.omit(e.local,o.default.keys(e._builtInLocalProps));return o.default.size(e.props)+o.default.size(t)>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"===i(e)?n=e:(n={})[e]=t,(0,o.default)(n).each(function(e,t){e&&o.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);return o.default.isFunction(e)?e.apply(this,o.default.map(e.__attributes||[],this.get,this)):e},toJSON:function(e){e||(e={});var t=a.default.prototype.toJSON.apply(this,arguments);return(0,o.default)(t).each(function(n,r){"function"==typeof n&&(e.verbose?t[r]=this.get(r):delete t[r])},this),e.verbose||(0,o.default)(t).each(function(e,n){/^__\w+__$/.test(n)&&delete t[n]}),t},sanitizeAttributes:function(e){var t={};return o.default.each(e,function(e,n){o.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 o.default.each(this.sanitizeAttributes(this.attributes),function(e,n){t[n]=void 0}),this.set(t,o.default.extend({},e,{unset:!0}))},_setSynced:function(e){this._syncedData=e&&o.default.isFunction(e.toJSON)?e.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return o.default.isEqual(this._getSynced(),this.toJSON())}},{ComputedProperty:function(){var e=o.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 i(e,t){for(var n=0;n<e[c].length;n++)if(t.cid===e[c][n].cid)return n}function o(){}function a(e){e[d]=!0;var t=e.renderTemplate(e.template);t?e.$el.html(t):e.length&&e.$el.empty(),e.each(function(e){e[f]()})}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 i=l.default.result(e,n),o=e.options[r[1]]||e[r[1]];o&&l.default.isObject(i)&&l.default.isFunction(o.trigger)&&l.default.each(i,function(t,n){var r=l.default.isFunction(t)?[t]:l.default.reduce(t.split(/\s+/),function(t,n){return l.default.isFunction(e[n])&&t.push(e[n]),t},[]);l.default.each(r,function(t){e.listenTo(o,n,t)})})}})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(6)),c="__children__",d="__rendered__",p="__parent__",f="__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[d]=!1,this[p]=null,this.__children_definitions__=this.children;var t=this.initialize;if(this.initialize=o,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=l.default.isArray(this.autoRender)?l.default.map(this.autoRender,function(e){return"change:"+e}).join(" "):"change";this.listenTo(this.model,n,function(){this.render()})}this.initialize=t,this.initialize.apply(this,arguments),s(this)},unregister:function(e){this.stopListening(e);var t=i(this,e);l.default.isNumber(t)&&this[c].splice(t,1)},autoRender:!1,template:null,children:[],add:function(e,t,n,r,o){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,o=a.options):l.default.isObject(n)&&(a=n,n=a.bubble,r=a.prepend,o=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 d=l.default.omit(l.default.extend({},this.options,o),"el");return s[0]=new e(d),this.add.apply(this,s)}if(l.default.isNumber(i(this,e)))throw new Error("Duplicate child");return e[p]=this,e[f]=function(t){return function(){if(t&&1!=e[p].$(t).length)throw new Error("Invalid selector: "+t);var n=t?this[p].$(t):this[p].$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[f](),this[c].push(e),this},removeChildren:function(){return this.each(function(e){e.remove()}),this},remove:function(){return this.removeChildren(),this[p]&&this[p].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:o,postRender:o,rendered:function(){return this[d]},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,t.slice(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 g=h;t.default=g,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=o.default.extend(e.click?{click:e.click}:{},e.events||{}),n={};return o.default.each(t,function(t,r){n[r]=function(n){e.href||(n.preventDefault(),n.stopPropagation()),t.apply(this,arguments)}}),n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(0)),a=r(n(44)),s={create:function(e){return e=o.default.clone(e),e.attrs=e.attributes,delete e.attributes,a.default.extend(o.default.extend(e,{events:i(e)}))}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=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){i.default.isObject(e)||(e={});var t=i.default.without(i.default.map(e,function(e,t){if(void 0!==e&&null!==e)return t+"="+encodeURIComponent(e)}),void 0).join("&");return i.default.isEmpty(t)?"":"?"+t},isABaseView:function(e){return e instanceof o.default||e.prototype instanceof o.default||e===o.default}};t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=r(n(0)),a=r(n(14)),s=r(n(15)),l=r(n(7)),u=r(n(13)),c=r(n(4)),d=r(n(20)),p=c.default.localize,f=u.default.STRING,h=u.default.NUMBER,m=u.default.INTEGER,g=u.default.OBJECT,v=function(e,t){return e+"of"+t},y=s.default.extend({defaults:{description:void 0,minLength:void 0,maxLength:void 0,format:void 0},parse:function(e){if(o.default.isString(e.format)){var t=/^\/(.+)\/$/.exec(e.format);t&&(e.format=t[1])}return e}}),b=a.default.extend({model:y}),_=b.extend({_type:"allOf"}),w=b.extend({_type:"oneOf"}),S=b.extend({_type:"noneOf"}),x={string:p("schema.validation.field.value.must.string","courage"),number:p("schema.validation.field.value.must.number","courage"),integer:p("schema.validation.field.value.must.integer","courage"),object:p("schema.validation.field.value.must.object","courage")},E=/[^a-zA-Z0-9-]/,T=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 o.default.contains(u.default.SUPPORTENUM,e)}),__isNumberTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return o.default.contains([u.default.NUMBER,u.default.ARRAYDISPLAYTYPE.arrayofnumber],e)}),__isIntegerTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return o.default.contains([u.default.INTEGER,u.default.ARRAYDISPLAYTYPE.arrayofinteger],e)}),__isObjectTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return o.default.contains([u.default.OBJECT,u.default.ARRAYDISPLAYTYPE.arrayofobject],e)}),__isStringTypeEnum__:s.default.ComputedProperty(["__displayType__"],function(e){return o.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?f:t?h:n?m:r?g: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){return e=o.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!==u.default.SUPPORTSMINMAX.indexOf(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 o.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;o.default.isArray(t)&&!o.default.isEmpty(t)?(e.__masterOverrideType__="OVERRIDE",e.__masterOverrideValue__=t||[]):e.__masterOverrideType__=e.settings.masterOverride.type}else e.__masterOverrideType__="INHERIT"},_setRangeConstraints:function(e){e.__displayType__===f?(e.__minVal__=e.minLength,e.__maxVal__=e.maxLength):e.__displayType__!==m&&e.__displayType__!==h||(e.__minVal__=e.minimum,e.__maxVal__=e.maximum),e.__minVal__&&e.__maxVal__?e.__minVal__===e.__maxVal__?(e.__constraint__="equals",e.__equals__=e.__minVal__):e.__constraint__="between":!e.__minVal__&&e.__maxVal__?e.__constraint__="lessThan":!e.__maxVal__&&e.__minVal__&&(e.__constraint__="greaterThan")},_setSubSchemas:function(e){e.allOf?e.subSchemas=new _(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new w(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new S(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===f&&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[v(e,n)]):this.set("__displayType__",e)}},_validateEnumOneOf:function(){if(this.get("__isEnumDefinedAndSupported__")){var e=this.get("__oneOf__")||[];if(o.default.isEmpty(e))return{__oneOf__:p("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(e)){var t=this.get("__enumConstraintType__");return{__oneOf__:x[t]}}}},_isValidateOneOfConstraint:function(e){var t=this.get("__enumConstraintType__");return o.default.all(e,function(e){return d.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?o.default.each(n.toJSON(),function(t){e.settings.masterOverride.value.push(t.id)}):n instanceof Array&&(e.settings.masterOverride.value=n),o.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 E.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=this.get("__oneOf__");return o.default.map(e,function(e){return""!==i.default.trim(e.title)?e:(e.title=o.default.isString(e.const)?e.const:JSON.stringify(e.const),e)})},_updateTypeFormatConstraints:function(){var e=this.get("__displayType__");this.unset("format",{silent:!0}),this.unset("items",{silent:!0}),this.set(u.default.DISPLAYTYPES[e]),e!==h&&e!==m&&(this.unset("minimum"),this.unset("maximum")),e!==f&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==u.default.SUPPORTSMINMAX.indexOf(this.get("__displayType__")))},_updateMinMax:function(){var e,t,n=this.get("__displayType__");n===f?(e="minLength",t="maxLength"):n!==m&&n!==h||(e="minimum",t="maximum"),this.get("__minVal__")?this.set(e,parseInt(this.get("__minVal__"),10)):this.unset(e),this.get("__maxVal__")?this.set(t,parseInt(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__",d.default.convertToOneOf(e)),this.set("__enumDefined__",!0))}}),k=a.default.extend({model:T,clone:function(){return new this.constructor(this.toJSON({verbose:!0}),{parse:!0})},areAllReadOnly:function(){return o.default.all(this.pluck("__isReadOnly__"))},createModelProperties:function(){return this.reduce(function(e,t){var n=t.get("type");return e[t.id]=o.default.clone(u.default.DISPLAYTYPES[n]),-1!==u.default.SUPPORTSMINMAX.indexOf(n)&&(e[t.id].minLength=t.get("minLength"),e[t.id].maxLength=t.get("maxLength")),"string"===n&&(e[t.id].format=t.get("format")),e},{})}}),O={Model:T,Collection:k};t.default=O,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(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 E.default.isArrayDataType(e.displayType)?(n.type="checkboxset",n.to=m,n.from=g):(n.type="select",n.to=h,n.from=f),n.input=null,n}function o(e){return x.default.isArray(e)?a(s(e)):{}}function a(e){return l(e)?x.default.reduce(e,function(e,t,n){return e[p(n)]=t.title,e},{}):{}}function s(e){return x.default.all(e,S.default.isPlainObject)?l(e)?e:d(e):u(e)}function l(e){return x.default.isArray(e)&&x.default.all(e,function(e){return x.default.has(e,"const")&&x.default.has(e,"title")})}function u(e){return x.default.map(e,function(e){return{const:e,title:c(e)}})}function c(e){return x.default.isObject(e)?JSON.stringify(e):x.default.isNumber(e)?e+"":e}function d(e){var t=x.default.partial(x.default.has,x.default,k);return x.default.all(e,t)?x.default.chain(e).filter(function(e){return S.default.isPlainObject(e)&&x.default.has(e,k)}).map(function(e){return{const:e,title:e[k]}}).value():u(e)}function p(e){return"".concat(O).concat(e)}function f(e){var t=x.default.findIndex(this.options.params.enumOneOf,function(t){return x.default.isObject(e)?x.default.isEqual(t.const,e):t.const===e});return t>-1?p(t):e}function h(e){if(!x.default.isString(e)||0!==e.indexOf(O))return e;var t=e.replace(O,""),n=this.options.params&&x.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return x.default.has(n,"const")?n.const:n}function m(e){return x.default.map(e,h.bind(this))}function g(e){return x.default.map(e,f.bind(this))}function v(e){return x.default.isString(e)&&""!==S.default.trim(e)}function y(e){return x.default.isNumber(e)||x.default.isNumber(T.default.parseFloat(S.default.trim(e)))}function b(e){var t=x.default.isNumber(e)?e:T.default.parseInt(S.default.trim(e));return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function _(e){if(x.default.isObject(e)&&!x.default.isArray(e))return!0;var t=T.default.parseObject(S.default.trim(e));return x.default.isObject(t)&&!x.default.isArray(t)}function w(e,t){switch(t){case E.default.STRING:return v(e);case E.default.NUMBER:return y(e);case E.default.INTEGER:return b(e);case E.default.OBJECT:return _(e)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var S=r(n(3)),x=r(n(0)),E=r(n(13)),T=r(n(4)),k="name",O="_enum_",C={getEnumInputOptions:i,getDropdownOptions:o,convertToOneOf:s,isConstraintValueMatchType:w};t.default=C,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=s.default.result(e,"root")||"";return n&&s.default.isString(t)?[n,t].join("/").replace(/\/{2,}/g,"/"):t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(6)),a=r(n(3)),s=r(n(0)),l=r(n(7)),u=r(n(22)),c=r(n(23)),d=r(n(41)),p=o.default.Router.extend({root:"",listen:d.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),o.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 d.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(o.default.History.started)return void l.default.error("History has already been started");o.default.history.start.apply(o.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 o.default.Router.prototype.route.call(this,i(this,e),t,n)},navigate:function(e,t){return o.default.Router.prototype.navigate.call(this,i(this,e),t)}});t.default=p,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(11)),a=o.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||[],o.default.apply(this,arguments)},hasFeature:function(e){return window._possibleFeatures&&!i.default.contains(window._possibleFeatures,e)&&window.okta&&window.okta.logHasFeatureError&&window.okta.logHasFeatureError(e),i.default.contains(this.features,e)},hasAnyFeature:function(e){return i.default.some(e,this.hasFeature,this)},hasPermission:function(e){return i.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){return"change:"+a.default.keys(e).join(" change:")}function i(e,t){var n=this.model.get(t);return a.default.isFunction(e)?e.call(this,n):e===n}function o(e,t,n){var i=a.default.bind(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})})}Object.defineProperty(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)&&o(e,t,function(e,t,r){var o=a.default.every(a.default.map(t,i,e));n.call(e,o,r)})}};t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(1)),a=r(n(10)),s=o.default.extend({className:"o-form-button-bar",initialize:function(e){e.noSubmitButton||this.addButton({type:"save",text:i.default.resultCtx(e,"save",this),id:i.default.resultCtx(e,"saveId",this),className:i.default.resultCtx(e,"saveClassName",this)}),e.noCancelButton||this.addButton({type:"cancel",text:i.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 i.default.isFunction(e)?i.default.isFunction(e.prototype.editMode)&&i.default.isFunction(e.prototype.readMode):i.default.isObject(e)&&i.default.isFunction(e.editMode)&&i.default.isFunction(e.readMode)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o={},a={isBaseInput:r,register:function(e,t){o[e]=t},get:function(e){var t=o[e.type];return t&&(r(t)?t:t(e))},unregister:function(e){delete o[e]}};t.default=a,e.exports=t.default},function(e,t){e.exports=n(135)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return this.params.autoWidth?e.call(this):d.default.defer(d.default.bind(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 i=(0,c.default)(window),o=t.outerHeight(),a=o+t.offset().top-i.scrollTop(),s=i.height()-g,l=Math.min(o+s-a,v);t.css("max-height",l)}function l(e){var t=e.next(".chzn-container"),n=t.clone(),r=t.find(".chzn-results");n.css("visibility","hidden"),n.removeAttr("id"),n.find("li").removeAttr("id");var i={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 o=d.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(o),(0,c.default)(window).on("resize scroll",o)}),e.on("liszt:hiding_dropdown.fixChosen remove.fixChosen",function(){e.parents().off("scroll",o),(0,c.default)(window).off("resize scroll",o),t.css(i),r.hide(),r.css("max-height",v),n.remove(),e.after(t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=r(n(2)),c=r(n(3)),d=r(n(0)),p=r(n(8));n(69);var f=r(n(9)),h=u.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="'+u((a=null!=(a=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?a:l,"function"===i(a)?a.call(s,{name:"inputId",hash:{},data:o,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"===i(a)?a.call(s,{name:"name",hash:{},data:o,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,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+u((a=null!=(a=c(n,"key")||(null!=t?c(t,"key"):t))?a:l,"function"===i(a)?a.call(s,{name:"key",hash:{},data:o,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"===i(a)?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):a))+"</option>"},useData:!0}),g=20,v=240,y=5e4,b=f.default.extend({className:"o-form-select",events:{"change select":"update","keyup .chzn-search > :text":function(e){p.default.isEsc(e)&&(this.$(".chzn-search > :text").val(""),e.stopPropagation())}},constructor:function(){this.template=h,this.option=m,f.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();d.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)),o.call(this,function(){var n=this.getParam("searchThreshold",10);d.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 d.default.isEmpty(n)||(t=n[e]),d.default.isUndefined(t)&&(t=this.defaultValue()),t||""},getOptions:function(){var e=this.options.options;return d.default.isFunction(e)&&(e=e.call(this)),d.default.isObject(e)?e:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),f.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 i(e,t){return s.default.resultCtx(e.options,t,e)||s.default.result(e,t)}function o(e){var t="infobox clearfix infobox-"+i(e,"type");switch(i(e,"size")){case"standard":t+="";break;case"slim":t+=" infobox-slim";break;case"compact":t+=" infobox-compact";break;case"large":t+=" infobox-md"}return i(e,"dismissible")&&(t+=" infobox-dismiss"),t}Object.defineProperty(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()})}},d=a.default.template({1:function(e,t,n,r,i){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,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 data-se="header">'+e.escapeExpression((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:243},end:{line:1,column:252}}}):o))+"</h3>"},5:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="sub-header">'+e.escapeExpression((o=null!=(o=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:i,loc:{start:{line:1,column:304},end:{line:1,column:316}}}):o))+"</p>"},7:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul data-se="list" class="bullets">'+(null!=(o=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"bullets"):t,{name:"each",hash:{},fn:e.program(8,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:377},end:{line:1,column:440}}}))?o:"")+"</ul>"},8:function(e,t,n,r,i){return'<li data-se="list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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!=(o=l(n,"if").call(s,null!=t?l(t,"dismissible"):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:159}}}))?o:"")+'<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:i,loc:{start:{line:1,column:192},end:{line:1,column:200}}}):a))+'"></span>'+(null!=(o=l(n,"if").call(s,null!=t?l(t,"title"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:209},end:{line:1,column:264}}}))?o:"")+(null!=(o=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:264},end:{line:1,column:327}}}))?o:"")+(null!=(o=l(n,"if").call(s,null!=t?l(t,"bullets"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:327},end:{line:1,column:452}}}))?o:"")},useData:!0}),p=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(o(this)),this.template=d;var e=i(this,"content");e&&this.add(e)},getTemplateData:function(){var e=i(this,"type"),t=i(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:i(this,"title"),subtitle:i(this,"subtitle"),bullets:i(this,"bullets"),dismissible:i(this,"dismissible")}}}),f={create:function(e){return new p(e)}};t.default=f,e.exports=t.default},function(e,t,n){Object.defineProperty(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,i;r=[n(12)],void 0!==(i=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")}),e.bind("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=i)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.title,n=e.text;return t&&n&&t!==n}function a(e){return o(e)?e:{text:e.text||e}}Object.defineProperty(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)),d="okta-form-input-field input-fix",p=c.default.extend({template:s.default.template({1:function(e,t,n,r,i){return'<span class="input-tooltip icon form-help-16"></span>'},3:function(e,t,n,r,i){var o,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!=(o=null!=t?a(t,"params"):t)?a(o,"icon"):o,t))+'"></span>'},5:function(e,t,n,r,i){return'<span class="input-icon-divider"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,p=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(a=p(n,"if").call(l,null!=(a=null!=t?p(t,"params"):t)?p(a,"innerTooltip"):a,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:87}}}))?a:"")+(null!=(a=p(n,"if").call(l,null!=(a=null!=t?p(t,"params"):t)?p(a,"icon"):a,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:87},end:{line:1,column:166}}}))?a:"")+'<input type="'+d((s=null!=(s=p(n,"type")||(null!=t?p(t,"type"):t))?s:u,i(s)===c?s.call(l,{name:"type",hash:{},data:o,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):s))+'" placeholder="'+d((s=null!=(s=p(n,"placeholder")||(null!=t?p(t,"placeholder"):t))?s:u,i(s)===c?s.call(l,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):s))+'" name="'+d((s=null!=(s=p(n,"name")||(null!=t?p(t,"name"):t))?s:u,i(s)===c?s.call(l,{name:"name",hash:{},data:o,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):s))+'" id="'+d((s=null!=(s=p(n,"inputId")||(null!=t?p(t,"inputId"):t))?s:u,i(s)===c?s.call(l,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):s))+'" value="'+d((s=null!=(s=p(n,"value")||(null!=t?p(t,"value"):t))?s:u,i(s)===c?s.call(l,{name:"value",hash:{},data:o,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):s))+'" aria-label="'+d((s=null!=(s=p(n,"placeholder")||(null!=t?p(t,"placeholder"):t))?s:u,i(s)===c?s.call(l,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:282},end:{line:1,column:297}}}):s))+'" autocomplete="off"/>'+(null!=(a=p(n,"if").call(l,null!=(a=null!=t?p(t,"params"):t)?p(a,"iconDivider"):a,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,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(d),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(d)},val:function(){var e=this.$('input[type="'+this.options.type+'"]').val();return"password"!==this.options.type&&(e=l.default.trim(e)),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=p,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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(14)),o=r(n(15)),a=r(n(38)),s=r(n(11)),l=r(n(19)),u=r(n(40)),c=r(n(21)),d=r(n(17)),p=r(n(45)),f=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)),S=r(n(1)),x=r(n(58)),E=r(n(59)),T=r(n(25)),k=r(n(10)),O=r(n(26)),C=r(n(67)),A=r(n(72)),P=r(n(73)),I=r(n(75)),R=r(n(28)),N=r(n(76)),M=r(n(32)),L=r(n(29)),D=r(n(6)),F=r(n(16));F.default.prototype.compileTemplate=function(e){return function(){return e}};var j={Backbone:D.default,$:b.default,_:_.default,Handlebars:y.default,loc:g.default.localize,createButton:d.default.create,createCallout:L.default.create,registerInput:O.default.register,Model:s.default,BaseModel:o.default,Collection:i.default,FrameworkView:F.default,View:S.default,ListView:w.default,Router:c.default,Controller:u.default,Form:E.default,internal:{util:{Util:v.default,Cookie:f.default,Logger:m.default,Class:p.default,Keys:h.default},views:{components:{BaseDropDown:x.default},forms:{helpers:{FormUtil:k.default,SchemaFormFactory:C.default},components:{Toolbar:T.default},inputs:{TextBox:M.default,PasswordBox:P.default,CheckBox:A.default,Radio:I.default,Select:R.default,InputGroup:N.default}}},models:{BaseSchema:a.default,SchemaProperty:l.default}}};j.registerInput("text",M.default),j.registerInput("password",P.default),j.registerInput("checkbox",A.default),j.registerInput("radio",I.default),j.registerInput("select",R.default),j.registerInput("group",N.default);var U=j;t.default=U,e.exports=t.default},function(e,t){e.exports=n(132)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){try{var n=s(t.getResponseHeader("link"));e[c].set(d,!0),e.setPagination(n.next.href)}catch(t){e[c].get(d)&&e.setPagination(null)}}function o(e){for(var t={},n=e&&e.split("?")[1],r=n&&decodeURIComponent(n.split("#")[0]).replace(/\+/g," "),i=r?r.split("&"):[],o=0;o<i.length;o++){var a=i[o].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),i={},o=0;o<r.length;o++){var s=r[o].split(">"),l=s[0].substring(1),u={};u.href=l;for(var c=s[1].match(n),d=0;d<c.length;d++){var p=c[d].split("=");u[p[0]]=a(p[1])}void 0!==u.rel&&(i[u.rel]=u)}return i}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(0)),u=r(n(6)),c="__STATE__",d="LINK_BY_HEADER",p=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,o=n.success;return n.success=function(e,t,n){i(r,n),o.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=o(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=p,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n,r){var i=g.default.contains(t,n);return r||(r={}),i||!g.default.isObject(e)||g.default.isArray(e)||g.default.isFunction(e)?void 0!==n&&(r[n]=e):g.default.each(e,function(e,i){o(e,t,n?n+"."+i:i,r)}),r}function a(e){return g.default.each(e,function(e,t,n){if(-1!=t.indexOf(".")){for(var r,i=n,o=t.split(".");void 0!==(r=o.shift());)i[r]||(i[r]=o.length?{}:e),i=i[r];delete n[t]}}),e}function s(e,t){var n={};return n[e.name]=t,n}function l(e,t){var n;return n=g.default.isString(e)?{type:e}:g.default.isArray(e)?{type:e[0],required:e[1],value:e[2]}:g.default.clone(e),g.default.defaults(n,{required:!1,name:t}),n}function u(e){return e.toLowerCase().replace(/\b[a-z]/g,function(e){return e.toUpperCase()})}function c(e,t,n){if(!t.test(e))return n}function d(e,t){var n=b[e.format];if(e.format&&!n)throw new TypeError(e.format+" is not a supported string format");return n&&n(t)}function p(e,t){var n=g.default.partial(s,e),r=d(e,t);return r?n(r):t&&e.minLength&&t.length<e.minLength?n(m.ERROR_STRING_STRING_MIN_LENGTH,t.length):t&&e.maxLength&&t.length>e.maxLength?n(m.ERROR_STRING_STRING_MAX_LENGTH,t.length):void 0}function f(e,t){var n,r,i=g.default.partial(s,e),o=!g.default.isUndefined(t)&&!g.default.isNull(t);{if(!Array.isArray(e.validate)){if(e.required&&(!o||g.default.isNull(t)||""===t))return i(m.ERROR_BLANK);if(n=g.default["is"+u(e.type)],o&&"any"!=e.type&&(!g.default.isFunction(n)||!n(t)))return i(m.ERROR_WRONG_TYPE);if(t&&"string"==e.type){var a=p(e,t);if(a)return a}if(o&&e.values&&!g.default.contains(e.values,t))return i(m.ERROR_NOT_ALLOWED);if(g.default.isFunction(e.validate)){var l=e.validate(t);if(g.default.isString(l)&&l)return i(l);if(!1===l)return i(m.ERROR_INVALID)}return o&&"array"==e.type&&(r=h(e,t))?i(r):void 0}var c,d=[],f=!1;if(e.validate.forEach(function(e){if(t)switch(e.type.toLowerCase()){case"regex":c=new RegExp(e.value.pattern,e.value.flags||"").test(t);break;default:c=!1}else c=!1;f=f||!c,d.push({message:e.hasOwnProperty("message")?e.message:"",passed:c})}),f)return i(d)}}function h(e,t){if(e.minItems&&t.length<e.minItems)return"model.validation.field.array.minItems";if(e.maxItems&&t.length>e.maxItems)return"model.validation.field.array.maxItems";if(e.uniqueItems&&t.length>g.default.uniq(t).length)return m.ERROR_IARRAY_UNIQUE;if(e.items)for(var n=l(e.items,"placeholder"),r=0;r<t.length;r++){var i=t[r],o=f(n,i);if(o)return o.placeholder}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var m,g=r(n(0)),v=r(n(6)),y=r(n(7)),b={email:function(e){return c(e,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,m.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return c(e,/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,m.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return c(e,/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,m.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return c(e,/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/,m.ERROR_INVALID_FORMAT_HOSTNAME)}};m=v.default.Model.extend({props:{},derived:{},local:{},flat:!0,defaults:{},constructor:function(e){this.options=e||{};var t=this.__schema__={},n=[];t.computedProperties={},t.props=g.default.clone(g.default.result(this,"props")||{}),t.derived=g.default.clone(g.default.result(this,"derived")||{}),t.local=g.default.clone(g.default.result(this,"local")||{});var r={};if(g.default.each(g.default.extend({},t.props,t.local),function(e,t){var i=l(e,t);g.default.isUndefined(i.value)||(r[t]=i.value),"object"===i.type&&n.push(t)},this),g.default.size(r)){var i=g.default.result(this,"defaults");this.defaults=function(){return g.default.defaults({},r,i)}}this.validate=g.default.wrap(this.validate,function(e){var t=g.default.rest(arguments),n=g.default.extend(this._validateSchema.apply(this,t),e.apply(this,t));return g.default.size(n)&&n||void 0}),this.parse=g.default.wrap(this.parse,function(e){var t=e.apply(this,g.default.rest(arguments));return this.flat&&(t=o(t,n)),t}),v.default.Model.apply(this,arguments),g.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=g.default.extend({},t.props,t.local);return g.default.has(n,e)||y.default.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var t=this.__schema__;return g.default.reduce([t.props,t.local],function(t,n){return t||l(n[e],e)},null)},set:function(e,t){var n;"object"===i(e)?n=e:(n={})[e]=t,g.default.each(n,function(e,t){if(g.default.has(this.__schema__.derived,t))throw"overriding derived properties is not supported: "+t},this);var r=[];if(g.default.each(n,function(e,t){this.allows(t)||r.push(t)},this),r.length)throw"field not allowed: "+r.join(", ");return v.default.Model.prototype.set.apply(this,arguments)},get:function(e){var t=this.__schema__;return g.default.has(t.derived,e)?!1!==t.derived[e].cache?t.computedProperties[e]:this.__getDerivedValue(e):v.default.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var t=g.default.clone(v.default.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;return e.verbose?g.default.each(n.derived,function(e,n){t[n]=this.get(n)},this):t=g.default.omit(t,g.default.keys(n.local)),this.flat&&(t=a(t)),t},reset:function(e){this.clear(e),this.set(g.default.result(this,"defaults"),e)},isSynced:function(){return g.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var t=e&&this.getPropertySchema(e);return t&&f(t,this.get(e))},_validateSchema:function(){var e=this.__schema__;return g.default.reduce(g.default.extend({},e.props,e.local),function(e,t,n){return g.default.extend(e,this.validateField(n)||{})},{},this)},__getDerivedValue:function(e){var t=this.__schema__.derived[e];if(g.default.isString(t)){var n=t;t={deps:[n],fn:function(){return this.get(n)}}}var r=t.deps||[];return t.fn.apply(this,g.default.map(r,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 _=m;t.default=_,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(14)),a=r(n(15)),s=r(n(19)),l=function(e){var t=i.default.pick(e,"id","name","displayName"),n=i.default.map(e.schema.properties,function(e,t){return i.default.extend({name:t},e)});return i.default.each(n,function(e){e.__schemaMeta__=t,e.__metadata&&(e.__metadata__=e.__metadata,delete e.__metadata)}),n},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}),i.default.omit(e,"schema")},trimProperty:function(e){return i.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=o.default.extend({model:u}),d={parseProperties:l,Model:u,Collection:c};t.default=d,e.exports=t.default},function(e,t){e.exports=n(72)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){var t={};return a.default.each(e,function(e,n){a.default.isNull(e)||(t[n]=e)}),t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(3)),a=r(n(0)),s=r(n(21)),l=r(n(22)),u=r(n(43)),c=r(n(1)),d=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(i(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,o.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=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=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:o.default.template({1:function(e,t,n,r,i){return'<a class="infobox-dismiss-link" title="Dismiss" href="#"><span class="dismiss-icon"></span></a>'},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+e.escapeExpression((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:177},end:{line:1,column:186}}}):o))+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,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!=t?d(t,"dismissable"):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:121}}}))?a:"")+'<span class="icon '+c((s=null!=(s=d(n,"level")||(null!=t?d(t,"level"):t))?s:u,"function"===i(s)?s.call(l,{name:"level",hash:{},data:o,loc:{start:{line:1,column:139},end:{line:1,column:148}}}):s))+'-16"></span>'+(null!=(a=d(n,"if").call(l,null!=t?d(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:160},end:{line:1,column:198}}}))?a:"")+"<p>"+c((s=null!=(s=d(n,"message")||(null!=t?d(t,"message"):t))?s:u,"function"===i(s)?s.call(l,{name:"message",hash:{},data:o,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(){this.options.hide&&s.default.delay(s.default.bind(this.fadeOut,this),this.options.delay)},fadeOut:function(){this.$el.fadeOut(this.options.fade,s.default.bind(this.remove,this))}});t.default=c,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),o=r(n(0)),a={tpl:o.default.memoize(function(e){var t={};return window&&window.__OKTA_HANDLEBARS_FALLBACK__&&(t.allowProtoPropertiesByDefault=!0),function(n){return i.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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(11)),a=o.default.extend({extraProperties:!0,invoke:function(){var e=i.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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=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 o.default.extend(e,t)},tagName:"a",template:i.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((o=null!=(o=a(n,"icon")||(null!=t?a(t,"icon"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:i,loc:{start:{line:1,column:30},end:{line:1,column:38}}}):o))+'"></span>'},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:67},end:{line:1,column:76}}}):o))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"if").call(a,null!=t?s(t,"icon"):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:54}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"title"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:54},end:{line:1,column:83}}}))?o:"")},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,o.default.resultCtx(this,"enableWhen",this),this.toggle),a.default.applyDoWhen(this,o.default.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){s.default.prototype.render.apply(this,arguments),o.default.result(this,"enabled")||this.toggle(!1),o.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=o.default.resultCtx(this.options,e,this);return o.default.isUndefined(n)&&(n=o.default.result(this,e)),o.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&&o.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||!o.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 i(e){this.options=a.default.clone(e||{}),this.cid=a.default.uniqueId("class"),this.initialize.apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(6)),a=r(n(0));a.default.extend(i.prototype,o.default.Events,{initialize:function(){}}),i.extend=o.default.Model.extend;var s=i;t.default=s,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=r(n(47)),a=/^https/.test(window.location.href),s={setCookie:function(e,t,n){o.default.set(e,t,i.default.defaults(n||{},{secure:a,path:"/"}))},getCookie:function(){return o.default.get.apply(o.default,arguments)},removeCookie:function(){return o.default.remove.apply(o.default,arguments)}};t.default=s,e.exports=t.default},function(e,t,n){var r,i;/*!
   * 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(o){r=o,void 0!==(i="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=i)}(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,i,o){var a;if(arguments.length>1){if(o=e({path:"/"},r.defaults,o),"number"==typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(e){}return i=n.write?n.write(i,t):encodeURIComponent(String(i)).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,"=",i,o.expires&&"; expires="+o.expires.toUTCString(),o.path&&"; path="+o.path,o.domain&&"; domain="+o.domain,o.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 d=l[c].split("="),p=d[0].replace(u,decodeURIComponent),f=d.slice(1).join("=");'"'===f.charAt(0)&&(f=f.slice(1,-1));try{if(f=n.read?n.read(f,p):n(f,p)||f.replace(u,decodeURIComponent),this.json)try{f=JSON.parse(f)}catch(e){}if(t===p){a=f;break}t||(a[p]=f)}catch(e){}}return a}return r.get=r.set=r,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){Object.defineProperty(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 i=r.default;t.default=i,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(5)),i=r.default.Utils.escapeExpression;r.default.Utils.escapeExpression=function(e){return i(e).replace(/&#x3D;/g,"=")};var o=r.default;t.default=o,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return a.default.utc(t).utcOffset("-07:00").format(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),a=r(n(23)),s=r(n(0));o.default.registerHelper("shortDate",s.default.partial(i,"MMM Do")),o.default.registerHelper("mediumDate",s.default.partial(i,"MMMM DD, YYYY")),o.default.registerHelper("longDate",s.default.partial(i,"MMMM DD, YYYY, h:mma")),o.default.registerHelper("formatDate",i);var l=o.default;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return e&&e.replace(/^\s+|\s+$/g,"")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),a=r(n(0)),s=r(n(4));o.default.registerHelper("i18n",function(e){var t,n=i(e.hash.code),r=i(e.hash.bundle),o=i(e.hash.arguments);return o&&(t=a.default.map(i(o).split(";"),function(e){e=i(e);var t,n=this;return a.default.each(e.split("."),function(e){t=t?t[e]:n[e]}),t},this)),s.default.localize(n,r,t)});var l=o.default;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){return 0===e.indexOf(s)?e:s+e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(5)),a=r(n(0)),s="/assets";o.default.registerHelper("img",function(e){var t="undefined"!=typeof okta&&okta.cdnUrlHostname||"",n=a.default.pick(e.hash,["src","alt","width","height","class","title"]);n.src=""+t+i(n.src);var r=a.default.map(n,function(e,t){return t+'="'+("src"===t?encodeURI(e):o.default.Utils.escapeExpression(e))+'"'});return new o.default.SafeString("<img "+r.join(" ")+"/>")});var l=o.default;t.default=l,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),o=r(n(54));i.default.registerHelper("markdown",function(e){return(0,o.default)(i.default,e)});var a=i.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=i.default.isString(t)?e.Utils.escapeExpression(t).replace(l,"").replace(o,function(e){return r({href:e.match(a)[1],text:e.match(s)[1]})}):"",new e.SafeString(n)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=r;var i=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=/\[[^\]]*\]\([^)]*\)/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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(5)),o=r(n(3));i.default.registerHelper("xsrfTokenInput",function(){return new i.default.SafeString('<input type="hidden" class="hide" name="_xsrfToken" value="'+(0,o.default)("#_xsrfToken").text()+'">')});var a=i.default;t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(57)),o=r(n(1)),a=o.default.decorate(i.default);t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(16)),o=r(n(0)),a=i.default.extend({constructor:function(){if(i.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:o.default.noop});t.default=a,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),a=r(n(3)),s=r(n(0)),l=r(n(1)),u=o.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((o=null!=(o=a(n,"icon")||(null!=t?a(t,"icon"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:i,loc:{start:{line:1,column:96},end:{line:1,column:104}}}):o))+'"></span>'},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:133},end:{line:1,column:142}}}):o))},5:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="option-subtitle">'+e.escapeExpression((o=null!=(o=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:i,loc:{start:{line:1,column:192},end:{line:1,column:204}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"className")||(null!=t?d(t,"className"):t))?s:u,"function"===i(s)?s.call(l,{name:"className",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):s))+'" data-se="'+c((s=null!=(s=d(n,"seleniumId")||(null!=t?d(t,"seleniumId"):t))?s:u,"function"===i(s)?s.call(l,{name:"seleniumId",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:64}}}):s))+'">'+(null!=(a=d(n,"if").call(l,null!=t?d(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:66},end:{line:1,column:120}}}))?a:"")+(null!=(a=d(n,"if").call(l,null!=t?d(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:120},end:{line:1,column:149}}}))?a:"")+(null!=(a=d(n,"if").call(l,null!=t?d(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,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(){this.$el.addClass("option-disabled"),this.$el.find("a").attr("tabindex","-1")}}),d=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:o.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression((o=null!=(o=a(n,"icon")||(null!=t?a(t,"icon"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:i,loc:{start:{line:1,column:176},end:{line:1,column:184}}}):o))+'"></span>'},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="off-screen">'+e.escapeExpression((o=null!=(o=a(n,"screenReaderText")||(null!=t?a(t,"screenReaderText"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"screenReaderText",hash:{},data:i,loc:{start:{line:1,column:249},end:{line:1,column:269}}}):o))+"</span>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"className")||(null!=t?d(t,"className"):t))?s:u,"function"===i(s)?s.call(l,{name:"className",hash:{},data:o,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=d(n,"if").call(l,null!=t?d(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:146},end:{line:1,column:200}}}))?a:"")+(null!=(a=d(n,"if").call(l,null!=t?d(t,"screenReaderText"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:200},end:{line:1,column:283}}}))?a:"")+'<span class="option-selected-text">'+c((s=null!=(s=d(n,"title")||(null!=t?d(t,"title"):t))?s:u,"function"===i(s)?s.call(l,{name:"title",hash:{},data:o,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=[s.default.result(this,"className")||"",s.default.result(this,"disabled")?"dropdown-disabled":""];return{icon:s.default.result(this,"icon"),className:a.default.trim(e.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=d,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(!w&&this.$el.hasClass("o-form-saving")){var t=(0,a.default)(e.currentTarget);t.css("display","none");var n=document.elementFromPoint(e.clientX,e.clientY);return t.css("display","block"),e.target=n,(0,a.default)(n).trigger(e),!1}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),a=r(n(3)),s=r(n(0)),l=r(n(4)),u=r(n(1)),c=r(n(60)),d=r(n(25)),p=r(n(61)),f=r(n(62)),h=r(n(10)),m=r(n(63)),g=r(n(64)),v=r(n(65)),y=r(n(66)),b=o.default.template({1:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:75},end:{line:1,column:84}}}):o))+"</h2>"},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"title"):t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:192},end:{line:1,column:288}}}))?o:""},4:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:267},end:{line:1,column:276}}}):o))+"</h2>"},6:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:i,loc:{start:{line:1,column:385},end:{line:1,column:397}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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!=(o=l(n,"if").call(s,null!=t?l(t,"hasReadMode"):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:96}}}))?o:"")+'<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:i,loc:{start:{line:1,column:148},end:{line:1,column:158}}}):a))+' clearfix">'+(null!=(o=l(n,"unless").call(s,null!=t?l(t,"hasReadMode"):t,{name:"unless",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:169},end:{line:1,column:299}}}))?o:"")+(null!=(o=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(6,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:299},end:{line:1,column:408}}}))?o:"")+'<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}),_=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-head">'+e.escapeExpression((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):o))+"</h2>"},useData:!0}),w="auto"===(0,a.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents,S={submit:function(e){e.preventDefault(),this.__save()}};s.default.each(["click","dblclick","mousedown","mouseup"],function(e){S[e+" .o-form-input"]=i});var x=function(e){e||(e={});var t=e&&e.collection||{};return{method:"POST",action:s.default.result(e,"urlRoot")||s.default.result(t,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}},E=function(e,t){e||(e="");var n=[];return s.default.isString(e)&&(n=e.split(" ")),n=s.default.union(n,t),n.join(" ")},T=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(e.errorCauses)&&e.errorCauses.length>0?e.errorCauses[0].errorSummary:e.errorSummary},k=u.default.extend({constructor:function(e){e||(e={}),this.options=e,this.id=s.default.uniqueId("form"),this.tagName="form",s.default.defaults(this.events,S),s.default.defaults(this.attributes,x(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),u.default.call(this,e),s.default.each(s.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",s.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",s.default.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",s.default.throttle(this.__previous,100,{trailing:!1})),this.__save=s.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)})}),s.default.isUndefined(t)&&(t=!0)),t){var n=this.getAttribute("customSavingState",{});this.listenTo(this.model,E(n.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,E(n.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){var t=this.getAttribute("danger"),n=!0===t?"button-error":"button-primary",r=new d.default(s.default.extend({save:this.save||l.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:n,cancel:this.cancel||l.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,hasPrevStep:this.step&&this.step>1},e||this.options));return s.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=s.default.resultCtx(this.options,e,this);return s.default.isUndefined(n)&&(n=s.default.result(this,e)),s.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=c.default.extend({formTitle:this.getAttribute("title","")});this.__readModeBar=this.add(e,".o-form-title-bar").last()}var t=b({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,u.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):s.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){return s.default.reduce(e,function(e,t){return s.default.extend(e,n.model.validateField(t))},{})}var t,n=this;return s.default.isUndefined(this.validate)?this.model.isValid():(s.default.isFunction(this.validate)?t=this.validate():s.default.isArray(this.validate)?t=e(this.validate):"local"===this.validate&&(t=e(this.getInputs().map(function(e){return e.options.name}))),!!s.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:s.default.identity,__showErrors:function(e,t,n){if(this.trigger("error",e),this.getAttribute("showErrors")){var r,i=f.default.getResponseJSON(t),o=f.default.parseFieldErrors(t);if(s.default.size(o)?s.default.each(o,function(e,t){this.model.trigger("form:field-error",this.__errorFields[t]||t,s.default.map(e,function(e){return/^model\.validation/.test(e)?l.default.localize(e,"courage"):e}))},this):(i=this.parseErrorMessage(i),r=T(i)),n&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(p.default,".o-form-error-container",{options:{errorSummary:r}})),this.getAttribute("scrollOnError")){var u=(0,a.default)("#"+this.id+" .o-form-error-container");u.length&&(0,a.default)("html, body").animate({scrollTop:u.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){g.default.supports(e)?this.addInput(e):this.__addNonInputLayoutItem(e)},__addNonInputLayoutItem:function(e){var t=s.default.omit(e,"type");switch(e.type){case"sectionTitle":this.addSectionTitle(e.title,s.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>'),h.default.applyShowWhen(this.last(),e&&e.showWhen),h.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,t){return this.add(_({title:e})),h.default.applyShowWhen(this.last(),t&&t.showWhen),h.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addInput:function(e){e=s.default.clone(e),h.default.validateInput(e,this.model);var t=h.default.generateInputOptions(e,this,this.__createInput).reverse();s.default.isEmpty(this.getInputs().toArray())&&s.default.extend(t[0],{validateOnlyIfDirty:!0});var n=s.default.map(t,this.__createInput,this);s.default.each(t,function(e){e.errorField&&(this.__errorFields[e.errorField]=e.name)},this);var r={inputId:s.default.last(n).options.inputId,input:n,multi:t.length>1?t.length:void 0};s.default.extend(r,s.default.omit(this.options,"input"),s.default.omit(e,"input"));var i=this.__createWrapper(r);!1!==r.label&&i.add(this.__createLabel(r)),i.add(this._createContainer(r)),i.type=r.type||r.input.type||"custom";var o=[i].concat(s.default.rest(arguments));return this.add.apply(this,o)},__createInput:function(e){return e=s.default.pick(e,h.default.INPUT_OPTIONS),g.default.create(e)},__createWrapper:function(e){return e=s.default.pick(e,h.default.WRAPPER_OPTIONS),new y.default(e)},__createLabel:function(e){return e=s.default.pick(e,h.default.LABEL_OPTIONS),new v.default(e)},_createContainer:function(e){return e=s.default.pick(e,h.default.CONTAINER_OPTIONS),new m.default(e)},__saveModelState:function(e){this.__originalModel=a.default.extend(!0,{},e.attributes)},add:function(){var e=s.default.toArray(arguments);return void 0===e[1]&&(e[1]="> div.o-form-content > .o-form-fieldset-container"),u.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(!s.default.isNumber(e))return t.height();t.css("max-height",e)},getInputs:function(){return(0,s.default)(this.filter(function(e){return e instanceof y.default}))}});t.default=k,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(1)),o=r(n(10)),a=i.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(o.default.createReadFormButton({type:"cancel"})):this.add(o.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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(1)),a=o.default.extend({template:i.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((o=null!=(o=a(n,"errorSummary")||(null!=t?a(t,"errorSummary"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"errorSummary",hash:{},data:i,loc:{start:{line:1,column:130},end:{line:1,column:146}}}):o))+"</p>"},3:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.errorbanner.title"},data:i,loc:{start:{line:1,column:161},end:{line:1,column:217}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"errorSummary"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i,loc:{start:{line:1,column:107},end:{line:1,column:228}}}))?o:"")+"</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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(0)),o=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=o.default.localize(e.reason),n=e.errorSummary;return[e.property,-1===t.indexOf("L10N_ERROR[")?t:n]}},parseErrors:function(e){var t=this.getResponseJSON(e);return i.default.map(t&&t.errorCauses||[],function(e){return(""+e.errorSummary).replace(a,"$2")})},parseFieldErrors:function(e){var t=this.getResponseJSON(e),n={};return t?i.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],i=t[1];n[r]||(n[r]=[]),n[r].push(i)}},this):i.default.isObject(e)&&i.default.size(e)&&i.default.each(e,function(e,t){n[t]=[e]}),i.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 i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),a=r(n(0)),s=r(n(7)),l=r(n(18)),u=r(n(4)),c=r(n(1)),d=l.default.isABaseView,p=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))){a.default.find(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)&&!d(t)&&(t=a.default.resultCtx(this.options,"explain",this)),t&&(d(t)?(this.template=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<p class="o-form-explain"></p>'},useData:!0}),this.add(t,".o-form-explain")):this.template=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="o-form-explain">'+e.escapeExpression((o=null!=(o=a(n,"explain")||(null!=t?a(t,"explain"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:i,loc:{start:{line:1,column:26},end:{line:1,column:37}}}):o))+"</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=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p id="'+u((a=null!=(a=c(n,"errorId")||(null!=t?c(t,"errorId"):t))?a:l,"function"===i(a)?a.call(s,{name:"errorId",hash:{},data:o,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"===i(a)?a.call(s,{name:"iconLabel",hash:{},data:o,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"===i(a)?a.call(s,{name:"text",hash:{},data:o,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=p,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return l.default.isBaseInput(e)&&e.prototype?new e(s.default.omit(t,"input")):e}function o(e){if(e=s.default.clone(e),e.input)return i(e.input,e);var t=l.default.get(e);if(!t)throw new Error("unknown input: "+e.type);return i(t,e)}function a(e){return!!e.input||!!l.default.get(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=r(n(0)),l=r(n(26)),u={create:o,supports:a};t.default=u,e.exports=t.default},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=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:o.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+e.escapeExpression((o=null!=(o=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:33},end:{line:1,column:44}}}):o))+'"></label>'},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"label")||(null!=t?a(t,"label"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:i,loc:{start:{line:1,column:88},end:{line:1,column:97}}}):o))},5:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+u((a=null!=(a=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?a:l,"function"===i(a)?a.call(s,{name:"inputId",hash:{},data:o,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"===i(a)?a.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:152},end:{line:1,column:161}}}):a))+"&nbsp;</label>"},7:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression((o=null!=(o=a(n,"sublabel")||(null!=t?a(t,"sublabel"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"sublabel",hash:{},data:i,loc:{start:{line:1,column:228},end:{line:1,column:240}}}):o))+"</span>"},9:function(e,t,n,r,i){var o,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!=(o=null!=t?a(t,"tooltip"):t)?a(o,"text"):o,t))+'"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"if").call(a,null!=t?s(t,"_isLabelView"):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:61}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"_isRadioOrCheckbox"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:61},end:{line:1,column:104}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"_standardLabel"):t,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:104},end:{line:1,column:182}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"sublabel"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:182},end:{line:1,column:254}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:254},end:{line:1,column:369}}}))?o:"")},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 i(e,t){e.apply(this,a.default.map(t.split(/\s+/),function(e){return this.model.get(e)},this))}function o(e,t){a.default.isFunction(e)&&e.call(t)}Object.defineProperty(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){this.listenTo(this.model,l.default.changeEventString(t.split(/\s+/)),a.default.bind(i,this,e,t))},this),l.default.applyShowWhen(this,e.showWhen),l.default.applyToggleWhen(this,e.toggleWhen),o(e.initialize,this)},postRender:function(){a.default.each(this.options.bindings||{},i,this),o(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 i(e){var t=e.get("__displayType__"),n=e.get("__possibleValues__"),r=e.get("name"),i=e.get("title"),o={type:"text",name:r,label:i||r};switch(t){case"arrayofstring":o.input=v.default,o.params={itemType:"string"};break;case"arrayofnumber":o.input=v.default,o.params={itemType:"number"};break;case"arrayofinteger":o.input=v.default,o.params={itemType:"integer"};break;case"arrayofobject":o.input=v.default,o.params={itemType:e.get("items").type};break;case"arrayofref-id":o.input=v.default,o.params={itemType:e.get("items").format};break;case"boolean":o.input=g.default;break;case"integer":case"number":o.to=a;break;case"reference":o.type="select",o.options=l(n);break;case"image":o.readOnly=!0,o.from=function(e){return h.default.isEmpty(e)?"":m.default.localize("user.profile.image.image_set","courage")};break;case"password":o.type="password";break;case"date":o.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 o}function o(e){var t={},n=e.get("name"),r=e.get("__displayType__"),i=e.get("__possibleValues__"),o=e.get("__fieldNamePrefix__");if(o&&(t.name=o+n,t.errorField=n),e.isEnumType()){var a={displayType:r,title:e.get("title"),enumValues:e.getEnumValues()};t=h.default.extend({},y.default.getEnumInputOptions(a),t)}else s(r)&&i&&(t.type="checkboxset",t.input=null,t.options=l(i));return t}function a(e){var t=m.default.parseFloat(e);return""===e?null:t}function s(e){return e&&e.indexOf("array")>=0}function l(e){return h.default.object(e,e)}function u(e){var t=e.get("items");return t?t.objectName:e.get("objectName")}function c(e,t,n){var r,i,o=e.get("name"),a=n.__nestedProperty__,s=t[o],l=n.get(o);a&&e.set("__fieldNamePrefix__",a),r=t[u(e)],s&&l&&(s=h.default.union(s,l)),r&&r.length?i=r:s&&s.length&&(i=s),e.set("__possibleValues__",i)}function d(e,t,n){return e.each(function(e){c(e,t,n)}),e}function p(e,t){return e.filter(function(e){return f(e,t)})}function f(e,t){var n=u(e),r=t[n];return!n||!(0,h.default)(r).isEmpty()}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=r(n(0)),m=r(n(4)),g=r(n(68)),v=r(n(70)),y=r(n(20)),b={createInputOptions:function(e){var t=o(e),n=i(e);return t.params&&n.params&&(t.params=h.default.defaults(t.params,n.params)),h.default.defaults(t,n)},hasValidSchemaProps:function(e,t){return!h.default.isEmpty(e)&&!!p(e,t).length},prepareSchema:function(e,t,n){return e.reset(p(e,t)),d(e,t,n)},augmentSchemaProps:d,augmentSchemaProp:c};t.default=b,e.exports=t.default},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(28)),i={undefined:"undefined",true:"true",false:"false"},o=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=i,this.options.from=o,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,i,o,a;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,children:0,disabled:e.disabled}),o=e.childNodes,a=[],r=0,i=o.length;r<i;r++)n=o[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,i,o,a;for(r=new e,a=t.childNodes,i=0,o=a.length;i<o;i++)n=a[i],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 setTimeout(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,setTimeout(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,o={}.hasOwnProperty,a=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};r=this;var s=r.AbstractChosen;t=e,t.fn.extend({chosen:function(e){return s.browser_is_supported()?this.each(function(r){var i;if(i=t(this),!i.hasClass("chzn-done"))return i.data("chosen",new n(this,e))}):this}}),n=function(e){function n(){return i=n.__super__.constructor.apply(this,arguments)}return a(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;return this.container_id=this.form_field.id.length?this.form_field.id.replace(/[^\w]/g,"_"):this.generate_field_id(),this.container_id+="_chzn",e=["chzn-container"],e.push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chzn-rtl"),n={id:this.container_id,class:e.join(" "),style:"width: "+this.container_width()+";",title:this.form_field.title},this.container=t("<div></div>",n),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=this.container.find("div.chzn-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first()),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=this;return this.container.mousedown(function(t){e.container_mousedown(t)}),this.container.mouseup(function(t){e.container_mouseup(t)}),this.container.mouseenter(function(t){e.mouse_enter(t)}),this.container.mouseleave(function(t){e.mouse_leave(t)}),this.search_results.mouseup(function(t){e.search_results_mouseup(t)}),this.search_results.mouseover(function(t){e.search_results_mouseover(t)}),this.search_results.mouseout(function(t){e.search_results_mouseout(t)}),this.search_results.bind("mousewheel DOMMouseScroll",function(t){e.search_results_mousewheel(t)}),this.form_field_jq.bind("liszt:updated",function(t){e.results_update_field(t)}),this.form_field_jq.bind("liszt:activate",function(t){e.activate_field(t)}),this.form_field_jq.bind("liszt:open",function(t){e.container_mousedown(t)}),this.search_field.blur(function(t){e.input_blur(t)}),this.search_field.keyup(function(t){e.keyup_checker(t)}),this.search_field.keydown(function(t){e.keydown_checker(t)}),this.search_field.focus(function(t){e.input_focus(t)}),this.is_multiple?this.search_choices.click(function(t){e.choices_click(t)}):this.container.click(function(e){e.preventDefault()})},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field_jq[0].disabled,this.is_disabled?(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()):(this.container.removeClass("chzn-disabled"),this.search_field[0].disabled=!1,this.is_multiple?void 0:this.selected_item.bind("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,i,o;for(this.parsing=!0,this.selected_option_count=null,this.results_data=r.SelectParser.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.selected_item.addClass("chzn-default").find("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"))),e="",o=this.results_data,n=0,i=o.length;n<i;n++)t=o[n],t.group?e+=this.result_add_group(t):t.empty||(e+=this.result_add_option(t),t.selected&&this.is_multiple?this.choice_build(t):t.selected&&!this.is_multiple&&(this.selected_item.removeClass("chzn-default").find("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,i,o;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),r=parseInt(this.search_results.css("maxHeight"),10),o=this.search_results.scrollTop(),i=r+o,n=this.result_highlight.position().top+this.search_results.scrollTop(),(t=n+this.result_highlight.outerHeight())>=i)return this.search_results.scrollTop(t-r>0?t-r:0);if(n<o)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,i=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 i.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(){if(this.form_field.options[0].selected=!0,this.selected_option_count=null,this.selected_item.find("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(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(e){var t,n,r,i;if(this.result_highlight)return t=this.result_highlight,n=t.attr("id"),this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("liszt:maxselected",{chosen:this}),!1):(this.is_multiple?t.removeClass("active-result"):(this.search_results.find(".result-selected").removeClass("result-selected"),this.result_single_selected=t,this.selected_item.removeClass("chzn-default")),t.addClass("result-selected"),i=n.substr(n.lastIndexOf("_")+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):(this.selected_item.find("span").first().text(r.text),this.allow_single_deselect&&this.single_deselect_control_build()),(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(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chzn-single-with-deselect")},n.prototype.winnow_results=function(){var e,n,r,i,o,a,s,l,u,c,d,p,f,h,m,g,v,y;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":t("<div></div>").text(t.trim(this.search_field.val())).html(),a=this.search_contains?"":"^",o=new RegExp(a+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),f=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),y=this.results_data,h=0,g=y.length;h<g;h++)if(n=y[h],!n.empty)if(n.group)t("#"+n.dom_id).css("display","none");else{if(e=!1,l=n.dom_id,s=t("#"+l),o.test(n.html))e=!0,u+=1;else if(this.enable_split_word_search&&(n.html.indexOf(" ")>=0||0===n.html.indexOf("["))&&(i=n.html.replace(/\[|\]/g,"").split(" "),i.length))for(m=0,v=i.length;m<v;m++)r=i[m],o.test(r)&&(e=!0,u+=1);e?(c.length?(d=n.html.search(f),p=n.html.substr(0,d+c.length)+"</em>"+n.html.substr(d+c.length),p=p.substr(0,d)+"<em>"+p.substr(d)):p=n.html,s.html(p),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&&(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(e=t.length?t.first():this.search_results.find(".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>'),n.find("span").first().html(e),this.search_results.append(n)},n.prototype.no_results_clear=function(){return this.search_results.find(".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;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(e=this.search_container.siblings("li.search-choice").last(),e.length&&!e.hasClass("search-choice-disabled")?(this.pending_backstroke=e,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0)},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,i,o,a,s;if(this.is_multiple){for(0,o=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",i=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"],a=0,s=i.length;a<s;a++)n=i[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),o=e.width()+25,e.remove(),this.f_width||(this.f_width=this.container.outerWidth()),o>this.f_width-10&&(o=this.f_width-10),this.search_field.css({width:o+"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}(s),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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(0)),a=r(n(13)),s=r(n(9)),l=r(n(71)),u=s.default.extend({className:"array-input",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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=o.default.defaults(e.params||{},this.params),this.uniqueIdPrefix="array"},from:function(e){return o.default.isArray(e)?e:[]},editMode:function(){return this._setArrayObject(),this.$el.html(this.template),o.default.each(this.arrayObject,o.default.bind(this._addDeletableBox,this)),this},readMode:function(){this.editMode(),this.$(".array-inputs-button").addClass("link-button-disabled")},val:function(){var e=o.default.values(this.arrayObject);return o.default.contains([a.default.DATATYPE.number,a.default.DATATYPE.integer],this.params.itemType)&&(e=o.default.filter(e,o.default.isNumber)),e},focus:function(){},addNewElement:function(){var e=o.default.uniqueId(this.uniqueIdPrefix);this.arrayObject[e]="",this._addDeletableBox("",e),this.update()},_addDeletableBox:function(e,t){var n=new l.default(o.default.extend(o.default.pick(this.options,"read","readOnly","model"),{key:t,value:e,itemType:this.params.itemType}));return this.listenTo(n,"updateArray",function(e){o.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={},o.default.isArray(e)&&!o.default.isEmpty(e)){var t=[],n=this;(0,o.default)(e.length).times(function(){t.push(o.default.uniqueId(n.uniqueIdPrefix))}),this.arrayObject=o.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 i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),a=r(n(0)),s=r(n(13)),l=r(n(4)),u=r(n(30)),c=r(n(1)),d=function(e){return/^[aeiou]/.test(e)},p=function(e){return d(e)?"an":"a"},f=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=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=d(n,"key")||(null!=t?d(t,"key"):t))?a:l,i(a)===u?a.call(s,{name:"key",hash:{},data:o,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):a))+'" id="'+c((a=null!=(a=d(n,"key")||(null!=t?d(t,"key"):t))?a:l,i(a)===u?a.call(s,{name:"key",hash:{},data:o,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):a))+'" value="'+c((a=null!=(a=d(n,"value")||(null!=t?d(t,"value"):t))?a:l,i(a)===u?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):a))+'" placeholder="'+c((a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:l,i(a)===u?a.call(s,{name:"placeholder",hash:{},data:o,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=d(n,"errorExplain")||(null!=t?d(t,"errorExplain"):t))?a:l,i(a)===u?a.call(s,{name:"errorExplain",hash:{},data:o,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=f(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(p(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},getErrorExplainText:function(){var e=["Value must be"];return e.push(p(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=parseInt(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 i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(2)),a=r(n(0)),s=r(n(8));n(31);var l=r(n(9)),u=l.default.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c((a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:l,i(a)===u?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):a))+'" id="'+c((a=null!=(a=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?a:l,i(a)===u?a.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):a))+'"/><label for="'+c((a=null!=(a=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?a:l,i(a)===u?a.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):a))+'" data-se-for-name="'+c((a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:l,i(a)===u?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):a))+'">'+c((a=null!=(a=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?a:l,i(a)===u?a.call(s,{name:"placeholder",hash:{},data:o,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}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(2)),o=r(n(0)),a=r(n(32)),s=i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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(){this.isEditMode()&&this.__showPasswordToggle()&&(this.$el.append(s),this.$el.find('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=o.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,i;r=[n(12)],void 0!==(i=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,i=e(r);if(r.value==i.attr("placeholder")&&i.hasClass("placeholder"))if(i.data("placeholder-password")){if(i=i.hide().next().show().attr("id",i.removeAttr("id").data("placeholder-id")),!0===t)return i[0].value=n;i.focus()}else r.value="",i.removeClass("placeholder"),r==document.activeElement&&r.select()}function r(){var r,i=this,o=e(i),a=this.id;if(""==i.value){if("password"==i.type){if(!o.data("placeholder-textinput")){try{r=o.clone().attr({type:"text"})}catch(n){r=e("<input>").attr(e.extend(t(this),{type:"text"}))}r.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":a}).bind("focus.placeholder",n),o.data({"placeholder-textinput":r,"placeholder-id":a}).before(r)}o=o.removeAttr("id").hide().prev().attr("id",a).show()}o.addClass("placeholder"),o[0].value=o.attr("placeholder")}else o.removeClass("placeholder")}var i,o,a="placeholder"in document.createElement("input"),s="placeholder"in document.createElement("textarea"),l=e.fn,u=e.valHooks;a&&s?(o=l.placeholder=function(){return this},o.input=o.textarea=!0):(o=l.placeholder=function(){var e=this;return e.filter((a?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":n,"blur.placeholder":r}).data("placeholder-enabled",!0).trigger("blur.placeholder"),e},o.input=a,o.textarea=s,i={get:function(t){var n=e(t);return n.data("placeholder-enabled")&&n.hasClass("placeholder")?"":t.value},set:function(t,i){var o=e(t);return o.data("placeholder-enabled")?(""==i?(t.value=i,t!=document.activeElement&&r.call(t)):o.hasClass("placeholder")?n.call(t,!0,i)||(t.value=i):t.value=i,o):t.value=i}},a||(u.input=i),s||(u.textarea=i),e(function(){e(document).delegate("form","submit.placeholder",function(){var t=e(".placeholder",this).each(n);setTimeout(function(){t.each(r)},10)})}),e(window).bind("beforeunload.placeholder",function(){e(".placeholder").each(function(){this.value=""})}))}.apply(t,r))&&(e.exports=i)},function(e,t,n){function r(e){return e&&e.__esModule?e:{default:e}}function i(e){"@babel/helpers - typeof";return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=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 d=r(n(9)),p=u.default.isABaseView,f=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="radio" name="'+c((a=null!=(a=d(n,"name")||(null!=t?d(t,"name"):t))?a:l,i(a)===u?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:34}}}):a))+'" data-se-name="'+c((a=null!=(a=d(n,"realName")||(null!=t?d(t,"realName"):t))?a:l,i(a)===u?a.call(s,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):a))+'" value="'+c((a=null!=(a=d(n,"value")||(null!=t?d(t,"value"):t))?a:l,i(a)===u?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):a))+'" id="'+c((a=null!=(a=d(n,"optionId")||(null!=t?d(t,"optionId"):t))?a:l,i(a)===u?a.call(s,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):a))+'"><label for="'+c((a=null!=(a=d(n,"optionId")||(null!=t?d(t,"optionId"):t))?a:l,i(a)===u?a.call(s,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):a))+'" data-se-for-name="'+c((a=null!=(a=d(n,"realName")||(null!=t?d(t,"realName"):t))?a:l,i(a)===u?a.call(s,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):a))+'" class="radio-label">'+c((a=null!=(a=d(n,"label")||(null!=t?d(t,"label"):t))?a:l,i(a)===u?a.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:178},end:{line:1,column:187}}}):a))+"</label>"},useData:!0}),h=c.default.extend({template:f,initialize:function(e){var t;t=e.explain,s.default.isFunction(t)&&!p(t)&&(t=s.default.resultCtx(this.options,"explain",this)),t&&(p(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:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"explain")||(null!=t?a(t,"explain"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:i,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):o))},useData:!0})}),".radio-label"))}}),m=d.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 i(e){return a.default.filter(e||[],function(e){return!a.default.contains(["label","button","select"],e.type)}).length}function o(e){return s.default.create(a.default.defaults({getReadModeString:a.default.constant(" "),focus:a.default.noop},a.default.pick(e,"click","title","href","icon")))}Object.defineProperty(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)),c=u.default.extend({tagName:"span",initialize:function(){this.$el.text(this.getModelValue())},editMode:function(){this.toggle(!0)},readMode:function(){this.toggle(!1)},getModelValue:function(){return this.options.label},toggle:function(e){this.$el.toggleClass("o-form-label-inline",e),this.$el.toggleClass("o-form-control",!e)},focus:a.default.noop}),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",i(this.getParam("inputs"))>1&&(e+=" o-form-input-group-2"),e},initialize:function(){a.default.each(this.getParam("inputs"),function(e){switch(e.type){case"label":this.add(c,{options:e});break;case"button":this.add(o(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=this.inputGroupView.map(function(e){return e.getReadModeString()});return e.length&&a.default.every(e)?e.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:c,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(8),i=n(18),o=n(30),a=n(27),s=n(37),l=function(e,t,n){var u,c,d,p,f=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?i:i[t]||(i[t]={}),_=b.prototype||(b.prototype={});h&&(n=t);for(u in n)c=!f&&y&&void 0!==y[u],d=(c?y:n)[u],p=v&&c?s(d,r):g&&"function"==typeof d?s(Function.call,d):d,y&&a(y,u,d,e&l.U),b[u]!=d&&o(b,u,p),g&&_[u]!=d&&(_[u]=d)};r.core=i,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 i(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 o(){var e=new s.HandlebarsEnvironment;return f.extend(e,s),e.SafeString=u.default,e.Exception=d.default,e.Utils=f,e.escapeExpression=f.escapeExpression,e.VM=m,e.template=function(t){return m.template(t,e)},e}t.__esModule=!0;var a=n(179),s=i(a),l=n(415),u=r(l),c=n(64),d=r(c),p=n(43),f=i(p),h=n(416),m=i(h),g=n(418),v=r(g),y=o();y.create=o,v.default(y),y.default=y,t.default=y,e.exports=t.default},function(e,t,n){"use strict";var r,i;r=[n(0),n(5),n(73),n(81)],void 0!==(i=function(e,t,n,r){var i=e.internal.views.forms.components.Toolbar,o=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),o.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case t.DIVIDER:this.addDivider(n.viewOptions);break;case t.TOOLBAR:this.add(i,{options:n.viewOptions}),o.applyShowWhen(this.last(),n.viewOptions&&n.viewOptions.showWhen);break;case t.VIEW:this.add(n.viewOptions.View,n.addOptions),o.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 i=s.extend(a.result(this,"Form",this));this.form=new i(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=i)},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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(211)),a=i.Form.extend({layout:"o-form-theme",className:"ion-form",hasSavingState:!0,autoSave:!1,noCancelButton:!0,title:function(){return(0,i.loc)("oform.title.authenticate","login")},save:(0,i.loc)("oform.next","login"),modelEvents:{clearFormError:"handleClearFormError",error:"triggerAfterError"},initialize:function(){var e=this,t=this.getUISchema(),n=t.map(o.default.create);this.showMessages(),n.forEach(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){this.$el.find(".o-form-error-container").empty(),this.options.appState.trigger("saveForm",e)},getUISchema:function(){return Array.isArray(this.options.currentViewState.uiSchema)?this.options.currentViewState.uiSchema:[]},addInputOrView:function(e){if(!1!==e.visible&&!1!==e.mutable&&(e.View?this.add(e.View,i._.omit(e,"View")):this.addInput(e),Array.isArray(e.optionsUiSchemas)&&this.options.optionUiSchemaConfig[e.name])){var t=Number(this.options.optionUiSchemaConfig[e.name]);(e.optionsUiSchemas[t]||[]).forEach(this.addInputOrView.bind(this))}},showMessages:function(){var e=this.options.appState.get("messages");if(e&&e.value.length){var t=e.value.map(function(e){return e.message});this.add('<div class="ion-messages-container">'.concat(t.join(" "),"</div>"),".o-form-error-container")}}});t.default=a},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(11);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,n){var r=n(84)("wks"),i=n(55),o=n(8).Symbol,a="function"==typeof o;(e.exports=function(e){return r[e]||(r[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=r},function(e,t,n){"use strict";var r,i;r=[n(0),n(34),n(7)],void 0!==(i=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 i={},o=e._,a=function(e,t){var n=document.createElement("input");return n.name=e,n.value=decodeURIComponent(t),n.type="hidden",n},s=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],i=(n[0]||"").split("?"),o=i[1],s=i[0];r&&(s+="#"+r);var l=document.createElement("form");if(l.method=t,l.setAttribute("style","display: none;"),l.action=s,o&&o.length){o.split("&").forEach(function(e){var t=e.split("="),n=a(t[0],t[1]);l.appendChild(n)})}return l};return i.hasTokensInHash=function(e){return/((id|access)_token=)/i.test(e)},i.hasCodeInUrl=function(e){return/(code=)/i.test(e)},i.transformErrorXHR=function(t){if(0===t.status&&o.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),!o.isEmpty(t.responseJSON)){var n=e.loc("errors."+t.responseJSON.errorCode,"login");-1===n.indexOf("L10N_ERROR[")&&(t.responseJSON.errorSummary=n,t.responseJSON&&t.responseJSON.errorCauses&&t.responseJSON.errorCauses.length&&delete t.responseJSON.errorCauses)}return t},i.toLower=function(e){return o.map(e,function(e){return e.toLowerCase()})},i.expandLanguages=function(e){return o.chain(e).map(r).flatten().uniq().value()},i.callAfterTimeout=function(e,t){return setTimeout(e,t)},i.debugMessage=function(e){"\n".concat(e.replace(/^(\s)+/gm,""))},i.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=o.isFunction(e.className)?e.className():e.className,r=o.pick(t,"name","message","statusCode","xhr");e.trigger("afterError",{controller:n},r)},i.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},i.redirectWithFormGet=function(e){i.redirectWithForm(e,"get")},i.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 i=document.getElementById(n.WIDGET_CONTAINER_ID);if(!i)return void t.error("Cannot find okta-sign-in container append to which a form");var o=s(e,r);i.appendChild(o),o.submit()},i.createInputExplain=function(t,n,r,i,o){var a=i?e.loc(t,r,i):e.loc(t,r);return a!==(o?e.loc(n,r,o):e.loc(n,r))&&a},i.isV1StateToken=function(e){return!!(e&&o.isString(e)&&e.startsWith("00"))},i}.apply(t,r))&&(e.exports=i)},function(e,t,n){var r=n(39),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r,i;r=[n(0),n(44),n(135)],void 0!==(i=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=i)},function(e,t){function n(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(142)),a=r(n(143)),s=n(141),l=a.default.extend({getBeaconClassName:function(){var e=this.options.appState.get("authenticatorType");return(0,s.getIconClassNameForBeacon)(e)}}),u=i.default.extend({Header:o.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,n){"use strict";var r,i;r=[n(0),n(429)],void 0!==(i=function(e,t){var n=e._,r={},i={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}},o=function(t,r){if(t.complexity){var i=r.complexity,o=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=n.map(o,function(t,n){if(!(t<=0)){var r=i[n];return r.args?e.loc(r.i18n,"login",[t]):e.loc(r.i18n,"login")}});return n.compact(a)}return[]},a=function(t,n){return t.age&&t.age.historyCount>0?e.loc(n.history.i18n,"login",[t.age.historyCount]):null},s=function(n,r){if(n.age&&n.age.minAgeMinutes>0){var i=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])}(i)}return null},l=function(e,t){var n={complexity:[],history:[],age:[]};n.complexity=o(e,t);var r=a(e,t);r&&n.history.push(r);var i=s(e,t);return i&&n.age.push(i),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 o=i[r.getFactorName.apply(this,[t,n])].label;return e.loc(o,"login")},r.getFactorDescription=function(t,o){var a=i[r.getFactorName.apply(this,[t,o])].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 i[r.getFactorName.apply(this,[e,t])].iconClassName},r.getFactorSortOrder=function(e,t){return i[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 n.indexOf("L10N_ERROR")<0?n:t.questionText},r.removeRequirementsFromError=function(e,t){var r=this.getPasswordComplexityDescription(t);return e.errorCauses&&e.errorCauses.length>0&&n.isString(e.errorCauses[0].errorSummary)&&(e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary.replace(r,"").trim()),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=l(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"}}},i=[],o=l(t,r),a=o.complexity;return a.length>0&&(a=n.reduce(a,function(t,n){return t?t+e.loc("password.complexity.list.element","login",[n]):n}),i.push(e.loc("password.complexity.requirements","login",[a]))),i.push(o.history[0]),i.push(o.age[0]),n.compact(i).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=i)},function(e,t,n){e.exports=!n(9)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(10),i=n(145),o=n(50),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)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){/*!
 *
 * 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 q}function r(e,t){if(B&&t.stack&&"object"==typeof e&&null!==e&&e.stack&&-1===e.stack.indexOf(te)){for(var n=[],r=t;r;r=r.source)r.stack&&n.unshift(r.stack);n.unshift(e.stack);var o=n.join("\n"+te+"\n");e.stack=i(o)}}function i(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;++r){var i=t[r];s(i)||o(i)||!i||n.push(i)}return n.join("\n")}function o(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function a(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(e);return r?[r[1],Number(r[2])]:void 0}function s(e){var t=a(e);if(!t)return!1;var n=t[0],r=t[1];return n===V&&r>=H&&r<=ae}function l(){if(B)try{throw new Error}catch(r){var e=r.stack.split("\n"),t=e[0].indexOf("@")>0?e[1]:e[2],n=a(t);if(!n)return;return V=n[0],n[1]}}function u(e){return e instanceof f?e:v(e)?k(e):T(e)}function c(){function e(e){t=e,o.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=[],i=Q(c.prototype),o=Q(f.prototype);if(o.promiseDispatch=function(e,i,o){var a=G(arguments);n?(n.push(a),"when"===i&&o[1]&&r.push(o[1])):u.nextTick(function(){t.promiseDispatch.apply(t,a)})},o.valueOf=function(){if(n)return o;var e=m(t);return g(e)&&(t=e),e},o.inspect=function(){return t?t.inspect():{state:"pending"}},u.longStackSupport&&B)try{throw new Error}catch(e){o.stack=e.stack.substring(e.stack.indexOf("\n")+1)}return i.promise=o,i.resolve=function(n){t||e(u(n))},i.fulfill=function(n){t||e(T(n))},i.reject=function(n){t||e(E(n))},i.notify=function(e){t||K(r,function(t,n){u.nextTick(function(){n(e)})},void 0)},i}function d(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 p(e){return d(function(t,n){for(var r=0,i=e.length;r<i;r++)u(e[r]).then(t,n)})}function f(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(f.prototype);if(r.promiseDispatch=function(n,i,o){var a;try{a=e[i]?e[i].apply(r,o):t.call(r,i,o)}catch(e){a=E(e)}n&&n(a)},r.inspect=n,n){var i=n();"rejected"===i.state&&(r.exception=i.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 f}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,oe||(oe=!0)}function S(e,t){oe&&("object"==typeof process&&"function"==typeof process.emit&&u.nextTick.runAfter(function(){-1!==Y(re,e)&&(process.emit("unhandledRejection",t,e),ie.push(e))}),re.push(e),t&&void 0!==t.stack?ne.push(t.stack):ne.push("(no stack) "+t))}function x(e){if(oe){var t=Y(re,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&u.nextTick.runAfter(function(){var n=Y(ie,e);-1!==n&&(process.emit("rejectionHandled",ne[t],e),ie.splice(n,1))}),re.splice(t,1),ne.splice(t,1))}}function E(e){var t=f({when:function(t){return t&&x(this),t?t(e):this}},function(){return this},function(){return{state:"rejected",reason:e}});return S(t,e),t}function T(e){return f({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},delete:function(t){delete e[t]},post:function(t,n){return null===t||void 0===t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return Z(e)}},void 0,function(){return{state:"fulfilled",value:e}})}function k(e){var t=c();return u.nextTick(function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}}),t.promise}function O(e){return f({isDef:function(){}},function(t,n){return N(e,t,n)},function(){return u(e).inspect()})}function C(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,i,o)}try{a=r[e](t)}catch(e){return n(e)?u(e.value):E(e)}return h(a,i,o)}var r=e.apply(this,arguments),i=t.bind(t,"next"),o=t.bind(t,"throw");return i()}}function P(e){u.done(u.async(e)())}function I(e){throw new q(e)}function R(e){return function(){return C([this,M(arguments)],function(t,n){return e.apply(t,n)})}}function N(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,i,o){var a;g(i)&&"fulfilled"===(a=i.inspect()).state?e[o]=a.value:(++t,h(i,function(r){e[o]=r,0==--t&&n.resolve(e)},n.reject,function(e){n.notify({index:o,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,i,o){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:o,value:e})}var u=e[o];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 j(e,t){return u(e).then(void 0,void 0,t)}function U(e,t){return u(e).nodeify(t)}var B=!1;try{throw new Error}catch(e){B=!!e.stack}var V,q,H=l(),W=function(){},$=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);i=!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,i=!1,o=void 0,a=!1,s=[];if($=function(e){r=r.next={task:e,domain:a&&process.domain,next:null},i||(i=!0,o())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)a=!0,o=function(){process.nextTick(e)};else if("function"==typeof setImmediate)o="undefined"!=typeof window?setImmediate.bind(window,e):function(){setImmediate(e)};else if("undefined"!=typeof MessageChannel){var l=new MessageChannel;l.port1.onmessage=function(){o=u,l.port1.onmessage=e,e()};var u=function(){l.port2.postMessage(0)};o=function(){setTimeout(e,0),u()}}else o=function(){setTimeout(e,0)};return $.runAfter=function(e){s.push(e),i||(i=!0,o())},$}(),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(i,o,a){r.push(e.call(t,o,a,n))},void 0),r}),Q=Object.create||function(e){function t(){}return t.prototype=e,new t},X=e(Object.prototype.hasOwnProperty),Z=Object.keys||function(e){var t=[];for(var n in e)X(e,n)&&t.push(n);return t},ee=e(Object.prototype.toString);q="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var te="From previous event:";u.resolve=u,u.nextTick=$,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=d,u.promise=d,d.race=p,d.all=M,d.reject=E,d.resolve=u,u.passByCopy=function(e){return e},f.prototype.passByCopy=function(){return this},u.join=function(e,t){return u(e).join(t)},f.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=p,f.prototype.race=function(){return this.then(u.race)},u.makePromise=f,f.prototype.toString=function(){return"[object Promise]"},f.prototype.then=function(e,t,n){function i(t){try{return"function"==typeof e?e(t):t}catch(e){return E(e)}}function o(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(),d=!1;return u.nextTick(function(){s.promiseDispatch(function(e){d||(d=!0,l.resolve(i(e)))},"when",[function(e){d||(d=!0,l.resolve(o(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)},f.prototype.tap=function(e){return e=u(e),this.then(function(t){return e.fcall(t).thenResolve(t)})},u.when=h,f.prototype.thenResolve=function(e){return this.then(function(){return e})},u.thenResolve=function(e,t){return u(e).thenResolve(t)},f.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,f.prototype.isPending=function(){return"pending"===this.inspect().state},u.isFulfilled=b,f.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},u.isRejected=_,f.prototype.isRejected=function(){return"rejected"===this.inspect().state};var ne=[],re=[],ie=[],oe=!0;u.resetUnhandledRejections=w,u.getUnhandledReasons=function(){return ne.slice()},u.stopUnhandledRejectionTracking=function(){w(),oe=!1},w(),u.reject=E,u.fulfill=T,u.master=O,u.spread=C,f.prototype.spread=function(e,t){return this.all().then(function(t){return e.apply(void 0,t)},t)},u.async=A,u.spawn=P,u.return=I,u.promised=R,u.dispatch=N,f.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])},f.prototype.get=function(e){return this.dispatch("get",[e])},u.set=function(e,t,n){return u(e).dispatch("set",[t,n])},f.prototype.set=function(e,t){return this.dispatch("set",[e,t])},u.del=u.delete=function(e,t){return u(e).dispatch("delete",[t])},f.prototype.del=f.prototype.delete=function(e){return this.dispatch("delete",[e])},u.mapply=u.post=function(e,t,n){return u(e).dispatch("post",[t,n])},f.prototype.mapply=f.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)])},f.prototype.send=f.prototype.mcall=f.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])},f.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)])},f.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))])}},f.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",[])},f.prototype.keys=function(){return this.dispatch("keys",[])},u.all=M,f.prototype.all=function(){return M(this)},u.any=L,f.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"),f.prototype.allResolved=function(){return D(this)},u.allSettled=F,f.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)},f.prototype.fail=f.prototype.catch=function(e){return this.then(void 0,e)},u.progress=j,f.prototype.progress=function(e){return this.then(void 0,void 0,e)},u.fin=u.finally=function(e,t){return u(e).finally(t)},f.prototype.fin=f.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)},f.prototype.done=function(e,t,n){var i=function(e){u.nextTick(function(){if(r(e,o),!u.onerror)throw e;u.onerror(e)})},o=e||t||n?this.then(e,t,n):this;"object"==typeof process&&process&&process.domain&&(i=process.domain.bind(i)),o.then(void 0,i)},u.timeout=function(e,t,n){return u(e).timeout(t,n)},f.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)},f.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)},f.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)},f.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}},f.prototype.nfbind=f.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 i=n.concat(G(arguments)),o=c();return i.push(o.makeNodeResolver()),u(r).fapply(i).fail(o.reject),o.promise}},f.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)},f.prototype.nmapply=f.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},f.prototype.nsend=f.prototype.nmcall=f.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=U,f.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,i,o=n(1),a=o(n(3));r=[n(0),n(7)],void 0!==(i=function(e,t){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:i,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=i)},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(6)),s=r(n(524)),l=r(n(142)),u=r(n(52)),c=n(213),d=o.View.extend({Header:l.default,Body:a.default,Footer:u.default,className:function(){var e=this.options.appState,t=e.get("currentFormName"),n=e.get("authenticatorType"),r=e.get("authenticatorMethodType"),i=e.get("isPasswordRecoveryFlow");return["siw-main-view"].concat((0,c.getClassNameMapping)(t,n,r,i)).join(" ")},template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div class="siw-main-header"></div><div class="siw-main-body"></div><div class="siw-main-footer"></div>'},useData:!0}),preRender:function(){o.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:Object.assign({},this.options,{model:r,optionUiSchemaConfig:e})}).last(),o._.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 s.default.create(e,t)}});t.default=d},function(e,t,n){var r=n(46);e.exports=function(e){return Object(r(e))}},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(134),n(13),n(7),n(44),n(32),n(435)],void 0!==(i=function(e,t,n,r,i,o,l){var u={},c=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=c(n,"provider")||(null!=t?c(t,"provider"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"provider",hash:{},data:i,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o))+"/"+u((o=null!=(o=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"factorType",hash:{},data:i,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o))},useData:!0}),d=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=c(n,"provider")||(null!=t?c(t,"provider"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"provider",hash:{},data:i,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o))+"/"+u((o=null!=(o=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"factorType",hash:{},data:i,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o))+"/"+u((o=null!=(o=c(n,"factorIndex")||(null!=t?c(t,"factorIndex"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"factorIndex",hash:{},data:i,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):o))},useData:!0}),p=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+e.escapeExpression((o=null!=(o=a(n,"factorType")||(null!=t?a(t,"factorType"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"factorType",hash:{},data:i,loc:{start:{line:1,column:14},end:{line:1,column:28}}}):o))},useData:!0}),f=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=c(n,"provider")||(null!=t?c(t,"provider"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"provider",hash:{},data:i,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):o))+"/"+u((o=null!=(o=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"factorType",hash:{},data:i,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):o))},useData:!0}),h=s.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression((o=null!=(o=a(n,"step")||(null!=t?a(t,"step"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"step",hash:{},data:i,loc:{start:{line:1,column:63},end:{line:1,column:71}}}):o))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll-activate/"+c((s=null!=(s=d(n,"provider")||(null!=t?d(t,"provider"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"provider",hash:{},data:i,loc:{start:{line:1,column:23},end:{line:1,column:35}}}):s))+"/"+c((s=null!=(s=d(n,"factorType")||(null!=t?d(t,"factorType"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"factorType",hash:{},data:i,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):s))+(null!=(o=d(n,"if").call(l,null!=t?d(t,"step"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:50},end:{line:1,column:78}}}))?o:"")},useData:!0}),m=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/recovery/"+e.escapeExpression((o=null!=(o=a(n,"recoveryToken")||(null!=t?a(t,"recoveryToken"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"recoveryToken",hash:{},data:i,loc:{start:{line:1,column:16},end:{line:1,column:33}}}):o))},useData:!0}),g=s.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression((o=null!=(o=a(n,"token")||(null!=t?a(t,"token"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"token",hash:{},data:i,loc:{start:{line:1,column:39},end:{line:1,column:48}}}):o))},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/refresh-auth-state"+(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"token"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:25},end:{line:1,column:55}}}))?o:"")},useData:!0}),v=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,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,o="function"===(0,a.default)(s)?s.call(l,{name:"token",hash:{},data:i,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):s)?o:"")+"&redirectUrl="+(null!=(s=null!=(s=c(n,"redirectUrl")||(null!=t?c(t,"redirectUrl"):t))?s:u,o="function"===(0,a.default)(s)?s.call(l,{name:"redirectUrl",hash:{},data:i,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):s)?o:"")},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?d({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),factorIndex:encodeURIComponent(n)}):e?c({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)}):p({factorType:encodeURIComponent(t)})},u.createEnrollFactorUrl=function(e,t){return f({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&&i.corsIsNotEnabled(a.xhr)?void t.settings.callGlobalError(new o.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,i){switch(i.status){case"SUCCESS":if(i.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:i.sessionToken},n.controller);var o={user:i._embedded.user,type:i.type||r.SESSION_SSO};i.relayState&&(o.relayState=i.relayState);var a=n.settings.get("redirectUtilFn"),s=i._links&&(i._links.original&&i._links.original.href||i._links.next&&i._links.next.href);if(i.type===r.SESSION_STEP_UP){var l=i._links&&i._links.next&&i._links.next.href;o.stepUp={url:l,finish:function(){a(l)}}}else s?o.next=function(){a(s)}:(o.type=r.SESSION_SSO,o.session={token:i.sessionToken,setCookieAndRedirect:function(e){a(v({baseUrl:n.settings.get("baseUrl"),token:encodeURIComponent(i.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,o))}):n.settings.callGlobalSuccess(r.SUCCESS,o));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 d=n.appState.get("factors").getDefaultFactor(),p=u.createVerifyUrl(d.get("provider"),d.get("factorType"));return n.navigate(p,{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 f=u.createActivateFactorUrl(n.appState.get("activatedFactorProvider"),n.appState.get("activatedFactorType"));return void n.navigate(f,{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=i.factorType.toLowerCase()===r.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),m=i.recoveryType===r.RECOVERY_TYPE_PASSWORD,g=i.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: "+i.status)}},u}.apply(t,r))&&(e.exports=i)},function(e,t,n){var r=n(8),i=n(30),o=n(29),a=n(55)("src"),s=n(223),l=(""+s).split("toString");n(18).inspectSource=function(e){return s.call(e)},(e.exports=function(e,t,n,s){var u="function"==typeof n;u&&(o(n,"name")||i(n,"name",t)),e[t]!==n&&(u&&(o(n,a)||i(n,a,e[t]?""+e[t]:l.join(String(t)))),e===r?e[t]=n:s?e[t]?e[t]=n:i(e,t,n):(delete e[t],i(e,t,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||s.call(this)})},function(e,t,n){var r=n(2),i=n(9),o=n(46),a=/"/g,s=function(e,t,n,r){var i=String(o(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(r).replace(a,"&quot;")+'"'),s+">"+i+"</"+t+">"};e.exports=function(e,t){var n={};n[e]=t(s),r(r.P+r.F*i(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}),"String",n)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(21),i=n(54);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(76),i=n(46);e.exports=function(e){return r(i(e))}},function(e,t,n){"use strict";var r,i;r=[n(0),n(7)],void 0!==(i=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 i(e){this.name=t.OAUTH_ERROR,this.message=e}function o(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,i.prototype=new Error,o.prototype=new Error,a.prototype=new Error,s.prototype=new Error,l.prototype=new Error,u.prototype=new Error,{ConfigError:n,UnsupportedBrowserError:r,OAuthError:i,RegistrationError:o,AuthStopPollInitiationError:a,U2FError:s,WebAuthnError:l,WebauthnAbortError:u}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r=n(9);e.exports=function(e,t){return!!e&&r(function(){t?e.call(null,function(){},1):e.call(null)})}},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";Object.defineProperty(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 i=[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=i;var o=[r.SELECT_AUTHENTICATOR_ENROLL,r.SELECT_AUTHENTICATOR_AUTHENTICATE];t.FORMS_WITH_STATIC_BACK_LINK=o;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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(52)),o=n(74),a=i.default.extend({links:function(){return(0,o.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=a},function(e,t,n){var r=n(38);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,i){return e.call(t,n,r,i)}}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(77),i=n(54),o=n(31),a=n(50),s=n(29),l=n(145),u=Object.getOwnPropertyDescriptor;t.f=n(20)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!r.f.call(e,t),e[t])}},function(e,t,n){var r=n(2),i=n(18),o=n(9);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",a)}},function(e,t,n){var r=n(37),i=n(76),o=n(25),a=n(14),s=n(161);e.exports=function(e,t){var n=1==e,l=2==e,u=3==e,c=4==e,d=6==e,p=5==e||d,f=t||s;return function(t,s,h){for(var m,g,v=o(t),y=i(v),b=r(s,h,3),_=a(y.length),w=0,S=n?f(t,_):l?f(t,0):void 0;_>w;w++)if((p||w in y)&&(m=y[w],g=b(m,w,v),e))if(n)S[w]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return w;case 2:S.push(m)}else if(c)return!1;return d?-1:u||c?c:S}}},function(e,t,n){"use strict";function r(e){return d[e]}function i(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 o(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 f.test(e)?e.replace(p,r):e}function s(e){return!e&&0!==e||!(!g(e)||0!==e.length)}function l(e){var t=i({},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=i,t.indexOf=o,t.escapeExpression=a,t.isEmpty=s,t.createFrame=l,t.blockParams=u,t.appendContextPath=c;var d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;","=":"&#x3D;"},p=/[&<>"'`=]/g,f=/[&<>"'`=]/,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;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(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},e.isEdge=function(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1},e.isSafari=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("chrome")},e.isMac=function(){return navigator.platform.toUpperCase().indexOf("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"],t.forEach(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(20)){var r=n(56),i=n(8),o=n(9),a=n(2),s=n(95),l=n(128),u=n(37),c=n(70),d=n(54),p=n(30),f=n(71),h=n(39),m=n(14),g=n(172),v=n(58),y=n(50),b=n(29),_=n(78),w=n(11),S=n(25),x=n(120),E=n(59),T=n(61),k=n(60).f,O=n(122),C=n(55),A=n(12),P=n(42),I=n(85),R=n(79),N=n(124),M=n(68),L=n(88),D=n(69),F=n(123),j=n(163),U=n(21),B=n(40),V=U.f,q=B.f,H=i.RangeError,W=i.TypeError,$=i.Uint8Array,z=Array.prototype,G=l.ArrayBuffer,K=l.DataView,Y=P(0),J=P(2),Q=P(3),X=P(4),Z=P(5),ee=P(6),te=I(!0),ne=I(!1),re=N.values,ie=N.keys,oe=N.entries,ae=z.lastIndexOf,se=z.reduce,le=z.reduceRight,ue=z.join,ce=z.sort,de=z.slice,pe=z.toString,fe=z.toLocaleString,he=A("iterator"),me=A("toStringTag"),ge=C("typed_constructor"),ve=C("def_constructor"),ye=s.CONSTR,be=s.TYPED,_e=s.VIEW,we=P(1,function(e,t){return ke(R(e,e[ve]),t)}),Se=o(function(){return 1===new $(new Uint16Array([1]).buffer)[0]}),xe=!!$&&!!$.prototype.set&&o(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)},Oe=function(e,t){return Ce(R(e,e[ve]),t)},Ce=function(e,t){for(var n=0,r=t.length,i=ke(e,r);r>n;)i[n]=t[n++];return i},Ae=function(e,t,n){V(e,t,{get:function(){return this._d[n]}})},Pe=function(e){var t,n,r,i,o,a,s=S(e),l=arguments.length,c=l>1?arguments[1]:void 0,d=void 0!==c,p=O(s);if(void 0!=p&&!x(p)){for(a=p.call(s),r=[],t=0;!(o=a.next()).done;t++)r.push(o.value);s=r}for(d&&l>2&&(c=u(c,arguments[2],2)),t=0,n=m(s.length),i=ke(this,n);n>t;t++)i[t]=d?c(s[t],t):s[t];return i},Ie=function(){for(var e=0,t=arguments.length,n=ke(this,t);t>e;)n[e]=arguments[e++];return n},Re=!!$&&o(function(){fe.call(new $(1))}),Ne=function(){return fe.apply(Re?de.call(Te(this)):Te(this),arguments)},Me={copyWithin:function(e,t){return j.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 Oe(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),i=0;i<r;)e=t[i],t[i++]=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,i=v(e,r);return new(R(n,n[ve]))(n.buffer,n.byteOffset+i*n.BYTES_PER_ELEMENT,m((void 0===t?r:v(t,r))-i))}},Le=function(e,t){return Oe(this,de.call(Te(this),e,t))},De=function(e){Te(this);var t=Ee(arguments[1],1),n=this.length,r=S(e),i=m(r.length),o=0;if(i+t>n)throw H("Wrong length!");for(;o<i;)this[t+o]=r[o++]},Fe={entries:function(){return oe.call(Te(this))},keys:function(){return ie.call(Te(this))},values:function(){return re.call(Te(this))}},je=function(e,t){return w(e)&&e[be]&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Ue=function(e,t){return je(e,t=y(t,!0))?d(2,e[t]):q(e,t)},Be=function(e,t,n){return!(je(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?V(e,t,n):(e[t]=n.value,e)};ye||(B.f=Ue,U.f=Be),a(a.S+a.F*!ye,"Object",{getOwnPropertyDescriptor:Ue,defineProperty:Be}),o(function(){pe.call({})})&&(pe=fe=function(){return ue.call(this)});var Ve=f({},Me);f(Ve,Fe),p(Ve,he,Fe.values),f(Ve,{slice:Le,set:De,constructor:function(){},toString:pe,toLocaleString:Ne}),Ae(Ve,"buffer","b"),Ae(Ve,"byteOffset","o"),Ae(Ve,"byteLength","l"),Ae(Ve,"length","e"),V(Ve,me,{get:function(){return this[be]}}),e.exports=function(e,t,n,l){l=!!l;var u=e+(l?"Clamped":"")+"Array",d="get"+e,f="set"+e,h=i[u],v=h||{},y=h&&T(h),b=!h||!s.ABV,S={},x=h&&h.prototype,O=function(e,n){var r=e._d;return r.v[d](n*t+r.o,Se)},C=function(e,n,r){var i=e._d;l&&(r=(r=Math.round(r))<0?0:r>255?255:255&r),i.v[f](n*t+i.o,r,Se)},A=function(e,t){V(e,t,{get:function(){return O(this,t)},set:function(e){return C(this,t,e)},enumerable:!0})};b?(h=n(function(e,n,r,i){c(e,h,u,"_d");var o,a,s,l,d=0,f=0;if(w(n)){if(!(n instanceof G||"ArrayBuffer"==(l=_(n))||"SharedArrayBuffer"==l))return be in n?Ce(h,n):Pe.call(h,n);o=n,f=Ee(r,t);var v=n.byteLength;if(void 0===i){if(v%t)throw H("Wrong length!");if((a=v-f)<0)throw H("Wrong length!")}else if((a=m(i)*t)+f>v)throw H("Wrong length!");s=a/t}else s=g(n),a=s*t,o=new G(a);for(p(e,"_d",{b:o,o:f,l:a,e:s,v:new K(o)});d<s;)A(e,d++)}),x=h.prototype=E(Ve),p(x,"constructor",h)):o(function(){h(1)})&&o(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,i){c(e,h,u);var o;return w(n)?n instanceof G||"ArrayBuffer"==(o=_(n))||"SharedArrayBuffer"==o?void 0!==i?new v(n,Ee(r,t),i):void 0!==r?new v(n,Ee(r,t)):new v(n):be in n?Ce(h,n):Pe.call(h,n):new v(g(n))}),Y(y!==Function.prototype?k(v).concat(k(y)):k(v),function(e){e in h||p(h,e,v[e])}),h.prototype=x,r||(x.constructor=h));var P=x[he],I=!!P&&("values"==P.name||void 0==P.name),R=Fe.values;p(h,ge,!0),p(x,be,u),p(x,_e,!0),p(x,ve,h),(l?new h(1)[me]==u:me in x)||V(x,me,{get:function(){return u}}),S[u]=h,a(a.G+a.W+a.F*(h!=v),S),a(a.S,u,{BYTES_PER_ELEMENT:t}),a(a.S+a.F*o(function(){v.of.call(h,1)}),u,{from:Pe,of:Ie}),"BYTES_PER_ELEMENT"in x||p(x,"BYTES_PER_ELEMENT",t),a(a.P,u,Me),D(u),a(a.P+a.F*xe,u,{set:De}),a(a.P+a.F*!I,u,Fe),r||x.toString==pe||(x.toString=pe),a(a.P+a.F*o(function(){new h(1).slice()}),u,{slice:Le}),a(a.P+a.F*(o(function(){return[1,2].toLocaleString()!=new h([1,2]).toLocaleString()})||!o(function(){x.toLocaleString.call([1,2])})),u,{toLocaleString:Ne}),M[u]=I?P:R,r||I||p(x,he,R)}}else e.exports=function(){}},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(7)],void 0!==(i=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,i){var o,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((o=null!=(o=c(n,"linkClassName")||(null!=t?c(t,"linkClassName"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"linkClassName",hash:{},data:i,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):o))+'" data-se="signout-link">'+u((o=null!=(o=c(n,"linkText")||(null!=t?c(t,"linkText"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"linkText",hash:{},data:i,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):o))+"</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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){var t=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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,o="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:i,loc:{start:{line:1,column:47},end:{line:1,column:60}}}):a)?o:"")+"</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=i)},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(55)("meta"),i=n(11),o=n(29),a=n(21).f,s=0,l=Object.isExtensible||function(){return!0},u=!n(9)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++s,w:{}}})},d=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[r].i},p=function(e,t){if(!o(e,r)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[r].w},f=function(e){return u&&h.NEED&&l(e)&&!o(e,r)&&c(e),e},h=e.exports={KEY:r,NEED:!1,fastKey:d,getWeak:p,onFreeze:f}},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(212)),a=n(74),s=i.View.extend({className:"auth-footer",links:[],initialize:function(){var e=this,t=i._.resultCtx(this,"links",this);t=Array.isArray(t)?t.filter(function(e){return i.$.isPlainObject(e)}):[],this.options.appState.shouldShowSignOutLinkInCurrentForm(this.options.settings.get("features.hideSignOutLinkInMFA"))&&(t=t.concat((0,a.getSignOutLink)(this.options.settings))),t.forEach(function(t){e.add(o.default,{options:t})})}});t.default=s},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(52)),o=n(74),a=i.default.extend({links:function(){return(0,o.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(147),i=n(107);e.exports=Object.keys||function(e){return r(e,i)}},function(e,t,n){var r=n(39),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},function(e,t,n){var r=n(10),i=n(148),o=n(107),a=n(106)("IE_PROTO"),s=function(){},l=function(){var e,t=n(104)("iframe"),r=o.length;for(t.style.display="none",n(108).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[o[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:i(n,t)}},function(e,t,n){var r=n(147),i=n(107).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},function(e,t,n){var r=n(29),i=n(25),o=n(106)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){var r=n(12)("unscopables"),i=Array.prototype;void 0==i[r]&&n(30)(i,r,{}),e.exports=function(e){i[r][e]=!0}},function(e,t,n){var r=n(11);e.exports=function(e,t){if(!r(e)||e._t!==t)throw TypeError("Incompatible receiver, "+t+" required!");return e}},function(e,t,n){"use strict";function r(e,t){var n=t&&t.loc,o=void 0,a=void 0,s=void 0,l=void 0;n&&(o=n.start.line,a=n.end.line,s=n.start.column,l=n.end.column,e+=" - "+o+":"+s);for(var u=Error.prototype.constructor.call(this,e),c=0;c<i.length;c++)this[i[c]]=u[i[c]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{n&&(this.lineNumber=o,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 i=["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,i;r=[n(0),n(22),n(139)],void 0!==(i=function(e,t,n){function r(e){return new t(e)}function i(e,t,n){return t=t.map(function(e){return{type:"FIDO_2_0",algorithm:e.algorithm}}),r(window.msCredentials.makeCredential(e,t,n).then(function(e){return Object.freeze({credential:{id:e.id},publicKey:JSON.parse(e.publicKey),attestation:e.attestation})}))}function o(e,t){var n=t.map(function(e){return{type:"FIDO_2_0",id:e.id}}),i={accept:n};return r(window.msCredentials.getAssertion(e,i).then(function(e){var t=e.signature;return Object.freeze({credential:{id:e.id},clientData:t.clientData,authenticatorData:t.authnrData,signature:t.signature})}))}return{makeCredential:i,getAssertion:o,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=i)},function(e,t,n){var r=n(21).f,i=n(29),o=n(12)("toStringTag");e.exports=function(e,t,n){e&&!i(e=n?e:e.prototype,o)&&r(e,o,{configurable:!0,value:t})}},function(e,t,n){var r=n(2),i=n(46),o=n(9),a=n(110),s="["+a+"]",l="​…",u=RegExp("^"+s+s+"*"),c=RegExp(s+s+"*$"),d=function(e,t,n){var i={},s=o(function(){return!!a[e]()||l[e]()!=l}),u=i[e]=s?t(p):a[e];n&&(i[n]=u),r(r.P+r.F*s,"String",i)},p=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(u,"")),2&t&&(e=e.replace(c,"")),e};e.exports=d},function(e,t){e.exports={}},function(e,t,n){"use strict";var r=n(8),i=n(21),o=n(20),a=n(12)("species");e.exports=function(e){var t=r[e];o&&t&&!t[a]&&i.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(27);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(421));r=[n(97),n(132),n(22),n(422),n(423),n(34),n(133),n(44)],void 0!==(i=function(e,t,n,r,i,o,s,l){function u(e){if(!e)return{};var n={};return t.each(t.keys(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 c(){var e=JSON.parse(localStorage.getItem(h));return e&&e.version===s.version||(e={version:s.version}),e}function d(e,t,n){var r=c();r[e]={login:t,country:n},localStorage.setItem(h,JSON.stringify(r))}function p(e,t,n){var r,i;r=t.replace("-","_"),i=n.rewrite(encodeURI("/labels/json/".concat(e,"_").concat(r,".json")));var o={Accept:"application/json","Content-Type":"text/plain"};return(0,a.default)(n.baseUrl+i,{method:"GET",headers:o,mode:"no-cors"}).then(function(e){return e.text()}).then(function(e){return JSON.parse(e)})}function f(e,r){if("en"===e||!t.contains(s.supportedLanguages,e))return n({});var i=!l.localStorageIsNotSupported();if(i){var o=c();if(o[e])return n(o[e])}return n.all([p("login",e,r),p("country",e,r)]).spread(function(t,n){return i&&d(e,t,n),{login:t,country:n}}).catch(function(){return{}})}var h="osw.languages";return{login:r,country:i,courage:r,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:function(e,n,o){var a=u(n),s=e.toLowerCase();return f(e,o).then(t.bind(function(n){this.login=t.extend({},r,n.login),this.country=t.extend({},i,n.country),this.courage=t.extend({},r,n.login),a[s]&&(t.extend(this.login,a[s].login),t.extend(this.country,a[s].country),t.extend(this.courage,a[s].login)),this.currentLanguage=e},this))}}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(22)],void 0!==(i=function(e,t){function n(t){return r.find(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=r.bind(function(e){this.options.appState.set("transaction",e)},this),n=r.bind(function(e){this.options.appState.set("transactionError",e)},this);this.listenTo(e,"setTransaction",t),this.listenTo(e,"setTransactionError",n);var i=e.get("backupFactor");i&&(this.listenTo(i,"setTransaction",t),this.listenTo(i,"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){this.$el.find(".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=i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSwitchOVEnrollChannelLink=t.getSignOutLink=t.goBackLink=t.getForgotPasswordLink=t.getSwitchAuthenticatorLink=void 0;var r=n(0),i=n(35),o=function(e){return e.hasRemediationObject("select-factor-authenticate")?[{type:"link",label:(0,r.loc)("mfa.switch","login"),name:"switchFactor",formName:"select-factor-authenticate"}]:e.hasRemediationObject(i.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE)?[{type:"link",label:(0,r.loc)("oie.verification.switch.authenticator","login"),name:"switchAuthenticator",formName:i.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE}]:e.hasRemediationObject(i.FORMS.SELECT_AUTHENTICATOR_ENROLL)?[{type:"link",label:(0,r.loc)("oie.enroll.switch.authenticator","login"),name:"switchAuthenticator",formName:i.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.getSwitchAuthenticatorLink=o;var a=function(e,t){var n={type:"link",label:(0,r.loc)("forgotpassword","login"),name:"forgot-password"},i=t.get("helpLinks.forgotPassword");return i?[Object.assign({},{href:i,label:(0,r.loc)("forgotpassword","login"),name:"forgot-password"})]:e.getActionByPath("currentAuthenticator-recover")?[Object.assign({},n,{actionPath:"currentAuthenticator-recover"})]:e.getActionByPath("currentAuthenticatorEnrollment-recover")?[Object.assign({},n,{actionPath:"currentAuthenticatorEnrollment-recover"})]:[]};t.getForgotPasswordLink=a;var s=function(e){return e.hasRemediationObject(i.FORMS.SELECT_AUTHENTICATOR_ENROLL)?[{type:"link",label:(0,r.loc)("oie.go.back","login"),name:"go-back",formName:i.FORMS.SELECT_AUTHENTICATOR_ENROLL}]:[]};t.goBackLink=s;var l=function(e){return e&&e.get("signOutLink")?[{label:(0,r.loc)("signout","login"),name:"cancel",href:e.get("signOutLink")}]:[{actionPath:"cancel",label:(0,r.loc)("signout","login"),name:"cancel",type:"link"}]};t.getSignOutLink=l;var u=function(e){if(e.hasRemediationObject(i.FORMS.SELECT_ENROLLMENT_CHANNEL))return{type:"link",label:(0,r.loc)("oie.enroll.okta_verify.qrcode.cannotScan","login"),name:"switch-channel",formName:i.FORMS.SELECT_ENROLLMENT_CHANNEL}};t.getSwitchOVEnrollChannelLink=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i={startPolling:function(){this.options.currentViewState.refresh?this._startRemediationPolling():this._startAuthenticatorPolling()},_startAuthenticatorPolling:function(){var e=this;["currentAuthenticator","currentAuthenticatorEnrollment","factor"].some(function(t){if(e.options.appState.has(t)){var n=e.options.appState.get(t),i="".concat(t,"-poll"),o=n&&n.poll&&n.poll.refresh;return r._.isNumber(o)&&(e.polling=setInterval(function(){e.options.appState.trigger("invokeAction",i)},o)),!0}return!1})},_startRemediationPolling:function(){var e=this,t=this.options.currentViewState.refresh;r._.isNumber(t)&&(this.polling=setInterval(function(){e.options.appState.trigger("saveForm",e.model)},t))},stopPolling:function(){this.polling&&clearInterval(this.polling)}};t.default=i},function(e,t,n){var r=n(45);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(45),i=n(12)("toStringTag"),o="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),i))?n:o?r(t):"Object"==(s=r(t))&&"function"==typeof t.callee?"Arguments":s}},function(e,t,n){var r=n(10),i=n(38),o=n(12)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||void 0==(n=r(a)[o])?t:i(n)}},function(e,t){function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=n},function(e,t,n){"use strict";var r,i;r=[n(0),n(22),n(7)],void 0!==(i=function(e,t,n){var r=e._,i=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"];return e.Model.extend({doTransaction:function(e,t){var o=this;return e.call(this,this.appState.get("transaction")).then(function(e){return o.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&&(o.trigger("error",o,e.xhr),o.trigger("setTransactionError",e),t||-1===r.indexOf(i,e.name)))throw e})},manageTransaction:function(e){var i=this,o=e.call(this,this.appState.get("transaction"),r.bind(this.setTransaction,this));return t.isPromiseAlike(o)?o.catch(function(e){"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.resolve(o)},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=i)},function(e,t,n){"use strict";var r;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){return btoa(new Uint8Array(e).reduce(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,i;r=[n(0)],void 0!==(i=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 i={};return i[n]=r,i}},t.validatePasswordMatch=function(n){return t.validateFieldsMatch(n,"newPassword","confirmPassword",e.loc("password.error.match","login"))},t}.apply(t,r))&&(e.exports=i)},function(e,t,n){var r=n(18),i=n(8),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(56)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(31),i=n(14),o=n(58);e.exports=function(e){return function(t,n,a){var s,l=r(t),u=i(l.length),c=o(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(45);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(12)("iterator"),i=!1;try{var o=[7][r]();o.return=function(){i=!0},Array.from(o,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var n=!1;try{var o=[7],a=o[r]();a.next=function(){return{done:n=!0}},o[r]=function(){return a},e(o)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(10);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(78),i=RegExp.prototype.exec;e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var o=n.call(e,t);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(e))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},function(e,t,n){"use strict";n(165);var r=n(27),i=n(30),o=n(9),a=n(46),s=n(12),l=n(125),u=s("species"),c=!o(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),d=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 p=s(e),f=!o(function(){var t={};return t[p]=function(){return 7},7!=""[e](t)}),h=f?!o(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[p](""),!t}):void 0;if(!f||!h||"replace"===e&&!c||"split"===e&&!d){var m=/./[p],g=n(a,p,""[e],function(e,t,n,r,i){return t.exec===l?f&&!i?{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),i(RegExp.prototype,p,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(37),i=n(160),o=n(120),a=n(10),s=n(14),l=n(122),u={},c={},t=e.exports=function(e,t,n,d,p){var f,h,m,g,v=p?function(){return e}:l(e),y=r(n,d,t?2:1),b=0;if("function"!=typeof v)throw TypeError(e+" is not iterable!");if(o(v)){for(f=s(e.length);f>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=i(m,y,h.value,t))===u||g===c)return g};t.BREAK=u,t.RETURN=c},function(e,t,n){var r=n(8),i=r.navigator;e.exports=i&&i.userAgent||""},function(e,t,n){"use strict";var r=n(8),i=n(2),o=n(27),a=n(71),s=n(51),l=n(92),u=n(70),c=n(11),d=n(9),p=n(88),f=n(66),h=n(111);e.exports=function(e,t,n,m,g,v){var y=r[e],b=y,_=g?"set":"add",w=b&&b.prototype,S={},x=function(e){var t=w[e];o(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&&!d(function(){(new b).entries().next()}))){var E=new b,T=E[_](v?{}:-0,1)!=E,k=d(function(){E.has(1)}),O=p(function(e){new b(e)}),C=!v&&d(function(){for(var e=new b,t=5;t--;)e[_](t,t);return!e.has(-0)});O||(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||C)&&(x("delete"),x("has"),g&&x("get")),(C||T)&&x(_),v&&w.clear&&delete w.clear}else b=m.getConstructor(t,e,g,_),a(b.prototype,n),s.NEED=!0;return f(b,e),S[e]=b,i(i.G+i.W+i.F*(b!=y),S),v||m.setStrong(b,e,g),b}},function(e,t,n){for(var r,i=n(8),o=n(30),a=n(55),s=a("typed_array"),l=a("view"),u=!(!i.ArrayBuffer||!i.DataView),c=u,d=0,p="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");d<9;)(r=i[p[d++]])?(o(r.prototype,s,!0),o(r.prototype,l,!0)):c=!1;e.exports={ABV:u,CONSTR:c,TYPED:s,VIEW:l}},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(t,n){t.exports=e},function(e,t,n){"use strict";var r,i;r=[n(22),n(7)],void 0!==(i=function(e,t){function n(t,n,r){var i=e.defer();return t.animate({"text-indent":1},{duration:200,easing:"swing",step:function(e,i){i.start=n,i.end=r,t.css("transform","scale("+e+", "+e+")")},always:function(){i.resolve(t)}}),i.promise}function r(t,n,r){var i=e.defer();return t.animate({"text-indent":1},{duration:150,easing:"swing",step:function(e,i){i.start=n,i.end=r,t.css("transform","rotate("+e+"deg)")},always:function(){i.resolve(t)}}),i.promise}var i={};return i.swapPages=function(n){var r=e.defer(),i=n.$parent,o=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),i.append(a),i.addClass("animation-container-overflow"),a.animate({left:"0px",top:"0px",opacity:1},200,function(){i.removeClass("animation-container-overflow"),a.removeClass(u),a.removeAttr("style"),s.call(l),r.resolve()}),o.animate({height:a.height(),opacity:0},160),r.promise},i.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)},i.explode=function(e){return n(e,0,1)},i.implode=function(e){return n(e,1,0)},i.radialProgressBar=function(e){var t=e.$el,n=e.swap,i=t.children();return r(i,0,180).then(function(){t.css({clip:"auto"})}).then(function(){var e=i.eq(0);return n(),r(e,180,360)}).then(function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),i.css({transform:"rotate(0deg)","text-indent":"1px"})})},i}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(22),n(19),n(13),n(32),n(81)],void 0!==(i=function(e,t,n,r,i,o){var a=e._,s=o.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 a.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 a.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,i=a.findWhere(n._embedded.features,{type:"adoption"});return!(!i||!i.cardinality)&&{enrolled:r,minimum:i.cardinality.min,maximum:i.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&&a.contains(["push","sms","call","email"],t)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return a.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),a.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(o,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"===o.status||"FACTOR_REQUIRED"===o.status||this.appState.get("promptForFactorInUnauthenticated")){l=this._findFactor(o).verify(s)}else if(this.get("canUseResend")&&!this.get("answer")&&o.resend){var u=o.data._links.resend[0];l=o.resend(u.name)}else l=o.verify(s);return this.trigger("save"),l.then(function(e){var o={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 i.AuthStopPollInitiationError)}),s.promise.then(function(){return n.stopListening(n.options.appState,"factorSwitched"),n.pushFactorHasAutoPush()&&(o.autoPush=function(){return n.get("autoPush")},o.rememberDevice=function(){return n.get("rememberDevice")}),e.poll(o).then(function(e){n.options.appState.set("lastAuthResponse",e.data),a(e)})})}})})},_findFactor:function(e){var t;return e.factorTypes&&(t=a.findWhere(e.factorTypes,{factorType:this.get("factorType")})),t||(t=a.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=e.profiles.filter(function(e){return e._embedded.enrolledFactors.length>0});e.vendorName=t[0].name}return e}}),l=e.Collection.extend({model:s,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];var t,n=a.findWhere(e,{provider:"OKTA",factorType:"push"});if(t=a.where(e,{factorType:"push"}).length>1?a.findWhere(e,{factorType:"token:software:totp"}):a.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;var r=t===e[0],i=a.reduce(e,function(e,r){var i="OKTA"===r.provider,o=i&&"token:software:totp"===r.factorType,a=i&&"push"===r.factorType,l="ACTIVE"!==r.status,u=o&&(l||"ACTIVE"===n.status),c=a&&l&&"ACTIVE"===t.status;return u||c?e:(a&&(r.backupFactor=new s(t,{parse:!0})),e.push(r),e)},[]);return r&&(this.lastUsedFactor=n),i},getDefaultFactor:function(){var e=a.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){return this._getFactorsOfType(e).findIndex(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:s,Collection:l}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(22),n(0)],void 0!==(i=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 i(){u.off(),u.remove(),window.removeEventListener("message",a,!1)}function o(e){i(),d.reject(e)}function a(e){if(p.isMessageFromCorrectSource(u,e)){if(clearTimeout(c),!e||!e.data||e.origin!==t)return void o("no data");try{var n=JSON.parse(e.data);n&&"FingerprintServiceReady"===n.type?s({type:"GetFingerprint"}):n&&"FingerprintAvailable"===n.type?(i(),d.resolve(n.fingerprint)):o("no data")}catch(e){}}}function s(e){var n=u[0].contentWindow;n&&n.postMessage(JSON.stringify(e),t)}var l=this.getUserAgent();if(!l)return e.reject("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(l))return e.reject("device fingerprint is not supported on Windows phones");var u,c,d=e.defer(),p=this;return window.addEventListener("message",a,!1),u=n("<iframe>",{style:"display: none;",src:t+"/auth/services/devicefingerprint"}),r.append(u),c=setTimeout(function(){o("service not available")},2e3),d.promise}}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(72),n(467)],void 0!==(i=function(e,t,n){var r=e._,i={};return i.getCountries=function(){var e=r.omit(t.country,"HM","BV","TF"),n=r.map(e,function(e,t){return{name:e,code:t}});n=r.sortBy(n,"name");var i={};return r.each(n,function(e){i[e.code]=e.name}),i},i.getCallingCodeForCountry=function(e){return n[e]},i}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(24)),s=r(n(6)),l=r(n(17)),u=n(141),c=r(n(53)),d=s.default.extend({title:function(){return(0,o.loc)("oie.password.enroll.title","login")},save:function(){return(0,o.loc)("oform.next","login")},initialize:function(){s.default.prototype.initialize.apply(this,arguments);var e=this.getPasswordPolicySettings();this.displayPasswordPolicy(e)},displayPasswordPolicy:function(e){if(e){var t=(0,u.getPasswordComplexityDescriptionForHtmlList)(e);this.add(o.View.extend({tagName:"section",template:i.default.template({1:function(e,t,n,r,i){return"<li>"+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:45},end:{line:1,column:115}}}))+'</div><ul class="password-authenticator--list">'+(null!=(o=s(n,"each").call(a,null!=t?s(t,"rulesList"):t,{name:"each",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:162},end:{line:1,column:207}}}))?o:"")+"</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(){return s.default.prototype.getUISchema.apply(this,arguments).concat([{name:"confirmPassword",label:(0,o.loc)("oie.password.confirmPasswordLabel","login"),type:"password","label-top":!0,params:{showPasswordToggle:!0}}])}}),p=l.default.extend({Body:d,Footer:c.default,createModelClass:function(){var e=a.default.prototype.createModelClass.apply(this,arguments),t=Object.assign({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,o.loc)("password.error.match","login")}}return null}})}});t.default=p},function(e,t,n){"use strict";Object.defineProperty(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(11),i=n(8).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){t.f=n(12)},function(e,t,n){var r=n(84)("keys"),i=n(55);e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(8).document;e.exports=r&&r.documentElement},function(e,t,n){var r=n(11),i=n(10),o=function(e,t){if(i(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(37)(Function.call,n(40).f(Object.prototype,"__proto__").set,2),r(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return o(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:o}},function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(e,t,n){var r=n(11),i=n(109).set;e.exports=function(e,t,n){var o,a=t.constructor;return a!==n&&"function"==typeof a&&(o=a.prototype)!==n.prototype&&r(o)&&i&&i(e,o),e}},function(e,t,n){"use strict";var r=n(39),i=n(46);e.exports=function(e){var t=String(i(this)),n="",o=r(e);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(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(39),i=n(46);e.exports=function(e){return function(t,n){var o,a,s=String(i(t)),l=r(n),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l),o<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536)}}},function(e,t,n){"use strict";var r=n(56),i=n(2),o=n(27),a=n(30),s=n(68),l=n(159),u=n(66),c=n(61),d=n(12)("iterator"),p=!([].keys&&"next"in[].keys()),f=function(){return this};e.exports=function(e,t,n,h,m,g,v){l(n,t,h);var y,b,_,w=function(e){if(!p&&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)}},S=t+" Iterator",x="values"==m,E=!1,T=e.prototype,k=T[d]||T["@@iterator"]||m&&T[m],O=k||w(m),C=m?x?w("entries"):O:void 0,A="Array"==t?T.entries||k:k;if(A&&(_=c(A.call(new e)))!==Object.prototype&&_.next&&(u(_,S,!0),r||"function"==typeof _[d]||a(_,d,f)),x&&k&&"values"!==k.name&&(E=!0,O=function(){return k.call(this)}),r&&!v||!p&&!E&&T[d]||a(T,d,O),s[t]=O,s[S]=f,m)if(y={values:x?O:w("values"),keys:g?O:w("keys"),entries:C},v)for(b in y)b in T||o(T,b,y[b]);else i(i.P+i.F*(p||E),t,y);return y}},function(e,t,n){var r=n(118),i=n(46);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(e))}},function(e,t,n){var r=n(11),i=n(45),o=n(12)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},function(e,t,n){var r=n(12)("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(68),i=n(12)("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||o[i]===e)}},function(e,t,n){"use strict";var r=n(21),i=n(54);e.exports=function(e,t,n){t in e?r.f(e,t,i(0,n)):e[t]=n}},function(e,t,n){var r=n(78),i=n(12)("iterator"),o=n(68);e.exports=n(18).getIteratorMethod=function(e){if(void 0!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){"use strict";var r=n(25),i=n(58),o=n(14);e.exports=function(e){for(var t=r(this),n=o(t.length),a=arguments.length,s=i(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,u=void 0===l?n:i(l,n);u>s;)t[s++]=e;return t}},function(e,t,n){"use strict";var r=n(62),i=n(164),o=n(68),a=n(31);e.exports=n(116)(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,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(e,t,n){"use strict";var r=n(89),i=RegExp.prototype.exec,o=String.prototype.replace,a=i,s=function(){var e=/a/,t=/b*/g;return i.call(e,"a"),i.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=i.call(c,e),s&&a&&(c.lastIndex=c.global?a.index+a[0].length:t),l&&a&&a.length>1&&o.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(115)(!0);e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r,i,o,a=n(37),s=n(153),l=n(108),u=n(104),c=n(8),d=c.process,p=c.setImmediate,f=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)};p&&f||(p=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},f=function(e){delete v[e]},"process"==n(45)(d)?r=function(e){d.nextTick(a(y,e,1))}:m&&m.now?r=function(e){m.now(a(y,e,1))}:h?(i=new h,o=i.port2,i.port1.onmessage=b,r=a(o.postMessage,o,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:p,clear:f}},function(e,t,n){"use strict";function r(e,t,n){var r,i,o,a=new Array(n),s=8*n-t-1,l=(1<<s)-1,u=l>>1,c=23===t?j(2,-24)-j(2,-77):0,d=0,p=e<0||0===e&&1/e<0?1:0;for(e=F(e),e!=e||e===L?(i=e!=e?1:0,r=l):(r=U(B(e)/V),e*(o=j(2,-r))<1&&(r--,o*=2),e+=r+u>=1?c/o:c*j(2,1-u),e*o>=2&&(r++,o/=2),r+u>=l?(i=0,r=l):r+u>=1?(i=(e*o-1)*j(2,t),r+=u):(i=e*j(2,u-1)*j(2,t),r=0));t>=8;a[d++]=255&i,i/=256,t-=8);for(r=r<<t|i,s+=t;s>0;a[d++]=255&r,r/=256,s-=8);return a[--d]|=128*p,a}function i(e,t,n){var r,i=8*n-t-1,o=(1<<i)-1,a=o>>1,s=i-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===o)return r?NaN:u?-L:L;r+=j(2,t),c-=a}return(u?-1:1)*r*j(2,c-t)}function o(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 d(e,t,n){k(e[A],t,{get:function(){return this[n]}})}function p(e,t,n,r){var i=+n,o=E(i);if(o+t>e[H])throw M(P);var a=e[q]._b,s=o+e[W],l=a.slice(s,s+t);return r?l:l.reverse()}function f(e,t,n,r,i,o){var a=+n,s=E(a);if(s+t>e[H])throw M(P);for(var l=e[q]._b,u=s+e[W],c=r(+i),d=0;d<t;d++)l[u+d]=c[o?d:t-d-1]}var h=n(8),m=n(20),g=n(56),v=n(95),y=n(30),b=n(71),_=n(9),w=n(70),S=n(39),x=n(14),E=n(172),T=n(60).f,k=n(21).f,O=n(123),C=n(66),A="prototype",P="Wrong index!",I=h.ArrayBuffer,R=h.DataView,N=h.Math,M=h.RangeError,L=h.Infinity,D=I,F=N.abs,j=N.pow,U=N.floor,B=N.log,V=N.LN2,q=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=O.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],i=S(t);if(i<0||i>r)throw M("Wrong offset!");if(n=void 0===n?r-i:x(n),i+n>r)throw M("Wrong length!");this[q]=e,this[W]=i,this[H]=n},m&&(d(I,"byteLength","_l"),d(R,"buffer","_b"),d(R,"byteLength","_l"),d(R,"byteOffset","_o")),b(R[A],{getInt8:function(e){return p(this,1,e)[0]<<24>>24},getUint8:function(e){return p(this,1,e)[0]},getInt16:function(e){var t=p(this,2,e,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=p(this,2,e,arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return o(p(this,4,e,arguments[1]))},getUint32:function(e){return o(p(this,4,e,arguments[1]))>>>0},getFloat32:function(e){return i(p(this,4,e,arguments[1]),23,4)},getFloat64:function(e){return i(p(this,8,e,arguments[1]),52,8)},setInt8:function(e,t){f(this,1,e,a,t)},setUint8:function(e,t){f(this,1,e,a,t)},setInt16:function(e,t){f(this,2,e,s,t,arguments[2])},setUint16:function(e,t){f(this,2,e,s,t,arguments[2])},setInt32:function(e,t){f(this,4,e,l,t,arguments[2])},setUint32:function(e,t){f(this,4,e,l,t,arguments[2])},setFloat32:function(e,t){f(this,4,e,c,t,arguments[2])},setFloat64:function(e,t){f(this,8,e,u,t,arguments[2])}});C(I,"ArrayBuffer"),C(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(178)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,n){var r,i;//     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,i,o,a){for(;o>=0&&o<a;o+=e){var s=i?i[o]:o;r=n(r,t[s],s,t)}return r}return function(n,r,i,o){r=x(r,o,4);var a=!P(n)&&S.keys(n),s=(a||n).length,l=e>0?0:s-1;return arguments.length<3&&(i=n[a?a[l]:l],l+=e),t(n,r,i,a,l,s)}}function o(e){return function(t,n,r){n=E(n,r);for(var i=A(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}}function a(e,t,n){return function(r,i,o){var a=0,s=A(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(h.call(r,a,s),S.isNaN),o>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;return-1}}function s(e,t){var n=L.length,r=e.constructor,i=S.isFunction(r)&&r.prototype||d,o="constructor";for(S.has(e,o)&&!S.contains(t,o)&&t.push(o);n--;)(o=L[n])in e&&e[o]!==i[o]&&!S.contains(t,o)&&t.push(o)}var l=this,u=l._,c=Array.prototype,d=Object.prototype,p=Function.prototype,f=c.push,h=c.slice,m=d.toString,g=d.hasOwnProperty,v=Array.isArray,y=Object.keys,b=p.bind,_=Object.create,w=function(){},S=function(e){return e instanceof S?e:this instanceof S?void(this._wrapped=e):new S(e)};void 0!==e&&e.exports&&(t=e.exports=S),t._=S,S.VERSION="1.8.3";var x=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,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}},E=function(e,t,n){return null==e?S.identity:S.isFunction(e)?x(e,t,n):S.isObject(e)?S.matcher(e):S.property(e)};S.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 i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=o[u])}return n}},k=function(e){if(!S.isObject(e))return{};if(_)return _(e);w.prototype=e;var t=new w;return w.prototype=null,t},O=function(e){return function(t){return null==t?void 0:t[e]}},C=Math.pow(2,53)-1,A=O("length"),P=function(e){var t=A(e);return"number"==typeof t&&t>=0&&t<=C};S.each=S.forEach=function(e,t,n){t=x(t,n);var r,i;if(P(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=S.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},S.map=S.collect=function(e,t,n){t=E(t,n);for(var r=!P(e)&&S.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o},S.reduce=S.foldl=S.inject=n(1),S.reduceRight=S.foldr=n(-1),S.find=S.detect=function(e,t,n){var r;if(void 0!==(r=P(e)?S.findIndex(e,t,n):S.findKey(e,t,n))&&-1!==r)return e[r]},S.filter=S.select=function(e,t,n){var r=[];return t=E(t,n),S.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r},S.reject=function(e,t,n){return S.filter(e,S.negate(E(t)),n)},S.every=S.all=function(e,t,n){t=E(t,n);for(var r=!P(e)&&S.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(!t(e[a],a,e))return!1}return!0},S.some=S.any=function(e,t,n){t=E(t,n);for(var r=!P(e)&&S.keys(e),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;if(t(e[a],a,e))return!0}return!1},S.contains=S.includes=S.include=function(e,t,n,r){return P(e)||(e=S.values(e)),("number"!=typeof n||r)&&(n=0),S.indexOf(e,t,n)>=0},S.invoke=function(e,t){var n=h.call(arguments,2),r=S.isFunction(t);return S.map(e,function(e){var i=r?t:e[t];return null==i?i:i.apply(e,n)})},S.pluck=function(e,t){return S.map(e,S.property(t))},S.where=function(e,t){return S.filter(e,S.matcher(t))},S.findWhere=function(e,t){return S.find(e,S.matcher(t))},S.max=function(e,t,n){var r,i,o=-1/0,a=-1/0;if(null==t&&null!=e){e=P(e)?e:S.values(e);for(var s=0,l=e.length;s<l;s++)(r=e[s])>o&&(o=r)}else t=E(t,n),S.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},S.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=P(e)?e:S.values(e);for(var s=0,l=e.length;s<l;s++)(r=e[s])<o&&(o=r)}else t=E(t,n),S.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},S.shuffle=function(e){for(var t,n=P(e)?e:S.values(e),r=n.length,i=Array(r),o=0;o<r;o++)t=S.random(0,o),t!==o&&(i[o]=i[t]),i[t]=n[o];return i},S.sample=function(e,t,n){return null==t||n?(P(e)||(e=S.values(e)),e[S.random(e.length-1)]):S.shuffle(e).slice(0,Math.max(0,t))},S.sortBy=function(e,t,n){return t=E(t,n),S.pluck(S.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 i={};return n=E(n,r),S.each(t,function(r,o){var a=n(r,o,t);e(i,r,a)}),i}};S.groupBy=I(function(e,t,n){S.has(e,n)?e[n].push(t):e[n]=[t]}),S.indexBy=I(function(e,t,n){e[n]=t}),S.countBy=I(function(e,t,n){S.has(e,n)?e[n]++:e[n]=1}),S.toArray=function(e){return e?S.isArray(e)?h.call(e):P(e)?S.map(e,S.identity):S.values(e):[]},S.size=function(e){return null==e?0:P(e)?e.length:S.keys(e).length},S.partition=function(e,t,n){t=E(t,n);var r=[],i=[];return S.each(e,function(e,n,o){(t(e,n,o)?r:i).push(e)}),[r,i]},S.first=S.head=S.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:S.initial(e,e.length-t)},S.initial=function(e,t,n){return h.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},S.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:S.rest(e,Math.max(0,e.length-t))},S.rest=S.tail=S.drop=function(e,t,n){return h.call(e,null==t||n?1:t)},S.compact=function(e){return S.filter(e,S.identity)};var R=function(e,t,n,r){for(var i=[],o=0,a=r||0,s=A(e);a<s;a++){var l=e[a];if(P(l)&&(S.isArray(l)||S.isArguments(l))){t||(l=R(l,t,n));var u=0,c=l.length;for(i.length+=c;u<c;)i[o++]=l[u++]}else n||(i[o++]=l)}return i};S.flatten=function(e,t){return R(e,t,!1)},S.without=function(e){return S.difference(e,h.call(arguments,1))},S.uniq=S.unique=function(e,t,n,r){S.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=E(n,r));for(var i=[],o=[],a=0,s=A(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t?(a&&o===u||i.push(l),o=u):n?S.contains(o,u)||(o.push(u),i.push(l)):S.contains(i,l)||i.push(l)}return i},S.union=function(){return S.uniq(R(arguments,!0,!0))},S.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=A(e);r<i;r++){var o=e[r];if(!S.contains(t,o)){for(var a=1;a<n&&S.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},S.difference=function(e){var t=R(arguments,!0,!0,1);return S.filter(e,function(e){return!S.contains(t,e)})},S.zip=function(){return S.unzip(arguments)},S.unzip=function(e){for(var t=e&&S.max(e,A).length||0,n=Array(t),r=0;r<t;r++)n[r]=S.pluck(e,r);return n},S.object=function(e,t){for(var n={},r=0,i=A(e);r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},S.findIndex=o(1),S.findLastIndex=o(-1),S.sortedIndex=function(e,t,n,r){n=E(n,r,1);for(var i=n(t),o=0,a=A(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o},S.indexOf=a(1,S.findIndex,S.sortedIndex),S.lastIndexOf=a(-1,S.findLastIndex),S.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),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i};var N=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=k(e.prototype),a=e.apply(o,i);return S.isObject(a)?a:o};S.bind=function(e,t){if(b&&e.bind===b)return b.apply(e,h.call(arguments,1));if(!S.isFunction(e))throw new TypeError("Bind must be called on a function");var n=h.call(arguments,2),r=function(){return N(e,r,t,this,n.concat(h.call(arguments)))};return r},S.partial=function(e){var t=h.call(arguments,1),n=function(){for(var r=0,i=t.length,o=Array(i),a=0;a<i;a++)o[a]=t[a]===S?arguments[r++]:t[a];for(;r<arguments.length;)o.push(arguments[r++]);return N(e,n,this,this,o)};return n},S.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]=S.bind(e[n],e);return e},S.memoize=function(e,t){var n=function(r){var i=n.cache,o=""+(t?t.apply(this,arguments):r);return S.has(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},S.delay=function(e,t){var n=h.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},S.defer=S.partial(S.delay,S,1),S.throttle=function(e,t,n){var r,i,o,a=null,s=0;n||(n={});var l=function(){s=!1===n.leading?0:S.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var u=S.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,i=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,o=e.apply(r,i),a||(r=i=null)):a||!1===n.trailing||(a=setTimeout(l,c)),o}},S.debounce=function(e,t,n){var r,i,o,a,s,l=function(){var u=S.now()-a;u<t&&u>=0?r=setTimeout(l,t-u):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=S.now();var u=n&&!r;return r||(r=setTimeout(l,t)),u&&(s=e.apply(o,i),o=i=null),s}},S.wrap=function(e,t){return S.partial(t,e)},S.negate=function(e){return function(){return!e.apply(this,arguments)}},S.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}},S.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},S.before=function(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}},S.once=S.partial(S.before,2);var M=!{toString:null}.propertyIsEnumerable("toString"),L=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"];S.keys=function(e){if(!S.isObject(e))return[];if(y)return y(e);var t=[];for(var n in e)S.has(e,n)&&t.push(n);return M&&s(e,t),t},S.allKeys=function(e){if(!S.isObject(e))return[];var t=[];for(var n in e)t.push(n);return M&&s(e,t),t},S.values=function(e){for(var t=S.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},S.mapObject=function(e,t,n){t=E(t,n);for(var r,i=S.keys(e),o=i.length,a={},s=0;s<o;s++)r=i[s],a[r]=t(e[r],r,e);return a},S.pairs=function(e){for(var t=S.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},S.invert=function(e){for(var t={},n=S.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},S.functions=S.methods=function(e){var t=[];for(var n in e)S.isFunction(e[n])&&t.push(n);return t.sort()},S.extend=T(S.allKeys),S.extendOwn=S.assign=T(S.keys),S.findKey=function(e,t,n){t=E(t,n);for(var r,i=S.keys(e),o=0,a=i.length;o<a;o++)if(r=i[o],t(e[r],r,e))return r},S.pick=function(e,t,n){var r,i,o={},a=e;if(null==a)return o;S.isFunction(t)?(i=S.allKeys(a),r=x(t,n)):(i=R(arguments,!1,!1,1),r=function(e,t,n){return t in n},a=Object(a));for(var s=0,l=i.length;s<l;s++){var u=i[s],c=a[u];r(c,u,a)&&(o[u]=c)}return o},S.omit=function(e,t,n){if(S.isFunction(t))t=S.negate(t);else{var r=S.map(R(arguments,!1,!1,1),String);t=function(e,t){return!S.contains(r,t)}}return S.pick(e,t,n)},S.defaults=T(S.allKeys,!0),S.create=function(e,t){var n=k(e);return t&&S.extendOwn(n,t),n},S.clone=function(e){return S.isObject(e)?S.isArray(e)?e.slice():S.extend({},e):e},S.tap=function(e,t){return t(e),e},S.isMatch=function(e,t){var n=S.keys(t),r=n.length;if(null==e)return!r;for(var i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))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 S&&(e=e._wrapped),t instanceof S&&(t=t._wrapped);var i=m.call(e);if(i!==m.call(t))return!1;switch(i){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 o="[object Array]"===i;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!(S.isFunction(a)&&a instanceof a&&S.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),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!D(e[l],t[l],n,r))return!1}else{var u,c=S.keys(e);if(l=c.length,S.keys(t).length!==l)return!1;for(;l--;)if(u=c[l],!S.has(t,u)||!D(e[u],t[u],n,r))return!1}return n.pop(),r.pop(),!0};S.isEqual=function(e,t){return D(e,t)},S.isEmpty=function(e){return null==e||(P(e)&&(S.isArray(e)||S.isString(e)||S.isArguments(e))?0===e.length:0===S.keys(e).length)},S.isElement=function(e){return!(!e||1!==e.nodeType)},S.isArray=v||function(e){return"[object Array]"===m.call(e)},S.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},S.each(["Arguments","Function","String","Number","Date","RegExp","Error"],function(e){S["is"+e]=function(t){return m.call(t)==="[object "+e+"]"}}),S.isArguments(arguments)||(S.isArguments=function(e){return S.has(e,"callee")}),"function"!=typeof/./&&"object"!=typeof Int8Array&&(S.isFunction=function(e){return"function"==typeof e||!1}),S.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},S.isNaN=function(e){return S.isNumber(e)&&e!==+e},S.isBoolean=function(e){return!0===e||!1===e||"[object Boolean]"===m.call(e)},S.isNull=function(e){return null===e},S.isUndefined=function(e){return void 0===e},S.has=function(e,t){return null!=e&&g.call(e,t)},S.noConflict=function(){return l._=u,this},S.identity=function(e){return e},S.constant=function(e){return function(){return e}},S.noop=function(){},S.property=O,S.propertyOf=function(e){return null==e?function(){}:function(t){return e[t]}},S.matcher=S.matches=function(e){return e=S.extendOwn({},e),function(t){return S.isMatch(t,e)}},S.times=function(e,t,n){var r=Array(Math.max(0,e));t=x(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},S.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},S.now=Date.now||function(){return(new Date).getTime()};var F={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},j=S.invert(F),U=function(e){var t=function(t){return e[t]},n="(?:"+S.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};S.escape=U(F),S.unescape=U(j),S.result=function(e,t,n){var r=null==e?void 0:e[t];return void 0===r&&(r=n),S.isFunction(r)?r.call(e):r};var B=0;S.uniqueId=function(e){var t=++B+"";return e?e+t:t},S.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var V=/(.)^/,q={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},H=/\\|'|\r|\n|\u2028|\u2029/g,W=function(e){return"\\"+q[e]};S.template=function(e,t,n){!t&&n&&(t=n),t=S.defaults({},t,S.templateSettings);var r=RegExp([(t.escape||V).source,(t.interpolate||V).source,(t.evaluate||V).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(H,W),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(e){throw e.source=o,e}var s=function(e){return a.call(this,e,S)};return s.source="function("+(t.variable||"obj")+"){\n"+o+"}",s},S.chain=function(e){var t=S(e);return t._chain=!0,t};var $=function(e,t){return e._chain?S(t).chain():t};S.mixin=function(e){S.each(S.functions(e),function(t){var n=S[t]=e[t];S.prototype[t]=function(){var e=[this._wrapped];return f.apply(e,arguments),$(this,n.apply(S,e))}})},S.mixin(S),S.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=c[e];S.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],$(this,n)}}),S.each(["concat","join","slice"],function(e){var t=c[e];S.prototype[e]=function(){return $(this,t.apply(this._wrapped,arguments))}}),S.prototype.value=function(){return this._wrapped},S.prototype.valueOf=S.prototype.toJSON=S.prototype.value,S.prototype.toString=function(){return""+this._wrapped},r=[],void 0!==(i=function(){return S}.apply(t,r))&&(e.exports=i)}).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,i;r=[n(0),n(7),n(32),n(13)],void 0!==(i=function(e,t,n,r){function i(e,t){return a.isArray(e.responseType)?a.contains(e.responseType,t):t===e.responseType}var o={},a=e._;return o.getTokens=function(o,s,l){function u(e){o.callGlobalSuccess(t.SUCCESS,e)}function c(e){"access_denied"===e.errorCode&&(l.model.trigger("error",l.model,{responseJSON:e}),l.model.appState.trigger("removeLoading")),r.triggerAfterError(l,new n.OAuthError(e.message),o)}var d=o.getAuthClient(),p=o.toJSON({verbose:!0}),f={};a.extend(f,a.pick(p,"clientId","redirectUri"),a.pick(p.authParams,"pkce","responseType","responseMode","display","scopes","state","nonce"),s),f.popupTitle=e.loc("socialauth.popup.title","login"),f.timeout=p.oAuthTimeout,a.extend(f,a.pick(p.authParams,"issuer","authorizeUrl")),"page"===f.display||i(f,"code")?d.token.getWithRedirect(f).catch(c):f.sessionToken?d.token.getWithoutPrompt(f).then(u).catch(c):d.token.getWithPopup(f).then(u).catch(c)},o.addOrRemoveOpenIdScope=function(e){if(e.responseType){var t=Array.isArray(e.scopes)?e.scopes:e.scopes.split(" ");return t.includes("openid")&&t.splice(t.indexOf("openid"),1),e.responseType.includes("id_token")&&t.push("openid"),t}},o.getResponseType=function(e){var t=[];return!1!==e.getIdToken&&t.push("id_token"),!1!==e.getAccessToken&&t.push("token"),t},o.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:o.getResponseType(e),scopes:e.scope||t.authParams&&t.authParams.scopes||["openid","email"]}};return r.authParams.scopes=o.addOrRemoveOpenIdScope(r.authParams),r},o}.apply(t,r))&&(e.exports=i)},function(e,t,n){var r,i,o;/* @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";i=[n(97)],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(function(e){"use strict";function t(t,n,r,i){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:P,attr:i,onTooltip:P,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=P}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 i(t){var i,o,a,s;return n(t)?P:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(i=t.content,n(i)||i.jquery||i.done?(o=r(i)?P:i,i=t.content={text:o}):o=i.text,"ajax"in i&&(a=i.ajax,s=a&&a.once!==P,delete i.ajax,i.text=function(t,n){var r=o||e(this).attr(n.options.content.attr)||"Loading...",i=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),i)}),"title"in i&&(e.isPlainObject(i.title)&&(i.button=i.title.button,i.title=i.title.text),r(i.title||P)&&(i.title=P))),"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 o(e,t){for(var n,r=0,i=e,o=t.split(".");i=i[o[r++]];)r<o.length&&(n=i);return[n||e,o.pop()]}function u(e,t){var n,r,i;for(n in this.checks)if(this.checks.hasOwnProperty(n))for(r in this.checks[n])this.checks[n].hasOwnProperty(r)&&(i=new RegExp(r,"i").exec(e))&&(t.push(i),("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 d(t,n){return n>0?setTimeout(e.proxy(t,this),n):void t.call(this)}function p(e){this.tooltip.hasClass(ee)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=d.call(this,function(){this.toggle(A,e)},this.options.show.delay))}function f(t){if(!this.tooltip.hasClass(ee)&&!this.destroyed){var n=e(t.relatedTarget),r=n.closest(K)[0]===this.tooltip[0],i=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||i))try{t.preventDefault(),t.stopImmediatePropagation()}catch(e){}else this.timers.hide=d.call(this,function(){this.toggle(P,t)},this.options.hide.delay,this)}}function h(e){!this.tooltip.hasClass(ee)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=d.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,o){var a,l,u,c,d,p=e(s.body),f=n[0]===s?p:n,h=n.metadata?n.metadata(o.metadata):I,m="html5"===o.metadata.type&&h?h[o.metadata.name]:I,g=n.data(o.metadata.name||"qtipopts");try{g="string"==typeof g?e.parseJSON(g):g}catch(e){}if(c=e.extend(A,{},E.defaults,o,"object"==typeof g?i(g):I,i(m||h)),l=c.position,c.id=r,"boolean"==typeof c.content.text){if(u=n.attr(c.content.attr),c.content.attr===P||!u)return P;c.content.text=u}if(l.container.length||(l.container=p),l.target===P&&(l.target=f),c.show.target===P&&(c.show.target=f),c.show.solo===A&&(c.show.solo=l.container.closest("body")),c.hide.target===P&&(c.hide.target=f),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===P)return P;return n.attr($,r),c.suppress&&(d=n.attr("title"))&&n.removeAttr("title").attr(ne,d).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,i=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+we.join(i+" ")+i).split(" "),a=0;if(_e[t])return e.css(_e[t]);for(;n=o[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 S(e,t){this.options=t,this._ns="-modal",this.qtip=e,this.init(e)}function x(e){this._ns="ie6",this.qtip=e,this.init(e)}var E,T,k,O,C,A=!0,P=!1,I=null,R="x",N="y",M="width",L="height",D="top",F="left",j="bottom",U="right",B="center",V="flipinvert",q="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("_",""))||P};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,i=this.cache,o=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),i.posClass=this._createPosClass((this.position={my:u.my,at:u.at}).my),this.tooltip=o.tooltip=e("<div/>",{id:this._id,class:[W,Q,r.style.classes,i.posClass].join(" "),width:r.style.width||"",height:r.style.height||"",tracking:"mouse"===u.target&&u.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":P,"aria-describedby":this._id+"-content","aria-hidden":A}).toggleClass(ee,this.disabled).attr(z,this.id).data(W,this).appendTo(u.container).append(o.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,P))),l&&this._createButton(),e.isFunction(a)||c.push(this._updateContent(a,P)),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=P,n.hiddenDuringWait||!r.show.ready&&!t||n.toggle(A,i.event,P),n.hiddenDuringWait=P}),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)},O=T.checks={builtin:{"^id$":function(t,n,r,i){var o=r===A?E.nextid:r,a=W+"-"+o;o!==P&&o.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]=i},"^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=o(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var ie=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,oe=/^prerender|show\.ready/i;T.set=function(t,n){if(this.destroyed)return this;var r,a=this.rendered,s=P,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&&oe.test(n))return void delete t[n];var i,u=o(l,n.toLowerCase());i=u[0][u[1]],u[0][u[1]]=r&&r.nodeType?e(r):r,s=ie.test(n)||s,t[n]=[u[0],u[1],r,i]}),i(l),this.positioning=A,e.each(t,e.proxy(u,this)),this.positioning=P,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,i=this.cache;return this.rendered&&t?(e.isFunction(t)&&(t=t.call(this.elements.target,i.event,this)||""),e.isFunction(t.then)?(i.waiting=A,t.then(function(e){return i.waiting=P,r._update(e,n)},I,function(e){return r._update(e,n)})):t===P||!t&&""!==t?P:(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(i.event,!e.length)}))):P},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=P}).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)===P&&this._removeTitle(P)},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!==P&&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,i,o,l,u=this.cache,c=this.tooltip,d=this.options.position,p=d.target,f=d.my,h=d.at,m=d.viewport,g=d.container,v=d.adjust,y=v.method.split(" "),b=c.outerWidth(P),_=c.outerHeight(P),w=0,S=0,x=c.css("position"),E={left:0,top:0},T=c[0].offsetWidth>0,k=t&&"scroll"===t.type,O=e(a),C=g[0].ownerDocument,I=this.mouse;if(e.isArray(p)&&2===p.length)h={x:F,y:D},E={left:p[0],top:p[1]};else if("mouse"===p)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"!==x&&(E=g.offset()),C.body.offsetWidth!==(a.innerWidth||C.documentElement.clientWidth)&&(i=e(s.body).offset()),E={left:t.pageX-E.left+(i&&i.left||0),top:t.pageY-E.top+(i&&i.top||0)},v.mouse&&k&&I&&(E.left-=(I.scrollX||0)-O.scrollLeft(),E.top-=(I.scrollY||0)-O.scrollTop());else{if("event"===p?t&&t.target&&"scroll"!==t.type&&"resize"!==t.type?u.target=e(t.target):t.target||(u.target=this.elements.target):"event"!==p&&(u.target=e(p.jquery?p:this.elements.target)),p=u.target,p=e(p).eq(0),0===p.length)return this;p[0]===s||p[0]===a?(w=re.iOS?a.innerWidth:p.width(),S=re.iOS?a.innerHeight:p.height(),p[0]===a&&(E={top:(m||p).scrollTop(),left:(m||p).scrollLeft()})):H.imagemap&&p.is("area")?r=H.imagemap(this,p,h,H.viewport?y:P):H.svg&&p&&p[0].ownerSVGElement?r=H.svg(this,p,h,H.viewport?y:P):(w=p.outerWidth(P),S=p.outerHeight(P),E=p.offset()),r&&(w=r.width,S=r.height,i=r.offset,E=r.position),E=this.reposition.offset(p,E,g),(re.iOS>3.1&&re.iOS<4.1||re.iOS>=4.3&&re.iOS<4.33||!re.iOS&&"fixed"===x)&&(E.left-=O.scrollLeft(),E.top-=O.scrollTop()),(!r||r&&r.adjustable!==P)&&(E.left+=h.x===U?w:h.x===B?w/2:0,E.top+=h.y===j?S:h.y===B?S/2:0)}return E.left+=v.x+(f.x===U?-b:f.x===B?-b/2:0),E.top+=v.y+(f.y===j?-_:f.y===B?-_/2:0),H.viewport?(o=E.adjusted=H.viewport(this,E,d,w,S,b,_),i&&o.left&&(E.left+=i.left),i&&o.top&&(E.top+=i.top),o.my&&(this.position.my=o.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===P||!T||isNaN(E.left)||isNaN(E.top)||"mouse"===p||!e.isFunction(d.effect)?c.css(E):e.isFunction(d.effect)&&(d.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=P,this):this},T.reposition.offset=function(t,n,r){function i(e,t){n.left+=t*e.scrollLeft(),n.top+=t*e.scrollTop()}if(!r[0])return n;var o,a,l,u,c=e(t[0].ownerDocument),d=!!re.ie&&"CSS1Compat"!==s.compatMode,p=r[0];do{"static"!==(a=e.css(p,"position"))&&("fixed"===a?(l=p.getBoundingClientRect(),i(c,-1)):(l=e(p).position(),l.left+=parseFloat(e.css(p,"borderLeftWidth"))||0,l.top+=parseFloat(e.css(p,"borderTopWidth"))||0),n.left-=l.left+(parseFloat(e.css(p,"marginLeft"))||0),n.top-=l.top+(parseFloat(e.css(p,"marginTop"))||0),o||"hidden"===(u=e.css(p,"overflow"))||"visible"===u||"BODY"===e.prop(p,"tagName")||(o=e(p)))}while(p=p.offsetParent);return o&&(o[0]!==c[0]||d)&&i(o,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?N:R}).prototype;ae.invert=function(e,t){this[e]=this[e]===F?U:this[e]===U?F:t||this[e]},ae.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===N||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,i=this.options,o=this.tooltip;if(n){if(/over|enter/.test(n.type)&&r.event&&/out|leave/.test(r.event.type)&&i.show.target.add(n.target).length===i.show.target.length&&o.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",d=this.options[c],p=this.options.position,f=this.options.content,h=this.tooltip.css("width"),m=this.tooltip.is(":visible"),g=t||1===d.target.length,v=!n||d.target.length<2||r.target[0]===n.target;return(typeof t).search("boolean|number")&&(t=!m),a=!o.is(":animated")&&m===t&&v,l=a?I:!!this._trigger(c,[90]),this.destroyed?this:(l!==P&&t&&this.focus(n),!l||a?this:(e.attr(o[0],"aria-hidden",!t),t?(this.mouse&&(r.origin=e.event.fix(this.mouse)),e.isFunction(f.text)&&this._updateContent(f.text,P),e.isFunction(f.title)&&this._updateTitle(f.title,P),!C&&"mouse"===p.target&&p.adjust.mouse&&(e(s).bind("mousemove."+W,this._storeMouse),C=A),h||o.css("width",o.outerWidth(P)),this.reposition(n,arguments[2]),h||o.css("width",""),d.solo&&("string"==typeof d.solo?e(d.solo):e(K,d.solo)).not(o).not(d.target).qtip("hide",new e.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete r.origin,C&&!e(K+'[tracking="true"]:visible',d.solo).not(o).length&&(e(s).unbind("mousemove."+W),C=P),this.blur(n)),u=e.proxy(function(){t?(re.ie&&o[0].style.removeAttribute("filter"),o.css("overflow",""),"string"==typeof d.autofocus&&e(this.options.show.autofocus,o).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):o.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(t?"visible":"hidden")},this),d.effect===P||g===P?(o[c](),u()):e.isFunction(d.effect)?(o.stop(1,1),d.effect.call(o,this),o.queue("fx",function(e){u(),e()})):o.fadeTo(90,t?1:0,u),t&&d.target.trigger("qtip-"+this.id+"-inactive"),this))},T.show=function(e){return this.toggle(A,e)},T.hide=function(e){return this.toggle(P,e)},T.focus=function(t){if(!this.rendered||this.destroyed)return this;var n=e(K),r=this.tooltip,i=parseInt(r[0].style.zIndex,10),o=E.zindex+n.length;return r.hasClass(X)||this._trigger("focus",[o],t)&&(i!==o&&(n.each(function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)}),n.filter("."+X).qtip("blur",t)),r.addClass(X)[0].style.zIndex=o),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(P)},T._createButton=function(){var t=this,n=this.elements,r=n.tooltip,i=this.options.content.button,o="string"==typeof i,a=o?i:"Close tooltip";n.button&&n.button.remove(),i.jquery?n.button=i: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),P})},T._updateButton=function(e){if(!this.rendered)return P;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,i,o){if(t&&r&&n.length){var a="."+this._id+(i?"-"+i:"");return e(t).bind((n.split?n:n.join(a+" "))+a,e.proxy(r,o||this)),this}},T._unbind=function(t,n){return t&&e(t).unbind("."+this._id+(n?"-"+n:"")),this},T._trigger=function(t,n,r){var i=new e.Event("tooltip"+t);return i.originalEvent=r&&e.extend({},r)||this.cache.event||I,this.triggering=t,this.tooltip.trigger(i,[this].concat(n||[])),this.triggering=P,!i.isDefaultPrevented()},T._bindEvents=function(t,n,r,i,o,a){var s=r.filter(i).add(i.filter(r)),l=[];s.length&&(e.each(n,function(n,r){var i=e.inArray(r,t);i>-1&&l.push(t.splice(i,1)[0])}),l.length&&(this._bind(s,l,function(e){(!!this.rendered&&this.tooltip[0].offsetWidth>0?a:o).call(this,e)}),r=r.not(s),i=i.not(s))),this._bind(r,t,o),this._bind(i,n,a)},T._assignInitialEvents=function(t){function n(t){return this.disabled||this.destroyed?P:(this.cache.event=t&&e.event.fix(t),this.cache.target=t&&e(t.target),clearTimeout(this.timers.show),void(this.timers.show=d.call(this,function(){this.render("object"==typeof t||r.show.ready)},r.prerender?0:r.show.delay)))}var r=this.options,i=r.show.target,o=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(i,"mousemove",function(e){this._storeMouse(e),this.cache.onTarget=A}),this._bindEvents(a,s,i,o,n,function(){return this.timers?void clearTimeout(this.timers.show):P}),(r.show.ready||r.prerender)&&n.call(this,t)},T._assignEvents=function(){var t=this,n=this.options,r=n.position,i=this.tooltip,o=n.show.target,l=n.hide.target,u=r.container,c=r.viewport,d=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(i,"toggle"===e?["tooltipshow","tooltiphide"]:["tooltip"+e],n,null,i)}),/mouse(out|leave)/i.test(n.hide.event)&&"window"===n.hide.leave&&this._bind(d,["mouseout","blur"],function(e){/select|option/.test(e.target.nodeName)||e.relatedTarget||this.hide(e)}),n.hide.fixed?l=l.add(i.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,i=n.parents(K).filter(this.tooltip[0]).length>0;n[0]===this.target[0]||n[0]===this.tooltip[0]||i||this.target.has(n[0]).length||!r||this.hide(t)}),"number"==typeof n.hide.inactive&&(this._bind(o,"qtip-"+this.id+"-inactive",h,"inactive"),this._bind(l.add(i),E.inactiveEvents,h)),this._bindEvents(v,y,o,l,p,f),this._bind(o.add(i),"mousemove",function(e){if("number"==typeof n.hide.distance){var t=this.cache.origin||{},r=this.options.hide.distance,i=Math.abs;(i(e.pageX-t.pageX)>=r||i(e.pageY-t.pageY)>=r)&&this.hide(e)}this._storeMouse(e)}),"mouse"===r.target&&r.adjust.mouse&&(n.hide.event&&this._bind(o,["mouseenter","mouseleave"],function(e){return this.cache?void(this.cache.onTarget="mouseenter"===e.type):P}),this._bind(d,"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,i=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&&(i=i.concat(n.toArray())),r&&r.toArray&&(i=i.concat(r.toArray())),this._unbind(i)._unbind(i,"destroy")._unbind(i,"inactive")},e(function(){g(K,["mouseenter","mouseleave"],function(t){var n="mouseenter"===t.type,r=e(t.currentTarget),i=e(t.relatedTarget||t.target),o=this.options;n?(this.focus(t),r.hasClass(J)&&!r.hasClass(ee)&&clearTimeout(this.timers.hide)):"mouse"===o.position.target&&o.position.adjust.mouse&&o.hide.event&&o.show.target&&!i.closest(o.show.target[0]).length&&this.hide(t),r.toggleClass(Z,n)}),g("["+z+"]",Y,h)}),E=e.fn.qtip=function(t,n,r){var o=(""+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"===o?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"!==o&&"options"!==o)t[o]&&t[o].apply(t,s);else{if(r===l&&!e.isPlainObject(n))return a=t.get(n),P;t.set(n,r)}}),a!==I?a:this):"object"!=typeof t&&arguments.length?void 0:(c=i(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===P||r.length<1||E.api[r]?E.nextid++:r,n=v(e(this),r,c),n===P?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],i="title",o=e.data(r,"qtip");if(t===i&&o&&o.options&&"object"==typeof o&&"object"==typeof o.options&&o.options.suppress)return arguments.length<2?e.attr(r,ne):(o&&o.options.content.attr===i&&o.cache.attr&&o.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:P,id:P,overwrite:A,suppress:A,content:{text:A,attr:"title",title:P,button:P},position:{my:"top left",at:"bottom right",target:P,container:P,viewport:P,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:P})}},show:{target:P,event:"mouseenter",effect:A,delay:90,solo:P,ready:P,autofocus:P},hide:{target:P,event:"mouseleave",effect:A,delay:0,fixed:P,inactive:P,leave:"window",distance:P},style:{classes:"",widget:P,width:P,height:P,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,de,pe="margin",fe="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,de=function(){var e=s.createElement("canvas").getContext("2d");return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}(),ue=ce/de):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===P||t===P?e=P: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,i=fe+y(t)+"Width";return(n?_(n,i):_(r.content,i)||_(this._useTitle(e)&&r.titlebar||r.content,i)||_(r.tooltip,i))||0},_parseRadius:function(e){var t=this.qtip.elements,n=fe+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)?P:r},_parseColours:function(t){var n=this.qtip.elements,r=this.element.css("cssText",""),i=fe+y(t[t.precedance])+y(he),o=this._useTitle(t)&&n.titlebar||n.content,a=this._invalidColour,s=[];return s[0]=a(r,me)||a(o,me)||a(n.content,me)||a(n.tooltip,me)||r.css(me),s[1]=a(r,i,he)||a(o,i,he)||a(n.content,i,he)||a(n.tooltip,i,he)||n.tooltip.css(i),e("*",r).add(r).css("cssText",me+":"+ge+ve+";"+fe+":0"+ve+";"),s},_calculateSize:function(e){var t,n,r,i=e.precedance===N,o=this.options.width,a=this.options.height,s="c"===e.abbrev(),l=(i?o:a)*(s?.5:1),u=Math.pow,c=Math.round,d=Math.sqrt(u(l,2)+u(a,2)),p=[this.border/l*d,this.border/a*d];return p[2]=Math.sqrt(u(p[0],2)-u(this.border,2)),p[3]=Math.sqrt(u(p[1],2)-u(this.border,2)),t=d+p[2]+p[3]+(s?0:p[0]),n=t/d,r=[c(n*o),c(n*a)],i?r:r.reverse()},_calculateTip:function(e,t,n){n=n||1,t=t||this.size;var r=t[0]*n,i=t[1]*n,o=Math.ceil(r/2),a=Math.ceil(i/2),s={br:[0,0,r,i,r,0],bl:[0,0,r,0,0,i],tr:[0,i,r,0,r,i],tl:[0,0,0,i,r,i],tc:[0,i,o,0,r,i],bc:[0,0,r,0,o,i],rc:[0,0,r,a,0,i],lc:[r,0,r,i,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,i,o,s,l,u,c,d,p=this.qtip.elements,f=this.element,h=f.children(),m=this.options,g=this.size,v=m.mimic,y=Math.round;t||(t=this.qtip.cache.corner||this.corner),v===P?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])),i=v.precedance,t.precedance===R?this._swapDimensions():this._resetDimensions(),r=this.color=this._parseColours(t),r[1]!==ge?(d=this.border=this._parseWidth(t,t[t.precedance]),m.border&&d<1&&!be.test(r[1])&&(r[0]=r[1]),this.border=d=m.border!==A?m.border:d):this.border=d=0,c=this.size=this._calculateSize(t),f.css({width:c[0],height:c[1],lineHeight:c[1]+"px"}),u=t.precedance===N?[y(v.x===F?d:v.x===U?c[0]-g[0]-d:(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?d:v.y===j?c[1]-g[1]-d:(c[1]-g[1])/2)],ye?(o=h[0].getContext("2d"),o.restore(),o.save(),o.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(o,l),o.fillStyle=r[1],o.fill(),o.translate(u[0]*ue,u[1]*ue),this._drawCoords(o,s),o.fillStyle=r[0],o.fill()):(s=this._calculateTip(v),s="m"+s[0]+","+s[1]+" l"+s[2]+","+s[3]+" "+s[4]+","+s[5]+" xe",u[2]=d&&/^(r|b)/i.test(t.string())?8===re.ie?2:1:0,h.css({coordsize:c[0]+d+" "+c[1]+d,antialias:""+(v.string().indexOf(B)>-1),left:u[0]-u[2]*Number(i===R),top:u[1]-u[2]*Number(i===N),width:c[0]+d,height:c[1]+d}).each(function(t){var n=e(this);n[n.prop?"prop":"attr"]({coordsize:c[0]+d+" "+c[1]+d,path:s,fillcolor:r[0],filled:!!t,stroked:!t}).toggle(!(!d&&!t)),!t&&n.html(le("stroke",'weight="'+2*d+'px" color="'+r[1]+'" miterlimit="1000" joinstyle="miter"'))})),a.opera&&setTimeout(function(){p.tip.css({display:"inline-block",visibility:"visible"})},1),n!==P&&this.calculate(t,c)},calculate:function(t,n){if(!this.enabled)return P;var r,i,o=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),i=[t.x,t.y],r===R&&i.reverse(),e.each(i,function(e,i){var s,c,d;i===B?(s=r===N?F:D,u[s]="50%",u[pe+"-"+s]=-Math.round(n[r===N?0:1]/2)+l):(s=o._parseWidth(t,i,a.tooltip),c=o._parseWidth(t,i,a.content),d=o._parseRadius(t),u[i]=Math.max(-o.border,e?c:l+(d>s?d:-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,i){e===q&&u.precedance===t&&c[r]&&u[n]!==B?u.precedance=u.precedance===R?N:R:e!==q&&c[r]&&(u[t]=u[t]===B?c[r]>0?r:i:u[t]===r?i:r)}function i(e,t,r){u[e]===B?m[pe+"-"+t]=h[e]=o[pe+"-"+t]-c[t]:(a=o[r]!==l?[c[t],-o[t]]:[-c[t],o[t]],(h[e]=Math.max(a[0],a[1]))>a[0]&&(n[t]-=c[t],h[t]=P),m[o[r]!==l?r:t]=h[e])}if(this.enabled){var o,a,s=t.cache,u=this.corner.clone(),c=n.adjusted,d=t.options.position.adjust.method.split(" "),p=d[0],f=d[1]||d[0],h={left:P,top:P,x:0,y:0},m={};this.corner.fixed!==A&&(r(p,R,N,F,U),r(f,N,R,D,j),u.string()===s.corner.string()&&s.cornerTop===c.top&&s.cornerLeft===c.left||this.update(u,P)),o=this.calculate(u),o.right!==l&&(o.left=-o.right),o.bottom!==l&&(o.top=-o.bottom),o.user=this.offset,h.left=p===q&&!!c.left,h.left&&i(R,F,U),h.top=f===q&&!!c.top,h.top&&i(N,D,j),this.element.css(m).toggle(!(h.x&&h.y||u.x===B&&h.y||u.y===B&&h.x)),n.left-=o.left.charAt?o.user:p!==q||h.top||!h.left&&!h.top?o.left+this.border:0,n.top-=o.top.charAt?o.user:f!==q||h.left||!h.left&&!h.top?o.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)}},O.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(e){this.size=[e.width,e.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},e.extend(A,E.defaults,{style:{tip:{corner:A,mimic:P,width:6,height:6,border:A,offset:0}}});var Se,xe,Ee="qtip-modal",Te="."+Ee;xe=function(){function t(t){if(e.expr[":"].focusable)return e.expr[":"].focusable;var n,r,i,o=!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())&&!!(i=e("img[usemap=#"+r+"]")[0])&&i.is(":visible")):/input|select|textarea|button|object/.test(a)?!t.disabled:"a"===a?t.href||o:o}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),o=i.tooltip,s=r.closest(K);(s.length<1?P:parseInt(s[0].style.zIndex,10)>parseInt(o[0].style.zIndex,10))||r.closest(K)[0]===o[0]||n(r)}}var i,o,a,l=this,u={};e.extend(l,{init:function(){return a=l.elem=e("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return P}}).hide(),e(s.body).bind("focusin"+Te,r),e(s).bind("keydown"+Te,function(e){i&&i.options.show.modal.escape&&27===e.keyCode&&i.hide(e)}),a.bind("click"+Te,function(e){i&&i.options.show.modal.blur&&i.hide(e)}),l},update:function(e){i=e,u=e.options.show.modal.stealfocus!==P?e.tooltip.find("*").filter(function(){return t(this)}):[]},toggle:function(t,r,u){var c=t.tooltip,d=t.options.show.modal,p=d.effect,f=r?"show":"hide",h=a.is(":visible"),m=e(Te).filter(":visible:not(:animated)").not(c);return l.update(t),r&&d.stealfocus!==P&&n(e(":focus")),a.toggleClass("blurs",d.blur),r&&a.appendTo(s.body),a.is(":animated")&&h===r&&o!==P||!r&&m.length?l:(a.stop(A,P),e.isFunction(p)?p.call(a,r):p===P?a[f]():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()}),o=r,i.destroyed&&(i=I),l)}}),l.init()},xe=new xe,e.extend(S.prototype,{init:function(t){var n=t.tooltip;return this.options.on?(t.elements.overlay=xe.elem,n.addClass(Ee).css("z-index",E.modal_zindex+e(Te).length),t._bind(n,["tooltipshow","tooltiphide"],function(t,r,i){var o=t.originalEvent;if(t.target===n[0])if(o&&"tooltiphide"===t.type&&/mouse(leave|enter)/.test(o.type)&&e(o.relatedTarget).closest(xe.elem[0]).length)try{t.preventDefault()}catch(e){}else(!o||o&&"tooltipsolo"!==o.type)&&this.toggle(t,"tooltipshow"===t.type,i)},this._ns,this),t._bind(n,"tooltipfocus",function(t,r){if(!t.isDefaultPrevented()&&t.target===n[0]){var i=e(Te),o=E.modal_zindex+i.length,a=parseInt(n[0].style.zIndex,10);xe.elem[0].style.zIndex=o-1,i.each(function(){this.style.zIndex>a&&(this.style.zIndex-=1)}),i.filter("."+X).qtip("blur",t.originalEvent),n.addClass(X)[0].style.zIndex=o,xe.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 xe.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(Ee),this.qtip._unbind(this.qtip.tooltip,this._ns),xe.toggle(this.qtip,P),delete this.qtip.elements.overlay}}),Se=H.modal=function(e){return new S(e,e.options.show.modal)},Se.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,Se.initialize="render",O.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},e.extend(A,E.defaults,{show:{modal:{on:P,effect:A,blur:A,stealfocus:A,escape:A}}}),H.viewport=function(e,t,n,r,i,o,l){function u(e,n,r,i,o,a,s,l,u){var c=t[o],y=_[e],b=w[e],S=r===q,x=y===o?u:y===a?-u:-u/2,E=b===o?l:b===a?-l:-l/2,T=g[o]+v[o]-(f?0:p[o]),k=T-c,O=c+u-(s===M?h:m)-T,C=x-(_.precedance===e||y===_[n]?E:0)-(b===B?l/2:0);return S?(C=(y===o?1:-1)*x,t[o]+=k>0?k:O>0?-O:0,t[o]=Math.max(-p[o]+v[o],c-C,Math.min(Math.max(-p[o]+v[o]+(s===M?h:m),c+C),t[o],"center"===y?c-x:1e9))):(i*=r===V?2:0,k>0&&(y!==o||O>0)?(t[o]-=C+i,d.invert(e,o)):O>0&&(y!==a||k>0)&&(t[o]-=(y===B?-C:C)+i,d.invert(e,a)),t[o]<g[o]&&-t[o]>O&&(t[o]=c,d=_.clone())),t[o]-c}var c,d,p,f,h,m,g,v,y=n.target,b=e.elements.tooltip,_=n.my,w=n.at,S=n.adjust,x=S.method.split(" "),E=x[0],T=x[1]||x[0],k=n.viewport,O=n.container,C={left:0,top:0};return k.jquery&&y[0]!==a&&y[0]!==s.body&&"none"!==S.method?(p=O.offset()||C,f="static"===O.css("position"),c="fixed"===b.css("position"),h=k[0]===a?k.width():k.outerWidth(P),m=k[0]===a?k.height():k.outerHeight(P),g={left:c?0:k.scrollLeft(),top:c?0:k.scrollTop()},v=k.offset()||C,"shift"===E&&"shift"===T||(d=_.clone()),C={left:"none"!==E?u(R,N,E,S.x,F,U,M,r,o):0,top:"none"!==T?u(N,R,T,S.y,D,j,L,i,l):0,my:d}):C},H.polys={polygon:function(e,t){var n,r,i,o={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:P},a=0,s=[],l=1,u=1,c=0,d=0;for(a=e.length;a--;)n=[parseInt(e[--a],10),parseInt(e[a+1],10)],n[0]>o.position.right&&(o.position.right=n[0]),n[0]<o.position.left&&(o.position.left=n[0]),n[1]>o.position.bottom&&(o.position.bottom=n[1]),n[1]<o.position.top&&(o.position.top=n[1]),s.push(n);if(r=o.width=Math.abs(o.position.right-o.position.left),i=o.height=Math.abs(o.position.bottom-o.position.top),"c"===t.abbrev())o.position={left:o.position.left+o.width/2,top:o.position.top+o.height/2};else{for(;r>0&&i>0&&l>0&&u>0;)for(r=Math.floor(r/2),i=Math.floor(i/2),t.x===F?l=r:t.x===U?l=o.width-r:l+=Math.floor(r/2),t.y===D?u=i:t.y===j?u=o.height-i:u+=Math.floor(i/2),a=s.length;a--&&!(s.length<2);)c=s[a][0]-o.position.left,d=s[a][1]-o.position.top,(t.x===F&&c>=l||t.x===U&&c<=l||t.x===B&&(c<l||c>o.width-l)||t.y===D&&d>=u||t.y===j&&d<=u||t.y===B&&(d<u||d>o.height-u))&&s.splice(a,1);o.position={left:s[0][0],top:s[0][1]}}return o},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,i){var o=H.polys._angles[i.abbrev()],a=0===o?0:n*Math.cos(o*Math.PI),s=r*Math.sin(o*Math.PI);return{width:2*n-Math.abs(a),height:2*r-Math.abs(s),position:{left:e+a,top:t+s},adjustable:P}},circle:function(e,t,n,r){return H.polys.ellipse(e,t,n,n,r)}},H.svg=function(t,n,r){for(var i,o,a,l,u,c,d,p,f,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 P;switch(h.nodeName){case"ellipse":case"circle":p=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(d=h.points||[{x:h.x1.baseVal.value,y:h.y1.baseVal.value},{x:h.x2.baseVal.value,y:h.y2.baseVal.value}],p=[],c=-1,l=d.numberOfItems||d.length;++c<l;)u=d.getItem?d.getItem(c):d[c],p.push.apply(p,[u.x,u.y]);p=H.polys.polygon(p,r);break;default:p=h.getBBox(),p={width:p.width,height:p.height,position:{left:p.x,top:p.y}}}return f=p.position,m=m[0],m.createSVGPoint&&(o=h.getScreenCTM(),d=m.createSVGPoint(),d.x=f.left,d.y=f.top,a=d.matrixTransform(o),f.left=a.x,f.top=a.y),g!==s&&"mouse"!==t.position.target&&(i=e((g.defaultView||g.parentWindow).frameElement).offset())&&(f.left+=i.left,f.top+=i.top),g=e(g),f.left+=g.scrollLeft(),f.top+=g.scrollTop(),p},H.imagemap=function(t,n,r){n.jquery||(n=e(n));var i,o,a,s,l,u=(n.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),c=e('img[usemap="#'+n.parent("map").attr("name")+'"]'),d=e.trim(n.attr("coords")),p=d.replace(/,$/,"").split(",");if(!c.length)return P;if("polygon"===u)s=H.polys.polygon(p,r);else{if(!H.polys[u])return P;for(a=-1,l=p.length,o=[];++a<l;)o.push(parseInt(p[a],10));s=H.polys[u].apply(this,o.concat(r))}return i=c.offset(),i.left+=Math.ceil((c.outerWidth(P)-c.width())/2),i.top+=Math.ceil((c.outerHeight(P)-c.height())/2),s.position.left+=i.left,s.position.top+=i.top,s};var ke;e.extend(x.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(P),width:n.outerWidth(P)},i=this.qtip.plugins.tip,o=this.qtip.elements.tip;t=parseInt(n.css("borderLeftWidth"),10)||0,t={left:-t,top:-t},i&&o&&(e="x"===i.corner.precedance?[M,F]:[L,D],t[e[1]]-=o[e[0]]()),this.bgiframe.css(t).css(r)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var e,t,n,r,i=this.qtip.tooltip,o=this.qtip.options.style,a=this.qtip.options.position.container;return this.qtip.drawing=1,o.height&&i.css(L,o.height),o.width?i.css(M,o.width):(i.css(M,"").appendTo(this.redrawContainer),t=i.width(),t%2<1&&(t+=1),n=i.css("maxWidth")||"",r=i.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,i.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 x(e):P},ke.initialize="render",O.ie6={"^content|style$":function(){this.redraw()}}})}(window,document)},function(e,t,n){e.exports=n(176)},function(e,t,n){"use strict";var r,i;r=[n(0),n(81),n(138),n(7)],void 0!==(i=function(e,t,n,r){var i=e._;return t.extend({props:function(){var t=n.getCookieUsername(),r=this.getUsernameAndRemember(t),o={username:{type:"string",validate:function(t){if(i.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")||(o.password={type:"string",validate:function(t){if(i.isEmpty(t))return e.loc("error.password.required","login")}}),o},getUsernameAndRemember:function(e){var t,n=this.settings&&this.settings.get("username"),r=this.settings&&this.settings.get("features.rememberMe"),i=!1;return n?(t=n,i=r&&t===e):r&&e&&(t=e,i=!0),{username:t,remember:i}},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 i.omit(e,["settings","appState"])},save:function(){var e=this.settings.transformUsername(this.get("username"),r.PRIMARY_AUTH),t=this.get("remember"),o=this.get("lastUsername");this.setUsernameCookie(e,t,o),this.trigger("save"),this.appState.trigger("loading",!0);var a,s=this.getSignInArgs(e);if(this.appState.get("isUnauthenticated")){var l=this.appState.settings.authClient;a=this.appState.get("isIdxStateToken")?this.doTransaction(function(e){return this.doPrimaryAuth(l,s,e.login)}):this.doTransaction(function(e){return this.doPrimaryAuth(l,s,e.authenticate)})}else a=this.startTransaction(function(e){return this.doPrimaryAuth(e,s,i.bind(e.signIn,e))});return a.catch(i.bind(function(){this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).finally(i.bind(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"),i=this.settings.get("features.trackTypingPattern");r&&(e.options.headers["X-Device-Fingerprint"]=this.appState.get("deviceFingerprint")),i&&(e.options.headers["X-Typing-Pattern"]=this.appState.get("typingPattern"));var o=this;return n(t).finally(function(){r&&(delete e.options.headers["X-Device-Fingerprint"],o.appState.unset("deviceFingerprint")),i&&(delete e.options.headers["X-Typing-Pattern"],o.appState.unset("typingPattern"))})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(19),n(26)],void 0!==(i=function(e,t,n){var r=e._;return e.View.extend({className:"scan-instructions clearfix",template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scan-instructions-details-wrapper"><div class="scan-instructions-details"><p>'+u((o=null!=(o=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"instructions",hash:{},data:i,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):o))+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" class="qrcode-image" src="'+u((o=null!=(o=c(n,"qrcode")||(null!=t?c(t,"qrcode"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"qrcode",hash:{},data:i,loc:{start:{line:1,column:240},end:{line:1,column:250}}}):o))+'"><div data-se="qrcode-success" class="qrcode-success"></div><div data-se="qrcode-error" class="qrcode-error"></div></div><a href="#" data-type="manual-setup" data-se="manual-setup" class="link manual-setup">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:i,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(s,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:i,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 i=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",i)}):this.options.appState.trigger("navigate",i)},'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(r.bind(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=i)},function(e,t,n){"use strict";function r(e){return l(e)}function i(e){return l(e,!0)}function o(e){return l({authenticatorType:e}).iconClassName}Object.defineProperty(t,"__esModule",{value:!0}),t.getAuthenticatorDataForEnroll=r,t.getAuthenticatorDataForVerification=i,t.getIconClassNameForBeacon=o,Object.defineProperty(t,"getPasswordComplexityDescriptionForHtmlList",{enumerable:!0,get:function(){return s.getPasswordComplexityDescriptionForHtmlList}});var a=n(0),s=n(19),l=function(e,t){var n=e.authenticatorType||e.factorType,r=a._.isString(n)?n.toLowerCase():"",i={};switch(r){case"email":Object.assign(i,{description:t?"":(0,a.loc)("oie.email.authenticator.description","login"),iconClassName:"mfa-okta-email"});break;case"password":Object.assign(i,{description:t?"":(0,a.loc)("oie.password.authenticator.description","login"),iconClassName:"mfa-okta-password"});break;case"phone":Object.assign(i,{description:t?e.relatesTo&&e.relatesTo.profile&&e.relatesTo.profile.phoneNumber:(0,a.loc)("oie.phone.authenticator.description","login"),iconClassName:"mfa-okta-phone"});break;case"security_question":Object.assign(i,{description:t?"":(0,a.loc)("oie.security.question.authenticator.description","login"),iconClassName:"mfa-okta-security-question"});break;case"webauthn":case"security_key":Object.assign(i,{description:t?"":(0,a.loc)("oie.webauthn.description","login"),iconClassName:"mfa-webauthn"});break;case"app":Object.assign(i,{description:t?"":(0,a.loc)("oie.okta_verify.authenticator.description","login"),iconClassName:"mfa-okta-verify"})}return i}},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(143)),a=r(n(98)),s=i.View.extend({HeaderBeacon:o.default,initialize:function(){this.add(this.HeaderBeacon)},postRender:function(){(0,i.$)("#okta-sign-in").removeClass("no-beacon");var e=this.$el.find('[data-type="beacon-container"]');a.default.explode(e)}});t.default=s},function(e,t,n){"use strict";var r=n(1),i=r(n(3)),o=n(0),a=o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"className")||(null!=t?a(t,"className"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:i,loc:{start:{line:1,column:230},end:{line:1,column:243}}}):o))+'" 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){function r(e){return i(e)||o(e)||a(e)||s()}var i=n(560),o=n(561),a=n(191),s=n(562);e.exports=r},function(e,t,n){e.exports=!n(20)&&!n(9)(function(){return 7!=Object.defineProperty(n(104)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(8),i=n(18),o=n(56),a=n(105),s=n(21).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t,n){var r=n(29),i=n(31),o=n(85)(!1),a=n(106)("IE_PROTO");e.exports=function(e,t){var n,s=i(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++])&&(~o(u,n)||u.push(n));return u}},function(e,t,n){var r=n(21),i=n(10),o=n(57);e.exports=n(20)?Object.defineProperties:function(e,t){i(e);for(var n,a=o(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(31),i=n(60).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(e){try{return i(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?s(e):i(r(e))}},function(e,t,n){"use strict";var r=n(20),i=n(57),o=n(86),a=n(77),s=n(25),l=n(76),u=Object.assign;e.exports=!u||n(9)(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,d=o.f,p=a.f;u>c;)for(var f,h=l(arguments[c++]),m=d?i(h).concat(d(h)):i(h),g=m.length,v=0;g>v;)f=m[v++],r&&!p.call(h,f)||(n[f]=h[f]);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(38),i=n(11),o=n(153),a=[].slice,s={},l=function(e,t,n){if(!(t in s)){for(var r=[],i=0;i<t;i++)r[i]="a["+i+"]";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):o(t,r,e)};return i(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(8).parseInt,i=n(67).trim,o=n(110),a=/^[-+]?0[xX]/;e.exports=8!==r(o+"08")||22!==r(o+"0x16")?function(e,t){var n=i(String(e),3);return r(n,t>>>0||(a.test(n)?16:10))}:r},function(e,t,n){var r=n(8).parseFloat,i=n(67).trim;e.exports=1/r(n(110)+"-0")!=-1/0?function(e){var t=i(String(e),3),n=r(t);return 0===n&&"-"==t.charAt(0)?-0:n}:r},function(e,t,n){var r=n(45);e.exports=function(e,t){if("number"!=typeof e&&"Number"!=r(e))throw TypeError(t);return+e}},function(e,t,n){var r=n(11),i=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&i(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(59),i=n(54),o=n(66),a={};n(30)(a,n(12)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:i(1,n)}),o(e,t+" Iterator")}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){var o=e.return;throw void 0!==o&&r(o.call(e)),t}}},function(e,t,n){var r=n(313);e.exports=function(e,t){return new(r(e))(t)}},function(e,t,n){var r=n(38),i=n(25),o=n(76),a=n(14);e.exports=function(e,t,n,s,l){r(t);var u=i(e),c=o(u),d=a(u.length),p=l?d-1:0,f=l?-1:1;if(n<2)for(;;){if(p in c){s=c[p],p+=f;break}if(p+=f,l?p<0:d<=p)throw TypeError("Reduce of empty array with no initial value")}for(;l?p>=0:d>p;p+=f)p in c&&(s=t(s,c[p],p,u));return s}},function(e,t,n){"use strict";var r=n(25),i=n(58),o=n(14);e.exports=[].copyWithin||function(e,t){var n=r(this),a=o(n.length),s=i(e,a),l=i(t,a),u=arguments.length>2?arguments[2]:void 0,c=Math.min((void 0===u?a:i(u,a))-l,a-s),d=1;for(l<s&&s<l+c&&(d=-1,l+=c-1,s+=c-1);c-- >0;)l in n?n[s]=n[l]:delete n[s],s+=d,l+=d;return n}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){"use strict";var r=n(125);n(2)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(e,t,n){n(20)&&"g"!=/./g.flags&&n(21).f(RegExp.prototype,"flags",{configurable:!0,get:n(89)})},function(e,t,n){"use strict";var r,i,o,a,s=n(56),l=n(8),u=n(37),c=n(78),d=n(2),p=n(11),f=n(38),h=n(70),m=n(92),g=n(79),v=n(127).set,y=n(333)(),b=n(168),_=n(334),w=n(93),S=n(169),x=l.TypeError,E=l.process,T=E&&E.versions,k=T&&T.v8||"",O=l.Promise,C="process"==c(E),A=function(){},P=i=b.f,I=!!function(){try{var e=O.resolve(1),t=(e.constructor={})[n(12)("species")]=function(e){e(A,A)};return(C||"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!(!p(e)||"function"!=typeof(t=e.then))&&t},N=function(e,t){if(!e._n){e._n=!0;var n=e._c;y(function(){for(var r=e._v,i=1==e._s,o=0;n.length>o;)!function(t){var n,o,a,s=i?t.ok:t.fail,l=t.resolve,u=t.reject,c=t.domain;try{s?(i||(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(x("Promise-chain cycle")):(o=R(n))?o.call(n,l,u):l(n)):u(r)}catch(e){c&&!a&&c.exit(),u(e)}}(n[o++]);e._c=[],e._n=!1,t&&!e._h&&M(e)})}},M=function(e){v.call(l,function(){var t,n,r,i=e._v,o=L(e);if(o&&(t=_(function(){C?E.emit("unhandledRejection",i,e):(n=l.onunhandledrejection)?n({promise:e,reason:i}):(r=l.console)&&r.error&&r.error("Unhandled promise rejection",i)}),e._h=C||L(e)?2:1),e._a=void 0,o&&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;C?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()),N(t,!0))},j=function(e){var t,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===e)throw x("Promise can't be resolved itself");(t=R(e))?y(function(){var r={_w:n,_d:!1};try{t.call(e,u(j,r,1),u(F,r,1))}catch(e){F.call(r,e)}}):(n._v=e,n._s=1,N(n,!1))}catch(e){F.call({_w:n,_d:!1},e)}}};I||(O=function(e){h(this,O,"Promise","_h"),f(e),r.call(this);try{e(u(j,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(71)(O.prototype,{then:function(e,t){var n=P(g(this,O));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=C?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&N(this,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r;this.promise=e,this.resolve=u(j,e,1),this.reject=u(F,e,1)},b.f=P=function(e){return e===O||e===a?new o(e):i(e)}),d(d.G+d.W+d.F*!I,{Promise:O}),n(66)(O,"Promise"),n(69)("Promise"),a=n(18).Promise,d(d.S+d.F*!I,"Promise",{reject:function(e){var t=P(this);return(0,t.reject)(e),t.promise}}),d(d.S+d.F*(s||!I),"Promise",{resolve:function(e){return S(s&&this===a?O:this,e)}}),d(d.S+d.F*!(I&&n(88)(function(e){O.all(e).catch(A)})),"Promise",{all:function(e){var t=this,n=P(t),r=n.resolve,i=n.reject,o=_(function(){var n=[],o=0,a=1;m(e,!1,function(e){var s=o++,l=!1;n.push(void 0),a++,t.resolve(e).then(function(e){l||(l=!0,n[s]=e,--a||r(n))},i)}),--a||r(n)});return o.e&&i(o.v),n.promise},race:function(e){var t=this,n=P(t),r=n.reject,i=_(function(){m(e,!1,function(e){t.resolve(e).then(n.resolve,r)})});return i.e&&r(i.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=i(t),this.reject=i(n)}
// 25.4.1.5 NewPromiseCapability(C)
var i=n(38);e.exports.f=function(e){return new r(e)}},function(e,t,n){var r=n(10),i=n(11),o=n(168);e.exports=function(e,t){if(r(e),i(t)&&t.constructor===e)return t;var n=o.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(21).f,i=n(59),o=n(71),a=n(37),s=n(70),l=n(92),u=n(116),c=n(164),d=n(69),p=n(20),f=n(51).fastKey,h=n(63),m=p?"_s":"size",g=function(e,t){var n,r=f(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=i(null),e._f=void 0,e._l=void 0,e[m]=0,void 0!=r&&l(r,n,e[u],e)});return o(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 i=r.n,o=r.p;delete n._i[r.i],r.r=!0,o&&(o.n=i),i&&(i.p=o),n._f==r&&(n._f=i),n._l==r&&(n._l=o),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)}}),p&&r(c.prototype,"size",{get:function(){return h(this,t)[m]}}),c},def:function(e,t,n){var r,i,o=g(e,t);return o?o.v=n:(e._l=o={i:i=f(t,!0),k:t,v:n,p:r=e._l,n:void 0,r:!1},e._f||(e._f=o),r&&(r.n=o),e[m]++,"F"!==i&&(e._i[i]=o)),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),d(t)}}},function(e,t,n){"use strict";var r=n(71),i=n(51).getWeak,o=n(10),a=n(11),s=n(70),l=n(92),u=n(42),c=n(29),d=n(63),p=u(5),f=u(6),h=0,m=function(e){return e._l||(e._l=new g)},g=function(){this.a=[]},v=function(e,t){return p(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=f(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,o){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[o],e)});return r(u.prototype,{delete:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t)).delete(e):n&&c(n,this._i)&&delete n[this._i]},has:function(e){if(!a(e))return!1;var n=i(e);return!0===n?m(d(this,t)).has(e):n&&c(n,this._i)}}),u},def:function(e,t,n){var r=i(o(t),!0);return!0===r?m(e).set(t,n):r[e._i]=n,e},ufstore:m}},function(e,t,n){var r=n(39),i=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=i(t);if(t!==n)throw RangeError("Wrong length!");return n}},function(e,t,n){var r=n(60),i=n(86),o=n(10),a=n(8).Reflect;e.exports=a&&a.ownKeys||function(e){var t=r.f(o(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t,n){var r=n(14),i=n(112),o=n(46);e.exports=function(e,t,n,a){var s=String(o(e)),l=s.length,u=void 0===n?" ":String(n),c=r(t);if(c<=l||""==u)return s;var d=c-l,p=i.call(u,Math.ceil(d/u.length));return p.length>d&&(p=p.slice(0,d)),a?p+s:s+p}},function(e,t,n){var r=n(20),i=n(57),o=n(31),a=n(77).f;e.exports=function(e){return function(t){for(var n,s=o(t),l=i(s),u=l.length,c=0,d=[];u>c;)n=l[c++],r&&!a.call(s,n)||d.push(e?[n,s[n]]:s[n]);return d}}},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,i){var o=t&&t.prototype instanceof r?t:r,a=Object.create(o.prototype),s=new p(i||[]);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 i(){}function o(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e,t){function r(i,o,a,s){var l=n(e[i],e,o);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 i(e,n){function i(){return new t(function(t,i){r(e,n,t,i)})}return o=o?o.then(i,i):i()}var o;this._invoke=i}function l(e,t,r){var i=S;return function(o,a){if(i===E)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return h()}for(r.method=o,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(i===S)throw i=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=E;var c=n(e,t,r);if("normal"===c.type){if(i=r.done?T:x,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=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 i=n(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,k;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=m),t.delegate=null,k):o:(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 d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(c,this),this.reset(!0)}function f(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 S="suspendedStart",x="suspendedYield",E="executing",T="completed",k={},O={};O[b]=function(){return this};var C=Object.getPrototypeOf,A=C&&C(C(f([])));A&&A!==g&&v.call(A,b)&&(O=A);var P=o.prototype=r.prototype=Object.create(O);return i.prototype=P.constructor=o,o.constructor=i,o[w]=i.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,o):(e.__proto__=o,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(P),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,i,o,a){void 0===a&&(a=Promise);var l=new s(t(n,r,i,o),a);return e.isGeneratorFunction(r)?l:l.next().then(function(e){return e.done?e.value:l.next()})},a(P),P[w]="Generator",P[b]=function(){return this},P.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=f,p.prototype={constructor:p,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(d),!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 o.type="throw",o.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 i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.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 i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,k):this.complete(o)},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),d(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 i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(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){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},l.registerDefaultHelpers(this),u.registerDefaultDecorators(this)}t.__esModule=!0,t.HandlebarsEnvironment=i;var o=n(43),a=n(64),s=r(a),l=n(180),u=n(412),c=n(181),d=r(c),p=n(182);t.VERSION="4.7.6";t.COMPILER_REVISION=8;t.LAST_COMPATIBLE_COMPILER_REVISION=7;var f={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=f;i.prototype={constructor:i,logger:d.default,log:d.default.log,registerHelper:function(e,t){if("[object Object]"===o.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple helpers");o.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if("[object Object]"===o.toString.call(e))o.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]"===o.toString.call(e)){if(t)throw new s.default("Arg not supported with multiple decorators");o.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){p.resetLoggedProperties()}};var h=d.default.log;t.log=h,t.createFrame=o.createFrame,t.logger=d.default},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){s.default(e),u.default(e),d.default(e),f.default(e),m.default(e),v.default(e),b.default(e)}function o(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])}t.__esModule=!0,t.registerDefaultHelpers=i,t.moveHelperToHooks=o;var a=n(405),s=r(a),l=n(406),u=r(l),c=n(407),d=r(c),p=n(408),f=r(p),h=n(409),m=r(h),g=n(410),v=r(g),y=n(411),b=r(y)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(43),i={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=r.indexOf(i.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=i.lookupLevel(e),"undefined"!=typeof console&&i.lookupLevel(i.level)<=e){var t=i.methodMap[e];console[t]||(t="log");for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o]}}};t.default=i,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 i(e,t,n){return"function"==typeof e?o(t.methods,n):o(t.properties,n)}function o(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!==d[e]&&(d[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(d).forEach(function(e){delete d[e]})}t.__esModule=!0,t.createProtoAccessControl=r,t.resultIsAllowed=i,t.resetLoggedProperties=s;var l=n(414),u=n(181),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),d=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){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(22),n(32),n(44),n(13),n(34),n(185),n(133)],void 0!==(i=function(e,t,n,r,i,o,s,l){var u=e.internal.util.Util,c=e._,d=["token","id_token","code"],p=n.ConfigError,f=n.UnsupportedBrowserError,h=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"version")||(null!=t?a(t,"version"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"version",hash:{},data:i,loc:{start:{line:1,column:46},end:{line:1,column:57}}}):o))},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:c.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){return e?i.redirectWithFormGet.bind(i):u.redirect.bind(u)},cache:!0},supportedLanguages:{deps:["i18n"],fn:function(e){return c.union(l.supportedLanguages,c.keys(e))},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,t){var n,o=r.getUserLanguages(),a=c.clone(o),s=i.toLower(t);c.isString(e)?a.unshift(e):c.isFunction(e)&&a.unshift(e(t,o)),a.push("en"),n=i.toLower(i.expandLanguages(a));var l,u;for(l=0;l<n.length;l++)if((u=s.indexOf(n[l]))>-1)return t[u]}},oauth2Enabled:{deps:["clientId","authScheme","authParams.responseType"],fn:function(e,t,n){if(!e)return!1;if("oauth2"!==t.toLowerCase())return!1;var r=c.isArray(n)?n:[n];return c.intersection(r,d).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,n.lastIndexOf(r)))}return encodeURI(t)}},configuredSocialIdps:{deps:["idps"],fn:function(e){return c.map(e,function(e){var t=c.clone(e),n=t.type&&t.type.toLowerCase();return n&&c.contains(s.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(!c.isEmpty(e)||t)&&"PRIMARY"===n.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,t,n){return!c.isEmpty(e)||!c.isEmpty(t)||n},cache:!0}},initialize:function(t){t.baseUrl?t.colors&&c.isString(t.colors.brand)&&!t.colors.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new p(e.loc("error.invalid.colors.brand"))):r.corsIsNotSupported()&&this.callGlobalError(new f(e.loc("error.unsupported.cors"))):this.callGlobalError(new p(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 p(t))}},callGlobalSuccess:function(e,t){var n=c.extend(t,{status:e});c.defer(c.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&&c.isFunction(n)?n(e,t):e},processCreds:function(e){var n=this.get("processCreds");return t.Promise(function(t){c.isFunction(n)?2===n.length?n(e,t):(n(e),t()):t()})},parseSchema:function(t,n,r){var i=this.get("registration.parseSchema");c.isFunction(i)?i(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 i=this.get("registration.preSubmit");c.isFunction(i)?i(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 i=this.get("registration.postSubmit");c.isFunction(i)?i(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||{};c.each(e.country,function(e,n){t["country."+n]=e}),e.i18n={},c.each(l.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=h({version:l.version}),e}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[],void 0!==(i=function(){return{SUPPORTED_SOCIAL_IDPS:["facebook","google","linkedin","microsoft","apple"]}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(98),n(427)],void 0!==(i=function(e,t,n){function r(e){return e&&e.equals(n)}function i(e){e.currentBeacon&&(e.currentBeacon.remove(),e.currentBeacon=null)}function o(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,i){var o,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((o=null!=(o=c(n,"logo")||(null!=t?c(t,"logo"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"logo",hash:{},data:i,loc:{start:{line:1,column:67},end:{line:1,column:75}}}):o))+'" class="auth-org-logo" alt="'+u((o=null!=(o=c(n,"logoText")||(null!=t?c(t,"logoText"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"logoText",hash:{},data:i,loc:{start:{line:1,column:104},end:{line:1,column:116}}}):o))+'"/>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"logo"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:45},end:{line:1,column:126}}}))?o:"")+'<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"),o(this,e,a,n),t.explode(s);case"remove":return this.$el.addClass("no-beacon"),t.implode(s).then(function(){i(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(){i(c),o(c,e,a,n)}).done();case"swap":return t.swapBeacons({$el:s,swap:function(){var t=r(c.currentBeacon);i(c),t&&(s.removeClass("beacon-small beacon-loading"),c.$el.removeClass("no-beacon")),o(c,e,a,n)}}).done();case"load":return s.addClass("beacon-small beacon-loading"),o(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(){i(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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(136)),s=o(n(188)),l=o(n(3));r=[n(0),n(98)],void 0!==(i=function(e,t){function n(e,t){var n=t.get("securityImage"),r=t.get("securityImageDescription"),i=t.get("isUndefinedUser"),o=t.get("isNewUser"),a=!i&&!o;return e.css("background-image",""),e.removeClass("new-user undefined-user"),o?void e.addClass("new-user"):i?void e.addClass("undefined-user"):a?(e.removeAttr("aria-describedby"),e.find(".accessibility-text").text(r),void e.css("background-image","url("+c.escape(n)+")")):void 0}function r(t,n){d(window).on("resize.securityBeaconQtip",c.debounce(function(){t.is(":visible")&&t.qtip("show")},300)),t.qtip({prerender:!0,content:{text:e.loc("primaryauth.newUser.tooltip","login",[c.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 i(e){e.qtip("destroy"),d(window).off("resize.securityBeaconQtip")}function o(e,t,n){return u.apply(this,arguments)}function u(){return u=(0,s.default)(a.default.mark(function e(o,s,l){var u,c,d,p,f,h,m;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u=o.find(".auth-beacon-security"),c=o.find(".js-auth-beacon-border"),d=!s.get("isUndefinedUser"),p=s.get("isNewUser"),f=o.find(".radial-progress-bar"),h=s.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],m=200,l){e.next=5;break}return n(u,s),c.toggleClass("auth-beacon-border",d),e.abrupt("return");case 5:if(i(u),d){e.next=10;break}u.fadeOut(m,function(){n(u,s),c.removeClass("auth-beacon-border"),u.fadeIn(m)}),e.next=15;break;case 10:return c.removeClass("auth-beacon-border"),e.next=13,t.radialProgressBar({$el:f,swap:function(){u.fadeOut(m,function(){n(u,s),u.fadeIn(m)})}});case 13:c.addClass("auth-beacon-border"),p&&r(u,h);case 15:case"end":return e.stop()}},e)})),u.apply(this,arguments)}var c=e._,d=e.$;return e.View.extend({template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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=c.partial(o,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(){this.$el.find(".auth-beacon-security").qtip("destroy")}})}.apply(t,r))&&(e.exports=i)},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){function a(e){n(l,i,o,a,s,"next",e)}function s(e){n(l,i,o,a,s,"throw",e)}var l=e.apply(t,r);a(void 0)})}}e.exports=r},function(e,t,n){"use strict";var r,i;r=[n(0),n(7)],void 0!==(i=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=i)},function(e,t,n){function r(e,t){return i(e)||o(e,t)||a(e,t)||s()}var i=n(432),o=n(433),a=n(191),s=n(434);e.exports=r},function(e,t,n){function r(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}var i=n(192);e.exports=r},function(e,t){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}e.exports=n},function(e,t,n){"use strict";var r,i;r=[n(7)],void 0!==(i=function(e){var t={},n=function(e){return"\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: ").concat(t.lighten(e.brand,.05),"; }\n#okta-sign-in.auth-container .button.button-primary.link-button-disabled {\n  background: ").concat(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 i=parseInt(e.substr(2*r,2),16);i=Math.round(Math.min(Math.max(0,i+i*t),255)).toString(16),n+=("00"+i).substr(i.length)}return n},t.addStyle=function(t){var r=n(t),i=document.getElementById(e.WIDGET_CONTAINER_ID),o=document.createElement("style");o.id=e.WIDGET_CONFIG_COLORS_ID,o.type="text/css",o.appendChild(document.createTextNode(r)),i.appendChild(o)},t.isLoaded=function(){return!!document.getElementById(e.WIDGET_CONFIG_COLORS_ID)},t}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(195),n(196),n(439),n(137),n(197),n(73),n(34),n(100)],void 0!==(i=function(e,t,n,r,i,o,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 i({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 o(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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(15),n(100),n(437),n(13)],void 0!==(i=function(e,t,n,r,i){var o=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 i=this,a={username:this.model.get("username")};this.settings.get("features.passwordlessAuth")||(a.password=this.model.get("password")),this.settings.processCreds(a).then(function(){if(i.settings.get("features.deviceFingerprinting"))return i.options.appState.trigger("loading",!0),i.state.trigger("togglePrimaryAuthButton",!0),n.generateDeviceFingerprint(i.settings.get("baseUrl"),i.$el).then(function(e){i.options.appState.set("deviceFingerprint",e)}).catch(function(){}).finally(function(){i.options.appState.trigger("loading",!1),i.state.trigger("togglePrimaryAuthButton",!1)})}).then(o.bind(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"))&&i.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"))&&i.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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(134)],void 0!==(i=function(e,t){var n=e._,r=e.$,i=e.internal.util.Util,o=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"text")||(null!=t?a(t,"text"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:i,loc:{start:{line:1,column:58},end:{line:1,column:66}}}):o))+"</span></div>"},useData:!0}),s=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:62},end:{line:1,column:71}}}):o))+"</h2>"},useData:!0});return e.View.extend({className:"primary-auth-container",children:function(){var t=[],r=this.settings.get("configuredSocialIdps"),i=this.settings.get("piv"),a=this.settings.get("customButtons"),l=o({text:e.loc("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&t.push(this._createPivButton(i)),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(s({title:e.loc("primaryauth.title","login")})),t.push(l)):t.unshift(l),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 o=this.settings.get("baseUrl"),a=r.param({fromURI:this.settings.get("relayState")}),s="".concat(o,"/sso/idps/").concat(n.id,"?").concat(a);i.redirect(s)}}})},_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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0)],void 0!==(i=function(e){var t=e.internal.util.Util,n=e._;return e.View.extend({template:s.default.template({1:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"unlockaccount"},data:i,loc:{start:{line:1,column:440},end:{line:1,column:484}}}))+"</a></li>"},3:function(e,t,n,r,i){var o,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="'+c((s=null!=(s=d(n,"href")||(null!=t?d(t,"href"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"href",hash:{},data:i,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):s))+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(o=d(n,"if").call(l,null!=t?d(t,"target"):t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?o:"")+">"+c((s=null!=(s=d(n,"text")||(null!=t?d(t,"text"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"text",hash:{},data:i,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):s))+"</a></li>"},4:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'target="'+e.escapeExpression((o=null!=(o=a(n,"target")||(null!=t?a(t,"target"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"target",hash:{},data:i,loc:{start:{line:1,column:620},end:{line:1,column:630}}}):o))+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,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:i,loc:{start:{line:1,column:296},end:{line:1,column:341}}}))+"</a></li>"+(null!=(o=c(n,"if").call(s,null!=(o=null!=t?c(t,"features"):t)?c(o,"selfServiceUnlock"):o,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:350},end:{line:1,column:500}}}))?o:"")+(null!=(o=c(n,"each").call(s,null!=(o=null!=t?c(t,"helpLinks"):t)?c(o,"custom"):o,{name:"each",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:500},end:{line:1,column:665}}}))?o:"")+'<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:i,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:i,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||s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"baseUrl")||(null!=t?a(t,"baseUrl"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"baseUrl",hash:{},data:i,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):o))+"/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,n.bind(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=i)},function(e,t,n){"use strict";var r,i,o,a=n(1);a(n(16));/**
 * Duo Web SDK v2
 * Copyright 2019, Duo Security
 */
!function(n,a){i=[],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o)}(0,function(){function e(){E="",T="sig_response",k=void 0,O=void 0,C=void 0,A=void 0,P=void 0,I=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 i(e,t,n,r){"addEventListener"in window?e.addEventListener(t,r,!1):e.attachEvent(n,r)}function o(e,t,n,r){"removeEventListener"in window?e.removeEventListener(t,r,!1):e.detachEvent(n,r)}function a(e){i(document,"DOMContentLoaded","onreadystatechange",e)}function s(e){o(document,"DOMContentLoaded","onreadystatechange",e)}function l(e){i(window,"message","onmessage",e)}function u(e){o(window,"message","onmessage",e)}function c(e){if(e){0===e.indexOf("ERR|")&&t(e.split("|")[1]),-1!==e.indexOf(":")&&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 O=e,C=n[0],A=n[1],{sigRequest:e,duoSig:n[0],appSig:n[1]}}}function d(e){return Boolean(e.origin==="https://"+k&&"string"==typeof e.data&&(e.data.match(R)||e.data.match(N)||e.data.match(M)))}function p(t){e(),t&&(t.host&&(k=t.host),t.sig_request&&c(t.sig_request),t.post_action&&(E=t.post_action),t.post_argument&&(T=t.post_argument),"function"==typeof t.submit_callback&&(I=t.submit_callback));var n=f(t);n?S(n,t.iframeAttributes||{}):w(t),s(p)}function f(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=h(e.iframe),g(n)):e.iframeContainer?(n=h(e.iframeContainer),v(n)):n=document.getElementById("duo_iframe"),n}function h(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function m(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function g(e){e&&!m(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 v(e){e&&m(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 y(){return["https://",k,"/frame/web/v1/auth?tx=",C,"&parent=",encodeURIComponent(document.location.href),"&v=2.8"].join("")}function b(e){if(d(e))if(e.data.match(M)){var t=e.data.substring("DUO_OPEN_WINDOW|".length);_(t)&&window.open(t,"_self")}else x(e.data),u(b)}function _(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<L.length;n++)if(t.hostname.endsWith("."+L[n])||t.hostname===L[n])return!0;return!1}function w(e){a(function n(){var r=f(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.'),S(r,e.iframeAttributes||{}),s(n)})}function S(e,n){if(k||(k=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."),C&&A||(c(r(e,"sigRequest")),C&&A||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.")),""===E&&(E=r(e,"postAction")||E),"sig_response"===T&&(T=r(e,"postArgument")||T),m(e))P=e,P.src=y();else{for(;e.firstChild;)e.removeChild(e.firstChild);P=document.createElement("iframe"),n.src=y();for(var i in n)P.setAttribute(i,n[i]);e.appendChild(P)}l(b)}function x(e){E(e+":"+A)}var E,T,k,O,C,A,P,I,R=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,N=/^ERR\|[\w\s\.\(\)]+$/,M=/^DUO_OPEN_WINDOW\|/,L=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];return e(),{init:p,_onReady:a,_parseSigRequest:c,_isDuoMessage:d,_doPostBack:x}})},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(7)],void 0!==(i=function(e,t){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:i,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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(7)],void 0!==(i=function(e,t){var n=e._;return e.View.extend({className:"hide resend-email-infobox",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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(o,{name:"i18n",hash:{bundle:"login",code:"email.code.not.received"},data:i,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(o,{name:"i18n",hash:{bundle:"login",code:"email.button.resend"},data:i,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){e.preventDefault(),this.hideResendCallout(),this.model.resend().finally(this.showResendCallout.bind(this))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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=i)},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,i,o,a){if(void 0===t||t<1.1){for(var s=[],l=0;l<i.length;l++)s[l]={version:i[l].version,challenge:r,keyHandle:i[l].keyHandle,appId:e};return{type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:o,requestId:a}}return{type:n.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:r,registeredKeys:i,timeoutSeconds:o,requestId:a}},n.formatRegisterRequest_=function(e,r,i,o,a){if(void 0===t||t<1.1){for(var s=0;s<i.length;s++)i[s].appId=e;for(var l=[],s=0;s<r.length;s++)l[s]={version:r[s].version,challenge:i[0],keyHandle:r[s].keyHandle,appId:e};return{type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:l,registerRequests:i,timeoutSeconds:o,requestId:a}}return{type:n.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:i,registeredKeys:r,timeoutSeconds:o,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 i=new MessageChannel,o=function(t){"ready"==t.data&&(i.port1.removeEventListener("message",o),e(i.port1))};i.port1.addEventListener("message",o),i.port1.start(),r.addEventListener("load",function(){r.contentWindow.postMessage("init",t,[i.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 i=n.callbackMap_[r];delete n.callbackMap_[r],i(t.responseData)}},n.sign=function(e,r,i,o,a){void 0===t?n.getApiVersion(function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendSignRequest(e,r,i,o,a)}):n.sendSignRequest(e,r,i,o,a)},n.sendSignRequest=function(e,t,r,i,o){n.getPortSingleton_(function(a){var s=++n.reqCounter_;n.callbackMap_[s]=i;var l=void 0!==o?o:n.EXTENSION_TIMEOUT_SEC,u=n.formatSignRequest_(e,t,r,l,s);a.postMessage(u)})},n.register=function(e,r,i,o,a){void 0===t?n.getApiVersion(function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendRegisterRequest(e,r,i,o,a)}):n.sendRegisterRequest(e,r,i,o,a)},n.sendRegisterRequest=function(e,t,r,i,o){n.getPortSingleton_(function(a){var s=++n.reqCounter_;n.callbackMap_[s]=i;var l=void 0!==o?o: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 i;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":i=1.1;break;default:i=0}return void e({js_api_version:i})}var o=++n.reqCounter_;n.callbackMap_[o]=e;var a={type:n.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==t?t:n.EXTENSION_TIMEOUT_SEC,requestId:o};r.postMessage(a)})}}}()},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(26),n(19)],void 0!==(i=function(e,t,n){var r=e._,i=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="factor-cardinality">'+e.escapeExpression((o=null!=(o=a(n,"cardinalityText")||(null!=t?a(t,"cardinalityText"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"cardinalityText",hash:{},data:i,loc:{start:{line:1,column:33},end:{line:1,column:52}}}):o))+"</span>"},useData:!0}),o=e.View.extend({className:"enroll-factor-row clearfix",template:s.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((o=null!=(o=a(n,"factorDescription")||(null!=t?a(t,"factorDescription"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"factorDescription",hash:{},data:i,loc:{start:{line:1,column:235},end:{line:1,column:256}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"iconClassName")||(null!=t?d(t,"iconClassName"):t))?s:u,"function"===(0,a.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=d(n,"factorLabel")||(null!=t?d(t,"factorLabel"):t))?s:u,"function"===(0,a.default)(s)?s.call(l,{name:"factorLabel",hash:{},data:i,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):s))+"</h3>"+(null!=(o=d(n,"if").call(l,null!=t?d(t,"factorDescription"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?o:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var r=[],o=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"]];o?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(o,a,s);return l&&r.push([i({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:o,itemSelector:".list-content",template:s.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="list-title">'+e.escapeExpression((o=null!=(o=a(n,"listTitle")||(null!=t?a(t,"listTitle"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"listTitle",hash:{},data:i,loc:{start:{line:1,column:41},end:{line:1,column:54}}}):o))+"</div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"listTitle"):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:67}}}))?o:"")+'<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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0)],void 0!==(i=function(e){var t=e._;return e.internal.views.forms.inputs.TextBox.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=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((o=null!=(o=d(n,"countryCallingCode")||(null!=t?d(t,"countryCallingCode"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"countryCallingCode",hash:{},data:i,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):o))+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c((o=null!=(o=d(n,"type")||(null!=t?d(t,"type"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"type",hash:{},data:i,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):o))+'" placeholder="'+c((o=null!=(o=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"placeholder",hash:{},data:i,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):o))+'" name="'+c((o=null!=(o=d(n,"name")||(null!=t?d(t,"name"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"name",hash:{},data:i,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):o))+'" id="'+c((o=null!=(o=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"inputId",hash:{},data:i,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):o))+'" value="'+c((o=null!=(o=d(n,"value")||(null!=t?d(t,"value"):t))?o:l,(0,a.default)(o)===u?o.call(s,{name:"value",hash:{},data:i,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):o))+'" 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(t.bind(function(){this.$el.parent().addClass("o-form-input-group")},this))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(23)],void 0!==(i=function(e,t,n){var r=e._,i=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&&i.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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(19),n(5),n(13),n(15)],void 0!==(i=function(e,t,n,r,i){var o=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:o.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:i,type:"tel"}),n.Toolbar({noCancelButton:!0,save:e.loc("oform.verify","login")})]}}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(7)],void 0!==(i=function(e,t){var n=e.internal.util.Util;return e.View.extend({template:a.default.template({1:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.expiring.later"},data:i,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"if").call(a,null!=t?s(t,"passwordWarn"):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:143}}}))?o:"")+'<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:i,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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(19)],void 0!==(i=function(e,t){return e.View.extend({template:a.default.template({1:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:63},end:{line:1,column:133}}}))+'</div><ul class="password-requirements--list">'+(null!=(o=s(n,"each").call(a,null!=t?s(t,"requirements"):t,{name:"each",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:179},end:{line:1,column:268}}}))?o:"")+"</ul>"},2:function(e,t,n,r,i){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,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"requirements"):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:280}}}))?o:""},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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"helpSupportNumber",bundle:"login",code:"contact.support"},data:i,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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(15)],void 0!==(i=function(e,t){var n=e._,r=e.internal.views.forms.helpers.SchemaFormFactory,i=function(e){var t=e.split(""),r=[],i=[",",".","-","_","#","@"],o="";return n.each(t,function(e){-1===i.indexOf(e)?o+=e:(o.length>=3&&r.push(n.clone(o)),o="")}),o.length>=3&&r.push(n.clone(o)),r.filter(Boolean)},o=function(e,t){if(!e)return!1;e=e.toLowerCase(),t=t.toLowerCase();for(var n=i(e),r=0;r<n.length;r++){var o=n[r];if(-1!==t.indexOf(o))return!0}return!1},a=function(e,t,r){var i=e.get("minLength"),a=e.get("maxLength"),s=e.get("format");if(n.isNumber(i)&&t.length<i)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")),!o(c,l)}if(!new RegExp(s).test(t))return!1}return!0},s=function(t,r,i,o){var s=r.get(t);n.isString(s)&&i.each(function(n,i){var l=e.$("#subschemas-"+t+" .subschema-"+i);s?l.children("p").removeClass("default-schema"):l.children("p").addClass("default-schema"),l.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),a(n,s,r)?(l.addClass("subschema-satisfied"),l.find("p span").removeClass("error error-16-small"),l.find("p span").addClass("confirm-16")):o&&(l.find("p span").removeClass("confirm-16"),l.find("p span").addClass("error error-16-small"),l.addClass("subschema-error subschema-unsatisfied"))})};return{createInputOptions:function(e){var i=r.createInputOptions(e);if("select"===i.type)i=n.extend(i,{label:e.get("title")});else{var o=e.get("title");e.get("required")&&(o+=" *"),i=n.extend(i,{label:!1,"label-top":!0,placeholder:o})}var a=e.get("name");switch(a){case"userName":i.input=t,i.params={icon:"person-16-gray"};break;case"password":i.type="password",i.input=t,i.params={icon:"remote-lock-16"}}var l=e.get("subSchemas");return l&&(i.events={input:function(){s(a,this.model,l,!0)},focusout:function(){s(a,this.model,l,!0)},"change:userName":function(){s(a,this.model,l,!0)},"change:firstName":function(){s(a,this.model,l,!0)},"change:lastName":function(){s(a,this.model,l,!0)},"change:email":function(){s(a,this.model,l,!0)}}),i},getUsernameParts:i,passwordContainsFormField:o}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r=n(1),i=n(0),o=r(n(520)),a=r(n(521)),s=r(n(523)),l=n(141),u=n(35),c=r(n(185)),d=function(e){var t=(e.options||[]).map(function(e){return Object.assign({},(0,l.getAuthenticatorDataForEnroll)(e),e)});return{View:o.default,options:{name:e.name,collection:new i.Collection(t)}}},p=function(e){var t=(e.options||[]).map(function(e){return Object.assign({},e,(0,l.getAuthenticatorDataForEnroll)(e))});return{View:a.default,options:{name:e.name,collection:new i.Collection(t)}}},f=function(e){var t=e.options||[],n=!1;return t=t.filter(function(e){return"security_key"!==e.authenticatorType||!n&&(n=!0,!0)}),t=t.map(function(e){return Object.assign({},e,(0,l.getAuthenticatorDataForVerification)(e))}),{View:s.default,options:{name:e.name,collection:new i.Collection(t)}}},h={factorSelect:d,authenticatorEnrollSelect:p,authenticatorVerifySelect:f},m=function(e){return(h[e.type]||i._.identity)(e)},g=function(e){var t=e.filter(function(e){return e.name===u.FORMS.REDIRECT_IDP});return Array.isArray(t)?t.map(function(e){var t,n=e.type&&e.type.toLowerCase();i._.contains(c.default.SUPPORTED_SOCIAL_IDPS,n)?t=(0,i.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}}):[]},v=function(e){return e.get("customButtons").map(function(e){return{attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:e.title,click:e.click}})};e.exports={create:m,createIdpButtons:g,createCustomButtons:v}},function(e,t,n){"use strict";var r=n(1),i=r(n(3)),o=n(0),a=o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o=null!=(o=a(n,"label")||(null!=t?a(t,"label"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:i,loc:{start:{line:1,column:0},end:{line:1,column:9}}}):o))},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);Object.defineProperty(t,"__esModule",{value:!0}),t.getV1ClassName=t.getClassNameMapping=void 0;var i,o,a=r(n(80)),s=n(35),l=(o={},(0,a.default)(o,s.FORMS.IDENTIFY,(i={},(0,a.default)(i,s.FORMS.IDENTIFY,"primary-auth"),(0,a.default)(i,"password","primary-auth"),i)),(0,a.default)(o,s.FORMS.ENROLL_PROFILE,(0,a.default)({},s.FORMS.ENROLL_PROFILE,"registration")),(0,a.default)(o,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)(o,s.FORMS.CHALLENGE_POLL,{app:"mfa-verify"}),(0,a.default)(o,s.FORMS.RESEND_PUSH,{app:"mfa-verify"}),(0,a.default)(o,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)(o,s.FORMS.SELECT_AUTHENTICATOR_ENROLL,{"select-authenticator-enroll":"enroll-choices"}),(0,a.default)(o,s.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,{password:"forgot-password"}),(0,a.default)(o,s.FORMS.REENROLL_AUTHENTICATOR,{password:"password-expired"}),(0,a.default)(o,s.FORMS.RESET_AUTHENTICATOR,{password:"forgot-password"}),o),u=function(e,t,n,r){if(r&&e===s.FORMS.IDENTIFY)return"forgot-password";var i=e;return"phone"===t?i="".concat(n):t&&(i="".concat(t)),l[e]&&l[e][i]?l[e][i]:null};t.getV1ClassName=u;var c=function(e,t,n,r){var i=e;t&&(i=i+"--"+t),n&&n!==t&&(i=i+"--"+n);var o=u(e,t,n,r),a=[i];return o&&a.push(o),a};t.getClassNameMapping=c},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.ResendView=t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=r(n(17)),l=r(n(36)),u=n(103),c=i.View.extend({className:"phone-authenticator-challenge__resend-warning hide",events:{"click a.resend-link":"handleResendLink"},resendActionKey:"currentAuthenticatorEnrollment-resend",initialize:function(){var e="sms"===this.model.get("mode")?(0,i.loc)("oie.phone.verify.sms.resendText","login"):(0,i.loc)("oie.phone.verify.call.resendText","login"),t="sms"===this.model.get("mode")?(0,i.loc)("oie.phone.verify.sms.resendLinkText","login"):(0,i.loc)("oie.phone.verify.call.resendLinkText","login");this.add((0,i.createCallout)({content:"".concat(e,"&nbsp;<a class='resend-link'>").concat(t,"</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=setTimeout(function(){e.el.classList.remove("hide")},u.SHOW_RESEND_TIMEOUT)},remove:function(){i.View.prototype.remove.apply(this,arguments),clearTimeout(this.showCalloutTimer)}});t.ResendView=c;var d=a.default.extend(Object.assign({className:"phone-authenticator-challenge",title:function(){return(0,i.loc)("oie.phone.verify.title","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")},initialize:function(){a.default.prototype.initialize.apply(this,arguments);var e="sms"===this.model.get("mode")?(0,i.loc)("oie.phone.verify.sms.codeSentText","login"):(0,i.loc)("mfa.calling","login"),t=(0,i.loc)("oie.phone.verify.enterCodeText","login"),n=this.model.get("phoneNumber")!==(0,i.loc)("oie.phone.alternate.title","login")?"strong":"";this.add('<div class="okta-form-subtitle" data-se="o-form-explain">\n        '.concat(e,"&nbsp;<span class='").concat(n,"'>").concat(this.model.escape("phoneNumber"),".</span>\n        &nbsp;").concat(t,"</div>"),{prepend:!0,selector:".o-form-fieldset-container"})},postRender:function(){a.default.prototype.postRender.apply(this,arguments),this.add(c,{selector:".o-form-error-container",prepend:!0})}})),p=s.default.extend({Body:d,Footer:l.default,createModelClass:function(){var e=this.options.currentViewState.relatesTo,t=e&&e.value||{},n=t.methods,r=t.profile,a=o.default.prototype.createModelClass.apply(this,arguments),s=Object.assign({mode:{value:n[0].type,type:"string"},phoneNumber:{value:r&&r.phoneNumber?r.phoneNumber:(0,i.loc)("oie.phone.alternate.title","login"),type:"string"}},a.prototype.local);return a.extend({local:s})}});t.default=p},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(216)),s=r(n(75)),l=r(n(17)),u=n(103),c=i.View.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){this.add((0,i.createCallout)({content:"".concat((0,i.loc)("email.code.not.received","login"),"\n        <a class='resend-link'>").concat((0,i.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=i._.delay(function(){e.$el.removeClass("hide")},u.SHOW_RESEND_TIMEOUT)},remove:function(){i.View.prototype.remove.apply(this,arguments),clearTimeout(this.showMeTimeout)}}),d=o.default.extend(Object.assign({save:function(){return(0,i.loc)("mfa.challenge.verify","login")},initialize:function(){o.default.prototype.initialize.apply(this,arguments),this.add(c,{selector:".o-form-error-container",options:{resendEmailAction:this.resendEmailAction}}),this.startPolling(),this.listenTo(this.options.model,"error",this.startPolling.bind(this))},saveForm:function(){o.default.prototype.saveForm.apply(this,arguments),this.stopPolling()},remove:function(){o.default.prototype.remove.apply(this,arguments),this.stopPolling()}},a.default,s.default)),p=l.default.extend({Body:d});t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i={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=i},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.getMessage=t.default=void 0;var i=n(0),o=r(n(72)),a=r(n(34)),s={"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"},l=function(e){var t;if(0===e.indexOf("enroll-authenticator.security_question.credentials.questionKey.")){t="security.".concat(e.replace("enroll-authenticator.security_question.credentials.questionKey.",""))}return s[e]&&(t=s[e]),t&&!o.default.login[t]&&(a.default.warn("expect i18n key ".concat(t," for ").concat(e," but not found in 'login' bundle.")),t=null),t},u=function(e,t){var n=l(e);return n?(0,i.loc)(n,"login"):t},c=function e(t,n){if(!1!==n.mutable){a.default.info("i18n label transformer"),a.default.info("\t remediationName: ",t.name),a.default.info("\t uiSchema: ",JSON.stringify(n));var r=t.relatesTo&&t.relatesTo.value.type?".".concat(t.relatesTo.value.type):"",o="".concat(t.name).concat(r,"."),s="".concat(o).concat(n.name);"checkbox"===n.type&&n.placeholder&&(a.default.info("\t 1: ",s),n.placeholder=u(s,n.placeholder)),n.label&&(a.default.info("\t 2: ",s),n.label=u(s,n.label)),i.$.isPlainObject(n.options)&&(n.options=i._.mapObject(n.options,function(e,t){var n="".concat(s,".").concat(t);return a.default.info("\t 3: ",n),u(n,e)})),Array.isArray(n.options)&&n.options.forEach(function(e){if(e.label){var t;e.authenticatorType?t="".concat(s,".").concat(e.authenticatorType):void 0!==e.value&&(t="".concat(s,".").concat(e.value)),a.default.info("\t 4: ",t),e.label=u(t,e.label)}}),Array.isArray(n.optionsUiSchemas)&&n.optionsUiSchemas.forEach(function(n){n.forEach(function(n){return e(t,n)})})}},d=function(e){if(e.i18n&&e.i18n.key){var t=e.i18n.key;if(o.default.login[t])return a.default.info("Override messages using i18n key ".concat(t)),(0,i.loc)(t,"login",e.i18n.params||[])}return e.message};t.getMessage=d;var p=function(e){return Array.isArray(e.remediations)&&e.remediations.filter(function(e){return Array.isArray(e.uiSchema)&&e.uiSchema.length}).forEach(function(e){e.uiSchema.forEach(function(t){return c(e,t)})}),e.messages&&Array.isArray(e.messages.value)&&e.messages.value.forEach(function(e){e.message=d(e)}),e};t.default=p},function(e,t,n){n(219),e.exports=n(404)},function(e,t,n){"use strict";n(220);var r=function(e){return e&&e.__esModule?e:{default:e}}(n(391));r.default._babelPolyfill&&"undefined"!=typeof console&&console.warn,r.default._babelPolyfill=!0},function(e,t,n){"use strict";n(221),n(364),n(366),n(369),n(371),n(373),n(375),n(377),n(379),n(381),n(383),n(385),n(387),n(176)},function(e,t,n){n(222),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),n(295),n(296),n(297),n(298),n(299),n(300),n(301),n(303),n(304),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(314),n(315),n(316),n(317),n(318),n(319),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(124),n(327),n(165),n(328),n(166),n(329),n(330),n(331),n(332),n(167),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(346),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),e.exports=n(18)},function(e,t,n){"use strict";var r=n(8),i=n(29),o=n(20),a=n(2),s=n(27),l=n(51).KEY,u=n(9),c=n(84),d=n(66),p=n(55),f=n(12),h=n(105),m=n(146),g=n(224),v=n(87),y=n(10),b=n(11),_=n(25),w=n(31),S=n(50),x=n(54),E=n(59),T=n(149),k=n(40),O=n(86),C=n(21),A=n(57),P=k.f,I=C.f,R=T.f,N=r.Symbol,M=r.JSON,L=M&&M.stringify,D=f("_hidden"),F=f("toPrimitive"),j={}.propertyIsEnumerable,U=c("symbol-registry"),B=c("symbols"),V=c("op-symbols"),q=Object.prototype,H="function"==typeof N&&!!O.f,W=r.QObject,$=!W||!W.prototype||!W.prototype.findChild,z=o&&u(function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=P(q,t);r&&delete q[t],I(e,t,n),r&&e!==q&&I(q,t,r)}:I,G=function(e){var t=B[e]=E(N.prototype);return t._k=e,t},K=H&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},Y=function(e,t,n){return e===q&&Y(V,t,n),y(e),t=S(t,!0),y(n),i(B,t)?(n.enumerable?(i(e,D)&&e[D][t]&&(e[D][t]=!1),n=E(n,{enumerable:x(0,!1)})):(i(e,D)||I(e,D,x(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)),i=0,o=r.length;o>i;)Y(e,n=r[i++],t[n]);return e},Q=function(e,t){return void 0===t?E(e):J(E(e),t)},X=function(e){var t=j.call(this,e=S(e,!0));return!(this===q&&i(B,e)&&!i(V,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,D)&&this[D][e])||t)},Z=function(e,t){if(e=w(e),t=S(t,!0),e!==q||!i(B,t)||i(V,t)){var n=P(e,t);return!n||!i(B,t)||i(e,D)&&e[D][t]||(n.enumerable=!0),n}},ee=function(e){for(var t,n=R(w(e)),r=[],o=0;n.length>o;)i(B,t=n[o++])||t==D||t==l||r.push(t);return r},te=function(e){for(var t,n=e===q,r=R(n?V:w(e)),o=[],a=0;r.length>a;)!i(B,t=r[a++])||n&&!i(q,t)||o.push(B[t]);return o};H||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===q&&t.call(V,n),i(this,D)&&i(this[D],e)&&(this[D][e]=!1),z(this,e,x(1,n))};return o&&$&&z(q,e,{configurable:!0,set:t}),G(e)},s(N.prototype,"toString",function(){return this._k}),k.f=Z,C.f=Y,n(60).f=T.f=ee,n(77).f=X,O.f=te,o&&!n(56)&&s(q,"propertyIsEnumerable",X,!0),h.f=function(e){return G(f(e))}),a(a.G+a.W+a.F*!H,{Symbol:N});for(var ne="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;ne.length>re;)f(ne[re++]);for(var ie=A(f.store),oe=0;ie.length>oe;)m(ie[oe++]);a(a.S+a.F*!H,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=N(e)},keyFor:function(e){if(!K(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[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(){O.f(1)});a(a.S+a.F*ae,"Object",{getOwnPropertySymbols:function(e){return O.f(_(e))}}),M&&a(a.S+a.F*(!H||u(function(){var e=N();return"[null]"!=L([e])||"{}"!=L({a:e})||"{}"!=L(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);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)}}),N.prototype[F]||n(30)(N.prototype,F,N.prototype.valueOf),d(N,"Symbol"),d(Math,"Math",!0),d(r.JSON,"JSON",!0)},function(e,t,n){e.exports=n(84)("native-function-to-string",Function.toString)},function(e,t,n){var r=n(57),i=n(86),o=n(77);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var a,s=n(e),l=o.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(59)})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(20),"Object",{defineProperty:n(21).f})},function(e,t,n){var r=n(2);r(r.S+r.F*!n(20),"Object",{defineProperties:n(148)})},function(e,t,n){var r=n(31),i=n(40).f;n(41)("getOwnPropertyDescriptor",function(){return function(e,t){return i(r(e),t)}})},function(e,t,n){var r=n(25),i=n(61);n(41)("getPrototypeOf",function(){return function(e){return i(r(e))}})},function(e,t,n){var r=n(25),i=n(57);n(41)("keys",function(){return function(e){return i(r(e))}})},function(e,t,n){n(41)("getOwnPropertyNames",function(){return n(149).f})},function(e,t,n){var r=n(11),i=n(51).onFreeze;n(41)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(11),i=n(51).onFreeze;n(41)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(11),i=n(51).onFreeze;n(41)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(e,t,n){var r=n(11);n(41)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(11);n(41)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(e,t,n){var r=n(11);n(41)("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(150)})},function(e,t,n){var r=n(2);r(r.S,"Object",{is:n(151)})},function(e,t,n){var r=n(2);r(r.S,"Object",{setPrototypeOf:n(109).set})},function(e,t,n){"use strict";var r=n(78),i={};i[n(12)("toStringTag")]="z",i+""!="[object z]"&&n(27)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(e,t,n){var r=n(2);r(r.P,"Function",{bind:n(152)})},function(e,t,n){var r=n(21).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(20)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(e){return""}}})},function(e,t,n){"use strict";var r=n(11),i=n(61),o=n(12)("hasInstance"),a=Function.prototype;o in a||n(21).f(a,o,{value:function(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,n){var r=n(2),i=n(154);r(r.G+r.F*(parseInt!=i),{parseInt:i})},function(e,t,n){var r=n(2),i=n(155);r(r.G+r.F*(parseFloat!=i),{parseFloat:i})},function(e,t,n){"use strict";var r=n(8),i=n(29),o=n(45),a=n(111),s=n(50),l=n(9),u=n(60).f,c=n(40).f,d=n(21).f,p=n(67).trim,f=r.Number,h=f,m=f.prototype,g="Number"==o(n(59)(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():p(t,3);var n,r,i,o=t.charCodeAt(0);if(43===o||45===o){if(88===(n=t.charCodeAt(2))||120===n)return NaN}else if(48===o){switch(t.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=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>i)return NaN;return parseInt(l,r)}}return+t};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof f&&(g?l(function(){m.valueOf.call(n)}):"Number"!=o(n))?a(new h(y(t)),n,f):y(t)};for(var b,_=n(20)?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++)i(h,b=_[w])&&!i(f,b)&&d(f,b,c(h,b));f.prototype=m,m.constructor=f,n(27)(r,"Number",f)}},function(e,t,n){"use strict";var r=n(2),i=n(39),o=n(156),a=n(112),s=1..toFixed,l=Math.floor,u=[0,0,0,0,0,0],c="Number.toFixed: incorrect invocation!",d=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*u[n],u[n]=r%1e7,r=l(r/1e7)},p=function(e){for(var t=6,n=0;--t>=0;)n+=u[t],u[t]=l(n/e),n=n%e*1e7},f=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(9)(function(){s.call({})})),"Number",{toFixed:function(e){var t,n,r,s,l=o(this,c),u=i(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(d(0,n),r=u;r>=7;)d(1e7,0),r-=7;for(d(h(10,r,1),0),r=t-1;r>=23;)p(1<<23),r-=23;p(1<<r),d(1,1),p(2),v=f()}else d(0,n),d(1<<-t,0),v=f()+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),i=n(9),o=n(156),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(e){var t=o(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),i=n(8).isFinite;r(r.S,"Number",{isFinite:function(e){return"number"==typeof e&&i(e)}})},function(e,t,n){var r=n(2);r(r.S,"Number",{isInteger:n(157)})},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),i=n(157),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(e){return i(e)&&o(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),i=n(155);r(r.S+r.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(e,t,n){var r=n(2),i=n(154);r(r.S+r.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(e,t,n){var r=n(2),i=n(158),o=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:i(e-1+o(e-1)*o(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 i=n(2),o=Math.asinh;i(i.S+i.F*!(o&&1/o(0)>0),"Math",{asinh:r})},function(e,t,n){var r=n(2),i=Math.atanh;r(r.S+r.F*!(i&&1/i(-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),i=n(113);r(r.S,"Math",{cbrt:function(e){return i(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),i=Math.exp;r(r.S,"Math",{cosh:function(e){return(i(e=+e)+i(-e))/2}})},function(e,t,n){var r=n(2),i=n(114);r(r.S+r.F*(i!=Math.expm1),"Math",{expm1:i})},function(e,t,n){var r=n(2);r(r.S,"Math",{fround:n(267)})},function(e,t,n){var r=n(113),i=Math.pow,o=i(2,-52),a=i(2,-23),s=i(2,127)*(2-a),l=i(2,-126),u=function(e){return e+1/o-1/o};e.exports=Math.fround||function(e){var t,n,i=Math.abs(e),c=r(e);return i<l?c*u(i/l/a)*l*a:(t=(1+a/o)*i,n=t-(t-i),n>s||n!=n?c*(1/0):c*n)}},function(e,t,n){var r=n(2),i=Math.abs;r(r.S,"Math",{hypot:function(e,t){for(var n,r,o=0,a=0,s=arguments.length,l=0;a<s;)n=i(arguments[a++]),l<n?(r=l/n,o=o*r*r+1,l=n):n>0?(r=n/l,o+=r*r):o+=n;return l===1/0?1/0:l*Math.sqrt(o)}})},function(e,t,n){var r=n(2),i=Math.imul;r(r.S+r.F*n(9)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(e,t){var n=+e,r=+t,i=65535&n,o=65535&r;return 0|i*o+((65535&n>>>16)*o+i*(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(158)})},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(113)})},function(e,t,n){var r=n(2),i=n(114),o=Math.exp;r(r.S+r.F*n(9)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(e){return Math.abs(e=+e)<1?(i(e)-i(-e))/2:(o(e-1)-o(-e-1))*(Math.E/2)}})},function(e,t,n){var r=n(2),i=n(114),o=Math.exp;r(r.S,"Math",{tanh:function(e){var t=i(e=+e),n=i(-e);return t==1/0?1:n==1/0?-1:(t-n)/(o(e)+o(-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),i=n(58),o=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++],i(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?o(t):o(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){var r=n(2),i=n(31),o=n(14);r(r.S,"String",{raw:function(e){for(var t=i(e.raw),n=o(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(67)("trim",function(e){return function(){return e(this,3)}})},function(e,t,n){"use strict";var r=n(115)(!0);n(116)(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),i=n(115)(!1);r(r.P,"String",{codePointAt:function(e){return i(this,e)}})},function(e,t,n){"use strict";var r=n(2),i=n(14),o=n(117),a="".endsWith;r(r.P+r.F*n(119)("endsWith"),"String",{endsWith:function(e){var t=o(this,e,"endsWith"),n=arguments.length>1?arguments[1]:void 0,r=i(t.length),s=void 0===n?r:Math.min(i(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),i=n(117);r(r.P+r.F*n(119)("includes"),"String",{includes:function(e){return!!~i(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(112)})},function(e,t,n){"use strict";var r=n(2),i=n(14),o=n(117),a="".startsWith;r(r.P+r.F*n(119)("startsWith"),"String",{startsWith:function(e){var t=o(this,e,"startsWith"),n=i(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(28)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(e,t,n){"use strict";n(28)("big",function(e){return function(){return e(this,"big","","")}})},function(e,t,n){"use strict";n(28)("blink",function(e){return function(){return e(this,"blink","","")}})},function(e,t,n){"use strict";n(28)("bold",function(e){return function(){return e(this,"b","","")}})},function(e,t,n){"use strict";n(28)("fixed",function(e){return function(){return e(this,"tt","","")}})},function(e,t,n){"use strict";n(28)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(e,t,n){"use strict";n(28)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(e,t,n){"use strict";n(28)("italics",function(e){return function(){return e(this,"i","","")}})},function(e,t,n){"use strict";n(28)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(e,t,n){"use strict";n(28)("small",function(e){return function(){return e(this,"small","","")}})},function(e,t,n){"use strict";n(28)("strike",function(e){return function(){return e(this,"strike","","")}})},function(e,t,n){"use strict";n(28)("sub",function(e){return function(){return e(this,"sub","","")}})},function(e,t,n){"use strict";n(28)("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),i=n(25),o=n(50);r(r.P+r.F*n(9)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(e){var t=i(this),n=o(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(2),i=n(302);r(r.P+r.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(e,t,n){"use strict";var r=n(9),i=Date.prototype.getTime,o=Date.prototype.toISOString,a=function(e){return e>9?e:"0"+e};e.exports=r(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!r(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.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"}:o},function(e,t,n){var r=Date.prototype,i=r.toString,o=r.getTime;new Date(NaN)+""!="Invalid Date"&&n(27)(r,"toString",function(){var e=o.call(this);return e===e?i.call(this):"Invalid Date"})},function(e,t,n){var r=n(12)("toPrimitive"),i=Date.prototype;r in i||n(30)(i,r,n(305))},function(e,t,n){"use strict";var r=n(10),i=n(50);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return i(r(this),"number"!=e)}},function(e,t,n){var r=n(2);r(r.S,"Array",{isArray:n(87)})},function(e,t,n){"use strict";var r=n(37),i=n(2),o=n(25),a=n(160),s=n(120),l=n(14),u=n(121),c=n(122);i(i.S+i.F*!n(88)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,i,d,p=o(e),f="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=0,y=c(p);if(g&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==y||f==Array&&s(y))for(t=l(p.length),n=new f(t);t>v;v++)u(n,v,g?m(p[v],v):p[v]);else for(d=y.call(p),n=new f;!(i=d.next()).done;v++)u(n,v,g?a(d,m,[i.value,v],!0):i.value);return n.length=v,n}})},function(e,t,n){"use strict";var r=n(2),i=n(121);r(r.S+r.F*n(9)(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;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(2),i=n(31),o=[].join;r(r.P+r.F*(n(76)!=Object||!n(33)(o)),"Array",{join:function(e){return o.call(i(this),void 0===e?",":e)}})},function(e,t,n){"use strict";var r=n(2),i=n(108),o=n(45),a=n(58),s=n(14),l=[].slice;r(r.P+r.F*n(9)(function(){i&&l.call(i)}),"Array",{slice:function(e,t){var n=s(this.length),r=o(this);if(t=void 0===t?n:t,"Array"==r)return l.call(this,e,t);for(var i=a(e,n),u=a(t,n),c=s(u-i),d=new Array(c),p=0;p<c;p++)d[p]="String"==r?this.charAt(i+p):this[i+p];return d}})},function(e,t,n){"use strict";var r=n(2),i=n(38),o=n(25),a=n(9),s=[].sort,l=[1,2,3];r(r.P+r.F*(a(function(){l.sort(void 0)})||!a(function(){l.sort(null)})||!n(33)(s)),"Array",{sort:function(e){return void 0===e?s.call(o(this)):s.call(o(this),i(e))}})},function(e,t,n){"use strict";var r=n(2),i=n(42)(0),o=n(33)([].forEach,!0);r(r.P+r.F*!o,"Array",{forEach:function(e){return i(this,e,arguments[1])}})},function(e,t,n){var r=n(11),i=n(87),o=n(12)("species");e.exports=function(e){var t;return i(e)&&(t=e.constructor,"function"!=typeof t||t!==Array&&!i(t.prototype)||(t=void 0),r(t)&&null===(t=t[o])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){"use strict";var r=n(2),i=n(42)(1);r(r.P+r.F*!n(33)([].map,!0),"Array",{map:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),i=n(42)(2);r(r.P+r.F*!n(33)([].filter,!0),"Array",{filter:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),i=n(42)(3);r(r.P+r.F*!n(33)([].some,!0),"Array",{some:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),i=n(42)(4);r(r.P+r.F*!n(33)([].every,!0),"Array",{every:function(e){return i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),i=n(162);r(r.P+r.F*!n(33)([].reduce,!0),"Array",{reduce:function(e){return i(this,e,arguments.length,arguments[1],!1)}})},function(e,t,n){"use strict";var r=n(2),i=n(162);r(r.P+r.F*!n(33)([].reduceRight,!0),"Array",{reduceRight:function(e){return i(this,e,arguments.length,arguments[1],!0)}})},function(e,t,n){"use strict";var r=n(2),i=n(85)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(33)(o)),"Array",{indexOf:function(e){return a?o.apply(this,arguments)||0:i(this,e,arguments[1])}})},function(e,t,n){"use strict";var r=n(2),i=n(31),o=n(39),a=n(14),s=[].lastIndexOf,l=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(l||!n(33)(s)),"Array",{lastIndexOf:function(e){if(l)return s.apply(this,arguments)||0;var t=i(this),n=a(t.length),r=n-1;for(arguments.length>1&&(r=Math.min(r,o(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(163)}),n(62)("copyWithin")},function(e,t,n){var r=n(2);r(r.P,"Array",{fill:n(123)}),n(62)("fill")},function(e,t,n){"use strict";var r=n(2),i=n(42)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)("find")},function(e,t,n){"use strict";var r=n(2),i=n(42)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)(o)},function(e,t,n){n(69)("Array")},function(e,t,n){var r=n(8),i=n(111),o=n(21).f,a=n(60).f,s=n(118),l=n(89),u=r.RegExp,c=u,d=u.prototype,p=/a/g,f=/a/g,h=new u(p)!==p;if(n(20)&&(!h||n(9)(function(){return f[n(12)("match")]=!1,u(p)!=p||u(f)==f||"/a/i"!=u(p,"i")}))){u=function(e,t){var n=this instanceof u,r=s(e),o=void 0===t;return!n&&r&&e.constructor===u&&o?e:i(h?new c(r&&!o?e.source:e,t):c((r=e instanceof u)?e.source:e,r&&o?l.call(e):t),n?this:d,u)};for(var m=a(c),g=0;m.length>g;)!function(e){e in u||o(u,e,{configurable:!0,get:function(){return c[e]},set:function(t){c[e]=t}})}(m[g++]);d.constructor=u,u.prototype=d,n(27)(r,"RegExp",u)}n(69)("RegExp")},function(e,t,n){"use strict";n(166);var r=n(10),i=n(89),o=n(20),a=/./.toString,s=function(e){n(27)(RegExp.prototype,"toString",e,!0)};n(9)(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:!o&&e instanceof RegExp?i.call(e):void 0)}):"toString"!=a.name&&s(function(){return a.call(this)})},function(e,t,n){"use strict";var r=n(10),i=n(14),o=n(126),a=n(90);n(91)("match",1,function(e,t,n,s){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.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 d,p=[],f=0;null!==(d=a(l,u));){var h=String(d[0]);p[f]=h,""===h&&(l.lastIndex=o(u,i(l.lastIndex),c)),f++}return 0===f?null:p}]})},function(e,t,n){"use strict";var r=n(10),i=n(25),o=n(14),a=n(39),s=n(126),l=n(90),u=Math.max,c=Math.min,d=Math.floor,p=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};n(91)("replace",2,function(e,t,n,m){function g(e,t,r,o,a,s){var l=r+e.length,u=o.length,c=f;return void 0!==a&&(a=i(a),c=p),n.call(s,c,function(n,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,r);case"'":return t.slice(l);case"<":s=a[i.slice(1,-1)];break;default:var c=+i;if(0===c)return n;if(c>u){var p=d(c/10);return 0===p?n:p<=u?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):n}s=o[c-1]}return void 0===s?"":s})}return[function(r,i){var o=e(this),a=void 0==r?void 0:r[t];return void 0!==a?a.call(r,o,i):n.call(String(o),r,i)},function(e,t){var i=m(n,e,this,t);if(i.done)return i.value;var d=r(e),p=String(this),f="function"==typeof t;f||(t=String(t));var v=d.global;if(v){var y=d.unicode;d.lastIndex=0}for(var b=[];;){var _=l(d,p);if(null===_)break;if(b.push(_),!v)break;""===String(_[0])&&(d.lastIndex=s(p,o(d.lastIndex),y))}for(var w="",S=0,x=0;x<b.length;x++){_=b[x];for(var E=String(_[0]),T=u(c(a(_.index),p.length),0),k=[],O=1;O<_.length;O++)k.push(h(_[O]));var C=_.groups;if(f){var A=[E].concat(k,T,p);void 0!==C&&A.push(C);var P=String(t.apply(void 0,A))}else P=g(E,p,T,k,C,t);T>=S&&(w+=p.slice(S,T)+P,S=T+E.length)}return w+p.slice(S)}]})},function(e,t,n){"use strict";var r=n(10),i=n(151),o=n(90);n(91)("search",1,function(e,t,n,a){return[function(n){var r=e(this),i=void 0==n?void 0:n[t];return void 0!==i?i.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;i(u,0)||(s.lastIndex=0);var c=o(s,l);return i(s.lastIndex,u)||(s.lastIndex=u),null===c?-1:c.index}]})},function(e,t,n){"use strict";var r=n(118),i=n(10),o=n(79),a=n(126),s=n(14),l=n(90),u=n(125),c=n(9),d=Math.min,p=[].push,f="length",h=!c(function(){RegExp(4294967295,"y")});n(91)("split",2,function(e,t,n,c){var m;return m="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[f]||2!="ab".split(/(?:ab)*/)[f]||4!=".".split(/(.?)(.?)/)[f]||".".split(/()()/)[f]>1||"".split(/.?/)[f]?function(e,t){var i=String(this);if(void 0===e&&0===t)return[];if(!r(e))return n.call(i,e,t);for(var o,a,s,l=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),d=0,h=void 0===t?4294967295:t>>>0,m=new RegExp(e.source,c+"g");(o=u.call(m,i))&&!((a=m.lastIndex)>d&&(l.push(i.slice(d,o.index)),o[f]>1&&o.index<i[f]&&p.apply(l,o.slice(1)),s=o[0][f],d=a,l[f]>=h));)m.lastIndex===o.index&&m.lastIndex++;return d===i[f]?!s&&m.test("")||l.push(""):l.push(i.slice(d)),l[f]>h?l.slice(0,h):l}:"0".split(void 0,0)[f]?function(e,t){return void 0===e&&0===t?[]:n.call(this,e,t)}:n,[function(n,r){var i=e(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):m.call(String(i),n,r)},function(e,t){var r=c(m,e,this,t,m!==n);if(r.done)return r.value;var u=i(e),p=String(this),f=o(u,RegExp),g=u.unicode,v=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(h?"y":"g"),y=new f(h?u:"^(?:"+u.source+")",v),b=void 0===t?4294967295:t>>>0;if(0===b)return[];if(0===p.length)return null===l(y,p)?[p]:[];for(var _=0,w=0,S=[];w<p.length;){y.lastIndex=h?w:0;var x,E=l(y,h?p:p.slice(w));if(null===E||(x=d(s(y.lastIndex+(h?0:w)),p.length))===_)w=a(p,w,g);else{if(S.push(p.slice(_,w)),S.length===b)return S;for(var T=1;T<=E.length-1;T++)if(S.push(E[T]),S.length===b)return S;w=_=x}}return S.push(p.slice(_)),S}]})},function(e,t,n){var r=n(8),i=n(127).set,o=r.MutationObserver||r.WebKitMutationObserver,a=r.process,s=r.Promise,l="process"==n(45)(a);e.exports=function(){var e,t,n,u=function(){var r,i;for(l&&(r=a.domain)&&r.exit();e;){i=e.fn,e=e.next;try{i()}catch(r){throw e?n():t=void 0,r}}t=void 0,r&&r.enter()};if(l)n=function(){a.nextTick(u)};else if(!o||r.navigator&&r.navigator.standalone)if(s&&s.resolve){var c=s.resolve(void 0);n=function(){c.then(u)}}else n=function(){i.call(r,u)};else{var d=!0,p=document.createTextNode("");new o(u).observe(p,{characterData:!0}),n=function(){p.data=d=!d}}return function(r){var i={fn:r,next:void 0};t&&(t.next=i),e||(e=i,n()),t=i}}},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(170),i=n(63);e.exports=n(94)("Map",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{get:function(e){var t=r.getEntry(i(this,"Map"),e);return t&&t.v},set:function(e,t){return r.def(i(this,"Map"),0===e?0:e,t)}},r,!0)},function(e,t,n){"use strict";var r=n(170),i=n(63);e.exports=n(94)("Set",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"Set"),e=0===e?0:e,e)}},r)},function(e,t,n){"use strict";var r,i=n(8),o=n(42)(0),a=n(27),s=n(51),l=n(150),u=n(171),c=n(11),d=n(63),p=n(63),f=!i.ActiveXObject&&"ActiveXObject"in i,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(d(this,"WeakMap")).get(e):t?t[this._i]:void 0}},set:function(e,t){return u.def(d(this,"WeakMap"),e,t)}},b=e.exports=n(94)("WeakMap",v,y,u,!0,!0);p&&f&&(r=u.getConstructor(v,"WeakMap"),l(r.prototype,y),s.NEED=!0,o(["delete","has","get","set"],function(e){var t=b.prototype,n=t[e];a(t,e,function(t,i){if(c(t)&&!m(t)){this._f||(this._f=new r);var o=this._f[e](t,i);return"set"==e?this:o}return n.call(this,t,i)})}))},function(e,t,n){"use strict";var r=n(171),i=n(63);n(94)("WeakSet",function(e){return function(){return e(this,arguments.length>0?arguments[0]:void 0)}},{add:function(e){return r.def(i(this,"WeakSet"),e,!0)}},r,!1,!0)},function(e,t,n){"use strict";var r=n(2),i=n(95),o=n(128),a=n(10),s=n(58),l=n(14),u=n(11),c=n(8).ArrayBuffer,d=n(79),p=o.ArrayBuffer,f=o.DataView,h=i.ABV&&c.isView,m=p.prototype.slice,g=i.VIEW;r(r.G+r.W+r.F*(c!==p),{ArrayBuffer:p}),r(r.S+r.F*!i.CONSTR,"ArrayBuffer",{isView:function(e){return h&&h(e)||u(e)&&g in e}}),r(r.P+r.U+r.F*n(9)(function(){return!new p(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),i=s(void 0===t?n:t,n),o=new(d(this,p))(l(i-r)),u=new f(this),c=new f(o),h=0;r<i;)c.setUint8(h++,u.getUint8(r++));return o}}),n(69)("ArrayBuffer")},function(e,t,n){var r=n(2);r(r.G+r.W+r.F*!n(95).ABV,{DataView:n(128).DataView})},function(e,t,n){n(47)("Int8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Uint8",1,function(e){return function(t,n,r){return e(this,t,n,r)}},!0)},function(e,t,n){n(47)("Int16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Uint16",2,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Int32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Uint32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Float32",4,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){n(47)("Float64",8,function(e){return function(t,n,r){return e(this,t,n,r)}})},function(e,t,n){var r=n(2),i=n(38),o=n(10),a=(n(8).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(9)(function(){a(function(){})}),"Reflect",{apply:function(e,t,n){var r=i(e),l=o(n);return a?a(r,t,l):s.call(r,t,l)}})},function(e,t,n){var r=n(2),i=n(59),o=n(38),a=n(10),s=n(11),l=n(9),u=n(152),c=(n(8).Reflect||{}).construct,d=l(function(){function e(){}return!(c(function(){},[],e)instanceof e)}),p=!l(function(){c(function(){})});r(r.S+r.F*(d||p),"Reflect",{construct:function(e,t){o(e),a(t);var n=arguments.length<3?e:o(arguments[2]);if(p&&!d)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,f=i(s(l)?l:Object.prototype),h=Function.apply.call(e,f,t);return s(h)?h:f}})},function(e,t,n){var r=n(21),i=n(2),o=n(10),a=n(50);i(i.S+i.F*n(9)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(e,t,n){o(e),t=a(t,!0),o(n);try{return r.f(e,t,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(2),i=n(40).f,o=n(10);r(r.S,"Reflect",{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){"use strict";var r=n(2),i=n(10),o=function(e){this._t=i(e),this._i=0;var t,n=this._k=[];for(t in e)n.push(t)};n(159)(o,"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 o(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=i.f(e,t))?a(n,"value")?n.value:void 0!==n.get?n.get.call(c):void 0:l(s=o(e))?r(s,t,c):void 0}var i=n(40),o=n(61),a=n(29),s=n(2),l=n(11),u=n(10);s(s.S,"Reflect",{get:r})},function(e,t,n){var r=n(40),i=n(2),o=n(10);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(e,t){return r.f(o(e),t)}})},function(e,t,n){var r=n(2),i=n(61),o=n(10);r(r.S,"Reflect",{getPrototypeOf:function(e){return i(o(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),i=n(10),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(e){return i(e),!o||o(e)}})},function(e,t,n){var r=n(2);r(r.S,"Reflect",{ownKeys:n(173)})},function(e,t,n){var r=n(2),i=n(10),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(e){i(e);try{return o&&o(e),!0}catch(e){return!1}}})},function(e,t,n){function r(e,t,n){var l,p,f=arguments.length<4?e:arguments[3],h=o.f(c(e),t);if(!h){if(d(p=a(e)))return r(p,t,n,f);h=u(0)}if(s(h,"value")){if(!1===h.writable||!d(f))return!1;if(l=o.f(f,t)){if(l.get||l.set||!1===l.writable)return!1;l.value=n,i.f(f,t,l)}else i.f(f,t,u(0,n));return!0}return void 0!==h.set&&(h.set.call(f,n),!0)}var i=n(21),o=n(40),a=n(61),s=n(29),l=n(2),u=n(54),c=n(10),d=n(11);l(l.S,"Reflect",{set:r})},function(e,t,n){var r=n(2),i=n(109);i&&r(r.S,"Reflect",{setPrototypeOf:function(e,t){i.check(e,t);try{return i.set(e,t),!0}catch(e){return!1}}})},function(e,t,n){n(365),e.exports=n(18).Array.includes},function(e,t,n){"use strict";var r=n(2),i=n(85)(!0);r(r.P,"Array",{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),n(62)("includes")},function(e,t,n){n(367),e.exports=n(18).Array.flatMap},function(e,t,n){"use strict";var r=n(2),i=n(368),o=n(25),a=n(14),s=n(38),l=n(161);r(r.P,"Array",{flatMap:function(e){var t,n,r=o(this);return s(e),t=a(r.length),n=l(r,0),i(n,r,r,t,0,1,e,arguments[1]),n}}),n(62)("flatMap")},function(e,t,n){"use strict";function r(e,t,n,u,c,d,p,f){for(var h,m,g=c,v=0,y=!!p&&s(p,f,3);v<u;){if(v in n){if(h=y?y(n[v],v,t):n[v],m=!1,o(h)&&(m=h[l],m=void 0!==m?!!m:i(h)),m&&d>0)g=r(e,t,h,a(h.length),g,d-1)-1;else{if(g>=9007199254740991)throw TypeError();e[g]=h}g++}v++}return g}var i=n(87),o=n(11),a=n(14),s=n(37),l=n(12)("isConcatSpreadable");e.exports=r},function(e,t,n){n(370),e.exports=n(18).String.padStart},function(e,t,n){"use strict";var r=n(2),i=n(174),o=n(93),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!0)}})},function(e,t,n){n(372),e.exports=n(18).String.padEnd},function(e,t,n){"use strict";var r=n(2),i=n(174),o=n(93),a=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);r(r.P+r.F*a,"String",{padEnd:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0,!1)}})},function(e,t,n){n(374),e.exports=n(18).String.trimLeft},function(e,t,n){"use strict";n(67)("trimLeft",function(e){return function(){return e(this,1)}},"trimStart")},function(e,t,n){n(376),e.exports=n(18).String.trimRight},function(e,t,n){"use strict";n(67)("trimRight",function(e){return function(){return e(this,2)}},"trimEnd")},function(e,t,n){n(378),e.exports=n(105).f("asyncIterator")},function(e,t,n){n(146)("asyncIterator")},function(e,t,n){n(380),e.exports=n(18).Object.getOwnPropertyDescriptors},function(e,t,n){var r=n(2),i=n(173),o=n(31),a=n(40),s=n(121);r(r.S,"Object",{getOwnPropertyDescriptors:function(e){for(var t,n,r=o(e),l=a.f,u=i(r),c={},d=0;u.length>d;)void 0!==(n=l(r,t=u[d++]))&&s(c,t,n);return c}})},function(e,t,n){n(382),e.exports=n(18).Object.values},function(e,t,n){var r=n(2),i=n(175)(!1);r(r.S,"Object",{values:function(e){return i(e)}})},function(e,t,n){n(384),e.exports=n(18).Object.entries},function(e,t,n){var r=n(2),i=n(175)(!0);r(r.S,"Object",{entries:function(e){return i(e)}})},function(e,t,n){"use strict";n(167),n(386),e.exports=n(18).Promise.finally},function(e,t,n){"use strict";var r=n(2),i=n(18),o=n(8),a=n(79),s=n(169);r(r.P+r.R,"Promise",{finally:function(e){var t=a(this,i.Promise||o.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(388),n(389),n(390),e.exports=n(18)},function(e,t,n){var r=n(8),i=n(2),o=n(93),a=[].slice,s=/MSIE .\./.test(o),l=function(e){return function(t,n){var r=arguments.length>2,i=!!r&&a.call(arguments,2);return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};i(i.G+i.B+i.F*s,{setTimeout:l(r.setTimeout),setInterval:l(r.setInterval)})},function(e,t,n){var r=n(2),i=n(127);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){for(var r=n(124),i=n(57),o=n(27),a=n(8),s=n(30),l=n(68),u=n(12),c=u("iterator"),d=u("toStringTag"),p=l.Array,f={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=i(f),m=0;m<h.length;m++){var g,v=h[m],y=f[v],b=a[v],_=b&&b.prototype;if(_&&(_[c]||s(_,c,p),_[d]||s(_,d,v),l[v]=p,y))for(g in r)_[g]||o(_,g,r[g],!0)}},function(e,t,n){n(392),e.exports=n(177).global},function(e,t,n){var r=n(393);r(r.G,{global:n(129)})},function(e,t,n){var r=n(129),i=n(177),o=n(394),a=n(396),s=n(403),l=function(e,t,n){var u,c,d,p=e&l.F,f=e&l.G,h=e&l.S,m=e&l.P,g=e&l.B,v=e&l.W,y=f?i:i[t]||(i[t]={}),b=y.prototype,_=f?r:h?r[t]:(r[t]||{}).prototype;f&&(n=t);for(u in n)(c=!p&&_&&void 0!==_[u])&&s(y,u)||(d=c?_[u]:n[u],y[u]=f&&"function"!=typeof _[u]?n[u]:g&&c?o(d,r):v&&_[u]==d?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}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((y.virtual||(y.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};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(395);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,i){return e.call(t,n,r,i)}}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(397),i=n(402);e.exports=n(131)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(398),i=n(399),o=n(401),a=Object.defineProperty;t.f=n(131)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)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(130);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t,n){e.exports=!n(131)&&!n(178)(function(){return 7!=Object.defineProperty(n(400)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(130),i=n(129).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){var r=n(130);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;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(i)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          "),i=new t(o.extend({},f,n,{authClient:e,globalSuccessFn:r,globalErrorFn:a})),i.start()}function r(){i&&i.hide()}function u(){i&&i.show()}function c(){i&&(i.remove(),i=void 0)}function d(){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 p(e){var t=s.transformShowSignInToGetTokensOptions(e,a);return n.call(this,t)}var f=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{renderEl:n,authClient:e,showSignInToGetTokens:p,hasTokensInUrl:d,hide:r,show:u,remove:c}}function t(e){var t=o.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,i=t(n);r=n.stateToken&&!l.isV1StateToken(n.stateToken)?d:c,o.extend(this,r.prototype.Events),o.extend(this,e(i,r,n)),this.listenTo(r.prototype,"all",this.trigger),this.once("afterRender",function(e){this.trigger("ready",e)})}var i,o=n(132),a=n(133),s=n(134),l=n(13),u=n(424),c=n(425),d=n(517);return r}();e.exports=r},function(e,t,n){"use strict";t.__esModule=!0;var r=n(43);t.default=function(e){e.registerHelper("blockHelperMissing",function(t,n){var i=n.inverse,o=n.fn;if(!0===t)return o(this);if(!1===t||null==t)return i(this);if(r.isArray(t))return t.length>0?(n.ids&&(n.ids=[n.name]),e.helpers.each(t,n)):i(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 o(t,n)})},e.exports=t.default},function(e,t,n){"use strict";(function(r){t.__esModule=!0;var i=n(43),o=n(64),a=function(e){return e&&e.__esModule?e:{default:e}}(o);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,d&&(c.contextPath=d+t)),u+=o(e[t],{data:c,blockParams:i.blockParams([e[t],t],[d+t,null])})}if(!t)throw new a.default("Must pass iterator to #each");var o=t.fn,s=t.inverse,l=0,u="",c=void 0,d=void 0;if(t.data&&t.ids&&(d=i.appendContextPath(t.data.contextPath,t.ids[0])+"."),i.isFunction(e)&&(e=e.call(this)),t.data&&(c=i.createFrame(t.data)),e&&"object"==typeof e)if(i.isArray(e))for(var p=e.length;l<p;l++)l in e&&n(l,l,l===e.length-1);else if(r.Symbol&&e[r.Symbol.iterator]){for(var f=[],h=e[r.Symbol.iterator](),m=h.next();!m.done;m=h.next())f.push(m.value);e=f;for(var p=e.length;l<p;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(96))},function(e,t,n){"use strict";t.__esModule=!0;var r=n(64),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e){e.registerHelper("helperMissing",function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')})},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(43),i=n(64),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){e.registerHelper("if",function(e,t){if(2!=arguments.length)throw new o.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 o.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 i=1;null!=n.hash.level?i=n.hash.level:n.data&&null!=n.data.level&&(i=n.data.level),t[0]=i,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(43),i=n(64),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){e.registerHelper("with",function(e,t){if(2!=arguments.length)throw new o.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 i=t.data;return t.data&&t.ids&&(i=r.createFrame(t.data),i.contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:i,blockParams:r.blockParams([e],[i&&i.contextPath])})})},e.exports=t.default},function(e,t,n){"use strict";function r(e){o.default(e)}t.__esModule=!0,t.registerDefaultDecorators=r;var i=n(413),o=function(e){return e&&e.__esModule?e:{default:e}}(i)},function(e,t,n){"use strict";t.__esModule=!0;var r=n(43);t.default=function(e){e.registerDecorator("inline",function(e,t,n,i){var o=e;return t.partials||(t.partials={},o=function(i,o){var a=n.partials;n.partials=r.extend({},a,t.partials);var s=e(i,o);return n.partials=a,s}),t.partials[i.args[0]]=i.fn,o})},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 i.extend.apply(void 0,[Object.create(null)].concat(t))}t.__esModule=!0,t.createNewLookupObject=r;var i=n(43)},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],i=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 ("+i+").")}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 i(e,t){function n(n,r,i){i.hash&&(r=h.extend({},r,i.hash),i.ids&&(i.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,i);var o=h.extend({},i,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),a=t.VM.invokePartial.call(this,n,r,o);if(null==a&&t.compile&&(i.partials[i.name]=t.compile(n,e.compilerOptions,t),a=i.partials[i.name](r,o)),null!=a){if(i.indent){for(var s=a.split("\n"),l=0,u=s.length;l<u&&(s[l]||l+1!==u);l++)s[l]=i.indent+s[l];a=s.join("\n")}return a}throw new g.default("The partial "+i.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,o,l,s)}var i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=i.data;r._setup(i),!i.partial&&e.useData&&(o=u(t,o));var s=void 0,l=e.useBlockParams?[]:void 0;return e.useDepths&&(s=i.depths?t!=i.depths[0]?[t].concat(i.depths):i.depths:[t]),(n=c(e.main,n,a,i.depths||[],o,l))(t,i)}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 i=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,i){var a=this.programs[e],s=this.fn(e);return t||i||r||n?a=o(this,e,s,t,n,r,i):a||(a=this.programs[e]=o(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);d(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 o=n.allowCallsToHelperMissing||i;y.moveHelperToHooks(a,"helperMissing",o),y.moveHelperToHooks(a,"blockHelperMissing",o)}},r._child=function(t,n,r,i){if(e.useBlockParams&&!r)throw new g.default("must pass block params");if(e.useDepths&&!i)throw new g.default("must pass parent depths");return o(a,t,e[t],n,0,r,i)},r}function o(e,t,n,r,i,o,a){function s(t){var i=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,i.data||r,o&&[i.blockParams].concat(o),s)}return s=c(n,s,e,a,r,o),s.program=t,s.depth=a?a.length:0,s.blockParams=i||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 i=void 0;if(n.fn&&n.fn!==l&&function(){n.data=v.createFrame(n.data);var e=n.fn;i=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&&i&&(e=i),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,i,o){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],i,o,r),h.extend(t,a)}return t}function d(e,t){Object.keys(e).forEach(function(n){var r=e[n];e[n]=p(r,t)})}function p(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=i,t.wrapProgram=o,t.resolvePartial=a,t.invokePartial=s,t.noop=l;var f=n(43),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}(f),m=n(64),g=function(e){return e&&e.__esModule?e:{default:e}}(m),v=n(179),y=n(180),b=n(417),_=n(182)},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(96))},function(e,t,n){(function(r){var i,o;
//     (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;i=[n(420),n(97),t],void 0!==(o=function(e,t,n){s.Backbone=a(s,n,e,t)}.apply(t,i))&&(e.exports=o)}(function(e,t,n,r){var i=e.Backbone,o=[].slice;t.VERSION="1.2.1",t.$=r,t.noConflict=function(){return e.Backbone=i,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,i){return n[t](this[r],e,i)};case 4:return function(e,i,o){return n[t](this[r],e,i,o)};default:return function(){var e=o.call(arguments);return e.unshift(this[r]),n[t].apply(n,e)}}},s=function(e,t,r){n.each(t,function(t,i){n[i]&&(e.prototype[i]=a(t,i,r))})},l=t.Events={},u=/\s+/,c=function(e,t,r,i,o){var a,s=0;if(r&&"object"==typeof r){void 0!==i&&"context"in o&&void 0===o.context&&(o.context=i);for(a=n.keys(r);s<a.length;s++)t=e(t,a[s],r[a[s]],o)}else if(r&&u.test(r))for(a=r.split(u);s<a.length;s++)t=e(t,a[s],i,o);else t=e(t,r,i,o);return t};l.on=function(e,t,n){return d(this,e,t,n)};var d=function(e,t,n,r,i){if(e._events=c(p,e._events||{},t,n,{context:r,ctx:e,listening:i}),i){(e._listeners||(e._listeners={}))[i.id]=i}return e};l.listenTo=function(e,t,r){if(!e)return this;var i=e._listenId||(e._listenId=n.uniqueId("l")),o=this._listeningTo||(this._listeningTo={}),a=o[i];if(!a){var s=this._listenId||(this._listenId=n.uniqueId("l"));a=o[i]={obj:e,objId:i,id:s,listeningTo:o,count:0}}return d(e,t,r,this,a),this};var p=function(e,t,n,r){if(n){var i=e[t]||(e[t]=[]),o=r.context,a=r.ctx,s=r.listening;s&&s.count++,i.push({callback:n,context:o,ctx:o||a,listening:s})}return e};l.off=function(e,t,n){return this._events?(this._events=c(f,this._events,e,t,{context:n,listeners:this._listeners}),this):this},l.stopListening=function(e,t,r){var i=this._listeningTo;if(!i)return this;for(var o=e?[e._listenId]:n.keys(i),a=0;a<o.length;a++){var s=i[o[a]];if(!s)break;s.obj.off(t,r,this)}return n.isEmpty(i)&&(this._listeningTo=void 0),this};var f=function(e,t,r,i){if(e){var o,a=0,s=i.context,l=i.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 d=[],p=0;p<c.length;p++){var f=c[p];r&&r!==f.callback&&r!==f.callback._callback||s&&s!==f.context?d.push(f):(o=f.listening)&&0==--o.count&&(delete l[o.id],delete o.listeningTo[o.objId])}d.length?e[t]=d:delete e[t]}return n.size(e)?e:void 0}for(var h=n.keys(l);a<h.length;a++)o=l[h[a]],delete l[o.id],delete o.listeningTo[o.objId]}};l.once=function(e,t,r){var i=c(h,{},e,t,n.bind(this.off,this));return this.on(i,void 0,r)},l.listenToOnce=function(e,t,r){var i=c(h,{},t,r,n.bind(this.stopListening,this,e));return this.listenTo(e,i)};var h=function(e,t,r,i){if(r){var o=e[t]=n.once(function(){i(t,o),r.apply(this,arguments)});o._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 i=e[t],o=e.all;i&&o&&(o=o.slice()),i&&g(i,r),o&&g(o,[t].concat(r))}return e},g=function(e,t){var n,r=-1,i=e.length,o=t[0],a=t[1],s=t[2];switch(t.length){case 0:for(;++r<i;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;++r<i;)(n=e[r]).callback.call(n.ctx,o);return;case 2:for(;++r<i;)(n=e[r]).callback.call(n.ctx,o,a);return;case 3:for(;++r<i;)(n=e[r]).callback.call(n.ctx,o,a,s);return;default:for(;++r<i;)(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 i;if("object"==typeof e?(i=e,r=t):(i={})[e]=t,r||(r={}),!this._validate(i,r))return!1;var o=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,d=this._previousAttributes;this.idAttribute in i&&(this.id=i[this.idAttribute]);for(var p in i)t=i[p],n.isEqual(u[p],t)||s.push(p),n.isEqual(d[p],t)?delete c[p]:c[p]=t,o?delete u[p]:u[p]=t;if(!a){s.length&&(this._pending=r);for(var f=0;f<s.length;f++)this.trigger("change:"+s[f],this,u[s[f]],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 i in e){var o=e[i];n.isEqual(t[i],o)||(r[i]=o)}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 i=e.parse?t.parse(n,e):n;if(!t.set(i,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 i;null==e||"object"==typeof e?(i=e,r=t):(i={})[e]=t,r=n.extend({validate:!0,parse:!0},r);var o=r.wait;if(i&&!o){if(!this.set(i,r))return!1}else if(!this._validate(i,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(o&&(t=n.extend({},i,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),i&&o&&(this.attributes=n.extend({},l,i));var u=this.isNew()?"create":r.patch?"patch":"update";"patch"!==u||r.attrs||(r.attrs=i);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,i=e.wait,o=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){i&&o(),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)),i||o(),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 i=this._removeModels(e,t);return!t.silent&&i&&this.trigger("update",this,t),r?i[0]:i},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 i,o,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,d=n.isString(this.comparator)?this.comparator:null,p=[],f=[],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(d)&&(l=!0)),e[w]=s;else if(m){if(!(o=e[w]=this._prepareModel(a,t)))continue;p.push(o),this._addReference(o,t)}o=s||o,o&&(i=this.modelId(o.attributes),!y||!o.isNew()&&h[i]||(y.push(o),_=_||!this.models[w]||o.cid!==this.models[w].cid),h[i]=!0)}if(v){for(var w=0;w<this.length;w++)h[(o=this.models[w]).cid]||f.push(o);f.length&&this._removeModels(f,t)}if(p.length||_)if(c&&(l=!0),this.length+=p.length,null!=u)for(var w=0;w<p.length;w++)this.models.splice(u+w,0,p[w]);else{y&&(this.models.length=0);for(var S=y||p,w=0;w<S.length;w++)this.models.push(S[w])}if(l&&this.sort({silent:!0}),!t.silent){for(var x=null!=u?n.clone(t):t,w=0;w<p.length;w++)null!=u&&(x.index=u+w),(o=p[w]).trigger("add",o,this,x);(l||_)&&this.trigger("sort",this,t),(p.length||f.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 o.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 i=e.reset?"reset":"set";r[i](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 i=this,o=t.success;return t.success=function(e,t,n){r&&i.add(e,n),o&&o.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 i=this.get(e[r]);if(i){var o=this.indexOf(i);this.models.splice(o,1),this.length--,t.silent||(t.index=o,i.trigger("remove",i,this,t)),n.push(i),this._removeReference(i,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 i=this.modelId(t.previousAttributes()),o=this.modelId(t.attributes);i!==o&&(null!=i&&delete this._byId[i],null!=o&&(this._byId[o]=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 i=n.isFunction(t)?t:function(e){return e.get(t)};return n[e](this.models,i,r)})});var S=t.View=function(e){this.cid=n.uniqueId("view"),n.extend(this,n.pick(e,E)),this._ensureElement(),this.initialize.apply(this,arguments)},x=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(S.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 i=t.match(x);this.delegate(i[1],i[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,i){var o=T[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var a={type:o,dataType:"json"};if(i.url||(a.url=n.result(r,"url")||D()),null!=i.data||!r||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),i.emulateHTTP&&("PUT"===o||"DELETE"===o||"PATCH"===o)){a.type="POST",i.emulateJSON&&(a.data._method=o);var s=i.beforeSend;i.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",o),s)return s.apply(this,arguments)}}"GET"===a.type||i.emulateJSON||(a.processData=!1);var l=i.error;i.error=function(e,t,n){i.textStatus=t,i.errorThrown=n,l&&l.call(i.context,e,t,n)};var u=i.xhr=t.ajax(n.extend(a,i));return r.trigger("request",r,u,i),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)},O=/\((.*?)\)/g,C=/(\(\?)?:\w+/g,A=/\*\w+/g,P=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(k.prototype,l,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var o=this;return t.history.route(e,function(n){var a=o._extractParameters(e,n);!1!==o.execute(i,a,r)&&(o.trigger.apply(o,["route:"+r].concat(a)),o.trigger("route",r,a),t.history.trigger("route",o,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(P,"\\$&").replace(O,"(?:$1)?").replace(C,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,N=/^\/+|\/+$/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(N,"/"),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,i=r.insertBefore(this.iframe,r.firstChild).contentWindow;i.document.open(),i.document.close(),i.location.hash="#"+this.fragment}var o=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?o("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?o("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 i=this.iframe.contentWindow;t.replace||(i.document.open(),i.document.close()),this._updateHash(i.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,i=this;r=e&&n.has(e,"constructor")?e.constructor:function(){return i.apply(this,arguments)},n.extend(r,i,t);var o=function(){this.constructor=r};return o.prototype=i.prototype,r.prototype=new o,e&&n.extend(r.prototype,e),r.__super__=i.prototype,r};v.extend=y.extend=k.extend=S.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(96))},function(e,t,n){(function(e,n){var r,i;
//     (c) 2009-2018 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
//     Underscore may be freely distributed under the MIT license.
!function(){var o="object"==typeof self&&self.self===self&&self||"object"==typeof e&&e.global===e&&e||this||{},a=o._,s=Array.prototype,l=Object.prototype,u="undefined"!=typeof Symbol?Symbol.prototype:null,c=s.push,d=s.slice,p=l.toString,f=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?o._=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,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}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 S=function(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+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 o=Array(t+1);for(i=0;i<t;i++)o[i]=arguments[i];return o[t]=r,e.apply(this,o)}},x=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&&f.call(e,t)},k=function(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0},O=Math.pow(2,53)-1,C=E("length"),A=function(e){var t=C(e);return"number"==typeof t&&t>=0&&t<=O};y.each=y.forEach=function(e,t,n){t=_(t,n);var r,i;if(A(e))for(r=0,i=e.length;r<i;r++)t(e[r],r,e);else{var o=y.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},y.map=y.collect=function(e,t,n){t=w(t,n);for(var r=!A(e)&&y.keys(e),i=(r||e).length,o=Array(i),a=0;a<i;a++){var s=r?r[a]:a;o[a]=t(e[s],s,e)}return o};var P=function(e){var t=function(t,n,r,i){var o=!A(t)&&y.keys(t),a=(o||t).length,s=e>0?0:a-1;for(i||(r=t[o?o[s]:s],s+=e);s>=0&&s<a;s+=e){var l=o?o[s]:s;r=n(r,t[l],l,t)}return r};return function(e,n,r,i){var o=arguments.length>=3;return t(e,_(n,i,4),r,o)}};y.reduce=y.foldl=y.inject=P(1),y.reduceRight=y.foldr=P(-1),y.find=y.detect=function(e,t,n){var r=A(e)?y.findIndex:y.findKey,i=r(e,t,n);if(void 0!==i&&-1!==i)return e[i]},y.filter=y.select=function(e,t,n){var r=[];return t=w(t,n),y.each(e,function(e,n,i){t(e,n,i)&&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),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;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),i=(r||e).length,o=0;o<i;o++){var a=r?r[o]:o;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=S(function(e,t,n){var r,i;return y.isFunction(t)?i=t:y.isArray(t)&&(r=t.slice(0,-1),t=t[t.length-1]),y.map(e,function(e){var o=i;if(!o){if(r&&r.length&&(e=k(e,r)),null==e)return;o=e[t]}return null==o?o:o.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,i,o=-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>o&&(o=r)}else t=w(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))>a||i===-1/0&&o===-1/0)&&(o=e,a=i)});return o},y.min=function(e,t,n){var r,i,o=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<o&&(o=r)}else t=w(t,n),y.each(e,function(e,n,r){((i=t(e,n,r))<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},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),i=C(r);t=Math.max(Math.min(t,i),0);for(var o=i-1,a=0;a<t;a++){var s=y.random(a,o),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,i){return{value:e,index:r++,criteria:t(e,n,i)}}).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,i){var o=t?[[],[]]:{};return r=w(r,i),y.each(n,function(t,i){var a=r(t,i,n);e(o,t,a)}),o}};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)?d.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 d.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 d.call(e,null==t||n?1:t)},y.compact=function(e){return y.filter(e,Boolean)};var N=function(e,t,n,r){r=r||[];for(var i=r.length,o=0,a=C(e);o<a;o++){var s=e[o];if(A(s)&&(y.isArray(s)||y.isArguments(s)))if(t)for(var l=0,u=s.length;l<u;)r[i++]=s[l++];else N(s,t,n,r),i=r.length;else n||(r[i++]=s)}return r};y.flatten=function(e,t){return N(e,t,!1)},y.without=S(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 i=[],o=[],a=0,s=C(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t&&!n?(a&&o===u||i.push(l),o=u):n?y.contains(o,u)||(o.push(u),i.push(l)):y.contains(i,l)||i.push(l)}return i},y.union=S(function(e){return y.uniq(N(e,!0,!0))}),y.intersection=function(e){for(var t=[],n=arguments.length,r=0,i=C(e);r<i;r++){var o=e[r];if(!y.contains(t,o)){var a;for(a=1;a<n&&y.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},y.difference=S(function(e,t){return t=N(t,!0,!0),y.filter(e,function(e){return!y.contains(t,e)})}),y.unzip=function(e){for(var t=e&&y.max(e,C).length||0,n=Array(t),r=0;r<t;r++)n[r]=y.pluck(e,r);return n},y.zip=S(y.unzip),y.object=function(e,t){for(var n={},r=0,i=C(e);r<i;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 i=C(t),o=e>0?0:i-1;o>=0&&o<i;o+=e)if(n(t[o],o,t))return o;return-1}};y.findIndex=M(1),y.findLastIndex=M(-1),y.sortedIndex=function(e,t,n,r){n=w(n,r,1);for(var i=n(t),o=0,a=C(e);o<a;){var s=Math.floor((o+a)/2);n(e[s])<i?o=s+1:a=s}return o};var L=function(e,t,n){return function(r,i,o){var a=0,s=C(r);if("number"==typeof o)e>0?a=o>=0?o:Math.max(o+s,a):s=o>=0?Math.min(o+1,s):o+s+1;else if(n&&o&&s)return o=n(r,i),r[o]===i?o:-1;if(i!==i)return o=t(d.call(r,a,s),y.isNaN),o>=0?o+a:-1;for(o=e>0?a:s-1;o>=0&&o<s;o+=e)if(r[o]===i)return o;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),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i},y.chunk=function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,i=e.length;r<i;)n.push(d.call(e,r,r+=t));return n};var D=function(e,t,n,r,i){if(!(r instanceof t))return e.apply(n,i);var o=x(e.prototype),a=e.apply(o,i);return y.isObject(a)?a:o};y.bind=S(function(e,t,n){if(!y.isFunction(e))throw new TypeError("Bind must be called on a function");var r=S(function(i){return D(e,r,t,this,n.concat(i))});return r}),y.partial=S(function(e,t){var n=y.partial.placeholder,r=function(){for(var i=0,o=t.length,a=Array(o),s=0;s<o;s++)a[s]=t[s]===n?arguments[i++]:t[s];for(;i<arguments.length;)a.push(arguments[i++]);return D(e,r,this,this,a)};return r}),y.partial.placeholder=y,y.bindAll=S(function(e,t){t=N(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 i=n.cache,o=""+(t?t.apply(this,arguments):r);return T(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},y.delay=S(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,i,o,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:y.now(),r=null,a=e.apply(i,o),r||(i=o=null)},u=function(){var u=y.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return i=this,o=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=u,a=e.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=i=o=null},u},y.debounce=function(e,t,n){var r,i,o=function(t,n){r=null,n&&(i=e.apply(t,n))},a=S(function(a){if(r&&clearTimeout(r),n){var s=!r;r=setTimeout(o,t),s&&(i=e.apply(this,a))}else r=y.delay(o,t,this,a);return i});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=S;var F=!{toString:null}.propertyIsEnumerable("toString"),j=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],U=function(e,t){var n=j.length,r=e.constructor,i=y.isFunction(r)&&r.prototype||l,o="constructor";for(T(e,o)&&!y.contains(t,o)&&t.push(o);n--;)(o=j[n])in e&&e[o]!==i[o]&&!y.contains(t,o)&&t.push(o)};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&&U(e,t),t},y.allKeys=function(e){if(!y.isObject(e))return[];var t=[];for(var n in e)t.push(n);return F&&U(e,t),t},y.values=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},y.mapObject=function(e,t,n){t=w(t,n);for(var r=y.keys(e),i=r.length,o={},a=0;a<i;a++){var s=r[a];o[s]=t(e[s],s,e)}return o},y.pairs=function(e){for(var t=y.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},y.invert=function(e){for(var t={},n=y.keys(e),r=0,i=n.length;r<i;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 i=1;i<r;i++)for(var o=arguments[i],a=e(o),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=o[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,i=y.keys(e),o=0,a=i.length;o<a;o++)if(r=i[o],t(e[r],r,e))return r};var V=function(e,t,n){return t in n};y.pick=S(function(e,t){var n={},r=t[0];if(null==e)return n;y.isFunction(r)?(t.length>1&&(r=_(r,t[1])),t=y.allKeys(e)):(r=V,t=N(t,!1,!1),e=Object(e));for(var i=0,o=t.length;i<o;i++){var a=t[i],s=e[a];r(s,a,e)&&(n[a]=s)}return n}),y.omit=S(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(N(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=x(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 i=Object(e),o=0;o<r;o++){var a=n[o];if(t[a]!==i[a]||!(a in i))return!1}return!0};var q,H;q=function(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!==e)return t!==t;var i=typeof e;return("function"===i||"object"===i||"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 i=p.call(e);if(i!==p.call(t))return!1;switch(i){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 o="[object Array]"===i;if(!o){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),o){if((l=e.length)!==t.length)return!1;for(;l--;)if(!q(e[l],t[l],n,r))return!1}else{var c,d=y.keys(e);if(l=d.length,y.keys(t).length!==l)return!1;for(;l--;)if(c=d[l],!T(t,c)||!q(e[c],t[c],n,r))return!1}return n.pop(),r.pop(),!0},y.isEqual=function(e,t){return q(e,t)},y.isEmpty=function(e){return null==e||(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]"===p.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 p.call(t)==="[object "+e+"]"}}),y.isArguments(arguments)||(y.isArguments=function(e){return T(e,"callee")});var W=o.document&&o.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]"===p.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 i=t[r];if(null==e||!f.call(e,i))return!1;e=e[i]}return!!n},y.noConflict=function(){return o._=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 i=0;i<e;i++)r[i]=t(i);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),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,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 i=0;i<r;i++){var o=null==e?void 0:e[t[i]];void 0===o&&(o=n,i=r),e=y.isFunction(o)?o.call(e):o}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"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(Q,X),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";var a;try{a=new Function(t.variable||"obj","_",o)}catch(e){throw e.source=o,e}var s=function(e){return a.call(this,e,y)};return s.source="function("+(t.variable||"obj")+"){\n"+o+"}",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!==(i=function(){return y}.apply(t,r))&&(n.exports=i)}()}).call(t,n(96),n(183)(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 i(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 _.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 d(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 p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){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=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=p(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(d(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 x.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," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),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 i=n.join(":").trim();t.append(r,i)}}),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,i){function o(){s.abort()}var a=new m(e,n);if(a.signal&&a.signal.aborted)return i(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(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(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",o),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",o)}),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]"],S=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=i(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)]=i(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)}),o(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),o(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),o(e)},_.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},f.call(m.prototype),f.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){!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 i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.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,i=t.length;r<e;++r)n+=t[Math.floor(Math.random()*i)];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 i in e)e.hasOwnProperty(i)&&-1==t.indexOf(i)&&(r[i]=e[i]);return n.clone(r)},n.find=function(e,t){for(var n=e.length;n--;){var r=e[n],i=!0;for(var o in t)if(t.hasOwnProperty(o)&&r[o]!==t[o]){i=!1;break}if(i)return r}},n.getLink=function(e,t,r){if(e&&e._links){var i=n.clone(e._links[t]);return i&&i.name&&r?i.name===r?i:void 0:i}},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,i=t.args,o=t.saveAuthnState,u=t.accessToken,c=!1!==t.withCredentials,d=e.options.storageUtil,p=d.storage,f=d.getHttpCache(e.options.cookies);if(t.cacheResponse){var h=f.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:i||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)),o&&(y.stateToken||p.delete(l.STATE_TOKEN_KEY_NAME)),y&&y.stateToken&&y.expiresAt&&p.set(l.STATE_TOKEN_KEY_NAME,y.stateToken,y.expiresAt,e.options.cookies),y&&t.cacheResponse&&f.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&&p.delete(l.STATE_TOKEN_KEY_NAME),v})}function i(e,t,n){t=a.isAbsoluteUrl(t)?t:e.getIssuerOrigin()+t;var i={url:t,method:"GET"};return a.extend(i,n),r(e,i)}function o(e,t,n,i){t=a.isAbsoluteUrl(t)?t:e.getIssuerOrigin()+t;var o={url:t,method:"POST",args:n,saveAuthnState:!0};return a.extend(o,i),r(e,o)}var a=n(0),s=n(19),l=n(2);e.exports={get:i,post:o,httpRequest:r}},function(e,t,n){var r=n(14),i=n(6),o=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()?i(s.getLocalStorage(),o.PKCE_STORAGE_NAME):s.browserHasSessionStorage()?i(s.getSessionStorage(),o.PKCE_STORAGE_NAME):i(s.getCookieStorage(e),o.PKCE_STORAGE_NAME)},s.getHttpCache=function(e){return s.browserHasLocalStorage()?i(s.getLocalStorage(),o.CACHE_STORAGE_NAME):s.browserHasSessionStorage()?i(s.getSessionStorage(),o.CACHE_STORAGE_NAME):i(s.getCookieStorage(e),o.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,i){var o=i.secure,l=i.sameSite;if(void 0===o||void 0===l)throw new a('storage.set: "secure" and "sameSite" options must be provided');var u={path:i.path||"/",secure:o,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 i("Unable to parse storage string: "+t)}}function r(n){try{var r=JSON.stringify(n);e.setItem(t,r)}catch(e){throw new i("Unable to set storage: "+t)}}function o(e){if(!e)return r({});var t=n();delete t[e],r(t)}function a(e,t){var i=n();i[e]=t,r(i)}if("string"!=typeof t||!t.length)throw new i('"storageName" is required');return{getStorage:n,setStorage:r,clearStorage:o,updateStorage:a}}var i=n(1);e.exports=r},function(e,t,n){e.exports=n(16)},function(e,t){function n(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function r(e){return function(){var t=this,r=arguments;return new Promise(function(i,o){function a(e){n(l,i,o,a,s,"next",e)}function s(e){n(l,i,o,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 i(e){return r(e)}function o(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 d(e,t,n){return function(r){function o(){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,i(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 d=0;return function t(){return n.isPolling?o().then(function(r){if(d=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)&&d<=4){var n=1e3*Math.pow(2,d);return d++,v.delay(n).then(t)}throw e}):Promise.reject(new b)}().catch(function(e){throw n.isPolling=!1,e})}}function p(e,t,n,i,o){if(Array.isArray(i))return function(r,a){if(!r)throw new y("Must provide a link name");var s=v.find(i,{name:r});if(!s)throw new y("No link found for that name");return p(e,t,n,s,o)(a)};if(i.hints&&i.hints.allow&&1===i.hints.allow.length)switch(i.hints.allow[0]){case"GET":return function(){return g.get(e,i.href)};case"POST":return function(a){o&&o.isPolling&&(o.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 d=s.rememberDevice;if(void 0!==d){if("function"==typeof d)try{l.rememberDevice=!!d()}catch(e){return Promise.reject(new y("RememberDevice resulted in an error."))}else null!==d&&(l.rememberDevice=!!d);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 p=i.href+v.toQueryParams(l);return c(e,p,s)}}}function f(e,t,n,r){var i={};for(var o in n._links)if(n._links.hasOwnProperty(o)){var a=n._links[o];if("next"===o&&(o=a.name),a.type)i[o]=a;else switch(o){case"poll":i.poll=d(e,t,r);break;default:var s=p(e,t,n,a,r);s&&(i[o]=s)}}return i}function h(e,t,n,r){if(n=n||t,n=v.clone(n),Array.isArray(n)){for(var i=[],o=0,a=n.length;o<a;o++)i.push(h(e,t,n[o],r));return i}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=f(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:o,resumeTransaction:a,transactionExists:u,postToTransaction:c,introspect:s}},function(e,t,n){function r(){return g.genRandomString(64)}function i(){return g.genRandomString(64)}function o(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 i=window.open("/",n,r);return i.location.href=e,i}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 d(e,t,n){var r=v.getHttpCache(e.options.cookies);return c(e,t).then(function(t){var i=t.jwks_uri,o=r.getStorage(),a=o[i];if(a&&Date.now()/1e3<a.expiresAt){var s=g.find(a.response.keys,{kid:n});if(s)return s}return r.clearStorage(i),m.get(e,i,{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 p(e,t,n){var r=n.clientId,i=n.issuer,o=n.nonce;if(!t||!i||!r)throw new y("The jwt, iss, and aud arguments are all required");if(o&&t.nonce!==o)throw new y("OAuth flow response nonce doesn't match request nonce");var a=Math.floor(Date.now()/1e3);if(t.iss!==i)throw new y("The issuer ["+t.iss+"] does not match ["+i+"]");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 f(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,i=g.removeTrailingSlash(t.userinfoUrl)||e.options.userinfoUrl,o=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",i=i||l+"/v1/userinfo",o=o||l+"/v1/token",s=s||l+"/v1/revoke",a=a||l+"/v1/logout",{issuer:r,authorizeUrl:n,userinfoUrl:i,tokenUrl:o,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 i,o={};i=n.exec(r);){var a=i[1],s=i[2];o[a]="id_token"===a||"access_token"===a||"code"===a?s:decodeURIComponent(s.replace(t," "))}return o}var m=n(3),g=n(0),v=n(4),y=n(1);e.exports={generateState:r,generateNonce:i,getWellKnown:c,getKey:d,validateClaims:p,getOAuthUrls:f,loadFrame:l,loadPopup:u,urlParamsToObject:h,isToken:o,addListener:a,removeListener:s}},function(e,t,n){var r=n(12),i=n(4);e.exports=n(15)(i,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 i(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 o(e,t,n){var o=n.data,a=n.headers||{};return"application/json"===(a["Content-Type"]||a["content-type"]||"")&&o&&"string"!=typeof o&&(o=JSON.stringify(o)),s(t,{method:e,headers:n.headers,body:o,credentials:n.withCredentials?"include":"omit"}).then(function(e){var t=!e.ok,n=e.status;return r(e).then(function(e){return i(n,e)}).then(function(e){if(t)throw e;return e})})}var a=n(5),s=n(13);e.exports=o},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 i(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 _.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 d(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 p(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function f(){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=p(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):_.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=p(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(d(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 x.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," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),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 i=n.join(":").trim();t.append(r,i)}}),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,i){function o(){s.abort()}var a=new m(e,n);if(a.signal&&a.signal.aborted)return i(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(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(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",o),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",o)}),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]"],S=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=i(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)]=i(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)}),o(e)},a.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),o(e)},a.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),o(e)},_.iterable&&(a.prototype[Symbol.iterator]=a.prototype.entries);var x=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];m.prototype.clone=function(){return new m(this,{body:this._bodyInit})},f.call(m.prototype),f.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,i;!function(o){if(r=o,void 0!==(i="function"==typeof r?r.call(t,n,t,e):r)&&(e.exports=i),!0,e.exports=o(),!!0){var a=window.Cookies,s=window.Cookies=o();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,i,o){var a;if("undefined"!=typeof document){if(arguments.length>1){if(o=e({path:"/"},r.defaults,o),"number"==typeof o.expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*o.expires),o.expires=s}o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(i),/^[\{\[]/.test(a)&&(i=a)}catch(e){}i=n.write?n.write(i,t):encodeURIComponent(String(i)).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 o)o[u]&&(l+="; "+u,!0!==o[u]&&(l+="="+o[u]));return document.cookie=t+"="+i+l}t||(a={});for(var c=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,p=0;p<c.length;p++){var f=c[p].split("="),h=f.slice(1).join("=");this.json||'"'!==h.charAt(0)||(h=h.slice(1,-1));try{var m=f[0].replace(d,decodeURIComponent);if(h=n.read?n.read(h,m):n(h,m)||h.replace(d,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(f.closeSession,null,t),exists:v.bind(f.sessionExists,null,t),get:v.bind(f.getSession,null,t),refresh:v.bind(f.refreshSession,null,t),setCookieAndRedirect:v.bind(f.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 i=n(7),o=n(8),a=n(17),s=n(1),l=n(18),u=n(2),c=n(4).storage,d=n(3),p=n(10),f=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=o(i.mark(function e(t){var n;return i.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=o(i.mark(function e(t){var n,r,o,a,s,l,u,c,d,f;return i.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,o=t.accessToken,a=!1!==t.revokeAccessToken,s=t.idToken,l=this,u=p.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!==o){e.next=16;break}return e.next=15,l.tokenManager.get("token");case 15:o=e.sent;case 16:if(l.tokenManager.clear(),!a||!o){e.next=20;break}return e.next=20,l.revokeAccessToken(o);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,d=s.idToken,f=u+"?id_token_hint="+encodeURIComponent(d)+"&post_logout_redirect_uri="+encodeURIComponent(r),c&&(f+="&state="+encodeURIComponent(c)),window.location.assign(f);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 d.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,i;return new Promise(function(o,a){r=document.createElement("iframe"),r.style.display="none",i=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?o(n.fingerprint):void("FingerprintServiceReady"===n.type&&e.source.postMessage(JSON.stringify({type:"GetFingerprint"}),e.origin))}},p.addListener(window,"message",i),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),p.removeListener(window,"message",i),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,i){var o=t&&t.prototype instanceof r?t:r,a=Object.create(o.prototype),s=new p(i||[]);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 i(){}function o(){}function a(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function s(e){function t(r,i,o,a){var s=n(e[r],e,i);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,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(u).then(function(e){l.value=e,o(l)},function(e){return t("throw",e,o,a)})}a(s.arg)}function r(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=r}function l(e,t,r){var i=S;return function(o,a){if(i===E)throw new Error("Generator is already running");if(i===T){if("throw"===o)throw a;return h()}for(r.method=o,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(i===S)throw i=T,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i=E;var c=n(e,t,r);if("normal"===c.type){if(i=r.done?T:x,c.arg===k)continue;return{value:c.arg,done:r.done}}"throw"===c.type&&(i=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 i=n(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,k;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=m),t.delegate=null,k):o:(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 d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(c,this),this.reset(!0)}function f(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 S="suspendedStart",x="suspendedYield",E="executing",T="completed",k={},O={};O[b]=function(){return this};var C=Object.getPrototypeOf,A=C&&C(C(f([])));A&&A!==g&&v.call(A,b)&&(O=A);var P=o.prototype=r.prototype=Object.create(O);return i.prototype=P.constructor=o,o.constructor=i,o[w]=i.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===i||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,o):(e.__proto__=o,w in e||(e[w]="GeneratorFunction")),e.prototype=Object.create(P),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,i,o){var a=new s(t(n,r,i,o));return e.isGeneratorFunction(r)?a:a.next().then(function(e){return e.done?e.value:a.next()})},a(P),P[w]="Generator",P[b]=function(){return this},P.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=f,p.prototype={constructor:p,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(d),!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 o.type="throw",o.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 i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=v.call(i,"catchLoc"),s=v.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.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 i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,k):this.complete(o)},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),d(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 i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:f(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(){i.off(e,r),t.apply(n,arguments)}var i=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,i=n.length;for(r;r<i;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],i=[];if(r&&t)for(var o=0,a=r.length;o<a;o++)r[o].fn!==t&&r[o].fn._!==t&&i.push(r[o]);return i.length?n[e]=i: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 i(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 o(e){return function(t,n){function r(i){if(!(this instanceof r))return new r(i);i&&(i.storageUtil=t,i.ajaxRequest?(u.deprecate("ajaxRequest is being deprecated, use httpRequestClient attribute instead."),i.httpRequestClient=i.ajaxRequest):i.httpRequestClient||(i.httpRequestClient=n)),u.bind(e,this)(i)}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:i,buildOktaAuth:o,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 i(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 o(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:i,closeSession:o,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,i=t.accessToken,o=C.toQueryParams({token_type_hint:"access_token",token:i}).slice(1),a=btoa(n);return O.post(e,r,o,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+a}})})}function i(e){var t,n=e.split(".");try{t={header:JSON.parse(C.base64UrlToString(n[0])),payload:JSON.parse(C.base64UrlToString(n[1])),signature:n[2]}}catch(e){throw new I("Malformed token")}return t}function o(e,t,n){return Promise.resolve().then(function(){if(!t||!t.idToken)throw new I("Only idTokens may be verified");var r=i(t.idToken),o={clientId:e.options.clientId,issuer:e.options.issuer,ignoreSignature:e.options.ignoreSignature};return C.extend(o,n),A.validateClaims(e,r.payload,o),1!=o.ignoreSignature&&e.features.isTokenVerifySupported()?A.getKey(e,t.issuer,r.header.kid).then(function(e){return P.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 P.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,i;return new Promise(function(o,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 o(t.data)},A.addListener(window,"message",r),i=setTimeout(function(){a(new I("OAuth flow timed out"))},t||12e4)}).finally(function(){clearTimeout(i),A.removeListener(window,"message",r)})}function s(e,t,n){var r;return new Promise(function(e,i){function o(){try{t&&t.location&&t.location.hash?e(A.hashToObject(t.location.hash)):t&&!t.closed&&setTimeout(o,500)}catch(e){setTimeout(o,500)}}o(),r=setTimeout(function(){i(new I("OAuth flow timed out"))},n||12e4)}).finally(function(){clearTimeout(r)})}function l(e,t,n,r){var i=L.loadMeta(e),o={clientId:t.clientId,authorizationCode:n,codeVerifier:i.codeVerifier,redirectUri:i.redirectUri};return L.getToken(e,o,r).then(function(e){return u(e,o),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 i=t.responseType;Array.isArray(i)||(i=[i]);var a=C.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?(i=["token","id_token"],l(e,t,n.code,r)):n}).then(function(n){var i={},l=n.expires_in,u=n.token_type,c=n.access_token,d=n.id_token;if(c&&(i.accessToken={value:c,accessToken:c,expiresAt:Number(l)+Math.floor(Date.now()/1e3),tokenType:u,scopes:a,authorizeUrl:r.authorizeUrl,userinfoUrl:r.userinfoUrl}),d){var p=e.token.decode(d),f={value:d,idToken:d,claims:p.payload,expiresAt:p.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),o(e,f,h).then(function(){return i.idToken=f,i})}return i}).then(function(e){if(-1!==i.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!==i.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 d(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 p(e){if(!e.clientId)throw new I("A clientId must be specified in the OktaAuth constructor to get a token");if(C.isString(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new I("Multiple OAuth responseTypes must be defined as an array");var t=C.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 f(e){var t=p(e);return C.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 i={prompt:"none",responseMode:"okta_post_message",display:null},o={display:"popup"};t.sessionToken?C.extend(n,i):t.idp&&C.extend(n,o);var l,u,d;switch(d=A.getOAuthUrls(e,n),u=t.codeVerifier?d.tokenUrl:d.authorizeUrl,l=u+f(n),n.sessionToken||null===n.display?"IFRAME":"popup"===n.display?"POPUP":"IMPLICIT"){case"IFRAME":var p=a(e,t.timeout,n.state),h=A.loadFrame(l);return p.then(function(t){return c(e,n,t,d)}).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,d)}).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=C.clone(t)||{},C.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=C.clone(t)||{},C.extend(t,{display:"popup",responseMode:"okta_post_message"}),h(e,t))}function v(e,t){t=C.clone(t)||{};var n=d(e);if(C.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=C.clone(n)||{};return C.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=C.clone(t)||{},v(e,t).then(function(n){var r=A.getOAuthUrls(e,t),i=r.authorizeUrl+f(n);M.set(N.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(N.REDIRECT_NONCE_COOKIE_NAME,n.nonce,null,e.options.cookies),M.set(N.REDIRECT_STATE_COOKIE_NAME,n.state,null,e.options.cookies),e.token.getWithRedirect._setLocation(i)}))}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 S(e,t){t=t||{},C.isString(t)&&(t={url:t});var n,r=e.options.pkce?"query":"fragment",i=t.url,o=t.responseMode||e.options.responseMode||r,a=e.token.parseFromUrl._getLocation();if(!(n="query"===o?i?i.substring(i.indexOf("?")):a.search:i?i.substring(i.indexOf("#")):a.hash))return Promise.reject(new I("Unable to parse a token from the url"));var s=M.get(N.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(N.REDIRECT_OAUTH_PARAMS_COOKIE_NAME)}catch(e){return Promise.reject(new I("Unable to parse the "+N.REDIRECT_OAUTH_PARAMS_COOKIE_NAME+" cookie: "+e.message))}return Promise.resolve(A.urlParamsToObject(n)).then(function(t){return i||("query"===o?w(e):_(e)),c(e,l,t,u)})}function x(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",O.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&&C.isFunction(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):C.isFunction(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],i=n[1],o=r[1];i&&o&&(e=new R(i,o))}}throw e}));case 13:case"end":return e.stop()}},e)})),E.apply(this,arguments)}var T=n(7),k=n(8),O=n(3),C=n(0),A=n(10),P=n(23),I=n(1),R=n(24),N=n(2),M=n(4).storage,L=n(25);e.exports={revokeToken:r,getToken:h,getWithoutPrompt:m,getWithPopup:g,getWithRedirect:y,parseFromUrl:S,decodeToken:i,renewToken:b,getUserInfo:x,verifyToken:o,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 o.stringToBase64Url(r)})}function i(e,t){t=o.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("."),i=o.stringToBuffer(r[0]+"."+r[1]),a=o.base64UrlDecode(r[2]),s=o.stringToBuffer(a);return crypto.subtle.verify(n,t,s,i)})}var o=n(0);e.exports={getOidcHash:r,verifyToken:i}},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 i(e){var t=new Uint8Array(Math.ceil(e/2));return crypto.getRandomValues(t),Array.from(t,r).join("").slice(0,e)}function o(e){var t=e||"";return t.length<v&&(t+=i(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 d(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 p(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 f(e,t,n){d(t);var r=p(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:o,clearMeta:u,saveMeta:s,loadMeta:l,computeChallenge:c,getToken:f}},function(e,t,n){function r(e,t){return t.expiresAt-e.options.expireEarlySeconds}function i(e,t){return r(e,t)<=e.clock.now()}function o(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,i){var a=r(t,i),l=1e3*Math.max(a-t.clock.now(),0);s(t,n);var u=setTimeout(function(){o(t,n,i)},l);t.expireTimeouts[n]=u}function c(e,t,n){try{var r=n.getStorage()}catch(e){return void a(t,e)}for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];u(e,t,i,o)}}function d(e,t,n,r,i){var o=n.getStorage();if(!b.isObject(i)||!i.scopes||!i.expiresAt&&0!==i.expiresAt||!i.idToken&&!i.accessToken)throw new _("Token must be an Object with scopes, expiresAt, and an idToken or accessToken properties");o[r]=i,n.setStorage(o),u(e,t,r,i)}function p(e,t){return e.getStorage()[t]}function f(e,t,n,r){return new Promise(function(o){var a=p(n,r);return o(a&&i(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 i=t.renewPromise[r];if(i)return i;try{var o=p(n,r);if(!o)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(o).then(function(i){var o=p(n,r);if(o)return d(e,t,n,r,i),t.emitter.emit("renewed",r,i,o),i}).catch(function(e){throw"OAuthError"!==e.name&&"AuthSdkError"!==e.name||(h(t,n,r),e.tokenKey=r,e.accessToken=!!o.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||S.TOKEN_STORAGE_NAME,i=x(n,r),o=E.create(e,t),a={clock:o,options:t,emitter:e.emitter,expireTimeouts:{},renewPromise:{}};this.add=b.bind(d,this,e,a,i),this.get=b.bind(f,this,e,a,i),this.remove=b.bind(h,this,a,i),this.clear=b.bind(g,this,a,i),this.renew=b.bind(m,this,e,a,i),this.on=b.bind(a.emitter.on,a.emitter),this.off=b.bind(a.emitter.off,a.emitter),c(e,a,i)}var y=n(5),b=n(0),_=n(1),w=n(4),S=n(2),x=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,i;r=[n(426),n(436),n(194),n(442),n(443),n(444),n(455),n(456),n(457),n(458),n(459),n(462),n(463),n(464),n(465),n(466),n(468),n(469),n(470),n(471),n(472),n(473),n(475),n(476),n(205),n(477),n(478),n(479),n(480),n(481),n(482),n(484),n(486),n(487),n(488),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(504),n(505),n(508),n(187),n(512),n(515),n(516)],void 0!==(i=function(e,t,n,r,i,o,a,s,l,u,c,d,p,f,h,m,g,v,y,b,_,w,S,x,E,T,k,O,C,A,P,I,R,N,M,L,D,F,j,U,B,V,q,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(i,{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(o,{provider:e.toUpperCase(),factorType:t,factorIndex:n,Beacon:Q})},verifyNoProvider:function(e){this.render(o,{factorType:e,Beacon:Q})},enrollChoices:function(){this.render(c,{Beacon:J})},enrollDuo:function(){this.render(d,{provider:"DUO",factorType:"web",Beacon:Q})},enrollQuestion:function(){this.render(p,{provider:"OKTA",factorType:"question",Beacon:Q})},enrollPassword:function(){this.render(f,{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(x,{provider:"FIDO",factorType:"webauthn",Beacon:Q}):this.render(h,{provider:"FIDO",factorType:"webauthn",Beacon:Q})},enrollU2F:function(){this.render(S,{provider:"FIDO",factorType:"u2f",Beacon:Q})},scanBarcodeTotpFactor:function(e,t){this.render(O,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},scanBarcodePushFactor:function(){this.render(C,{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(P,{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(N,{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(j,{Beacon:J})},unlockEmailSent:function(){this.render(W,{Beacon:J})},recoveryQuestion:function(){this.render(U,{Beacon:J})},passwordReset:function(){this.render(B,{Beacon:J})},recoveryLoading:function(e){this.render(V,{token:e,Beacon:J})},unlockAccount:function(){this.render(q)},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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(44),n(184),n(186),n(187),n(189),n(428),n(193),n(26),n(98),n(32),n(13),n(7),n(72),n(34)],void 0!==(i=function(e,t,n,r,i,o,a,s,l,u,c,d,p,f,h){function m(e,t){return y.find(e.stateLessRouteHandlers,function(n){return t===e[n]})}function g(e,t){return!!e&&(e!==i||t.get("features.securityImage"))}function v(e,t,n,r){var i=setTimeout(function(){e.trigger("loading",!0)},200);return f.loadLanguage(e.get("languageCode"),t,{baseUrl:n,rewrite:r}).then(function(){clearTimeout(i),e.trigger("loading",!1)})}var y=e._,b=e.$,_=e.Backbone;return e.Router.extend({Events:_.Events,initialize:function(t){t.globalSuccessFn||(t.globalSuccessFn=function(){}),t.globalErrorFn||(t.globalErrorFn=function(e){h.error(e)}),this.settings=new n(y.omit(t,"el","authClient"),{parse:!0}),this.settings.setAuthClient(t.authClient),t.el||this.settings.callGlobalError(new c.ConfigError(e.loc("error.required.el"))),b("body > div").on("click",function(){}),this.appState=new a({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var i=new o({appState:this.appState});e.$(t.el).append(i.render().$el),this.el="#".concat(p.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){l.routeAfterAuthStatusChangeError(this,t)}),this.listenTo(this.appState,"change:transaction",function(e,t){l.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(l.createRecoveryUrl(n),{trigger:!0});var r=this.settings.get("stateToken");if(r)return this.settings.unset("stateToken"),void this.navigate(l.createRefreshUrl(r),{trigger:!0});var i=this.appState.get("transaction");return i&&i.data||m(this,e)?void e.apply(this,t):this.settings.getAuthClient().tx.exists()?void this.navigate(l.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?_.history.loadUrl(t):void 0},render:function(t,n){n||(n={});var r=n.Beacon,i=y.extend({settings:this.settings,appState:this.appState},y.omit(n,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!f.isLoaded(this.appState.get("languageCode")))return v(this.appState,this.settings.get("i18n"),this.settings.get("assets.baseUrl"),this.settings.get("assets.rewrite")).then(y.bind(this.render,this,t,n));if(this.settings.get("colors.brand")&&!s.isLoaded()){var o={brand:this.settings.get("colors.brand")};s.addStyle(o)}var a=this.controller;return this.controller=new t(i),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then(y.bind(function(){return g(r,this.settings)||(r=null),this.header.setBeacon(r,i),this.controller.render(),a?u.swapPages({$parent:this.el,$oldRoot:a.$el,$newRoot:this.controller.$el,dir:a.state.get("navigateDir"),ctx:this,success:function(){var t=this.appState.get("flashError"),n=this.controller.model;a.remove(),a.$el.remove(),this.controller.postRenderAnimation(),t&&(n.trigger("error",n,{responseJSON:{errorSummary:e.loc("error.expired.session")}}),this.appState.unset("flashError"),d.triggerAfterError(this.controller,t))}}):(this.el.append(this.controller.el),void this.controller.postRenderAnimation())},this)).catch(function(){a&&(a.remove(),a.$el.remove())})},start:function(){var n=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",y.bind(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(),f.remove(),_.history.stop()}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(22),n(99),n(44),n(32)],void 0!==(i=function(e,t,n,r,i){function o(e,n,r){if(d.isEmpty(n)||d.isUndefined(n))return t({securityImage:h,securityImageDescription:v});n=encodeURIComponent(n);var i=b({baseUrl:e,username:n}),o={url:i,dataType:"json"};return r&&(o.headers={"X-Device-Fingerprint":r}),t(p.ajax(o)).then(function(e){return e.pwdImg===f?{securityImage:m,securityImageDescription:g}:{securityImage:e.pwdImg,securityImageDescription:e.imageDescription||y}})}function l(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 u(e){var t=new Date(e).getTime();return Math.floor((t-(new Date).getTime())/864e5)}function c(e,t){var n=[],r=[];return d.each(t,function(t){var i=t.factorType;if(!d.contains(n,i)){var o=d.findWhere(e,{factorType:i});o?(n.push(i),r.push(o)):r.push(t)}}),r}var d=e._,p=e.$,f="/img/security/unknown.png",h="/img/security/default.png",m="/img/security/unknown-device.png",g="",v="",y="",b=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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 u((o=null!=(o=c(n,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"baseUrl",hash:{},data:i,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):o))+"/login/getimage?username="+u((o=null!=(o=c(n,"username")||(null!=t?c(t,"username"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"username",hash:{},data:i,loc:{start:{line:1,column:36},end:{line:1,column:48}}}):o))},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){o(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 i.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,h],securityImageDescription:["string",!0,v],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=c(e._embedded.factorTypes,r));var i=d.map(r,function(e){return e.settings=t.settings,e.appState=t,e});this.set("factors",new n.Collection(i,{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){return e&&d.isString(e.stateToken)&&e.stateToken.startsWith("01")}},isPwdExpiringSoon:{deps:["lastAuthResponse"],fn:function(e){return"PASSWORD_WARN"===e.status}},passwordExpireDays:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.policy&&e._embedded.policy.expiration?e._embedded.policy.expiration.passwordExpireDays:null}},isPwdManagedByOkta:{deps:["lastAuthResponse"],fn:function(e){return!(e._links&&e._links.next&&e._links.next.title)}},passwordExpiredWebsiteName:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title?e._links.next.title:null}},passwordExpiredLinkUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&e._links.next.title&&e._links.next.href?e._links.next.href:null}},recoveryType:{deps:["lastAuthResponse"],fn:function(e){return e.recoveryType}},factorType:{deps:["lastAuthResponse"],fn:function(e){return e.factorType}},factor:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.factor?e._embedded.factor:null}},activatedFactorId:{deps:["factor"],fn:function(e){return e?e.id:null}},activatedFactorType:{deps:["factor"],fn:function(e){return e?e.factorType:null}},activatedFactorProvider:{deps:["factor"],fn:function(e){return e?e.provider:null}},qrcode:{deps:["factor"],fn:function(e){try{return e._embedded.activation._links.qrcode.href}catch(e){return null}}},activationSendLinks:{deps:["factor"],fn:function(e){var t;try{t=e._embedded.activation._links.send}catch(e){t=[]}return t}},textActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=d.findWhere(e,{name:"sms"});return t?t.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=d.findWhere(e,{name:"email"});return t?t.href:null}},sharedSecret:{deps:["factor"],fn:function(e){try{return e._embedded.activation.sharedSecret}catch(e){return null}}},duoEnrollActivation:{deps:["factor"],fn:function(e){return e&&e._embedded&&e._embedded.activation?e._embedded.activation:null}},prevLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.prev?e._links.prev.href:null}},skipLink:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.skip?e._links.skip.href:null}},gracePeriodRemainingDays:{deps:["policy"],fn:function(e){return e&&e.gracePeriod&&e.gracePeriod.endDate?u(e.gracePeriod.endDate):null}},user:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user:null}},recoveryQuestion:{deps:["user"],fn:function(e){return e&&e.recovery_question?e.recovery_question.question:null}},userProfile:{deps:["user"],fn:function(e){return e&&e.profile?e.profile:null}},userConsentName:{deps:["userProfile","username"],fn:function(e,t){return!e||d.isEmpty(e.firstName)?t:d.isEmpty(e.lastName)?e.firstName:e.firstName+" "+e.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(e){return e&&e.login?e.login:null}},userFullName:{deps:["userProfile"],fn:function(e){return e&&(e.firstName||e.lastName)?e.firstName+" "+e.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(e){return e+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(e){return e.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.target:null}},targetLabel:{deps:["target"],fn:function(e){return e?e.label:null}},targetLogo:{deps:["target"],fn:function(e){return e&&e._links?e._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(e){return e&&e._links?e._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(e){return e&&e._links?e._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(e){return e&&e._links?e._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.scopes:null}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=d.findWhere(t,{factorType:"sms",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},hasExistingPhonesForCall:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=d.findWhere(t,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===h}},isNewUser:{deps:["securityImage"],fn:function(e){return e===m}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(t){if(t&&t.rememberDeviceLifetimeInMinutes>0){var n=l(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,d.extend(d.omit(e,"settings"),{languageCode:this.settings.get("languageCode")})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(80));r=[n(430),n(431)],void 0!==(i=function(e,t){var n={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},r=Object.keys(n),i=function(e){var t=r.filter(function(t){return n[t]===e});return 1===t.length?t[0]:e};return{getTimeInHighestRelevantUnit:function(r,o){var s,l={days:0,hours:0,minutes:0,seconds:0,milliseconds:0},u=n[o]||o;try{var c=t(Object.assign(l,(0,a.default)({},u,r)));s=e(c)}catch(e){s={}}var d,p,f=Object.keys(s).reduce(function(e,t){return 0!==s[t]&&(e[t]=s[t]),e},{});return 1===Object.keys(f).length?Object.keys(f).forEach(function(e){p=f[e],d=e}):(p=r,d=u),{time:p,unit:i(d)}}}}.apply(t,r))&&(e.exports=i)},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),i=r(n(16)),o=r(n(190)),a={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}},s=function(e){return Object.entries(e).reduce(function(e,t){var n=(0,o.default)(t,2),r=n[0],s=n[1];if("number"!=typeof s)throw new TypeError("Expected a `number` for key `".concat(r,"`, got `").concat(s,"` (").concat((0,i.default)(s),")"));if(!a[r])throw new Error("Unsupported time key");return e+a[r](s)},0)};e.exports=s,e.exports.default=s},function(e,t){function n(e){if(Array.isArray(e))return e}e.exports=n},function(e,t){function n(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}e.exports=n},function(e,t){function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}e.exports=n},function(e,t,n){"use strict";e.exports={INVALID_TOKEN_EXCEPTION:"E0000011"}},function(e,t,n){"use strict";var r,i;r=[n(0),n(194),n(137),n(440),n(441),n(197),n(73),n(196)],void 0!==(i=function(e,t,n,r,i,o,a,s){return t.extend({className:"idp-discovery",View:r,constructor:function(e){e.appState.unset("username"),this.model=new i({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=i)},function(e,t,n){"use strict";var r,i;r=[n(438)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r=n(1),i=r(n(190)),o=r(n(16));/**
 * 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 i=e.pt1-r,o=e.pt1;(1==e.recording||e.spKeyCodesObj[n]&&1==e.spKeyRecording)&&(t.shiftKey&&!e.isMobile()||(e.wfk[n]=1,e.skt[n]=i,e.sti[n]=o)),1==e.diagramRecording&&(e.dwfk[n]=1,e.dskt[n]=i,e.dsti[n]=o,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 i=n-e.sti[r],o=e.skt[r],a=[r,o,i,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 i=n-e.dsti[r],o=e.dskt[r],s=e.drkc[r],l=[r,o,i,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=setInterval(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=setInterval(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){(e.recording||e.diagramRecording)&&(e.ACSeekTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id)&&-1===e.ACInputLengths.inputs.indexOf(t.target)&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0)))},e.ACKeyUp=function(t){if((e.recording||e.diagramRecording)&&(e.ACPressTime=(new Date).getTime()-e.ACLastTime,e.ACLastTime=(new Date).getTime(),e.isTarget(t.target.id))){var n=t.keyCode,r=e.ACInputLengths.inputs.indexOf(t.target);if(-1===r&&(e.ACInputLengths.inputs.push(t.target),e.ACInputLengths.lastLength.push(0),r=e.ACInputLengths.inputs.indexOf(t.target)),229==n&&t.target.value.length>=e.ACInputLengths.lastLength[r]){var i=t.target.value.substr(t.target.selectionStart-1||0,1);n=i.toUpperCase().charCodeAt(0),e.ACLastCharCode=i.charCodeAt(0),e.ACLastKeyCode=i.toUpperCase().charCodeAt(0)}e.ACInputLengths.lastLength[r]=t.target.value.length;var o=[n,e.ACSeekTime,e.ACPressTime,e.ACPreviousKeyCode,e.ACLastTime];if(e.history.add(o),e.ACPreviousKeyCode=n,1==e.diagramRecording){var a=[n,e.ACSeekTime,e.ACPressTime,e.ACLastCharCode];e.history.addDiagram(a)}}},e.isTarget=function(t){if(e.lastTarget==t&&e.lastTargetFound)return!0;var n=e.targetIds.length,r=!1;if(n>0){for(var i=0;i<n;i++)if(e.targetIds[i]==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 i=0,o=n.length;for(t=1;t<o-1;t++){var a=n[t]-n[t-1],s=r[t]-r[t-1];i+=e.mouse.getDistance(a,s)}return i},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],i=e.mouse.xPositions[n-1]-e.mouse.xPositions[0],o=e.mouse.yPositions[n-1]-e.mouse.yPositions[0],a=Math.round(e.mouse.getDistance(i,o)),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(i,o),d=[1,r,a,u,c,l];for(t in d)if(isNaN(d[t]))return;e.mouse.history.add(d),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],i=e.mouse.scrollTopArr[n-1]-e.mouse.scrollTopArr[0],o=Math.round(100*i/r),a=[2,r,i,o];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 i=0;i<n;i++)if(e.targetIds[i]==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){e.targetIds.splice(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,o.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={},a=e.history.get(t,"",n),s=(0,i.default)(a,2);o.arr=s[0],targetLength=s[1],void 0!=n&&""!=n&&(t=targetLength);var l=e.zl,u=t,c=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)),f=Math.round(e.math.avg(c)),h=Math.round(e.math.sd(d)),m=Math.round(e.math.sd(c)),g=f+p,v=e.math.rd((p+l)/(g+l),4),y=e.math.rd((1-v)/v,4),b=e.math.rd((h+l)/(p+l),4),_=e.math.rd((m+l)/(p+l),4),w=Math.round(6e4/(g+l));0==u&&(w=0);for(var S in o.arr){var x=o.arr[S][1].length,E=0,T=0,k=0,O=0,C=0,A=0;switch(o.arr[S][0].length){case 0:break;case 1:var E=e.math.rd((o.arr[S][0][0]+l)/(f+l),4);break;default:var P=e.math.fo(o.arr[S][0]);E=e.math.rd((e.math.avg(P)+l)/(f+l),4),O=e.math.rd((e.math.sd(P)+l)/(m+l),4)}switch(o.arr[S][1].length){case 0:break;case 1:var T=e.math.rd((o.arr[S][1][0]+l)/(p+l),4);break;default:var P=e.math.fo(o.arr[S][1]);T=e.math.rd((e.math.avg(P)+l)/(p+l),4),C=e.math.rd((e.math.sd(P)+l)/(h+l),4)}switch(o.arr[S][2].length){case 0:break;case 1:var k=e.math.rd((o.arr[S][2][0]+l)/(f+l),4);break;default:var P=e.math.fo(o.arr[S][2]);k=e.math.rd((e.math.avg(P)+l)/(f+l),4),A=e.math.rd((e.math.sd(P)+l)/(m+l),4)}delete o.arr[S][2],delete o.arr[S][1],delete o.arr[S][0],o.arr[S][0]=x,o.arr[S][1]=E,o.arr[S][2]=T,o.arr[S][3]=k,o.arr[S][4]=O,o.arr[S][5]=C,o.arr[S][6]=A}var P=[];e.apu(P,u),e.apu(P,w),e.apu(P,g),e.apu(P,v),e.apu(P,y),e.apu(P,b),e.apu(P,_),e.apu(P,p),e.apu(P,f),e.apu(P,h),e.apu(P,m);for(var I=0;I<=6;I++)for(var S=0;S<44;S++){var R=e.keyCodes[S],N=o.arr[R][I];0==N&&I>0&&(N=1),e.apu(P,N)}return e.apu(P,e.isMobile()),e.apu(P,e.version),e.apu(P,e.flags),P.push(e.history.getSpecialKeys()),P.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),i=0;i<t;i++)n+=(e[i]-r)*(e[i]-r);return Math.sqrt(n/t)},e.math.fo=function(e){if(e.length>1){var t=e.concat(),n=e.length;t.sort(function(e,t){return e-t});var r=this.sd(t),i=t[Math.ceil(e.length/2)],o=i+2*r,a=i-2*r;n<20&&(a=0);for(var s=[],l=0;l<n;l++){var u=t[l];u<o&&u>a&&s.push(u)}return s}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,i,a){var a=void 0!=a?a:void 0==n||""==n,s=[],l=1==t?1:0,u=this.stackDiagram;if(void 0!=i&&""!=i&&u.length>0){if(u=e.sliceStackByTargetId(u,i),void 0==n||""==n){var c=e.document.getElementById(i);null!=c&&(n=c.value)}}else{var d=e.targetIds.length;if((void 0==n||""==n)&&d>0){n="";for(var p=0;p<d;p++){var c=e.document.getElementById(e.targetIds[p]);null!=c&&(n+=c.value)}}}var f=0,h=u.length,m=h;"string"==typeof n?m=n.length:"number"==typeof n&&n<h&&(m=n);var g=0;if(void 0!=r?g=isNaN(parseInt(r))?e.math.fnv1aHash(r):parseInt(r):"string"==typeof n&&(g=e.math.fnv1aHash(n)),s.push([e.isMobile(),e.version,e.flags,l,m,g,e.history.getSpecialKeys()]),void 0!=n&&n.length>0&&"string"==typeof n)for(var v,y,b=n.toLowerCase(),_=n.toUpperCase(),w=[],S=0,p=0;p<n.length;p++){var x=n.charCodeAt(p);a||(v=_.charCodeAt(p),y=v!=x?v:b.charCodeAt(p));for(var E=S,T=h,k=!1;0==k;){for(var O=E;O<T;O++){var C=u[O],A=C[3];if(A==x||!a&&A==y){if(k=!0,O==S)S++,w=[];else{w.push(O);var P=w.length;P>1&&w[P-1]==w[P-2]+1&&(S=O+1,w=[])}var I=C[0],R=C[1],N=C[2];t?s.push([A,R,N,I]):s.push([R,N]);break}}if(0==k)if(0!=E)E=0,T=S;else if(k=!0,e.replaceMissingKeys){if(f++,"object"!==(0,o.default)(e.savedMissingAvgValues)||e.savedMissingAvgValues.historyLength!=h){var M=e.math.fo(e.history.get(0,"seek")),L=e.math.fo(e.history.get(0,"press")),R=Math.round(e.math.avg(M)),N=Math.round(e.math.avg(L));e.savedMissingAvgValues={seekTime:R,pressTime:N,historyLength:h}}else var R=e.savedMissingAvgValues.seekTime,N=e.savedMissingAvgValues.pressTime;t?s.push([x,R,N,x,1]):s.push([R,N,1]);break}}if(e.replaceMissingKeysPerc<100*f/m)return null}else{var D=0;"number"==typeof n&&(D=h-n),D<0&&(D=0);for(var p=D;p<h;p++){var C=u[p],I=C[0],R=C[1],N=C[2];if(t){var A=C[3];s.push([A,R,N,I])}else s.push([R,N])}}return s.join("|")},e.sliceStackByTargetId=function(e,n){var r=e.length,i=[];for(t=0;t<r;t++){var o=e[t];o[5]==n&&i.push(o)}return i},e.history.get=function(t,n,r){var i=this.stack;void 0!=r&&""!=r&&i.length>0&&(i=e.sliceStackByTargetId(i,r));var o=i.length;switch(0!=t&&void 0!=t||(t=e.defaultHistoryLength),t>o&&(t=o),n){case"seek":var a=[];for(d=1;d<=t;d++){var s=i[o-d][1];s<=e.maxSeekTime&&a.push(s)}return a;case"press":var l=[];for(d=1;d<=t;d++){var u=i[o-d][2];u<=e.maxPressTime&&l.push(u)}return l;default:var c={};for(var d in e.keyCodes)c[e.keyCodes[d]]=[[],[],[]];for(d=1;d<=t;d++){var p=i[o-d],f=p[0],s=p[1],u=p[2],h=p[3];e.keyCodesObj[f]&&(s<=e.maxSeekTime&&(c[f][0].push(s),0!=h&&e.keyCodesObj[h]&&c[h][2].push(s)),u<=e.maxPressTime&&c[f][1].push(u))}return[c,t]}},e.history.getSpecialKeys=function(){var t=[],n=this.stack.length,r={};for(var i in e.spKeyCodes)r[e.spKeyCodes[i]]=[[]];for(i=1;i<=n;i++){var o=this.stack[n-i];if(e.spKeyCodesObj[o[0]]){var a=o[0],s=o[2];s<=e.maxPressTime&&r[a][0].push(s)}}for(var i in e.spKeyCodes){var o=e.math.fo(r[e.spKeyCodes[i]][0]),l=o.length;t.push(l),l>1?(t.push(Math.round(e.math.avg(o))),t.push(Math.round(e.math.sd(o)))):1==l?t.push([o[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(a=0;a<n.length;a++)n[a]=Number(n[a]);var r=(n[0],rec=avgAcc=0),i=e.math.avg(n),o=n.slice(11,55);for(var a in o)rec+=Number(o[a]>0),r+=Number(o[a]>4),avgAcc+=Number(o[a]>i);var s=Math.sqrt(rec*r*avgAcc)/80;return s>1?1:s},e.checkMobileValidity=function(e){var t=e.split(","),n=t[0];if(0==n)return 0;var r=0,i=t.slice(11,55);for(var o in i)r+=Number(i[o]);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){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0)],void 0!==(i=function(e){return e.View.extend({template:s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=c(n,"label")||(null!=t?c(t,"label"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"label",hash:{},data:i,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):o))+'</span><a title="'+u((o=null!=(o=c(n,"text")||(null!=t?c(t,"text"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):o))+'" aria-label="'+u((o=null!=(o=c(n,"text")||(null!=t?c(t,"text"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):o))+'" class="registration-link" href="#">'+u((o=null!=(o=c(n,"text")||(null!=t?c(t,"text"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"text",hash:{},data:i,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):o))+"</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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(13),n(195)],void 0!==(i=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",r.bind(this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var n=[],i={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(),i)),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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(137),n(138),n(7),n(13)],void 0!==(i=function(e,t,n,r,i){var o=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"),a=this.get("lastUsername"),s="okta:acct:"+e,l=this.get("requestContext");this.setUsernameCookie(e,t,a),this.trigger("save"),this.appState.trigger("loading",!0);var u={resource:s,requestContext:l};this.appState.settings.authClient.webfinger(u).then(o.bind(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=e.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?i.redirectWithFormGet.bind(i):this.settings.get("redirectUtilFn");t(e.links[0].href)}},this)).catch(o.bind(function(){this.trigger("error"),this.appState.trigger("removeLoading"),n.removeUsernameCookie()},this)).finally(o.bind(function(){this.appState.trigger("loading",!1)},this))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(198),n(22),n(19),n(4),n(7),n(5),n(48)],void 0!==(i=function(e,t,n,r,i,o,a,s){var l=e.$,u=e._;return i.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 u.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"),i=this,o={id:r,stateToken:this.get("stateToken"),sig_response:e},a=this.get("rememberDevice");return n(l.post(t,o)).then(function(){return i.doTransaction(function(e){var t;return a&&(t={rememberDevice:a}),e.poll(t)})}).catch(function(e){i.trigger("error",i,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:u.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:u.bind(this.model.verify,this.model)})}},Footer:s,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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(136)),s=o(n(188)),l=o(n(3));r=[n(0),n(4),n(5),n(199)],void 0!==(i=function(e,t,n,r){var i=e._,o=e.$,u=e.internal.util.Util;return t.extend({className:"piv-cac-card",Model:{save:function(){function t(){return n.apply(this,arguments)}var n=(0,s.default)(a.default.mark(function t(){var n,r,o,s;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return this.trigger("request"),n=this,r=this.settings.get("piv"),o={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,o);case 7:s=t.sent,u.redirect(s.redirectUrl),t.next=15;break;case 11:t.prev=11,t.t0=t.catch(2),i.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 o.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,t){return o.post({url:e,xhrFields:{withCredentials:!0},data:JSON.stringify(t),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:i.partial(e.loc,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:i.partial(e.loc,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[n.View({View:e.View.extend({template:l.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="piv-verify-text"><p>'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"piv.cac.card.insert"},data:i,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;i.defer(function(){e.model.save()})}},back:function(){},Footer:r})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(73),n(445),n(446),n(447),n(448),n(449),n(450),n(452),n(453),n(454),n(48)],void 0!==(i=function(e,t,n,r,i,o,a,s,l,u,c,d){var p=e.internal.views.forms.inputs.CheckBox;return t.extend({className:"mfa-verify",initialize:function(t){var f,h=t.factorType;switch(h){case"question":f=i;break;case"email":f=this.options.appState.get("isIdxStateToken")?a:c;break;case"sms":case"call":f=o;break;case"token":case"token:software:totp":case"token:hotp":f=n;break;case"token:hardware":f=r;break;case"push":f=s;break;case"password":f=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 f(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(p,{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(p,{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 d(this.toJSON()))},findModel:function(e,t){var n=t.appState.get("factors"),r=t.provider,i=t.factorIndex;return r?n.hasMultipleFactorsOfSameType(e)&&i?n.getFactorByTypeAndIndex(e,i):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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(15)],void 0!==(i=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"),i="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:i?"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",n.bind(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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(15)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(22),n(15),n(7)],void 0!==(i=function(e,t,n,r){function i(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:o({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:o({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:o({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var o=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression((o=null!=(o=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:i,loc:{start:{line:1,column:1},end:{line:1,column:13}}}):o))+")"},useData:!0}),s=e._,l=e.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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,o="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:i,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?o:"")+"</p>"},useData:!0})});return e.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:s.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(l,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var o=this;this.title=this.model.get("factorLabel");var a=this.model.get("factorType"),l=i.call(this,a),u=l.warning;this.$el.attr("data-se","factor-"+a),this.subtitle=l.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":l.buttonDataSe},className:"button "+l.buttonClassName,title:l.formSubmit,click:function(){o.clearErrors(),this.disable(),o.clearWarnings(),this.options.title=l.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then(function(){return o.getInputs().first().render().focus(),t.delay(r.API_RATE_LIMIT)}).then(s.bind(function(){this.options.title=l.formRetry,this.enable(),"call"!==a&&"sms"!==a||o.showWarning(u),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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(22),n(7)],void 0!==(i=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 i=this;this.title=this.model.get("factorLabel");var o=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+o+")",this.add(e.createButton({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:e.loc("mfa.sendEmail","login"),click:function(){i.clearErrors(),this.disable(),this.options.title=e.loc("mfa.sent","login"),this.render(),this.model.save().then(r.bind(function(){return t.delay(n.API_RATE_LIMIT)},this)).then(r.bind(function(){this.options.title=e.loc("mfa.resendEmail","login"),this.enable(),this.render()},this))}}))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(138),n(13),n(451)],void 0!==(i=function(e,t,n,r){var i=e._,o=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s))+" ("+(null!=(s=null!=(s=c(n,"deviceName")||(null!=t?c(t,"deviceName"):t))?s:u,o="function"===(0,a.default)(s)?s.call(l,{name:"deviceName",hash:{},data:i,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):s)?o:"")+")"},useData:!0}),l=e.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,i){var o,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((o=null!=(o=a(n,"warning")||(null!=t?a(t,"warning"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:i,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):o))+"</p>"},useData:!0})});return e.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:i.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){t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.clearWarnings(),this.$el.find(".button").hide(),this.numberChallengeView.$el.show()):(this.numberChallengeView.$el.hide(),this.$el.find(".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=o({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(t){var n=this.$el.find(".button");this.enabled=t,t?(n.removeClass("link-button-disabled"),n.prop("value",e.loc("oktaverify.send","login")),n.prop("disabled",!1)):(n.addClass("link-button-disabled"),n.prop("value",e.loc("oktaverify.sent","login")),n.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),i.defer(i.bind(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(i.bind(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(l,".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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=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,i){var o,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!=(o=(c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{arguments:"number",bundle:"login",code:"oktaverify.numberchallenge.instruction"},data:i,loc:{start:{line:1,column:42},end:{line:1,column:132}}}))?o:"")+'</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:i,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:i,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=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(15)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(15),n(200)],void 0!==(i=function(e,t,n){var r=e._,i=function(){var e=this.model.get("email");return{factorEmail:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression((o=null!=(o=a(n,"email")||(null!=t?a(t,"email"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:i,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):o))+"</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:Object.assign({},e.Form.prototype.events,{submit:function(e){e.preventDefault(),this.handleSubmit()}}),handleSubmit:function(){this.clearErrors(),this.options.appState.get("isMfaChallenge")?this.isValid()&&this.model.save():(this.model.set("answer",""),this.model.save().then(this.renderChallengView.bind(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:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:78}}}))?o:""},useData:!0}),getTemplateData:i}))},renderChallengView:function(){this.removeChildren(),this.add(e.View.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:""},useData:!0}),getTemplateData:i})),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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(65),n(201),n(48),n(49)],void 0!==(i=function(e,t,n,r,i,o,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(i){var o=i.factor;return r.getAssertion(o.challenge.nonce,[{id:o.profile.credentialId}]).then(function(e){return n.verify({authenticatorData:e.authenticatorData,clientData:e.clientData,signatureData:e.signature})}).then(function(t){return e.trigger("sync"),e.trigger("signIn"),t}).catch(function(n){switch(n.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return e.trigger("abort",n.message),t}throw n})})})}}},Form:{autoSave:!0,hasSavingState:!1,title: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 i({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:o})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(32),n(4),n(5),n(48),n(22),n(19),n(139),n(49),n(202)],void 0!==(i=function(e,t,n,r,i,o,s,l,u){function c(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=s.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 i,a,s;if(e.factors){var u=e.factors;a=u[0].profile.appId,s=e.challenge.nonce,i=c(u)}else{var d=e.factor;a=d.profile.appId,s=d.challenge.nonce,i=[{version:l.getU2fVersion(),keyHandle:d.profile.credentialId}]}r.trigger("request");var p=o.defer();return u2f.sign(a,s,i,function(e){if(r.trigger("errors:clear"),!e.errorCode||0===e.errorCode){var i=!!r.get("rememberDevice");return n.verify({clientData:e.clientData,signatureData:e.signatureData,rememberDevice:i}).then(p.resolve)}var o=1===r.options.appState.get("factors").length;p.reject(new t.U2FError({xhr:{responseJSON:{errorSummary:l.getU2fVerifyErrorMessageByCode(e.errorCode,o)}}}))}),p.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!l.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(l.isU2fAvailable())t.push(r.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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(o,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructions"},data:i,loc:{start:{line:1,column:32},end:{line:1,column:86}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructionsBluetooth"},data:i,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 u({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(d.bind(function(){l.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:i})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(32),n(4),n(5),n(82),n(65),n(48),n(22),n(19),n(49)],void 0!==(i=function(e,t,n,r,i,o,s,l,u,c){function d(e){var t=[];return p.each(e,function(e){t.push({type:"public-key",id:i.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=u.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 o,a;if(e.factors){var s=e.factors;a=e.challenge,o=d(s)}else{var u=e.factor;a=u.challenge,o=d([u])}r.trigger("request");var c=p.extend({},a,{allowCredentials:o,challenge:i.strToBin(a.challenge)});return r.webauthnAbortController=new AbortController,new l(navigator.credentials.get({publicKey:c,signal:r.webauthnAbortController.signal})).then(function(e){var t=!!r.get("rememberDevice");return n.verify({clientData:i.binToStr(e.response.clientDataJSON),authenticatorData:i.binToStr(e.response.authenticatorData),signatureData:i.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!o.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(o.isNewApiAvailable())t.push(r.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-verify-text"><p>'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:i,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 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(){p.defer(p.bind(function(){o.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:s})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(48),n(19),n(49)],void 0!==(i=function(e,t,n,r,i,o){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=i.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){var e=this,t=!!this.get("rememberDevice");return this.manageTransaction(function(n,r){var i={rememberDevice:t};return a.findWhere(n.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).verify(i).then(function(t){r(t);var n=e.appState.get("verifyCustomFactorRedirectUrl");null!==n&&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}),i=r.get("vendorName");return{autoSave:!0,title:i,save:e.loc("mfa.challenge.verify","login"),subtitle:e.loc("verify.customFactor.subtitle","login",[i]),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 o({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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(7),n(26),n(203),n(460),n(461)],void 0!==(i=function(e,t,n,r,i,o,s){var l=e._,u=e.$,c=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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,o="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:i,loc:{start:{line:1,column:6},end:{line:1,column:20}}}):a)?o:"")+"</span>"},useData:!0});return t.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:l.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 Number.isInteger(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(c({subtitle:this.getSubtitle()}),u("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 o({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,a=t.where({enrolled:!0}),s=t.filter(function(e){return!e.get("enrolled")||e.get("additionalEnrollment")});a.length>0&&(r=e.loc("enroll.choices.list.optional","login"),this.add(new i({listTitle:e.loc("enroll.choices.list.enrolled","login"),minimize:!0,collection:new e.Collection(a),appState:this.options.appState}))),this.add(new i({listTitle:r,collection:new e.Collection(s),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(e){var t,r,i=0,o=0,a=0,l=0;e.appState.get("factors").each(function(e){var t=e.get("required"),n=e.get("enrolled"),r=e.get("additionalEnrollment");t&&n?i++:t&&!n?o++:!t&&n?a++:t||n||l++,n&&r&&l++}),t=i>0||o>0,t&&0===i?r=n.HAS_REQUIRED_NONE_ENROLLED:t&&o>0?r=n.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t&&l>0?r=n.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===a&&l>0?r=n.ALL_OPTIONAL_NONE_ENROLLED:l>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 s(this.toJSON()))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(203)],void 0!==(i=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;t.prototype.postRender.apply(this,arguments),e=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),n=this.find(function(t){return t.model===e}),n.maximize()}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.choices.setup.skip"},data:i,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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(198),n(22),n(4),n(23)],void 0!==(i=function(e,t,n,r,i){var o=e.$,a=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 a.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()})},activate:function(e){var t=this.get("postAction"),r=this.get("factorId"),i=this,a={id:r,stateToken:this.get("stateToken"),sig_response:e};return n(o.post(t,a)).then(function(){return i.doTransaction(function(e){return e.poll()})}).catch(function(e){i.trigger("error",i,e.xhr)})}},Form:{autoSave:!0,noButtonBar:!0,title:a.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:a.bind(this.model.activate,this.model)})}},Footer:i,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,i=r._embedded.activation;e.model.set({host:i.host,signature:i.signature,postAction:i._links.complete.href,factorId:r.id,stateToken:n.stateToken})})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(19),n(13),n(23),n(15)],void 0!==(i=function(e,t,n,r,i,o){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:o,type:"text"}]}},Footer:i,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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(83),n(23),n(15)],void 0!==(i=function(e,t,n,r,i){var o=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 o.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})})}},Form:{autoSave:!0,title:o.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:i,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:i,type:"password"}]}},Footer:r})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(65),n(201),n(23),n(49)],void 0!==(i=function(e,t,n,r,i,o,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,i=this,o={rpDisplayName:t.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},a=[{algorithm:t.algorithm}],s=t.nonce;return r.makeCredential(o,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 i.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 i({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:o,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(23),n(204),n(15),n(101),n(5),n(13),n(7)],void 0!==(i=function(e,t,n,r,i,o,s,l,u){function c(e){return"call"===e}function d(e){return c(e)?"enroll-call":"enroll-sms"}function p(e){h.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var f=e._,h=e.internal.util.Keys,m=e.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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,o="function"==typeof a?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:i,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?o:"")+"</p>"},useData:!0})}),g={factorId:function(e){return!f.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"+"+o.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}),f.delay(f.bind(this.set,this),u.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(i){var o="MFA_ENROLL"===i.status||"FACTOR_ENROLL"===i.status,a={phoneNumber:n,updatePhone:!o||t.get("hasExistingPhones")};c(t.get("factorType"))&&(a.phoneExtension=r),t.get("skipPhoneValidation")&&(a.validatePhone=!1);var s=function(n){return f.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 o?s(i):(t.set("trapEnrollment",!0),i.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=c(t),a=e.loc(n?"enroll.call.setup":"enroll.sms.setup","login"),u=e.loc(n?"mfa.call":"mfa.sendCode","login"),f=e.loc(n?"mfa.redial":"mfa.resendCode","login"),h=e.loc(n?"mfa.calling":"mfa.sent","login"),v=n?"enroll-call-phone":"enroll-sms-phone",y=n?"call-request-button":"sms-request-button",b=[s.Input({name:"countryCode",type:"select",wide:!0,options:o.getCountries()}),s.Input({label:e.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:v,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(s.Input({label:e.loc("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:i,type:"text"})),b.push(s.Button({title:u,attributes:{"data-se":y},className:"button button-primary js-enroll-phone margin-top-30 "+y,click:function(){this.model.sendCode()}}),s.Button({title:f,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=f,this.enable()):(this.options.title=h,this.disable()),this.render()})}}),s.Divider({showWhen:g}),s.Input({label:e.loc("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:l.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:i,type:"tel",showWhen:g}),s.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login"),showWhen:g})),{title:a,noButtonBar:!0,autoSave:!0,className:d(t),showWarning:function(e){this.clearWarnings(),this.add(m,".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(){c(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=i)},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,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(23),n(5)],void 0!==(i=function(e,t,n,r){var i=e._,o={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");var e=this.pick("factorType","provider");return this.doTransaction(function(t){return i.findWhere(t.factors,e).enroll()})}},s=function(){return{title:i.partial(e.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:i.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,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"email.enroll.description"},data:i,loc:{start:{line:1,column:0},end:{line:1,column:55}}}))},useData:!0})})})]}};return t.extend({className:"enroll-email",Model:o,Form:s,Footer:n,initialize:function(){this.model.set(i.pick(this.options,"factorType","provider"))}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(23),n(200),n(5)],void 0!==(i=function(e,t,n,r,i){var o=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:o.partial(e.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o.partial(e.loc,"oform.verify","login"),formChildren:[i.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,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:""},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,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression((o=null!=(o=a(n,"email")||(null!=t?a(t,"email"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:i,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):o))+"</span>"},useData:!0})({email:t})}}})}),i.View({View:r}),i.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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(5),n(4),n(13),n(23),n(15)],void 0!==(i=function(e,t,n,r,i,o){function a(e){return"RSA"===e}function s(e){return a(e)?"enroll-rsa":"enroll-onprem"}var l=e._;return n.extend({className:function(){return s(this.options.provider)},Model:function(){var e=this.options.provider,t=this.options.appState.get("factors"),n=t.findWhere(l.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 l.findWhere(t.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})})}}},Form:function(){var n=this.options.provider,i=this.options.appState.get("factors"),u=i.findWhere(l.pick(this.options,"provider","factorType")),c=u.get("vendorName");return{title:a(n)?e.loc("factor.totpHard.rsaSecurId","login"):c,noButtonBar:!0,autoSave:!0,className:s(n),initialize:function(){this.listenTo(this.model,"error",l.bind(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",[c]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[c],[c]),"explain-top":!0,name:"credentialId",input:o,type:"text"}),t.Input({label:e.loc("enroll.onprem.passcode.placeholder","login",[c]),"label-top":!0,explain:r.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[c],[c]),"explain-top":!0,name:"passCode",input:o,type:"password"}),t.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login")})]}},Footer:i})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(5),n(4),n(13),n(23),n(15)],void 0!==(i=function(e,t,n,r,i,o){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:o,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:o,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:o,type:"text"}),t.Toolbar({noCancelButton:!0,save:e.loc("mfa.challenge.verify","login")})]}},Footer:i})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(5),n(4),n(23),n(15)],void 0!==(i=function(e,t,n,r,i){var o=e._;return n.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction(function(e){return o.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})})}},Form:{title:o.partial(e.loc,"enroll.yubikey.title","login"),subtitle:o.partial(e.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:o.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:i,type:"password"})]},Footer:r})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(19),n(4),n(5),n(26),n(474),n(140),n(23)],void 0!==(i=function(e,t,n,r,i,o,l,u){var c=e._,d={__deviceType__:function(e){return void 0!==e}},p=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,i){var o,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:i,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,o="function"===(0,a.default)(s)?s.call(l,{name:"appStoreLinkText",hash:{},data:i,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):s)?o:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},getTemplateData:function(){var n,r,i,a=t.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return i=o.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(n=o.GOOGLE[this.model.get("__deviceType__")],r="google-auth-38"):(n=o.OKTA[this.model.get("__deviceType__")],r="okta-verify-38"),{appStoreLinkText:e.loc("enroll.totp.downloadApp","login",[n,a,i]),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:d}),r.View({View:p,showWhen:d}),r.Toolbar({noCancelButton:!0,save:e.loc("oform.next","login"),showWhen:d})]}},Footer:u})}.apply(t,r))&&(e.exports=i)},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,i,o=n(1),a=o(n(3));r=[n(0),n(32),n(5),n(4),n(139),n(23),n(22),n(49),n(202)],void 0!==(i=function(e,t,n,r,i,o,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,o=[{version:i.getU2fVersion(),challenge:n.nonce}],a=this,l=s.defer();return u2f.register(r,o,[],function(n){a.trigger("errors:clear"),n.errorCode&&0!==n.errorCode?l.reject(new t.U2FError({xhr:{responseJSON:{errorSummary:i.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!i.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(i.isU2fAvailable())t.push(n.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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!=(o=(l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general2"},data:i,loc:{start:{line:1,column:38},end:{line:1,column:90}}}))?o:"")+"</li><li>"+e.escapeExpression((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general3"},data:i,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,i){var o=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(o,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructions"},data:i,loc:{start:{line:1,column:37},end:{line:1,column:91}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructionsBluetooth"},data:i,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:o,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(32),n(5),n(4),n(82),n(65),n(23),n(22),n(49),n(44)],void 0!==(i=function(e,t,n,r,i,o,s,l,u,c){function d(e){var t=[];return p.each(e,function(e){t.push({type:"public-key",id:i.strToBin(e.id)})}),t}var p=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 p.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(o.isNewApiAvailable()){var a=p.extend({},n,{challenge:i.strToBin(n.challenge),user:{id:i.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName},excludeCredentials:d(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:i.binToStr(t.response.attestationObject),clientData:i.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:p.partial(e.loc,"enroll.webauthn.biometric.title","login"),save:p.partial(e.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!o.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var t=[];if(o.isNewApiAvailable())t.push(n.View({View:e.View.extend({className:"webauthn-enroll-text",template:a.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-edge-text"><p>'+(null!=(o=(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:i,loc:{start:{line:1,column:173},end:{line:1,column:249}}}))?o:"")+"</p></div>"},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-restrictions-text"><p>'+(null!=(o=(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:i,loc:{start:{line:1,column:340},end:{line:1,column:423}}}))?o:"")+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:45},end:{line:1,column:114}}}))+"</p></div>"+(null!=(o=s(n,"if").call(a,null!=t?s(t,"isEdge"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:124},end:{line:1,column:266}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"onlySupportsSecurityKey"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:266},end:{line:1,column:440}}}))?o:"")+'<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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(99),n(5),n(205),n(49)],void 0!==(i=function(e,t,n,r,i){var o=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&&o.redirect(t)})}},Form:function(){var r=new t.Model(this.options.appState.get("factor"),this.toJSON()),o=r.get("vendorName");return{autoSave:!0,title:o,subtitle:e.loc("enroll.customFactor.subtitle","login",[o]),save:e.loc("enroll.customFactor.save","login"),formChildren:function(){var e=[];return this.options.appState.get("isFactorResultFailed")&&e.push(n.View({View:new i({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),e}}}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(23),n(49)],void 0!==(i=function(e,t,n,r,i){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 i({message:e.loc("enroll.hotp.restricted","login")})})]}},Footer:r})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(19),n(4),n(5),n(26),n(140),n(23)],void 0!==(i=function(e,t,n,r,i,o,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:o})]},Footer:a,initialize:function(){this.listenTo(this.form,"save",function(){var e=i.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(19),n(4),n(5),n(26),n(140),n(23)],void 0!==(i=function(e,t,n,r,i,o,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:o})]},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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(206),n(23)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(19),n(4),n(5),n(26),n(483),n(15)],void 0!==(i=function(e,t,n,r,i,o,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,i){var o,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((o=null!=(o=a(n,"instructions")||(null!=t?a(t,"instructions"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"instructions",hash:{},data:i,loc:{start:{line:1,column:58},end:{line:1,column:74}}}):o))+"</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:o,initialize:function(){this.listenTo(this.form,"save",function(){var e=i.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(26),n(7)],void 0!==(i=function(e,t,n){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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(o,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:i,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(o,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:i,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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(101),n(19),n(4),n(5),n(26),n(485),n(204),n(15)],void 0!==(i=function(e,t,n,r,i,o,s,l,u){function c(e,t){var n=o.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 f.findWhere(e.factors,{factorType:t,provider:"OKTA"}).enroll()}).then(function(t){var n,r,i,o=t.data;if(o&&o._embedded&&o._embedded.factor&&o._embedded.factor._embedded&&o._embedded.factor._embedded.activation){var a=o._embedded.factor;if(i=a._embedded.activation.sharedSecret,a._embedded.activation._links&&a._embedded.activation._links.send){var s=a._embedded.activation._links.send,l=f.findWhere(s,{name:"sms"});n=l?l.href:null;var u=f.findWhere(s,{name:"email"});r=u?u.href:null}}return e.model.set({SMS:n,EMAIL:r,sharedSecret:i}),t})})}var f=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:f.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[i.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")}}),i.Input({name:"countryCode",type:"select",wide:!0,options:t.getCountries(),showWhen:{activationType:"SMS"}}),i.Input({label:e.loc("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:l,type:"text",showWhen:{activationType:"SMS"}}),i.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"instructions")||(null!=t?a(t,"instructions"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"instructions",hash:{},data:i,loc:{start:{line:1,column:58},end:{line:1,column:74}}}):o))+"</p>"},useData:!0}),getTemplateData:function(){return{instructions:n}}}),showWhen:{activationType:"MANUAL"}}),i.Input({name:"sharedSecret",input:u,type:"text",disabled:!0,showWhen:{activationType:"MANUAL"},initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)}}),i.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div data-type="next-button-wrap"></div>'},useData:!0})}),showWhen:{activationType:"MANUAL"}}),i.Button({title:e.loc("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:f.bind(function(){d(this),c(this,"passcode")},this)},'[data-type="next-button-wrap"]'),i.Toolbar({noCancelButton:!0,save:e.loc("oform.send","login"),showWhen:{activationType:function(e){return"SMS"===e||"EMAIL"===e}}})]}},Footer:s,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),f.defer(function(){c(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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(26)],void 0!==(i=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,i){var o=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(o,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:i,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(o,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:i,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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(101),n(4),n(5),n(26)],void 0!==(i=function(e,t,n,r,i){var o=e._,s=e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:i,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=i.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),l={title:o.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,i){var o,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:i,loc:{start:{line:1,column:3},end:{line:1,column:64}}}))+'</p><p class="email-address">'+l((o=null!=(o=u(n,"email")||(null!=t?u(t,"email"):t))?o:s,"function"==typeof o?o.call(a,{name:"email",hash:{},data:i,loc:{start:{line:1,column:93},end:{line:1,column:102}}}):o))+"</p>"},useData:!0}),getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},u={title:o.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,i){var o,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:i,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+'</p><p class="phone-number">'+l((o=null!=(o=u(n,"phoneNumber")||(null!=t?u(t,"phoneNumber"):t))?o:s,"function"==typeof o?o.call(a,{name:"phoneNumber",hash:{},data:i,loc:{start:{line:1,column:90},end:{line:1,column:105}}}):o))+"</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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(26),n(206)],void 0!==(i=function(e,t,n,r){var i=e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:i,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:i})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(7),n(5),n(83),n(19),n(13),n(207),n(15),n(208)],void 0!==(i=function(e,t,n,r,i,o,a,s,l,u){var c=e._;return t.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return i.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:c.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 o.getPasswordComplexityDescription(t)},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(r.View({View:new u({policy:this.options.appState.get("policy")})})),t=t.concat([r.Input({"label-top":!0,label:e.loc("password.oldPassword.placeholder","login"),explain:a.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:l,type:"password"}),r.Divider(),r.Input({className:"margin-btm-5","label-top":!0,label:e.loc("password.newPassword.placeholder","login"),explain:a.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:l,type:"password"}),r.Input({"label-top":!0,label:e.loc("password.confirmPassword.placeholder","login"),explain:a.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:l,type:"password"})])}},Footer:s,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(c.bind(this.model.save,this.model))})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(207)],void 0!==(i=function(e,t,n,r){var i=e._,o=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:i.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(){o.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:r})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(7),n(5),n(83),n(13),n(209),n(15)],void 0!==(i=function(e,t,n,r,i,o,s,l){var u=e._,c=e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.noFactorsEnabled"},data:i,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),d=e.View.extend({template:a.default.template({1:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:i,loc:{start:{line:1,column:94},end:{line:1,column:131}}}))+"</a>"},3:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:i,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"unless").call(a,null!=t?s(t,"hideBackToSignInForReset"):t,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:146}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:146},end:{line:1,column:281}}}))?o:"")},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 i.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"),i=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(t||i||s),d=[];return u?this.add(c,".o-form-error-container"):(d.push(r.Input({label:e.loc("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:o.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||i)&&d.push(r.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:i,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"),d.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",n.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),i&&(this.$el.addClass("forgot-password-call-enabled"),d.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"),d.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),d},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,i,o){return r.Button({attributes:{"data-se":t},className:"button button-primary button-wide "+t,title:e.loc(n,"login"),click:function(){o.clearErrors(),this.model.isValid()&&(this.model.set("factorType",i),o.trigger("save",this.model))}})}},Footer:d,initialize:function(){this.options.appState.unset("username")}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(5),n(7),n(48),n(15)],void 0!==(i=function(e,t,n,r,i,o){var s=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}),s.delay(s.bind(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:s.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:o,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();var t=this.model.settings,n=this.options.appState.get("username"),i=this.options.appState.get("recoveryType");this.model.startTransaction(function(e){switch(i){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=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.code.notReceived"},data:i,loc:{start:{line:1,column:0},end:{line:1,column:63}}}))},useData:!0});break;case r.RECOVERY_TYPE_UNLOCK:t=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.code.notReceived"},data:i,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 i(s.extend(this.toJSON(),{linkText:e.loc("goback","login"),linkClassName:""})))},postRender:function(){this.model.limitResending()}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(7),n(4),n(5)],void 0!==(i=function(e,t,n,r){var i=e._;return n.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.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,i){var o,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((o=null!=(o=a(n,"alert")||(null!=t?a(t,"alert"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"alert",hash:{},data:i,loc:{start:{line:1,column:47},end:{line:1,column:56}}}):o))+"</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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(48),n(15)],void 0!==(i=function(e,t,n,r,i){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:i,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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5),n(83),n(19),n(13),n(48),n(15),n(208)],void 0!==(i=function(e,t,n,r,i,o,a,s,l){var u=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:u.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 i.getPasswordComplexityDescription(e)},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(n.View({View:new l({policy:this.options.appState.get("policy")})})),t=t.concat([n.Input({className:"margin-btm-5",label:e.loc("password.newPassword.placeholder","login"),"label-top":!0,explain:o.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:s,type:"password"}),n.Input({label:e.loc("password.confirmPassword.placeholder","login"),"label-top":!0,explain:o.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:s,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(u.bind(this.model.save,this.model))}),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(a)}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(7),n(5),n(13),n(83),n(209),n(15)],void 0!==(i=function(e,t,n,r,i,o,s,l){var u=e._,c=e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.noFactorsEnabled"},data:i,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),d=e.View.extend({template:a.default.template({1:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:i,loc:{start:{line:1,column:173},end:{line:1,column:223}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:58},end:{line:1,column:95}}}))+"</a>"+(null!=(o=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:99},end:{line:1,column:234}}}))?o:"")},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 o.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"),o=this.settings.get("features.callRecovery"),s=this.settings.get("features.emailRecovery"),u=!(t||o||s),d=[],p=this;return u?this.add(c,".o-form-error-container"):(d.push(r.Input({label:e.loc("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:i.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||o)&&d.push(r.View({View:e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:i,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"),d.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",n.RECOVERY_FACTOR_TYPE_SMS,p)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_SMS)),o&&(this.$el.addClass("forgot-password-call-enabled"),d.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",n.RECOVERY_FACTOR_TYPE_CALL,p)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_CALL)),s&&(this.$el.addClass("forgot-password-email-enabled"),d.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",n.RECOVERY_FACTOR_TYPE_EMAIL,p)),this.setDefaultFactorType(n.RECOVERY_FACTOR_TYPE_EMAIL))),d},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,i,o){return r.Button({attributes:{"data-se":t},className:"button button-primary button-wide "+t,title:e.loc(n,"login"),click:function(){o.clearErrors(),this.model.isValid()&&(this.model.set("factorType",i),o.trigger("save",this.model))}})}},Footer:d})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(7),n(4),n(5)],void 0!==(i=function(e,t,n,r){var i=e._;return n.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.partial(e.loc,"account.unlock.unlocked.title","login"),subtitle:i.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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(7),n(4),n(5)],void 0!==(i=function(e,t,n,r){var i=e._;return n.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:i.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=i)},function(e,t,n){"use strict";var r,i;r=[n(4)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(22),n(501),n(502),n(73),n(7),n(210),n(503),n(32),n(13)],void 0!==(i=function(e,t,n,r,i,o,s,l,u,c){var d=e._,p=e.Backbone,f=e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:i,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",o.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});return i.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(o.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;c.triggerAfterError(t,new u.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;c.triggerAfterError(this,new u.RegistrationError(n)),t&&this.$el.find(".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 i=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")}),o=new i(n.toJSON());if(n.add(o),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=s.createInputOptions(e),n=e.get("subSchemas"),r=e.get("name");o.addInput(t),"password"===r&&n&&o.add(l.extend({id:"subschemas-"+r,subSchemas:n}))});var u=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression((o=null!=(o=a(n,"label")||(null!=t?a(t,"label"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:i,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):o))+"</span>"},useData:!0})({label:e.loc("registration.required.fields.label","login")});o.add(u)}}),t(this.state.get("schema").fetch())},Footer:f})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=function(e){var t=e._,n=e.internal.models,r=n.BaseSchema,i=n.SchemaProperty,o=i.Collection.extend({createModelProperties:function(){var e=i.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 o,e.BaseModel.apply(this,arguments)},parse:function(e){var n=t.bind(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;return t.isArray(r)&&(t.each(r,function(e,t){var n=this.properties.get(e);n&&n.set("sortOrder",t)},this),this.properties.comparator="sortOrder",this.properties.sort()),this.properties.defaultPolicyId=e.policyId,e},this),i=this;this.settings.parseSchema(e,function(e){e.profileSchema&&(e.schema=e.profileSchema,r.Model.prototype.parse.apply(i,[e]),e=n(e)),i.trigger("parseComplete",{properties:i.properties})},function(e){i.trigger("parseComplete",{properties:i.properties,error:e})})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(81)],void 0!==(i=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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){var t=e.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"message")||(null!=t?a(t,"message"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:i,loc:{start:{line:1,column:54},end:{line:1,column:65}}}):o))+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}});return e.View.extend({className:"subschema",children:function(){return this.subSchemas.map(function(e,n){var r=e.get("description"),i=r;return t.extend({index:n,message:i})})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(7),n(4),n(5)],void 0!==(i=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,i){var o,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((o=null!=(o=c(n,"title")||(null!=t?c(t,"title"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"title",hash:{},data:i,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):o))+'</h2><div class="desc">'+u((o=null!=(o=c(n,"desc")||(null!=t?c(t,"desc"):t))?o:l,"function"===(0,a.default)(o)?o.call(s,{name:"desc",hash:{},data:i,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):o))+'</div></div><a href="#" class="back-btn" data-se="back-link">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"goback"},data:i,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:e.loc("registration.complete.confirm.text","login"),title:e.loc("registration.complete.title","login")}}})})]}}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(4),n(5),n(506)],void 0!==(i=function(e,t,n,r){var i=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",i.bind(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:i.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");i.isFunction(t)&&t()})}},Form:{noCancelButton:!1,autoSave:!0,save:i.partial(e.loc,"consent.required.consentButton","login"),cancel:i.partial(e.loc,"consent.required.cancelButton","login"),formChildren:function(){return[n.View({View:e.View.extend({className:"consent-title detail-row",template:a.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression((o=null!=(o=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:i,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):o))+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"customLogo")||(null!=t?a(t,"customLogo"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"customLogo",hash:{},data:i,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):o))+'" />'},5:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"defaultLogo")||(null!=t?a(t,"defaultLogo"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"defaultLogo",hash:{},data:i,loc:{start:{line:1,column:218},end:{line:1,column:233}}}):o))+'" />'},7:function(e,t,n,r,i){return"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.program(5,i,0),data:i,loc:{start:{line:1,column:89},end:{line:1,column:244}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:244},end:{line:1,column:272}}}))?o:"")+"<span>"+(null!=(o=(s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{arguments:"appName",bundle:"login",code:"consent.required.text"},data:i,loc:{start:{line:1,column:278},end:{line:1,column:352}}}))?o:"")+"</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:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:i,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})})})]}},Footer:e.View.extend({className:"consent-footer",template:a.default.template({1:function(e,t,n,r,i){var o,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:i,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:i,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(o=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:158},end:{line:1,column:194}}}))?o:"")},2:function(e,t,n,r,i){return" &#8226 "},4:function(e,t,n,r,i){var o,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((o=null!=(o=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?o:s,"function"==typeof o?o.call(a,{name:"privacyPolicy",hash:{},data:i,loc:{start:{line:1,column:254},end:{line:1,column:271}}}):o))+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:i,loc:{start:{line:1,column:289},end:{line:1,column:350}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=s(n,"if").call(a,null!=t?s(t,"termsOfService"):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:201}}}))?o:"")+(null!=(o=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:201},end:{line:1,column:361}}}))?o:"")},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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(507)],void 0!==(i=function(e,t){return e.View.extend({className:"scope-list detail-row",postRender:function(){var e=this;this.model.get("scopes").forEach(function(n){e.add(t,{options:{name:n.displayName||n.name,description:n.description}})})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(135)],void 0!==(i=function(e){return e.View.extend({className:"scope-item",template:a.default.template({1:function(e,t,n,r,i){return'<span class="scope-item-tooltip icon form-help-16" />'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:32},end:{line:1,column:40}}}):a))+"</p></div>"+(null!=(o=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i,loc:{start:{line:1,column:50},end:{line:1,column:129}}}))?o:"")},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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(509),n(73),n(510),n(199)],void 0!==(i=function(e,t,n,r,i){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 i(this.toJSON())),this.addListeners()}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(81)],void 0!==(i=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 i={errorSummary:e.loc("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:i})}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(210),n(511)],void 0!==(i=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 i=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);i.addInput(n)});var o=a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression((o=null!=(o=a(n,"label")||(null!=t?a(t,"label"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:i,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):o))+"</span>"},useData:!0})({label:e.loc("registration.required.fields.label","login")});this.add(o)}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i;r=[n(0)],void 0!==(i=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 i=t[r];n.properties[i.name]=i}this.parse.apply(this,[{schema:n}])}}})}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0),n(22),n(19),n(513),n(99)],void 0!==(i=function(e,t,n,r,i){return e.View.extend({template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"className")||(null!=t?a(t,"className"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:i,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):o))+'" 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");this.$("a.option-selected").attr("aria-expanded",t),t&&this.$("#okta-dropdown-options").find("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 i.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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(19),n(99),n(514)],void 0!==(i=function(e,t,n,r){var i=e._,o=e.$,a=e.internal.views.components.BaseDropDown;return o(document).click(function(e){var t=o(e.target);t.closest(".option-selected").length>0&&t.closest(".dropdown").length>0||(o(".dropdown .options").hide(),o(".dropdown a.option-selected").attr("aria-expanded",!1))}),a.extend({className:"bg-helper icon-button",screenReaderText:function(){var r,i,o=this.options.appState.get("factors");return r=o?t.findFactorInFactorsArray(o,this.options.provider,this.options.factorType):new n.Model(this.options.appState.get("factor"),this.toJSON()),i=r.get("factorLabel"),e.loc("mfa.factors.dropdown.sr.text","login",[i])},events:{"click a.option-selected":function(e){if(e.preventDefault(),i.result(this,"disabled"))e.stopPropagation();else{var t=this.$(".options").toggle().is(":visible");this.$("a.option-selected").attr("aria-expanded",t),t&&this.$("#okta-dropdown-options").find("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=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(16)),s=o(n(3));r=[n(0),n(26)],void 0!==(i=function(e,t){var n=e._,r=s.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):s))+" ("+(null!=(s=null!=(s=c(n,"deviceName")||(null!=t?c(t,"deviceName"):t))?s:u,o="function"===(0,a.default)(s)?s.call(l,{name:"deviceName",hash:{},data:i,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):s)?o:"")+")"},useData:!0}),i=function(e){var n,r=e.get("factorType"),i=this.options.appState.get("factors");i.hasMultipleFactorsOfSameType(r)&&(n=i.getFactorIndex(r,e.get("id")));var o=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",o)});a.trigger("options:toggle"),a.options.appState.trigger("navigate",o)})},o={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(){i.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(){i.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(){i.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.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(){i.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.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(){i.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.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(){i.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){i.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(){i.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(){i.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(){i.call(this,this.model)}}};return{getDropdownOption:function(e){return o[e]}}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(3));r=[n(0)],void 0!==(i=function(e){return e.View.extend({className:"piv-beacon",template:a.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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=i)},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(5)],void 0!==(i=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=setInterval(function(){t._updateTitle(e),0===e?(t._stopCountDown(),t.$(".okta-waiting-spinner").show(),t.checkStatusTimeout=setTimeout(function(){t._checkStatus()},200)):e-=1},1e3)},_updateTitle:function(t){this.title=e.loc("polling.title","login",[t]),this.$el.find(".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=i)},function(e,t,n){"use strict";var r=n(1),i=r(n(518)),o=r(n(570));e.exports=o.default.extend({routes:{"":"defaultAuth","*wildcard":"defaultAuth"},defaultAuth:function(){this.render(i.default)}})},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(519)),a=r(n(569)),s=n(213),l=i.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=o.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"),i=(0,s.getV1ClassName)(e,t,n,r),o={controller:i,formName:e};return t&&(o.authenticatorType=t),n&&t!==n&&(o.methodType=n),o},handleSwitchForm:function(e){this.options.appState.set("currentFormName",e)},handleInvokeAction:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=this.options.appState.get("idx");if(n.neededToProceed.find(function(e){return e.name===t}))return void n.proceed(t,{}).then(this.handleIdxSuccess.bind(this)).catch(function(t){e.showFormErrors(e.formView.model,t)});var r=n.actions[t];i._.isFunction(r)?r().then(this.handleIdxSuccess.bind(this)).catch(function(t){e.showFormErrors(e.formView.model,t)}):(this.options.settings.callGlobalError("Invalid action selected: ".concat(t)),this.showFormErrors(this.formView.model,"Invalid action selected."))},handleSaveForm:function(e){var t=this,n=e.get("formName"),r=this.options.appState.get("idx");if(!r.neededToProceed.find(function(e){return e.name===n}))return this.options.settings.callGlobalError('Cannot find http action for "'.concat(n,'".')),void this.showFormErrors(this.formView.model,"Cannot find action to proceed.");this.toggleFormButtonState(!0),e.trigger("request"),r.proceed(n,e.toJSON()).then(this.handleIdxSuccess.bind(this)).catch(function(n){n.proceed&&n.rawIdxState?t.handleIdxSuccess(n):t.showFormErrors(e,n)}).finally(function(){t.toggleFormButtonState(!1)})},showFormErrors:function(e,t){if(e.trigger("clearFormError"),t||(t="FormController - unknown error found",this.options.settings.callGlobalError(t)),a.default.isIonErrorResponse(t)){var n=a.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){this.$el.find(".o-form-button-bar .button").toggleClass("link-button-disabled",e)}});t.default=l},function(e,t,n){"use strict";var r,i=n(1),o=i(n(80)),a=i(n(34)),s=n(35),l=i(n(24)),u=i(n(525)),c=i(n(529)),d=i(n(530)),p=i(n(531)),f=i(n(532)),h=i(n(533)),m=i(n(534)),g=i(n(535)),v=i(n(536)),y=i(n(537)),b=i(n(538)),_=i(n(539)),w=i(n(102)),S=i(n(540)),x=i(n(541)),E=i(n(542)),T=i(n(543)),k=i(n(544)),O=i(n(546)),C=i(n(214)),A=i(n(547)),P=i(n(548)),I=i(n(549)),R=i(n(550)),N=i(n(551)),M=i(n(553)),L=i(n(555)),D=i(n(556)),F=i(n(557)),j=i(n(558)),U=i(n(559)),B=i(n(563)),V=i(n(564)),q=i(n(567)),H=i(n(568)),W=(r={},(0,o.default)(r,s.FORMS.IDENTIFY,(0,o.default)({},"_",u.default)),(0,o.default)(r,s.FORMS.DEVICE_CHALLENGE_POLL,(0,o.default)({},"_",p.default)),(0,o.default)(r,s.FORMS.DEVICE_APPLE_SSO_EXTENSION,(0,o.default)({},"_",f.default)),(0,o.default)(r,s.FORMS.CANCEL_TRANSACTION,(0,o.default)({},"_",f.default)),(0,o.default)(r,"select-factor-authenticate",(0,o.default)({},"_",g.default)),(0,o.default)(r,"select-factor-enroll",(0,o.default)({},"_",m.default)),(0,o.default)(r,s.FORMS.ENROLL_PROFILE,(0,o.default)({},"_",h.default)),(0,o.default)(r,"enroll-factor",{email:D.default,password:b.default}),(0,o.default)(r,"challenge-factor",{email:D.default,password:_.default,webauthn:R.default}),(0,o.default)(r,s.FORMS.SELECT_AUTHENTICATOR_ENROLL,(0,o.default)({},"_",v.default)),(0,o.default)(r,s.FORMS.AUTHENTICATOR_ENROLLMENT_DATA,{phone:O.default}),(0,o.default)(r,s.FORMS.ENROLL_AUTHENTICATOR,{password:w.default,security_key:N.default,phone:k.default,security_question:P.default,email:L.default}),(0,o.default)(r,s.FORMS.ENROLL_POLL,{app:j.default}),(0,o.default)(r,s.FORMS.SELECT_ENROLLMENT_CHANNEL,{app:U.default}),(0,o.default)(r,s.FORMS.ENROLLMENT_CHANNEL_DATA,{app:B.default}),(0,o.default)(r,s.FORMS.REENROLL_AUTHENTICATOR,{password:x.default}),(0,o.default)(r,s.FORMS.REENROLL_AUTHENTICATOR_WARNING,{password:E.default}),(0,o.default)(r,s.FORMS.RESET_AUTHENTICATOR,{password:T.default}),(0,o.default)(r,s.FORMS.SELECT_AUTHENTICATOR_AUTHENTICATE,(0,o.default)({},"_",y.default)),(0,o.default)(r,s.FORMS.CHALLENGE_AUTHENTICATOR,{email:F.default,password:S.default,webauthn:R.default,security_key:M.default,security_question:I.default,phone:C.default,app:V.default}),(0,o.default)(r,s.FORMS.CHALLENGE_POLL,{app:q.default}),(0,o.default)(r,s.FORMS.RESEND_PUSH,(0,o.default)({},"_",H.default)),(0,o.default)(r,s.FORMS.AUTHENTICATOR_VERIFICATION_DATA,{phone:A.default}),(0,o.default)(r,s.FORMS.SUCCESS_REDIRECT,(0,o.default)({},"_",d.default)),(0,o.default)(r,s.FORMS.REDIRECT_IDP,(0,o.default)({},"_",u.default)),(0,o.default)(r,s.FORMS.TERMINAL,(0,o.default)({},"_",c.default)),r);e.exports={create:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_",n=W[e];if(!n)return a.default.warn("Cannot find customized View for ".concat(e,".")),l.default;var r=n[t]||n._;return r||(a.default.warn("Cannot find customized View for ".concat(e," + ").concat(t,".")),l.default)}}},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(16)),o=r(n(3)),a=n(0),s=a.View.extend({className:"enroll-factor-row clearfix",template:o.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="factor-description">'+e.escapeExpression((o=null!=(o=a(n,"description")||(null!=t?a(t,"description"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:i,loc:{start:{line:1,column:250},end:{line:1,column:265}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"iconClassName")||(null!=t?d(t,"iconClassName"):t))?s:u,"function"===(0,i.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=d(n,"label")||(null!=t?d(t,"label"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"label",hash:{},data:o,loc:{start:{line:1,column:187},end:{line:1,column:196}}}):s))+"</h3>"+(null!=(a=d(n,"if").call(l,null!=t?d(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,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:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div class="list-content"></div>'},useData:!0})});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(16)),o=r(n(3)),a=n(0),s=n(35),l=r(n(522)),u=a.View.extend({className:"authenticator-row clearfix",template:o.default.template({1:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text">'+e.escapeExpression((o=null!=(o=a(n,"description")||(null!=t?a(t,"description"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:i,loc:{start:{line:1,column:263},end:{line:1,column:278}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"iconClassName")||(null!=t?d(t,"iconClassName"):t))?s:u,"function"===(0,i.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="authenticator-description"><h3 class="authenticator-label">'+c((s=null!=(s=d(n,"label")||(null!=t?d(t,"label"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"label",hash:{},data:o,loc:{start:{line:1,column:187},end:{line:1,column:196}}}):s))+"</h3>"+(null!=(a=d(n,"if").call(l,null!=t?d(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,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:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"title")||(null!=t?a(t,"title"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:i,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):o))+"</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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(35),o=(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",i.FORMS.SKIP)}}),a=o;t.default=a},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(16)),o=r(n(3)),a=n(0),s=a.View.extend({className:"authenticator-row clearfix",template:o.default.template({1:function(e,t,n,r,i){return"authenticator-label--small"},3:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="authenticator-description--text">'+e.escapeExpression((o=null!=(o=a(n,"description")||(null!=t?a(t,"description"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"description",hash:{},data:i,loc:{start:{line:1,column:321},end:{line:1,column:336}}}):o))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var a,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c=e.escapeExpression,d=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=d(n,"iconClassName")||(null!=t?d(t,"iconClassName"):t))?s:u,"function"===(0,i.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="authenticator-description"><div><h3 class="authenticator-label '+(null!=(a=d(n,"if").call(l,null!=t?d(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:191},end:{line:1,column:243}}}))?a:"")+'">'+c((s=null!=(s=d(n,"label")||(null!=t?d(t,"label"):t))?s:u,"function"===(0,i.default)(s)?s.call(l,{name:"label",hash:{},data:o,loc:{start:{line:1,column:245},end:{line:1,column:254}}}):s))+"</h3>"+(null!=(a=d(n,"if").call(l,null!=t?d(t,"description"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,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:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div class="list-content"></div>'},useData:!0})});t.default=l},function(e,t,n){"use strict";var r=n(1),i=r(n(80)),o=n(0),a=function(e){var t=Object.assign({},o._.chain(e).pick("minLength","maxLength","required","value").defaults({type:"string",required:!0}).value());return e.modelType&&(t.type=e.modelType),(0,i.default)({},e.name,t)},s=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]:{},i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};(t.uiSchema||[]).forEach(function(t){if(Array.isArray(t.optionsUiSchemas)){var o,s={};Number(t.value)>=0&&(o=t.value),n[t.name]&&(s={value:n[t.name]},o=Number(s.value)),Object.assign(i,a(Object.assign({},t,s))),o&&e({uiSchema:t.optionsUiSchemas[o]},n,r,i)}else Object.assign(r,a(t))})},l=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 s(e,t,n,r),o.Model.extend({props:n,local:r})};e.exports={create:l}},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=n(35),a=r(n(24)),s=r(n(6)),l=r(n(52)),u=r(n(526)),c=r(n(527)),d=r(n(528)),p=n(211),f=n(74),h=s.default.extend({title:function(){return(0,i.loc)("primaryauth.title","login")},save:(0,i.loc)("oform.next","login"),render:function(){s.default.prototype.render.apply(this,arguments),this.options.appState.hasRemediationObject(o.FORMS.LAUNCH_AUTHENTICATOR)&&this.add(d.default,".o-form-fieldset-container",!1,!0);var e=this.getUISchema().length>0,t=(0,p.createIdpButtons)(this.options.appState.get("remediations"));Array.isArray(t)&&t.length&&this.add(u.default,{selector:".o-form-button-bar",options:{idpButtons:t,addSeparateLine:e}});var n=(0,p.createCustomButtons)(this.options.settings);Array.isArray(n)&&n.length&&this.add(c.default,{selector:".o-form-button-bar",options:{customButtons:n,addSeparateLine:!0}}),e||this.$el.find(".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,i.createCallout)({content:t,type:"warning"});this.add(n,".o-form-error-container")}}}),m=l.default.extend({links:function(){var e;if(this.options.settings.get("helpLinks.help"))e=this.options.settings.get("helpLinks.help");else{e=this.options.settings.get("baseUrl")+"/help/login"}var t=[{name:"help",label:(0,i.loc)("help","login"),href:e}],n=[];this.options.appState.hasRemediationObject(o.FORMS.SELECT_ENROLL_PROFILE)&&n.push({type:"link",label:(0,i.loc)("signup","login"),name:"enroll",actionPath:o.FORMS.SELECT_ENROLL_PROFILE});var r=(0,f.getForgotPasswordLink)(this.options.appState,this.options.settings),a=[];return this.options.settings.get("helpLinks.custom")&&this.options.settings.get("helpLinks.custom").forEach(function(e){e.name="custom",e.label=e.text,a.push(e)}),r.concat(n).concat(t).concat(a)}}),g=a.default.extend({Body:h,Footer:m,postRender:function(){a.default.prototype.postRender.apply(this,arguments);var e=this.options.appState;this.$el.find(".js-sign-up").click(function(){return e.trigger("invokeAction",o.FORMS.SELECT_ENROLL_PROFILE),!1})}});t.default=g},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=o.View.extend({className:"sign-in-with-idp",template:i.default.template({1:function(e,t,n,r,i){return'<div class="separation-line"><span>OR</span></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"addSeparateLine"):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:80}}}))?o:"")+'<div class="okta-idps-container"></div>'},useData:!0}),initialize:function(){var e=this;this.options.idpButtons.forEach(function(t){e.add((0,o.createButton)(t),".okta-idps-container")})},getTemplateData:function(){var e=o.View.prototype.getTemplateData.apply(this,arguments);return Object.assign(e,{addSeparateLine:this.options.addSeparateLine})}});t.default=a},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=o.View.extend({className:"custom-buttons",template:i.default.template({1:function(e,t,n,r,i){return'<div class="separation-line"><span>OR</span></div>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(o=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"addSeparateLine"):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:80}}}))?o:"")+'<div class="okta-custom-buttons-container primary-auth-container"></div>'},useData:!0}),initialize:function(e){var t=this;e.customButtons.forEach(function(e){t.add((0,o.createButton)(e),".okta-custom-buttons-container")})},getTemplateData:function(){var e=o.View.prototype.getTemplateData.apply(this,arguments);return Object.assign(e,{addSeparateLine:this.options.addSeparateLine})}});t.default=a},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=o.View.extend({className:"sign-in-with-device-option",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){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,o.createButton)({className:"button",title:(0,o.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=a.default.extend({noButtonBar:!0,postRender:function(){a.default.prototype.postRender.apply(this,arguments),this.$el.addClass("terminal-state")},showMessages:function(){var e=this,t=this.options.appState.get("messages");t&&Array.isArray(t.value)&&(this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),t.value.forEach(function(t){var n=t.message;t.class&&"ERROR"===t.class?e.add((0,i.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")}))}}),l=o.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(6)),a=r(n(13)),s=n(0),l=o.default.extend({title:function(){return(0,s.loc)("oie.success.redirect","login")},noButtonBar:!0,initialize:function(){o.default.prototype.initialize.apply(this,arguments);var e=this.options.currentViewState.href;a.default.redirectWithFormGet(e)},render:function(){o.default.prototype.render.apply(this,arguments),this.add('<div class="okta-waiting-spinner"></div>')}}),u=i.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(24)),s=r(n(6)),l=r(n(142)),u=r(n(143)),c=r(n(52)),d=r(n(34)),p=r(n(100)),f=r(n(75)),h=r(n(13)),m=function(e){var t=Object.assign({method:"GET",contentType:"application/json"},e);return o.$.ajax(t)},g=s.default.extend(Object.assign({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){s.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(){s.default.prototype.remove.apply(this,arguments),this.stopPolling()},doChallenge:function(){var e=this.deviceChallengePollRemediation.relatesTo.value;switch(e.challengeMethod){case"LOOPBACK":this.title=(0,o.loc)("signin.with.fastpass","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div class="spinner"></div>'},useData:!0})})),this.doLoopback(e.domain,e.ports,e.challengeRequest);break;case"CUSTOM_URI":this.title=(0,o.loc)("customUri.title","login"),this.subtitle=(0,o.loc)("customUri.subtitle","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?o:""},useData:!0})})),this.customURI=e.href,this.doCustomURI();break;case"UNIVERSAL_LINK":this.title=(0,o.loc)("universalLink.title","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?o:""},useData:!0})})),this.add((0,o.createButton)({className:"ul-button button button-wide button-primary",title:(0,o.loc)("oktaVerify.button","login"),click:function(){h.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]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=!1,a=0,s=function(t){return"".concat(n,":").concat(e,"/").concat(t)},l=function(){return m({url:s("probe"),timeout:p.default.isAndroid()?3e3:1e3})},u=function(){return o=!0,m({url:s("challenge"),method:"POST",data:JSON.stringify({challengeRequest:i}),timeout:3e3})},c=function(){d.default.error("Something unexpected happened while we were checking port ".concat(e,"."))},f=function(){return l().done(u).fail(c)},h=Promise.resolve();r.forEach(function(n){h=h.then(function(){if(!o)return e=n,f()}).catch(function(){a++,d.default.error("Authenticator is not listening on port ".concat(e,".")),a===r.length&&(d.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()}},f.default)),v=c.default.extend({links:function(){var e=[];return"CUSTOM_URI"===this.options.currentViewState.relatesTo.value.challengeMethod&&(e=[{name:"sign-in-options",type:"link",label:(0,o.loc)("goback","login"),href:this.settings.get("baseUrl")}]),e}}),y=a.default.extend({Header:l.default.extend({HeaderBeacon:u.default.extend({getBeaconClassName:function(){return"mfa-okta-verify"}})}),Body:g,Footer:v});t.default=y},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(17)),o=r(n(6)),a=r(n(13)),s=n(0),l=o.default.extend({noButtonBar:!0,title:function(){return(0,s.loc)("deviceTrust.sso.redirectText","login")},initialize:function(){var e=this;o.default.prototype.initialize.apply(this,arguments),"get"===(this.options.appState.get("remediations").filter(function(t){return t.name===e.options.appState.get("currentFormName")})[0].method||"").toLowerCase()?a.default.redirectWithFormGet(this.options.currentViewState.href):(this.add('<div class="spinner"></div>'),this.options.appState.trigger("saveForm",this.model))}}),u=i.default.extend({Body:l});t.default=u},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=r(n(52)),l=n(35),u=a.default.extend({title:function(){return(0,i.loc)("registration.form.title","login")},save:(0,i.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,i.loc)("haveaccount","login"),name:"back",actionPath:l.FORMS.SELECT_IDENTIFY}),e}}),d=o.default.extend({Body:u,Footer:c});t.default=d},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(6)),a=n(0),s=o.default.extend({title:function(){return(0,a.loc)("enroll.choices.setup","login")},subtitle:(0,a.loc)("enroll.choices.description","login"),noButtonBar:!0}),l=i.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(6)),a=n(0),s=o.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=i.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(6)),a=n(0),s=o.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=i.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(24)),o=r(n(6)),a=n(0),s=o.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=i.default.extend({Body:s});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=r(n(17)),l=a.default.extend({title:function(){return(0,i.loc)("enroll.password.setup","login")},save:function(){return(0,i.loc)("save.password","login")},getUISchema:function(){return a.default.prototype.getUISchema.apply(this,arguments).concat([{name:"confirmPassword",label:(0,i.loc)("password.confirmPassword.placeholder","login"),type:"password","label-top":!0,params:{showPasswordToggle:!0}}])}}),u=s.default.extend({Body:l,createModelClass:function(){var e=o.default.prototype.createModelClass.apply(this,arguments),t=Object.assign({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,i.loc)("password.error.match","login"),e}}})}});t.default=u},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(36)),s=r(n(17)),l=o.default.extend({title:function(){return(0,i.loc)("factor.password","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),u=a.default.extend({links:function(){var e=a.default.prototype.links.apply(this,arguments);return this.options.appState.getActionByPath("factor-recover")&&(e=[{type:"link",label:(0,i.loc)("forgotpassword","login"),name:"forgot-password",actionPath:"factor-recover"}].concat(e)),e}}),c=s.default.extend({Body:l,Footer:u});t.default=c},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(36)),s=r(n(17)),l=n(74),u=o.default.extend({title:function(){return(0,i.loc)("oie.password.challenge.title","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")}}),c=a.default.extend({links:function(){var e=a.default.prototype.links.apply(this,arguments);return e=(0,l.getForgotPasswordLink)(this.options.appState,this.options.settings).concat(e),e}}),d=s.default.extend({Body:u,Footer:c});t.default=d},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(102)),a=o.default.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?(0,i.loc)("password.expired.title.specific","login",[this.options.settings.get("brandName")]):(0,i.loc)("password.expired.title.generic","login")},save:function(){return(0,i.loc)("password.expired.submit","login")},getPasswordPolicySettings:function(){return this.options.appState.get("recoveryAuthenticator").settings}}),s=o.default.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(52)),a=r(n(102)),s=a.default.prototype.Body.extend({className:"password-authenticator",subtitle:function(){if(this.options.settings.get("brandName"))return(0,i.loc)("password.expiring.subtitle.specific","login",[this.options.settings.get("brandName")])},title:function(){var e=this.getPasswordPolicySettings()||{},t=e.daysToExpiry;return t>0?(0,i.loc)("password.expiring.title","login",[t]):0===t?(0,i.loc)("password.expiring.today","login"):(0,i.loc)("password.expiring.soon","login")},save:function(){return(0,i.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=o.default.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject("skip")&&e.push({type:"link",label:(0,i.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(102)),a=o.default.prototype.Body.extend({className:"password-authenticator",title:function(){return this.options.settings.get("brandName")?(0,i.loc)("password.reset.title.specific","login",[this.options.settings.get("brandName")]):(0,i.loc)("password.reset.title.generic","login")},save:function(){return(0,i.loc)("password.reset","login")}}),s=o.default.extend({Body:a});t.default=s},function(e,t,n){"use strict";var r=n(1),i=n(545);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),a=i(n(214)),s=r(n(6)),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,o.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 WeakMap)return null;var e=new WeakMap;return r=function(){return e},e}function i(e){if(e&&e.__esModule)return e;if(null===e||"object"!==o(e)&&"function"!=typeof e)return{default:e};var t=r();if(t&&t.has(e))return t.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,t&&t.set(e,n),n}var o=n(16);e.exports=i},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=r(n(17)),l=r(n(101)),u=r(n(53)),c=a.default.extend({className:"phone-authenticator-enroll",title:function(){return(0,i.loc)("oie.phone.enroll.title","login")},subtitle:function(){return(0,i.loc)("oie.phone.enroll.subtitle","login")},render:function(){a.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,i.loc)("oie.phone.call.primaryButton","login"):(0,i.loc)("oie.phone.sms.primaryButton","login")},getUISchema:function(){var e=a.default.prototype.getUISchema.apply(this,arguments),t=i._.find(e,function(e){return"authenticator.phoneNumber"===e.name}),n=i._.findIndex(e,function(e){return"authenticator.phoneNumber"===e.name}),r={"label-top":!0,label:(0,i.loc)("country.label","login"),type:"select",options:l.default.getCountries(),name:"country"},o={label:(0,i.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"},Object.assign({},t)]},s={label:(0,i.loc)("phone.extention.label","login"),type:"text",className:"phone-authenticator-enroll__phone-ext hide","label-top":!0,name:"extension"};return-1!==n&&(e.splice(n,1,o),e.splice(n,0,r),e.splice(n+2,0,s)),e},initialize:function(){a.default.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:authenticator.methodType",this.render.bind(this)),this.listenTo(this.model,"change:phoneCode",this.handlePhoneCodeChange.bind(this))}}),d=s.default.extend({Body:c,Footer:u.default,createModelClass:function(){var e=o.default.prototype.createModelClass.apply(this,arguments),t=Object.assign({country:{value:"US",type:"string"},extension:{type:"string"}},e.prototype.local),n=Object.assign({phoneCode:{deps:["country"],fn:function(e){return l.default.getCallingCodeForCountry(e)}}},e.prototype.derived);return e.extend({local:t,derived:n,toJSON:function(){var e=i.Model.prototype.toJSON.call(this,arguments),t=this.get("extension"),n=this.get("phoneCode"),r="+".concat(n).concat(e.authenticator.phoneNumber);return"voice"===e.authenticator.methodType&&t&&t.trim().length&&(r="".concat(r,"x").concat(t)),e.authenticator.phoneNumber=r,e}})}});t.default=d},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(24)),a=r(n(6)),s=r(n(17)),l=r(n(36)),u=a.default.extend({className:"phone-authenticator-challenge",events:{"click a.phone-authenticator-challenge__link":"handleSecondaryLinkClick"},title:function(){return(0,i.loc)("oie.phone.verify.title","login")},save:function(){return"sms"===this.model.get("primaryMode")?(0,i.loc)("oie.phone.sms.primaryButton","login"):(0,i.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(){a.default.prototype.initialize.apply(this,arguments);var e="sms"===this.model.get("primaryMode")?(0,i.loc)("oie.phone.verify.sms.sendText","login"):(0,i.loc)("oie.phone.verify.call.sendText","login");this.add('<div class="okta-form-subtitle" data-se="o-form-explain">'.concat(e,'\n        <div><span class="strong">').concat(this.model.escape("phoneNumber"),"</span></div>\n        </div>"))},getUISchema:function(){return a.default.prototype.getUISchema.apply(this,arguments).filter(function(e){return"authenticator.methodType"!==e.name})},render:function(){a.default.prototype.render.apply(this,arguments);var e=this.model.get("secondaryMode");if(e){var t="sms"===e?(0,i.loc)("oie.phone.sms.secondaryButton","login"):(0,i.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")}}}),c=s.default.extend({Body:u,Footer:l.default,createModelClass:function(e){var t=e.uiSchema,n=i._.find(t,function(e){return"authenticator.methodType"===e.name}),r=n.options,a=this.options.currentViewState.relatesTo,s=a&&a.value||{},l=s.profile,u=o.default.prototype.createModelClass.apply(this,arguments),c=Object.assign({primaryMode:{value:r[0].value,type:"string"},secondaryMode:{value:r[1]&&r[1].value,type:"string"},phoneNumber:{value:l.phoneNumber,type:"string"}},u.prototype.local);return u.extend({local:c})}});t.default=c},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(17)),s=r(n(53)),l=o.default.extend({title:function(){return(0,i.loc)("oie.security.question.enroll.title","login")},save:function(){return(0,i.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(17)),s=r(n(36)),l=o.default.extend({title:function(){return(0,i.loc)("oie.security.question.challenge.title","login")},save:function(){return(0,i.loc)("mfa.challenge.verify","login")},getUISchema:function(){var e=o.default.prototype.getUISchema.apply(this,arguments),t=e.filter(function(e){return e.name.indexOf("questionKey")>=0}),n=e.filter(function(e){return e.name.indexOf("answer")>=0});return 1===t.length&&1===n.length&&(n[0].label=t[0].label),e}}),u=a.default.extend({Body:l,Footer:s.default});t.default=u},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(6)),s=r(n(52)),l=r(n(17)),u=r(n(82)),c=r(n(65)),d=a.default.extend({title:function(){return(0,o.loc)("factor.webauthn.biometric","login")},getUISchema:function(){var e=this,t=[];if(c.default.isNewApiAvailable()){var n=(0,o.createButton)({className:"retry-webauthn button-primary default-custom-button",title:(0,o.loc)("retry","login"),click:function(){e.getCredentialsAndSave()}});t.push({View:o.View.extend({className:"webauthn-verify-text idx-webauthn-verify-text",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:i,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;o._.defer(function(){c.default.isNewApiAvailable()?e.getCredentialsAndSave():(e.model.trigger("error",e.model,{responseJSON:{errorSummary:(0,o.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()}}),p=s.default.extend({links:function(){var e=[];return this.options.appState.hasRemediationObject("select-factor")&&e.push({type:"link",label:(0,o.loc)("mfa.switch","login"),name:"switchFactor",formName:"select-factor"}),e}}),f=l.default.extend({Body:d,Footer:p});t.default=f},function(e,t,n){"use strict";function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];return e.forEach(function(e){"security_key"===e.type&&t.push({type:"public-key",id:u.default.strToBin(e.credentialId)})}),t}var i=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),a=i(n(6)),s=i(n(17)),l=i(n(65)),u=i(n(82)),c=i(n(552)),d=i(n(53)),p=a.default.extend({title:(0,o.loc)("oie.enroll.webauthn.title","login"),className:"oie-enroll-webauthn",modelEvents:{error:"_stopEnrollment"},getUISchema:function(){var e=this,t=[];return l.default.isNewApiAvailable()?(t.push({View:c.default}),t.push({View:(0,o.createButton)({className:"webauthn-setup button button-primary button-wide",title:(0,o.loc)("oie.enroll.webauthn.save","login"),click:function(){e.triggerWebauthnPrompt()}})})):t.push({View:(0,o.createCallout)({className:"webauthn-not-supported",type:"error",subtitle:(0,o.loc)("oie.webauthn.error.not.supported","login")})}),t},triggerWebauthnPrompt:function(){var e=this;this.$el.find(".o-form-error-container").empty(),this._startEnrollment();var t=this.options.currentViewState.relatesTo,n=t&&t.value.contextualData.activationData;if(l.default.isNewApiAvailable()){var i=o._.extend({},n,{challenge:u.default.strToBin(n.challenge),user:{id:u.default.strToBin(n.user.id),name:n.user.name,displayName:n.user.displayName},excludeCredentials:r(this.options.appState.get("authenticatorEnrollments").value)});this.webauthnAbortController=new AbortController,navigator.credentials.create({publicKey:i,signal:this.webauthnAbortController.signal}).then(function(t){e.model.set({credentials:{clientData:u.default.binToStr(t.response.clientDataJSON),attestation:u.default.binToStr(t.response.attestationObject)}}),e.saveForm(e.model)}).catch(function(t){e.model.trigger("error",e.model,{responseJSON:{errorSummary:t.message}})}).finally(function(){e.webauthnAbortController=null})}},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".webauthn-setup").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".webauthn-setup").show()}}),f=s.default.extend({Body:p,Footer:d.default,postRender:function(){s.default.prototype.postRender.apply(this,arguments),this.$el.find('.o-form-button-bar [type="submit"]').remove()}});t.default=f},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(44)),s=o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-enroll-text">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions"},data:i,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(o.View.extend({tagName:"p",className:"idx-webauthn-enroll-text-edge",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.enroll.webauthn.instructions.edge"},data:i,loc:{start:{line:1,column:0},end:{line:1,column:68}}}))},useData:!0})})),"required"===t.authenticatorSelection.userVerification&&this.add((0,o.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,o.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(17)),s=r(n(82)),l=r(n(65)),u=r(n(36)),c=r(n(554)),d=o.default.extend({title:function(){return(0,i.loc)("oie.verify.webauth.title","login")},className:"oie-verify-webauthn",getUISchema:function(){var e=this,t=[];if(l.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:c.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(){o.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=[];(this.options.appState.get("authenticatorEnrollments").value||[]).forEach(function(e){"security_key"===e.type&&r.push({type:"public-key",id:s.default.strToBin(e.credentialId)})});var i={allowCredentials:r,userVerification:n.contextualData.challengeData.userVerification,challenge:s.default.strToBin(n.contextualData.challengeData.challenge)};navigator.credentials.get({publicKey:i,signal:this.webauthnAbortController.signal}).then(function(t){e.model.set({credentials:{clientData:s.default.binToStr(t.response.clientDataJSON),authenticatorData:s.default.binToStr(t.response.authenticatorData),signatureData:s.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=a.default.extend({Body:d,Footer:u.default,postRender:function(){a.default.prototype.postRender.apply(this,arguments),l.default.isNewApiAvailable()&&this.form.getCredentialsAndSave()}});t.default=p},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="idx-webauthn-verify-text">'+e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.verify.webauthn.instructions"},data:i,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,o.createCallout)({className:"uv-required-callout",size:"slim",type:"warning",subtitle:(0,o.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(53)),a=r(n(215)),s=a.default.prototype.Body,l=s.extend(Object.assign({resendEmailAction:"currentAuthenticator-resend",subtitle:function(){return(0,i.loc)("oie.email.enroll.subtitle","login")}})),u=a.default.extend({Body:l,Footer:o.default});t.default=u},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(216)),s=r(n(75)),l=r(n(17)),u=r(n(36)),c=n(103),d=i.View.extend({className:"hide resend-email-view",events:{"click a.resend-link":"handelResendLink"},initialize:function(){this.add((0,i.createCallout)({content:"".concat((0,i.loc)("email.code.not.received","login"),"\n        <a class='resend-link'>").concat((0,i.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=i._.delay(function(){e.$el.removeClass("hide")},c.SHOW_RESEND_TIMEOUT)},remove:function(){i.View.prototype.remove.apply(this,arguments),clearTimeout(this.showMeTimeout)}}),p=o.default.extend(Object.assign({save:function(){return(0,i.loc)("mfa.challenge.verify","login")},subtitle:"A verification code was sent to your email.",initialize:function(){o.default.prototype.initialize.apply(this,arguments),this.listenTo(this.options.model,"error",this.startPolling.bind(this))},saveForm:function(){o.default.prototype.saveForm.apply(this,arguments),this.stopPolling()},postRender:function(){this.$el.find(".okta-form-subtitle").empty(),this.add("<div>".concat((0,i.loc)("email.mfa.email.sent.description.sentText","login"),"<span class='strong'>\n        ").concat(this.options.appState.get("authenticatorProfile").email,"</span>.\n        ").concat((0,i.loc)("email.mfa.email.sent.description.emailCodeText","login"),"</div>"),".okta-form-subtitle"),this.add(d,{selector:".o-form-error-container",prepend:!0}),this.startPolling()},remove:function(){o.default.prototype.remove.apply(this,arguments),this.stopPolling()}},a.default,s.default)),f=l.default.extend({Body:p,Footer:u.default});t.default=f},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(36)),s=r(n(215)),l=s.default.prototype.Body,u=o.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,i){var o,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:i,loc:{start:{line:1,column:0},end:{line:1,column:56}}}))+'&nbsp;<span class="strong">'+l((o=null!=(o=u(n,"email")||(null!=t?u(t,"email"):t))?o:s,"function"==typeof o?o.call(a,{name:"email",hash:{},data:i,loc:{start:{line:1,column:83},end:{line:1,column:92}}}):o))+".</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:i,loc:{start:{line:1,column:106},end:{line:1,column:183}}}))},useData:!0}),getTemplateData:function(){return{email:this.options.email}}}),c=l.extend(Object.assign({resendEmailAction:"currentAuthenticatorEnrollment-resend",initialize:function(){l.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(u,{prepend:!0,selector:".o-form-error-container",options:{email:t}})}})),d=s.default.extend({Body:c,Footer:a.default});t.default=d},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(6)),s=n(44),l=r(n(17)),u=r(n(53)),c=r(n(212)),d=n(74),p=r(n(75)),f=n(35),h=a.default.extend(Object.assign({title:function(){var e,t=this.options.appState.get("currentAuthenticator").contextualData.selectedChannel;switch(t){case"email":e=(0,o.loc)("oie.enroll.okta_verify.setup.email.title","login");break;case"sms":e=(0,o.loc)("oie.enroll.okta_verify.setup.sms.title","login");break;default:e=(0,o.loc)("oie.enroll.okta_verify.setup.title","login")}return e},className:"oie-enroll-ov-poll",noButtonBar:!0,initialize:function(){a.default.prototype.initialize.apply(this,arguments),((0,s.isAndroid)()||(0,s.isIOS)())&"qrcode"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel&&this.options.appState.trigger("switchForm",f.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:o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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:i,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:i,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:i,loc:{start:{line:1,column:186},end:{line:1,column:252}}}))+'</li></ol><div class="qrcode-container"><img class="qrcode" src='+l((o=null!=(o=u(n,"href")||(null!=t?u(t,"href"):t))?o:s,"function"==typeof o?o.call(a,{name:"href",hash:{},data:i,loc:{start:{line:1,column:316},end:{line:1,column:324}}}):o))+' alt="qr code"></img></div>'},useData:!0}),getTemplateData:function(){return{href:t.qrcode.href}}})}):"email"===n?e.push({View:o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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(o,{name:"i18n",hash:{arguments:"email",bundle:"login",code:"oie.enroll.okta_verify.email.step1"},data:i,loc:{start:{line:1,column:35},end:{line:1,column:118}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.step2"},data:i,loc:{start:{line:1,column:127},end:{line:1,column:192}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.email.step3"},data:i,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:o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=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(o,{name:"i18n",hash:{arguments:"phoneNumber",bundle:"login",code:"oie.enroll.okta_verify.sms.step1"},data:i,loc:{start:{line:1,column:33},end:{line:1,column:120}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.step2"},data:i,loc:{start:{line:1,column:129},end:{line:1,column:192}}}))+"</li><li>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(o,{name:"i18n",hash:{bundle:"login",code:"oie.enroll.okta_verify.sms.step3"},data:i,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:c.default,options:(0,d.getSwitchOVEnrollChannelLink)(this.options.appState),selector:".qrcode-container"}),e},remove:function(){a.default.prototype.remove.apply(this,arguments),this.stopPolling()}},p.default)),m=l.default.extend({Body:h,Footer:u.default});t.default=m},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(144)),o=n(0),a=r(n(6)),s=r(n(17)),l=r(n(53)),u=n(44),c=a.default.extend({title:function(){return(0,u.isAndroid)()||(0,u.isIOS)()?(0,o.loc)("oie.enroll.okta_verify.setup.title","login"):(0,o.loc)("oie.enroll.okta_verify.select.channel.title","login")},getUISchema:function(){var e=a.default.prototype.getUISchema.apply(this,arguments);return[{View:(0,o.loc)("oie.enroll.okta_verify.select.channel.description","login"),selector:".o-form-fieldset-container"}].concat((0,i.default)(e))}}),d=s.default.extend({Body:c,Footer:l.default});t.default=d},function(e,t,n){function r(e){if(Array.isArray(e))return i(e)}var i=n(192);e.exports=r},function(e,t){function n(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}e.exports=n},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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(17)),s=r(n(53)),l=o.default.extend({title:function(){return"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,i.loc)("oie.enroll.okta_verify.enroll.channel.email.title","login"):(0,i.loc)("oie.enroll.okta_verify.enroll.channel.sms.title","login")},save:(0,i.loc)("oie.enroll.okta_verify.setupLink","login"),getUISchema:function(){var e=o.default.prototype.getUISchema.apply(this,arguments),t={View:"email"===this.options.appState.get("currentAuthenticator").contextualData.selectedChannel?(0,i.loc)("oie.enroll.okta_verify.select.channel.email.description","login"):(0,i.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);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(17)),o=r(n(36)),a=r(n(565)),s=r(n(566)),l=i.default.extend({initialize:function(){var e,t;i.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=o.default):this.Body=s.default}});t.default=l},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=o.default.extend(Object.assign({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")}})),s=a;t.default=s},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(6)),s=r(n(34)),l=r(n(100)),u=r(n(75)),c=r(n(13)),d=function(e){var t=Object.assign({method:"GET",contentType:"application/json"},e);return o.$.ajax(t)},p=a.default.extend(Object.assign({noButtonBar:!0,className:"ion-form device-challenge-poll",events:{"click #launch-ov":function(e){e.preventDefault(),this.doCustomURI()}},initialize:function(){a.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(){a.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,o.loc)("signin.with.fastpass","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){return'<div class="spinner"></div>'},useData:!0})})),this.doLoopback(e.domain,e.ports,e.challengeRequest);break;case"CUSTOM_URI":this.title=(0,o.loc)("customUri.title","login"),this.subtitle=(0,o.loc)("customUri.subtitle","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(o=(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:i,loc:{start:{line:1,column:0},end:{line:1,column:50}}}))?o:""},useData:!0})})),this.customURI=e.href,this.doCustomURI();break;case"UNIVERSAL_LINK":this.title=(0,o.loc)("universalLink.userVerification.title","login"),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"universalLink.userVerification.content.p1"},data:i,loc:{start:{line:1,column:0},end:{line:1,column:72}}}))},useData:!0})})),this.add(o.View.extend({template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((o(n,"i18n")||t&&o(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"universalLink.userVerification.content.p2"},data:i,loc:{start:{line:1,column:0},end:{line:1,column:72}}}))},useData:!0})})),this.add((0,o.createButton)({className:"ul-button button button-wide button-primary",title:(0,o.loc)("universalLink.userVerification.button","login"),click:function(){c.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]:[],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=!1,a=0,u=function(t){return"".concat(n,":").concat(e,"/").concat(t)},c=function(){return d({url:u("probe"),timeout:l.default.isAndroid()?3e3:1e3})},p=function(){return o=!0,d({url:u("challenge"),method:"POST",data:JSON.stringify({challengeRequest:i}),timeout:3e3})},f=function(){s.default.error("Something unexpected happened while we were checking port ".concat(e,"."))},h=function(){return c().done(p).fail(f)},m=Promise.resolve();r.forEach(function(n){m=m.then(function(){if(!o)return e=n,h()}).catch(function(){a++,s.default.error("Authenticator is not listening on port ".concat(e,".")),a===r.length&&(s.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()}},u.default)),f=p;t.default=f},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(3)),o=n(0),a=r(n(6)),s=r(n(17)),l=r(n(36)),u=r(n(75)),c=n(103),d=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",template:i.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){var o,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((o=null!=(o=a(n,"warning")||(null!=t?a(t,"warning"):t))?o:e.hooks.helperMissing,"function"==typeof o?o.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:i,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):o))+"</p>"},useData:!0})}),p=a.default.extend(Object.assign({noButtonBar:!0,className:"okta-verify-push-challenge",title:function(){return(0,o.loc)("oie.okta_verify.push.title","login")},initialize:function(){a.default.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"error",this.stopPoll),this.addView()},addView:function(){this.add((0,o.createButton)({className:"button button-wide button-primary send-push link-button-disabled",title:(0,o.loc)("oie.okta_verify.push.sent","login"),click:function(e){e.preventDefault()}}))},postRender:function(){this.startPoll()},startPoll:function(){this.startPolling(),this.warningTimeout=setTimeout(o._.bind(function(){this.showWarning((0,o.loc)("oktaverify.warning","login"))},this),c.WARNING_TIMEOUT)},stopPoll:function(){this.stopPolling(),this.clearWarning()},showWarning:function(e){this.clearWarning(),this.add(d,".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(){a.default.prototype.remove.apply(this,arguments),this.stopPolling()}},u.default)),f=s.default.extend({Body:p,Footer:l.default});t.default=f},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(6)),a=r(n(17)),s=r(n(36)),l=o.default.extend(Object.assign({className:"okta-verify-resend-push",title:function(){return(0,i.loc)("oie.okta_verify.push.title","login")},save:function(){return(0,i.loc)("oie.okta_verify.push.send","login")},showMessages:function(){var e=this,t=this.options.appState.get("messages");t&&Array.isArray(t.value)&&(this.add('<div class="ion-messages-container"></div>',".o-form-error-container"),t.value.forEach(function(t){var n=t.message;"ERROR"===(null===t||void 0===t?void 0:t.class)?e.add((0,i.createCallout)({content:n,type:"error"}),".o-form-error-container"):e.add("<p>".concat(n,"</p>"),".ion-messages-container")}))}})),u=a.default.extend({Body:l,Footer:s.default});t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=n(217),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return r._.chain(t).filter(function(e){return e.messages&&Array.isArray(e.messages.value)&&e.messages.value.length}).map(function(t){return{property:e?"".concat(e,".").concat(t.name):t.name,errorSummary:t.messages.value.map(i.getMessage)}}).value()},a=function(e,t){if(!Array.isArray(e))return[];if(!r._.isFunction(t)||1===e.length)return e;for(var n=[],i=0;i<e.length;i++){for(var o=!1,a=i+1;a<e.length;a++)if(t(e[i],e[a])){o=!0;break}o||n.push(e[i])}return n},s=function(e){var t=[];if(!e.remediation||!Array.isArray(e.remediation.value)||0===e.remediation.value.length)return t;var n=e.remediation.value[0].value;return Array.isArray(n)?(t.push(o(null,n)),r._.each(n,function(e){var n=e.name;e.form&&Array.isArray(e.form.value)&&t.push(o(n,e.form.value)),Array.isArray(e.options)&&r._.each(e.options,function(e){e.value&&e.value.form&&Array.isArray(e.value.form.value)&&t.push(o(n,e.value.form.value))})}),a(r._.flatten(t),r._.isEqual)):t},l=function(e){var t=[];return e.messages&&Array.isArray(e.messages.value)&&(t=e.messages.value.map(i.getMessage)),t.join(". ")},u=function(e){return{responseJSON:{errorCauses:s(e),errorSummary:l(e)}}},c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).version},d={convertFormErrors:u,isIonErrorResponse:c};t.default=d},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(184)),a=r(n(72)),s=r(n(193)),l=r(n(7)),u=r(n(32)),c=r(n(34)),d=r(n(571)),p=r(n(189)),f=r(n(186)),h=r(n(572)),m=r(n(573)),g=r(n(217)),v=r(n(577)),y=r(n(578)),b=function(e){var t=e.get("baseUrl"),n=e.get("stateToken"),r=e.get("apiVersion");return y.default.start({domain:t,stateHandle:n,version:r})},_=i.Router.extend({Events:i.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){c.default.error(e)}),this.settings=new o.default(i._.omit(e,"el","authClient"),{parse:!0}),this.settings.setAuthClient(e.authClient),e.el||this.settings.callGlobalError(new u.default.ConfigError((0,i.loc)("error.required.el"))),(0,i.$)("body > div").on("click",function(){}),this.appState=new v.default;var t=new p.default({appState:this.appState});(0,i.$)(e.el).append(t.render().$el),this.el="#".concat(l.default.WIDGET_CONTAINER_ID),this.header=new f.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(g.default,m.default,h.default.bind({},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 u.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()),!a.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 b(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")&&!s.default.isLoaded()){var r={brand:this.settings.get("colors.brand")};s.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),a.default.remove(),i.Backbone.history.stop()}});t.default=_},function(e,t,n){"use strict";var r,i;r=[n(72)],void 0!==(i=function(e){function t(t,n){var r=n.get("languageCode"),i=n.get("i18n"),o=n.get("assets.baseUrl"),a=n.get("assets.rewrite"),s=setTimeout(function(){t.trigger("loading",!0)},200);return e.loadLanguage(r,i,{baseUrl:o,rewrite:a}).then(function(){clearTimeout(s),t.trigger("loading",!1)})}return{loadLanguage:t}}.apply(t,r))&&(e.exports=i)},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(144)),o=n(0),a=n(35),s=function(e){return o._.isObject(e)},l=function(e){var t={};return o._.each(e,function(e,n){"remediation"!==n&&("array"===e.type&&(t[n]={value:e.value}),"object"===e.type&&(t[n]=e.value))}),t},u=function(e){var t=[];return o._.isEmpty(e.neededToProceed)&&(e.context.success?t.push({name:e.context.success.name,href:e.context.success.href,value:[]}):e.context.messages&&t.push({name:a.FORMS.TERMINAL,value:[]})),{remediations:[].concat(t,(0,i.default)(e.neededToProceed))}},c=function(e,t){var n=t.remediations;if(0===n.filter(function(e){return"identify"===e.name}).length)return t;var r=e.get("idps");if(Array.isArray(r)){var i={};n.forEach(function(e){e.name===a.FORMS.REDIRECT_IDP&&e.idp&&(i[e.idp.id]=!0)});var o=e.get("baseUrl"),s=t.idx.context.stateHandle,l=r.filter(function(e){return!i[e.id]}).map(function(e){var t={id:e.id,name:e.text},n="".concat(o,"/sso/idps/").concat(e.id,"?stateToken=").concat(s);return e.className&&(t.className=e.className),{name:a.FORMS.REDIRECT_IDP,type:e.type,idp:t,href:n}});t.remediations=n.concat(l)}return t},d=function(e){if(Array.isArray(e.remediations)){var t=e.remediations.filter(function(e){return e.name===a.FORMS.REDIRECT_IDP});if(1===t.length&&1===e.remediations.length){var n={name:a.FORMS.SUCCESS_REDIRECT,href:t[0].href,value:[]};e.remediations=[n]}}},p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!s(t.rawIdxState))return null;var n=l(t.rawIdxState),r=u(t),i=Object.assign({},n,r,{idx:t});return c(e,i),d(i),i},f=p;t.default=f},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(574)),a=r(n(575)),s=r(n(576)),l={string:s.default,boolean:o.default,object:a.default},u=function e(t,n){return i._.chain(n.value||[]).filter(function(e){return!1!==e.visible}).map(function(e){var t;if(e.form?t=e.form:e.value&&e.value.form&&(t=e.value.form),t){var n=e.name;return t.value.map(function(e){return Object.assign({},e,{name:n+"."+e.name})})}return e}).flatten().value().map(function(r){var i={"label-top":!0},o=r.type||"string",a=l[o],s=a(r,n,t,e);return Object.assign({},r,i,s)})},c=function(e){return e&&(e.remediations=e.remediations.map(function(t){return t.uiSchema=u(e,t),t})),e},d=c;t.default=d},function(e,t,n){"use strict";Object.defineProperty(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}},i=function(e){return r(e)},o=i;t.default=o},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(80)),o=r(n(144)),a=n(0),s=function(){var e,t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=r.find(function(e){return"app"===e.relatesTo.type}),s=null===i||void 0===i?void 0:null===(e=i.value)||void 0===e?void 0:null===(t=e.form)||void 0===t?void 0:null===(n=t.value)||void 0===n?void 0:n.find(function(e){return"methodType"===e.name}),l=null===s||void 0===s?void 0:s.options;if(l){var u=l.map(function(e){var t=(0,o.default)(i.value.form.value),n=i.value.form.value.findIndex(function(e){return"methodType"===e.name}),r=Object.assign(a._.omit(s,"options"),e);return r.required=!0,t.splice(n,1,r),Object.assign({},i,{label:e.label,value:{form:{value:t}}})}),c=r.findIndex(function(e){return"app"===e.relatesTo.type});r.splice.apply(r,[c,1].concat((0,o.default)(u)))}},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return s(e),e.map(function(e){var t=e.value&&e.value.form&&e.value.form.value||[],n=t.filter(function(e){return!0===e.required&&!1===e.mutable}).reduce(function(e,t){return Object.assign(e,(0,i.default)({},t.name,t.value))},{});return{label:e.label,value:n,relatesTo:e.relatesTo,authenticatorType:e.relatesTo&&e.relatesTo.type}})},u=function(e){var t=e.options;return{type:"authenticatorEnrollSelect",options:l(t)}},c=function(e){var t=e.options;return{type:"authenticatorVerifySelect",options:l(t)}},d=function(e,t,n,r){var i={};return"authenticator"===e.name&&"select-authenticator-authenticate"===t.name?Object.assign(i,c(e)):"authenticator"===e.name&&"select-authenticator-enroll"===t.name?Object.assign(i,u(e)):Array.isArray(e.options)&&(i.optionsUiSchemas=e.options.map(function(t){return r(n,{value:[{name:e.name,value:t.value}]})}),i.options=e.options.map(function(e,t){return{label:e.label,value:t}}),i.type="radio",i.value="0",i.name="sub_schema_local_".concat(e.name)),i},p=d;t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(0),i=function(e){var t={};return e.forEach(function(e){var n=e.value,r=e.label;t[n]=r}),t},o=function(e,t){return r._.each(e,function(e){var n=e.value,r=t.find(function(e){return e.factorProfileId===n||e.factorId===n})||{};e.factorType=r.factorType}),e},a=function(e,t){var n=e.options;return{type:"factorSelect",options:o(n,t)}},s=function(){return{type:"password",params:{showPasswordToggle:!0}}},l=function(e){return e.indexOf("methodType")>=0||e.indexOf("channel")>=0},u=function(e,t,n){var r={type:"text"};if(!0===e.secret&&Object.assign(r,s()),Array.isArray(e.options))if("factorId"===e.name||"factorProfileId"===e.name){var o=n.factors&&n.factors.value||[];Object.assign(r,a(e,o))}else l(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=i(e.options));return r},c=u;t.default=c},function(e,t,n){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(34)),a=n(35),s=i.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){return this.get("idx").neededToProceed.find(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&&i._.isFunction(t[r])?t[r]:null},getCurrentViewState:function(){var e=this.get("currentFormName");if(e){var t=this.get("remediations").filter(function(t){return t.name===e})[0];if(!t){o.default.error("Panic!!"),o.default.error("\tCannot find view state for form ".concat(e,"."));var n=this.get("remediations").map(function(e){return e.name});o.default.error("\tAll available form names: ".concat(n))}return t}},shouldReRenderView:function(e){var t=this.has("idx")?this.get("idx").rawIdxState:null,n=i._.isEqual(i._.omit(e.idx.rawIdxState,"expiresAt"),i._.omit(t,"expiresAt")),r=!0;return n&&(r=!1),n&&a.FORMS_WITH_STATIC_BACK_LINK.includes(this.get("currentFormName"))&&(r=!0),r},shouldShowSignOutLinkInCurrentForm:function(e){var t=this.get("idx")&&this.get("idx").actions,n=this.get("currentFormName");return!(e&&a.FORMS_FOR_VERIFICATION.includes(n))&&t&&i._.isFunction(t.cancel)&&!a.FORMS_WITHOUT_SIGNOUT.includes(n)},setIonResponse:function(e){if(this.shouldReRenderView(e)){var t=null;i._.isEmpty(e.remediations)?(o.default.error("Panic!!"),o.default.error("\tNo remediation found."),o.default.error("\tHere is the entire response"),o.default.error(JSON.stringify(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=s},function(e,t,n){"use strict";(function(e){var r,i,o,a=n(1),s=a(n(136)),l=a(n(16));!function(n,a){"object"==(0,l.default)(t)&&"object"==(0,l.default)(e)?e.exports=a():(i=[],r=a,void 0!==(o="function"==typeof r?r.apply(t,i):r)&&(e.exports=o))}(window,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==(0,l.default)(e)&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(t){return e[t]}.bind(null,i));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 i(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return g&&(t[Symbol.iterator]=function(){return t}),t}function o(e){this.map={},e instanceof o?e.forEach(function(e,t){this.append(t,e)},this):Array.isArray(e)?e.forEach(function(e){this.append(e[0],e[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}function a(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function s(e){return new Promise(function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}})}function l(e){var t=new FileReader,n=s(t);return t.readAsArrayBuffer(e),n}function u(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function c(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:v&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:y&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:m&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():b&&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&&URLSearchParams.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 Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?a(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(l)}),this.text=function(){var e,t,n,r=a(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=s(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},y&&(this.formData=function(){return this.text().then(p)}),this.json=function(){return this.text().then(JSON.parse)},this}function d(e,t){var n,r,i=(t=t||{}).body;if(e instanceof d){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new o(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=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 o(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),S.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(i)}function p(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}}),t}function f(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 o(t.headers),this.url=t.url||"",this._initBody(e)}function h(e,n){return new Promise(function(r,i){function a(){l.abort()}var s=new d(e,n);if(s.signal&&s.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var l=new XMLHttpRequest;l.onload=function(){var e,t,n={status:l.status,statusText:l.statusText,headers:(e=l.getAllResponseHeaders()||"",t=new o,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}}),t)};n.url="responseURL"in l?l.responseURL:n.headers.get("X-Request-URL");var i="response"in l?l.response:l.responseText;r(new f(i,n))},l.onerror=function(){i(new TypeError("Network request failed"))},l.ontimeout=function(){i(new TypeError("Network request failed"))},l.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},l.open(s.method,s.url,!0),"include"===s.credentials?l.withCredentials=!0:"omit"===s.credentials&&(l.withCredentials=!1),"responseType"in l&&v&&(l.responseType="blob"),s.headers.forEach(function(e,t){l.setRequestHeader(t,e)}),s.signal&&(s.signal.addEventListener("abort",a),l.onreadystatechange=function(){4===l.readyState&&s.signal.removeEventListener("abort",a)}),l.send(void 0===s._bodyInit?null:s._bodyInit)})}var m="URLSearchParams"in e,g="Symbol"in e&&"iterator"in Symbol,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&&_.indexOf(Object.prototype.toString.call(e))>-1};o.prototype.append=function(e,t){e=n(e),t=r(t);var i=this.map[e];this.map[e]=i?i+", "+t:t},o.prototype.delete=function(e){delete this.map[n(e)]},o.prototype.get=function(e){return e=n(e),this.has(e)?this.map[e]:null},o.prototype.has=function(e){return this.map.hasOwnProperty(n(e))},o.prototype.set=function(e,t){this.map[n(e)]=r(t)},o.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},o.prototype.keys=function(){var e=[];return this.forEach(function(t,n){e.push(n)}),i(e)},o.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),i(e)},o.prototype.entries=function(){var e=[];return this.forEach(function(t,n){e.push([n,t])}),i(e)},g&&(o.prototype[Symbol.iterator]=o.prototype.entries);var S=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];d.prototype.clone=function(){return new d(this,{body:this._bodyInit})},c.call(d.prototype),c.call(f.prototype),f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new o(this.headers),url:this.url})},f.error=function(){var e=new f(null,{status:0,statusText:""});return e.type="error",e};var x=[301,302,303,307,308];f.redirect=function(e,t){if(-1===x.indexOf(t))throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}h.polyfill=!0,e.fetch||(e.fetch=h,e.Headers=o,e.Request=d,e.Response=f),t.Headers=o,t.Request=d,t.Response=f,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 i(a,s){if(!n[a]){if(!t[a]){if(o)return o(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 i(t[a][1][e]||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var o=!1,a=0;a<r.length;a++)i(r[a]);return i}({"./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){return"0123456789abcdefABCDEF".indexOf(e)>=0}function i(e){return"01234567".indexOf(e)>=0}function o(e){return 32===e||9===e||11===e||12===e||160===e||e>=5760&&[5760,6158,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(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&&be.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&&be.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 d(e,n,r,i,o){var a;t("number"==typeof r,"Comment must have valid position"),Ae.lastCommentStart>=r||(Ae.lastCommentStart=r,a={type:e,value:n},Pe.range&&(a.range=[r,i]),Pe.loc&&(a.loc=o),Pe.comments.push(a),Pe.attachComment&&(Pe.leadingComments.push(a),Pe.trailingComments.push(a)))}function p(e){var t,n,r,i;for(t=xe-e,n={start:{line:Ee,column:xe-Te-e}};xe<ke;)if(r=we.charCodeAt(xe),++xe,a(r))return Pe.comments&&(i=we.slice(t+e,xe-1),n.end={line:Ee,column:xe-Te-1},d("Line",i,t,xe-1,n)),13===r&&10===we.charCodeAt(xe)&&++xe,++Ee,void(Te=xe);Pe.comments&&(i=we.slice(t+e,xe),n.end={line:Ee,column:xe-Te},d("Line",i,t,xe,n))}function f(){var e,t,n,r;for(Pe.comments&&(e=xe-2,t={start:{line:Ee,column:xe-Te-2}});xe<ke;)if(a(n=we.charCodeAt(xe)))13===n&&10===we.charCodeAt(xe+1)&&++xe,++Ee,++xe,Te=xe,xe>=ke&&A({},ye.UnexpectedToken,"ILLEGAL");else if(42===n){if(47===we.charCodeAt(xe+1))return++xe,++xe,void(Pe.comments&&(r=we.slice(e+2,xe-2),t.end={line:Ee,column:xe-Te},d("Block",r,e,xe,t)));++xe}else++xe;A({},ye.UnexpectedToken,"ILLEGAL")}function h(){var e,t;for(t=0===xe;xe<ke;)if(o(e=we.charCodeAt(xe)))++xe;else if(a(e))++xe,13===e&&10===we.charCodeAt(xe)&&++xe,++Ee,Te=xe,t=!0;else if(47===e)if(47===(e=we.charCodeAt(xe+1)))++xe,++xe,p(2),t=!0;else{if(42!==e)break;++xe,++xe,f()}else if(t&&45===e){if(45!==we.charCodeAt(xe+1)||62!==we.charCodeAt(xe+2))break;xe+=3,p(3)}else{if(60!==e)break;if("!--"!==we.slice(xe+1,xe+4))break;++xe,++xe,++xe,++xe,p(4)}}function m(e){var t,n,i,o=0;for(n="u"===e?4:2,t=0;t<n;++t){if(!(xe<ke&&r(we[xe])))return"";i=we[xe++],o=16*o+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(o)}function g(){var e,t;for(e=we.charCodeAt(xe++),t=String.fromCharCode(e),92===e&&(117!==we.charCodeAt(xe)&&A({},ye.UnexpectedToken,"ILLEGAL"),++xe,(e=m("u"))&&"\\"!==e&&s(e.charCodeAt(0))||A({},ye.UnexpectedToken,"ILLEGAL"),t=e);xe<ke&&l(e=we.charCodeAt(xe));)++xe,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==we.charCodeAt(xe)&&A({},ye.UnexpectedToken,"ILLEGAL"),++xe,(e=m("u"))&&"\\"!==e&&l(e.charCodeAt(0))||A({},ye.UnexpectedToken,"ILLEGAL"),t+=e);return t}function v(){var e,t;return e=xe,{type:1===(t=92===we.charCodeAt(xe)?g():function(){var e,t;for(e=xe++;xe<ke;){if(92===(t=we.charCodeAt(xe)))return xe=e,g();if(!l(t))break;++xe}return we.slice(e,xe)}()).length?fe.Identifier:function(e){if(Se&&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)?fe.Keyword:"null"===t?fe.NullLiteral:"true"===t||"false"===t?fe.BooleanLiteral:fe.Identifier,value:t,lineNumber:Ee,lineStart:Te,start:e,end:xe}}function y(){var e,t,n,r,i=xe,o=we.charCodeAt(xe),a=we[xe];switch(o){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++xe,Pe.tokenize&&(40===o?Pe.openParenToken=Pe.tokens.length:123===o&&(Pe.openCurlyToken=Pe.tokens.length)),{type:fe.Punctuator,value:String.fromCharCode(o),lineNumber:Ee,lineStart:Te,start:i,end:xe};default:if(61===(e=we.charCodeAt(xe+1)))switch(o){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return xe+=2,{type:fe.Punctuator,value:String.fromCharCode(o)+String.fromCharCode(e),lineNumber:Ee,lineStart:Te,start:i,end:xe};case 33:case 61:return xe+=2,61===we.charCodeAt(xe)&&++xe,{type:fe.Punctuator,value:we.slice(i,xe),lineNumber:Ee,lineStart:Te,start:i,end:xe}}}return">>>="===(r=we.substr(xe,4))?{type:fe.Punctuator,value:r,lineNumber:Ee,lineStart:Te,start:i,end:xe+=4}:">>>"===(n=r.substr(0,3))||"<<="===n||">>="===n?{type:fe.Punctuator,value:n,lineNumber:Ee,lineStart:Te,start:i,end:xe+=3}:a===(t=n.substr(0,2))[1]&&"+-<>&|".indexOf(a)>=0||"=>"===t?{type:fe.Punctuator,value:t,lineNumber:Ee,lineStart:Te,start:i,end:xe+=2}:"<>=!+-*%&|^/".indexOf(a)>=0?(++xe,{type:fe.Punctuator,value:a,lineNumber:Ee,lineStart:Te,start:i,end:xe}):void A({},ye.UnexpectedToken,"ILLEGAL")}function b(){var e,o,a;if(t(n((a=we[xe]).charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),o=xe,e="","."!==a){if(e=we[xe++],a=we[xe],"0"===e){if("x"===a||"X"===a)return++xe,function(e){for(var t="";xe<ke&&r(we[xe]);)t+=we[xe++];return 0===t.length&&A({},ye.UnexpectedToken,"ILLEGAL"),s(we.charCodeAt(xe))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:Ee,lineStart:Te,start:e,end:xe}}(o);if(i(a))return function(e){for(var t="0"+we[xe++];xe<ke&&i(we[xe]);)t+=we[xe++];return(s(we.charCodeAt(xe))||n(we.charCodeAt(xe)))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:Ee,lineStart:Te,start:e,end:xe}}(o);a&&n(a.charCodeAt(0))&&A({},ye.UnexpectedToken,"ILLEGAL")}for(;n(we.charCodeAt(xe));)e+=we[xe++];a=we[xe]}if("."===a){for(e+=we[xe++];n(we.charCodeAt(xe));)e+=we[xe++];a=we[xe]}if("e"===a||"E"===a)if(e+=we[xe++],"+"!==(a=we[xe])&&"-"!==a||(e+=we[xe++]),n(we.charCodeAt(xe)))for(;n(we.charCodeAt(xe));)e+=we[xe++];else A({},ye.UnexpectedToken,"ILLEGAL");return s(we.charCodeAt(xe))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseFloat(e),lineNumber:Ee,lineStart:Te,start:o,end:xe}}function _(){var e,n,r,i;return Ce=null,h(),e=xe,n=function(){var e,n,r,i;for(t("/"===(e=we[xe]),"Regular expression literal must start with a slash"),n=we[xe++],r=!1,i=!1;xe<ke;)if(n+=e=we[xe++],"\\"===e)a((e=we[xe++]).charCodeAt(0))&&A({},ye.UnterminatedRegExp),n+=e;else if(a(e.charCodeAt(0)))A({},ye.UnterminatedRegExp);else if(r)"]"===e&&(r=!1);else{if("/"===e){i=!0;break}"["===e&&(r=!0)}return i||A({},ye.UnterminatedRegExp),{value:n.substr(1,n.length-2),literal:n}}(),r=function(){var e,t,n,r;for(t="",n="";xe<ke&&l((e=we[xe]).charCodeAt(0));)if(++xe,"\\"===e&&xe<ke)if("u"===(e=we[xe])){if(r=++xe,e=m("u"))for(n+=e,t+="\\u";r<xe;++r)t+=we[r];else xe=r,n+="u",t+="\\u";P({},ye.UnexpectedToken,"ILLEGAL")}else t+="\\",P({},ye.UnexpectedToken,"ILLEGAL");else n+=e,t+=e;return{value:n,literal:t}}(),i=function(e,t){var n;try{n=new RegExp(e,t)}catch(e){A({},ye.InvalidRegExp)}return n}(n.value,r.value),Pe.tokenize?{type:fe.RegularExpression,value:i,lineNumber:Ee,lineStart:Te,start:e,end:xe}:{literal:n.literal+r.literal,value:i,start:e,end:xe}}function w(){var e,t,n,r;return h(),e=xe,t={start:{line:Ee,column:xe-Te}},n=_(),t.end={line:Ee,column:xe-Te},Pe.tokenize||(Pe.tokens.length>0&&(r=Pe.tokens[Pe.tokens.length-1]).range[0]===e&&"Punctuator"===r.type&&("/"!==r.value&&"/="!==r.value||Pe.tokens.pop()),Pe.tokens.push({type:"RegularExpression",value:n.literal,range:[e,xe],loc:t})),n}function S(){var e;return h(),xe>=ke?{type:fe.EOF,lineNumber:Ee,lineStart:Te,start:xe,end:xe}:s(e=we.charCodeAt(xe))?v():40===e||41===e||59===e?y():39===e||34===e?function(){var e,n,r,o,s,l,u,c,d="",p=!1;for(u=Ee,c=Te,t("'"===(e=we[xe])||'"'===e,"String literal must starts with a quote"),n=xe,++xe;xe<ke;){if((r=we[xe++])===e){e="";break}if("\\"===r)if((r=we[xe++])&&a(r.charCodeAt(0)))++Ee,"\r"===r&&"\n"===we[xe]&&++xe,Te=xe;else switch(r){case"u":case"x":l=xe,(s=m(r))?d+=s:(xe=l,d+=r);break;case"n":d+="\n";break;case"r":d+="\r";break;case"t":d+="\t";break;case"b":d+="\b";break;case"f":d+="\f";break;case"v":d+="\v";break;default:i(r)?(0!==(o="01234567".indexOf(r))&&(p=!0),xe<ke&&i(we[xe])&&(p=!0,o=8*o+"01234567".indexOf(we[xe++]),"0123".indexOf(r)>=0&&xe<ke&&i(we[xe])&&(o=8*o+"01234567".indexOf(we[xe++]))),d+=String.fromCharCode(o)):d+=r}else{if(a(r.charCodeAt(0)))break;d+=r}}return""!==e&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.StringLiteral,value:d,octal:p,startLineNumber:u,startLineStart:c,lineNumber:Ee,lineStart:Te,start:n,end:xe}}():46===e?n(we.charCodeAt(xe+1))?b():y():n(e)?b():Pe.tokenize&&47===e?function(){var e,t;if(!(e=Pe.tokens[Pe.tokens.length-1]))return w();if("Punctuator"===e.type){if("]"===e.value)return y();if(")"===e.value)return!(t=Pe.tokens[Pe.openParenToken-1])||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?y():w();if("}"===e.value){if(Pe.tokens[Pe.openCurlyToken-3]&&"Keyword"===Pe.tokens[Pe.openCurlyToken-3].type){if(!(t=Pe.tokens[Pe.openCurlyToken-4]))return y()}else{if(!Pe.tokens[Pe.openCurlyToken-4]||"Keyword"!==Pe.tokens[Pe.openCurlyToken-4].type)return y();if(!(t=Pe.tokens[Pe.openCurlyToken-5]))return w()}return me.indexOf(t.value)>=0?y():w()}return w()}return"Keyword"===e.type?w():y()}():y()}function x(){var e,t,n;return h(),e={start:{line:Ee,column:xe-Te}},t=S(),e.end={line:Ee,column:xe-Te},t.type!==fe.EOF&&(n=we.slice(t.start,t.end),Pe.tokens.push({type:he[t.type],value:n,range:[t.start,t.end],loc:e})),t}function E(){var e;return xe=(e=Ce).end,Ee=e.lineNumber,Te=e.lineStart,Ce=void 0!==Pe.tokens?x():S(),xe=e.end,Ee=e.lineNumber,Te=e.lineStart,e}function T(){var e,t,n;e=xe,t=Ee,n=Te,Ce=void 0!==Pe.tokens?x():S(),xe=e,Ee=t,Te=n}function k(e,t){this.line=e,this.column=t}function O(e,t,n,r){this.start=new k(e,t),this.end=new k(n,r)}function C(){var e,t,n,r;return e=xe,t=Ee,n=Te,h(),r=Ee!==t,xe=e,Ee=t,Te=n,r}function A(e,n){var r,i=Array.prototype.slice.call(arguments,2),o=n.replace(/%(\d)/g,function(e,n){return t(n<i.length,"Message reference must be in range"),i[n]});throw"number"==typeof e.lineNumber?((r=new Error("Line "+e.lineNumber+": "+o)).index=e.start,r.lineNumber=e.lineNumber,r.column=e.start-Te+1):((r=new Error("Line "+Ee+": "+o)).index=xe,r.lineNumber=Ee,r.column=xe-Te+1),r.description=o,r}function P(){try{A.apply(null,arguments)}catch(e){if(!Pe.errors)throw e;Pe.errors.push(e)}}function I(e){if(e.type===fe.EOF&&A(e,ye.UnexpectedEOS),e.type===fe.NumericLiteral&&A(e,ye.UnexpectedNumber),e.type===fe.StringLiteral&&A(e,ye.UnexpectedString),e.type===fe.Identifier&&A(e,ye.UnexpectedIdentifier),e.type===fe.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,ye.UnexpectedReserved);else if(Se&&u(e.value))return void P(e,ye.StrictReservedWord);A(e,ye.UnexpectedToken,e.value)}A(e,ye.UnexpectedToken,e.value)}function R(e){var t=E();t.type===fe.Punctuator&&t.value===e||I(t)}function N(e){var t=E();t.type===fe.Keyword&&t.value===e||I(t)}function M(e){return Ce.type===fe.Punctuator&&Ce.value===e}function L(e){return Ce.type===fe.Keyword&&Ce.value===e}function D(){var e;59===we.charCodeAt(xe)||M(";")?E():(e=Ee,h(),Ee===e&&(Ce.type===fe.EOF||M("}")||I(Ce)))}function F(e){return e.type===ge.Identifier||e.type===ge.MemberExpression}function j(e,t){var n,r,i;return n=Se,i=Ce,r=se(),t&&Se&&c(e[0].name)&&P(t,ye.StrictParamName),Se=n,Oe.markEnd(Oe.createFunctionExpression(null,e,[],r),i)}function U(){var e,t;return t=Ce,(e=E()).type===fe.StringLiteral||e.type===fe.NumericLiteral?(Se&&e.octal&&P(e,ye.StrictOctalLiteral),Oe.markEnd(Oe.createLiteral(e),t)):Oe.markEnd(Oe.createIdentifier(e.value),t)}function B(){var e,t,n,r,i,o;return o=Ce,(e=Ce).type===fe.Identifier?(n=U(),"get"!==e.value||M(":")?"set"!==e.value||M(":")?(R(":"),r=Q(),Oe.markEnd(Oe.createProperty("init",n,r),o)):(t=U(),R("("),(e=Ce).type!==fe.Identifier?(R(")"),P(e,ye.UnexpectedToken,e.value),r=j([])):(i=[ee()],R(")"),r=j(i,e)),Oe.markEnd(Oe.createProperty("set",t,r),o)):(t=U(),R("("),R(")"),r=j([]),Oe.markEnd(Oe.createProperty("get",t,r),o))):e.type!==fe.EOF&&e.type!==fe.Punctuator?(t=U(),R(":"),r=Q(),Oe.markEnd(Oe.createProperty("init",t,r),o)):void I(e)}function V(){var e,t,n,r;if(M("("))return function(){var e;return R("("),e=X(),R(")"),e}();if(M("["))return function(){var e,t=[];for(e=Ce,R("[");!M("]");)M(",")?(E(),t.push(null)):(t.push(Q()),M("]")||R(","));return E(),Oe.markEnd(Oe.createArrayExpression(t),e)}();if(M("{"))return function(){var e,t,n,r,i,o=[],a={},s=String;for(i=Ce,R("{");!M("}");)t=(e=B()).key.type===ge.Identifier?e.key.name:s(e.key.value),r="init"===e.kind?ve.Data:"get"===e.kind?ve.Get:ve.Set,n="$"+t,Object.prototype.hasOwnProperty.call(a,n)?(a[n]===ve.Data?Se&&r===ve.Data?P({},ye.StrictDuplicateProperty):r!==ve.Data&&P({},ye.AccessorDataProperty):r===ve.Data?P({},ye.AccessorDataProperty):a[n]&r&&P({},ye.AccessorGetSet),a[n]|=r):a[n]=r,o.push(e),M("}")||R(",");return R("}"),Oe.markEnd(Oe.createObjectExpression(o),i)}();if(e=Ce.type,r=Ce,e===fe.Identifier)n=Oe.createIdentifier(E().value);else if(e===fe.StringLiteral||e===fe.NumericLiteral)Se&&Ce.octal&&P(Ce,ye.StrictOctalLiteral),n=Oe.createLiteral(E());else if(e===fe.Keyword){if(L("function"))return function(){var e,t,n,r,i,o,a,s,l,d=null;return l=Ce,N("function"),M("(")||(e=Ce,d=ee(),Se?c(e.value)&&P(e,ye.StrictFunctionName):c(e.value)?(n=e,r=ye.StrictFunctionName):u(e.value)&&(n=e,r=ye.StrictReservedWord)),i=le(n),o=i.params,t=i.stricted,n=i.firstRestricted,i.message&&(r=i.message),s=Se,a=se(),Se&&n&&A(n,r),Se&&t&&P(t,r),Se=s,Oe.markEnd(Oe.createFunctionExpression(d,o,[],a),l)}();L("this")?(E(),n=Oe.createThisExpression()):I(E())}else e===fe.BooleanLiteral?((t=E()).value="true"===t.value,n=Oe.createLiteral(t)):e===fe.NullLiteral?((t=E()).value=null,n=Oe.createLiteral(t)):M("/")||M("/=")?(n=void 0!==Pe.tokens?Oe.createLiteral(w()):Oe.createLiteral(_()),T()):I(E());return Oe.markEnd(n,r)}function q(){var e=[];if(R("("),!M(")"))for(;xe<ke&&(e.push(Q()),!M(")"));)R(",");return R(")"),e}function H(){var e,t;return t=Ce,function(e){return e.type===fe.Identifier||e.type===fe.Keyword||e.type===fe.BooleanLiteral||e.type===fe.NullLiteral}(e=E())||I(e),Oe.markEnd(Oe.createIdentifier(e.value),t)}function W(){return R("."),H()}function $(){var e;return R("["),e=X(),R("]"),e}function z(){var e,t,n;return n=Ce,N("new"),e=function(){var e,t,n,r;for(r=Ce,e=Ae.allowIn,t=L("new")?z():V(),Ae.allowIn=e;M(".")||M("[");)M("[")?(n=$(),t=Oe.createMemberExpression("[",t,n)):(n=W(),t=Oe.createMemberExpression(".",t,n)),Oe.markEnd(t,r);return t}(),t=M("(")?q():[],Oe.markEnd(Oe.createNewExpression(e,t),n)}function G(){var e,t,n=Ce;return e=function(){var e,t,n,r,i;for(i=Ce,e=Ae.allowIn,Ae.allowIn=!0,t=L("new")?z():V(),Ae.allowIn=e;;){if(M("."))r=W(),t=Oe.createMemberExpression(".",t,r);else if(M("("))n=q(),t=Oe.createCallExpression(t,n);else{if(!M("["))break;r=$(),t=Oe.createMemberExpression("[",t,r)}Oe.markEnd(t,i)}return t}(),Ce.type===fe.Punctuator&&(!M("++")&&!M("--")||C()||(Se&&e.type===ge.Identifier&&c(e.name)&&P({},ye.StrictLHSPostfix),F(e)||P({},ye.InvalidLHSInAssignment),t=E(),e=Oe.markEnd(Oe.createPostfixExpression(t.value,e),n))),e}function K(){var e,t,n;return Ce.type!==fe.Punctuator&&Ce.type!==fe.Keyword?t=G():M("++")||M("--")?(n=Ce,e=E(),t=K(),Se&&t.type===ge.Identifier&&c(t.name)&&P({},ye.StrictLHSPrefix),F(t)||P({},ye.InvalidLHSInAssignment),t=Oe.createUnaryExpression(e.value,t),t=Oe.markEnd(t,n)):M("+")||M("-")||M("~")||M("!")?(n=Ce,e=E(),t=K(),t=Oe.createUnaryExpression(e.value,t),t=Oe.markEnd(t,n)):L("delete")||L("void")||L("typeof")?(n=Ce,e=E(),t=K(),t=Oe.createUnaryExpression(e.value,t),t=Oe.markEnd(t,n),Se&&"delete"===t.operator&&t.argument.type===ge.Identifier&&P({},ye.StrictDelete)):t=G(),t}function Y(e,t){var n=0;if(e.type!==fe.Punctuator&&e.type!==fe.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 J(){var e,t,n,r,i;return i=Ce,e=function(){var e,t,n,r,i,o,a,s,l,u;if(e=Ce,l=K(),0===(i=Y(r=Ce,Ae.allowIn)))return l;for(r.prec=i,E(),t=[e,Ce],o=[l,r,a=K()];(i=Y(Ce,Ae.allowIn))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)a=o.pop(),s=o.pop().value,l=o.pop(),n=Oe.createBinaryExpression(s,l,a),t.pop(),e=t[t.length-1],Oe.markEnd(n,e),o.push(n);(r=E()).prec=i,o.push(r),t.push(Ce),n=K(),o.push(n)}for(n=o[u=o.length-1],t.pop();u>1;)n=Oe.createBinaryExpression(o[u-1].value,o[u-2],n),u-=2,e=t.pop(),Oe.markEnd(n,e);return n}(),M("?")&&(E(),t=Ae.allowIn,Ae.allowIn=!0,n=Q(),Ae.allowIn=t,R(":"),r=Q(),e=Oe.createConditionalExpression(e,n,r),Oe.markEnd(e,i)),e}function Q(){var e,t,n,r,i,o;return e=Ce,i=Ce,r=t=J(),Ce.type!==fe.Punctuator||"="!==(o=Ce.value)&&"*="!==o&&"/="!==o&&"%="!==o&&"+="!==o&&"-="!==o&&"<<="!==o&&">>="!==o&&">>>="!==o&&"&="!==o&&"^="!==o&&"|="!==o||(F(t)||P({},ye.InvalidLHSInAssignment),Se&&t.type===ge.Identifier&&c(t.name)&&P(e,ye.StrictLHSAssignment),e=E(),n=Q(),r=Oe.markEnd(Oe.createAssignmentExpression(e.value,t,n),i)),r}function X(){var e,t=Ce;if(e=Q(),M(",")){for(e=Oe.createSequenceExpression([e]);xe<ke&&M(",");)E(),e.expressions.push(Q());Oe.markEnd(e,t)}return e}function Z(){var e,t;return t=Ce,R("{"),e=function(){for(var e,t=[];xe<ke&&!M("}")&&void 0!==(e=ce());)t.push(e);return t}(),R("}"),Oe.markEnd(Oe.createBlockStatement(e),t)}function ee(){var e,t;return t=Ce,(e=E()).type!==fe.Identifier&&I(e),Oe.markEnd(Oe.createIdentifier(e.value),t)}function te(e){var t,n,r=null;return n=Ce,t=ee(),Se&&c(t.name)&&P({},ye.StrictVarName),"const"===e?(R("="),r=Q()):M("=")&&(E(),r=Q()),Oe.markEnd(Oe.createVariableDeclarator(t,r),n)}function ne(e){var t=[];do{if(t.push(te(e)),!M(","))break;E()}while(xe<ke);return t}function re(){var e,t,n,r,i,o,a,s,l,u;return e=t=n=null,N("for"),R("("),M(";")?E():(L("var")||L("let")?(Ae.allowIn=!1,u=Ce,s=E(),l=ne(),e=Oe.markEnd(Oe.createVariableDeclaration(l,s.value),u),Ae.allowIn=!0,1===e.declarations.length&&L("in")&&(E(),r=e,i=X(),e=null)):(Ae.allowIn=!1,e=X(),Ae.allowIn=!0,L("in")&&(F(e)||P({},ye.InvalidLHSInForIn),E(),r=e,i=X(),e=null)),void 0===r&&R(";")),void 0===r&&(M(";")||(t=X()),R(";"),M(")")||(n=X())),R(")"),a=Ae.inIteration,Ae.inIteration=!0,o=ae(),Ae.inIteration=a,void 0===r?Oe.createForStatement(e,t,n,o):Oe.createForInStatement(r,i,o)}function ie(){var e,t,n,r=[];for(n=Ce,L("default")?(E(),e=null):(N("case"),e=X()),R(":");xe<ke&&!(M("}")||L("default")||L("case"));)t=ae(),r.push(t);return Oe.markEnd(Oe.createSwitchCase(e,r),n)}function oe(){var e,t,n,r,i=[],o=null;return N("try"),e=Z(),L("catch")&&i.push((r=Ce,N("catch"),R("("),M(")")&&I(Ce),t=ee(),Se&&c(t.name)&&P({},ye.StrictCatchVariable),R(")"),n=Z(),Oe.markEnd(Oe.createCatchClause(t,n),r))),L("finally")&&(E(),o=Z()),0!==i.length||o||A({},ye.NoCatchOrFinally),Oe.createTryStatement(e,[],i,o)}function ae(){var e,t,n,r,i,o,a,l,u,c=Ce.type;if(c===fe.EOF&&I(Ce),c===fe.Punctuator&&"{"===Ce.value)return Z();if(r=Ce,c===fe.Punctuator)switch(Ce.value){case";":return Oe.markEnd((R(";"),Oe.createEmptyStatement()),r);case"(":return Oe.markEnd(function(){var e=X();return D(),Oe.createExpressionStatement(e)}(),r)}if(c===fe.Keyword)switch(Ce.value){case"break":return Oe.markEnd(function(){var e,t=null;return N("break"),59===we.charCodeAt(xe)?(E(),Ae.inIteration||Ae.inSwitch||A({},ye.IllegalBreak),Oe.createBreakStatement(null)):C()?(Ae.inIteration||Ae.inSwitch||A({},ye.IllegalBreak),Oe.createBreakStatement(null)):(Ce.type===fe.Identifier&&(e="$"+(t=ee()).name,Object.prototype.hasOwnProperty.call(Ae.labelSet,e)||A({},ye.UnknownLabel,t.name)),D(),null!==t||Ae.inIteration||Ae.inSwitch||A({},ye.IllegalBreak),Oe.createBreakStatement(t))}(),r);case"continue":return Oe.markEnd(function(){var e,t=null;return N("continue"),59===we.charCodeAt(xe)?(E(),Ae.inIteration||A({},ye.IllegalContinue),Oe.createContinueStatement(null)):C()?(Ae.inIteration||A({},ye.IllegalContinue),Oe.createContinueStatement(null)):(Ce.type===fe.Identifier&&(e="$"+(t=ee()).name,Object.prototype.hasOwnProperty.call(Ae.labelSet,e)||A({},ye.UnknownLabel,t.name)),D(),null!==t||Ae.inIteration||A({},ye.IllegalContinue),Oe.createContinueStatement(t))}(),r);case"debugger":return Oe.markEnd((N("debugger"),D(),Oe.createDebuggerStatement()),r);case"do":return Oe.markEnd((N("do"),u=Ae.inIteration,Ae.inIteration=!0,a=ae(),Ae.inIteration=u,N("while"),R("("),l=X(),R(")"),M(";")&&E(),Oe.createDoWhileStatement(a,l)),r);case"for":return Oe.markEnd(re(),r);case"function":return Oe.markEnd(ue(),r);case"if":return Oe.markEnd(function(){var e,t,n;return N("if"),R("("),e=X(),R(")"),t=ae(),L("else")?(E(),n=ae()):n=null,Oe.createIfStatement(e,t,n)}(),r);case"return":return Oe.markEnd((o=null,N("return"),Ae.inFunctionBody||P({},ye.IllegalReturn),32===we.charCodeAt(xe)&&s(we.charCodeAt(xe+1))?(o=X(),D(),Oe.createReturnStatement(o)):C()?Oe.createReturnStatement(null):(M(";")||M("}")||Ce.type===fe.EOF||(o=X()),D(),Oe.createReturnStatement(o))),r);case"switch":return Oe.markEnd(function(){var e,t,n,r,i;if(N("switch"),R("("),e=X(),R(")"),R("{"),t=[],M("}"))return E(),Oe.createSwitchStatement(e,t);for(r=Ae.inSwitch,Ae.inSwitch=!0,i=!1;xe<ke&&!M("}");)null===(n=ie()).test&&(i&&A({},ye.MultipleDefaultsInSwitch),i=!0),t.push(n);return Ae.inSwitch=r,R("}"),Oe.createSwitchStatement(e,t)}(),r);case"throw":return Oe.markEnd(function(){var e;return N("throw"),C()&&A({},ye.NewlineAfterThrow),e=X(),D(),Oe.createThrowStatement(e)}(),r);case"try":return Oe.markEnd(oe(),r);case"var":return Oe.markEnd((N("var"),i=ne(),D(),Oe.createVariableDeclaration(i,"var")),r);case"while":return Oe.markEnd(function(){var e,t,n;return N("while"),R("("),e=X(),R(")"),n=Ae.inIteration,Ae.inIteration=!0,t=ae(),Ae.inIteration=n,Oe.createWhileStatement(e,t)}(),r);case"with":return Oe.markEnd(function(){var e,t;return Se&&(h(),P({},ye.StrictModeWith)),N("with"),R("("),e=X(),R(")"),t=ae(),Oe.createWithStatement(e,t)}(),r)}return(e=X()).type===ge.Identifier&&M(":")?(E(),n="$"+e.name,Object.prototype.hasOwnProperty.call(Ae.labelSet,n)&&A({},ye.Redeclaration,"Label",e.name),Ae.labelSet[n]=!0,t=ae(),delete Ae.labelSet[n],Oe.markEnd(Oe.createLabeledStatement(e,t),r)):(D(),Oe.markEnd(Oe.createExpressionStatement(e),r))}function se(){var e,t,n,r,i,o,a,s,l=[];for(s=Ce,R("{");xe<ke&&Ce.type===fe.StringLiteral&&(t=Ce,e=ce(),l.push(e),e.expression.type===ge.Literal);)"use strict"===we.slice(t.start+1,t.end-1)?(Se=!0,n&&P(n,ye.StrictOctalLiteral)):!n&&t.octal&&(n=t);for(r=Ae.labelSet,i=Ae.inIteration,o=Ae.inSwitch,a=Ae.inFunctionBody,Ae.labelSet={},Ae.inIteration=!1,Ae.inSwitch=!1,Ae.inFunctionBody=!0;xe<ke&&!M("}")&&void 0!==(e=ce());)l.push(e);return R("}"),Ae.labelSet=r,Ae.inIteration=i,Ae.inSwitch=o,Ae.inFunctionBody=a,Oe.markEnd(Oe.createBlockStatement(l),s)}function le(e){var t,n,r,i,o,a,s=[];if(R("("),!M(")"))for(i={};xe<ke&&(n=Ce,t=ee(),o="$"+n.value,Se?(c(n.value)&&(r=n,a=ye.StrictParamName),Object.prototype.hasOwnProperty.call(i,o)&&(r=n,a=ye.StrictParamDupe)):e||(c(n.value)?(e=n,a=ye.StrictParamName):u(n.value)?(e=n,a=ye.StrictReservedWord):Object.prototype.hasOwnProperty.call(i,o)&&(e=n,a=ye.StrictParamDupe)),s.push(t),i[o]=!0,!M(")"));)R(",");return R(")"),{params:s,stricted:r,firstRestricted:e,message:a}}function ue(){var e,t,n,r,i,o,a,s,l,d;return d=Ce,N("function"),r=Ce,e=ee(),Se?c(r.value)&&P(r,ye.StrictFunctionName):c(r.value)?(a=r,s=ye.StrictFunctionName):u(r.value)&&(a=r,s=ye.StrictReservedWord),t=(o=le(a)).params,i=o.stricted,a=o.firstRestricted,o.message&&(s=o.message),l=Se,n=se(),Se&&a&&A(a,s),Se&&i&&P(i,s),Se=l,Oe.markEnd(Oe.createFunctionDeclaration(e,t,[],n),d)}function ce(){if(Ce.type===fe.Keyword)switch(Ce.value){case"const":case"let":return e=Ce.value,n=Ce,N(e),t=ne(e),D(),Oe.markEnd(Oe.createVariableDeclaration(t,e),n);case"function":return ue();default:return ae()}var e,t,n;if(Ce.type!==fe.EOF)return ae()}function de(){var e,t;return h(),T(),t=Ce,Se=!1,e=function(){for(var e,t,n,r=[];xe<ke&&(t=Ce).type===fe.StringLiteral&&(e=ce(),r.push(e),e.expression.type===ge.Literal);)"use strict"===we.slice(t.start+1,t.end-1)?(Se=!0,n&&P(n,ye.StrictOctalLiteral)):!n&&t.octal&&(n=t);for(;xe<ke&&void 0!==(e=ce());)r.push(e);return r}(),Oe.markEnd(Oe.createProgram(e),t)}function pe(){var e,t,n,r=[];for(e=0;e<Pe.tokens.length;++e)n={type:(t=Pe.tokens[e]).type,value:t.value},Pe.range&&(n.range=t.range),Pe.loc&&(n.loc=t.loc),r.push(n);Pe.tokens=r}var fe,he,me,ge,ve,ye,be,_e,we,Se,xe,Ee,Te,ke,Oe,Ce,Ae,Pe;(he={})[(fe={BooleanLiteral:1,EOF:2,Identifier:3,Keyword:4,NullLiteral:5,NumericLiteral:6,Punctuator:7,StringLiteral:8,RegularExpression:9}).BooleanLiteral]="Boolean",he[fe.EOF]="<end>",he[fe.Identifier]="Identifier",he[fe.Keyword]="Keyword",he[fe.NullLiteral]="Null",he[fe.NumericLiteral]="Numeric",he[fe.Punctuator]="Punctuator",he[fe.StringLiteral]="String",he[fe.RegularExpression]="RegularExpression",me=["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="],ge={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"},ve={Data:1,Get:2,Set:4},ye={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"},be={NonAsciiIdentifierStart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"),NonAsciiIdentifierPart:new RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮ̀-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁ҃-҇Ҋ-ԧԱ-Ֆՙա-և֑-ׇֽֿׁׂׅׄא-תװ-ײؐ-ؚؠ-٩ٮ-ۓە-ۜ۟-۪ۨ-ۼۿܐ-݊ݍ-ޱ߀-ߵߺࠀ-࠭ࡀ-࡛ࢠࢢ-ࢬࣤ-ࣾऀ-ॣ०-९ॱ-ॷॹ-ॿঁ-ঃঅ-ঌএঐও-নপ-রলশ-হ়-ৄেৈো-ৎৗড়ঢ়য়-ৣ০-ৱਁ-ਃਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹ਼ਾ-ੂੇੈੋ-੍ੑਖ਼-ੜਫ਼੦-ੵઁ-ઃઅ-ઍએ-ઑઓ-નપ-રલળવ-હ઼-ૅે-ૉો-્ૐૠ-ૣ૦-૯ଁ-ଃଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହ଼-ୄେୈୋ-୍ୖୗଡ଼ଢ଼ୟ-ୣ୦-୯ୱஂஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹா-ூெ-ைொ-்ௐௗ௦-௯ఁ-ఃఅ-ఌఎ-ఐఒ-నప-ళవ-హఽ-ౄె-ైొ-్ౕౖౘౙౠ-ౣ౦-౯ಂಃಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹ಼-ೄೆ-ೈೊ-್ೕೖೞೠ-ೣ೦-೯ೱೲംഃഅ-ഌഎ-ഐഒ-ഺഽ-ൄെ-ൈൊ-ൎൗൠ-ൣ൦-൯ൺ-ൿංඃඅ-ඖක-නඳ-රලව-ෆ්ා-ුූෘ-ෟෲෳก-ฺเ-๎๐-๙ກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ູົ-ຽເ-ໄໆ່-ໍ໐-໙ໜ-ໟༀ༘༙༠-༩༹༵༷༾-ཇཉ-ཬཱ-྄྆-ྗྙ-ྼ࿆က-၉ၐ-ႝႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚ፝-፟ᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-᜔ᜠ-᜴ᝀ-ᝓᝠ-ᝬᝮ-ᝰᝲᝳក-៓ៗៜ៝០-៩᠋-᠍᠐-᠙ᠠ-ᡷᢀ-ᢪᢰ-ᣵᤀ-ᤜᤠ-ᤫᤰ-᤻᥆-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉ᧐-᧙ᨀ-ᨛᨠ-ᩞ᩠-᩿᩼-᪉᪐-᪙ᪧᬀ-ᭋ᭐-᭙᭫-᭳ᮀ-᯳ᰀ-᰷᱀-᱉ᱍ-ᱽ᳐-᳔᳒-ᳶᴀ-ᷦ᷼-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼ‌‍‿⁀⁔ⁱⁿₐ-ₜ⃐-⃥⃜⃡-⃰ℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯ⵿-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⷠ-ⷿⸯ々-〇〡-〯〱-〵〸-〼ぁ-ゖ゙゚ゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘫꙀ-꙯ꙴ-꙽ꙿ-ꚗꚟ-꛱ꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠧꡀ-ꡳꢀ-꣄꣐-꣙꣠-ꣷꣻ꤀-꤭ꤰ-꥓ꥠ-ꥼꦀ-꧀ꧏ-꧙ꨀ-ꨶꩀ-ꩍ꩐-꩙ꩠ-ꩶꩺꩻꪀ-ꫂꫛ-ꫝꫠ-ꫯꫲ-꫶ꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯪ꯬꯭꯰-꯹가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻ︀-️︠-︦︳︴﹍-﹏ﹰ-ﹴﹶ-ﻼ0-9A-Z_a-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]")},_e={name:"SyntaxTree",processComment:function(e){var t,n;if(!(e.type===ge.Program&&e.body.length>0)){for(Pe.trailingComments.length>0?Pe.trailingComments[0].range[0]>=e.range[1]?(n=Pe.trailingComments,Pe.trailingComments=[]):Pe.trailingComments.length=0:Pe.bottomRightStack.length>0&&Pe.bottomRightStack[Pe.bottomRightStack.length-1].trailingComments&&Pe.bottomRightStack[Pe.bottomRightStack.length-1].trailingComments[0].range[0]>=e.range[1]&&(n=Pe.bottomRightStack[Pe.bottomRightStack.length-1].trailingComments,delete Pe.bottomRightStack[Pe.bottomRightStack.length-1].trailingComments);Pe.bottomRightStack.length>0&&Pe.bottomRightStack[Pe.bottomRightStack.length-1].range[0]>=e.range[0];)t=Pe.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):Pe.leadingComments.length>0&&Pe.leadingComments[Pe.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=Pe.leadingComments,Pe.leadingComments=[]),n&&(e.trailingComments=n),Pe.bottomRightStack.push(e)}},markEnd:function(e,t){return Pe.range&&(e.range=[t.start,xe]),Pe.loc&&(e.loc=new O(void 0===t.startLineNumber?t.lineNumber:t.startLineNumber,t.start-(void 0===t.startLineStart?t.lineStart:t.startLineStart),Ee,xe-Te),this.postProcess(e)),Pe.attachComment&&this.processComment(e),e},postProcess:function(e){return Pe.source&&(e.loc.source=Pe.source),e},createArrayExpression:function(e){return{type:ge.ArrayExpression,elements:e}},createAssignmentExpression:function(e,t,n){return{type:ge.AssignmentExpression,operator:e,left:t,right:n}},createBinaryExpression:function(e,t,n){return{type:"||"===e||"&&"===e?ge.LogicalExpression:ge.BinaryExpression,operator:e,left:t,right:n}},createBlockStatement:function(e){return{type:ge.BlockStatement,body:e}},createBreakStatement:function(e){return{type:ge.BreakStatement,label:e}},createCallExpression:function(e,t){return{type:ge.CallExpression,callee:e,arguments:t}},createCatchClause:function(e,t){return{type:ge.CatchClause,param:e,body:t}},createConditionalExpression:function(e,t,n){return{type:ge.ConditionalExpression,test:e,consequent:t,alternate:n}},createContinueStatement:function(e){return{type:ge.ContinueStatement,label:e}},createDebuggerStatement:function(){return{type:ge.DebuggerStatement}},createDoWhileStatement:function(e,t){return{type:ge.DoWhileStatement,body:e,test:t}},createEmptyStatement:function(){return{type:ge.EmptyStatement}},createExpressionStatement:function(e){return{type:ge.ExpressionStatement,expression:e}},createForStatement:function(e,t,n,r){return{type:ge.ForStatement,init:e,test:t,update:n,body:r}},createForInStatement:function(e,t,n){return{type:ge.ForInStatement,left:e,right:t,body:n,each:!1}},createFunctionDeclaration:function(e,t,n,r){return{type:ge.FunctionDeclaration,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createFunctionExpression:function(e,t,n,r){return{type:ge.FunctionExpression,id:e,params:t,defaults:n,body:r,rest:null,generator:!1,expression:!1}},createIdentifier:function(e){return{type:ge.Identifier,name:e}},createIfStatement:function(e,t,n){return{type:ge.IfStatement,test:e,consequent:t,alternate:n}},createLabeledStatement:function(e,t){return{type:ge.LabeledStatement,label:e,body:t}},createLiteral:function(e){return{type:ge.Literal,value:e.value,raw:we.slice(e.start,e.end)}},createMemberExpression:function(e,t,n){return{type:ge.MemberExpression,computed:"["===e,object:t,property:n}},createNewExpression:function(e,t){return{type:ge.NewExpression,callee:e,arguments:t}},createObjectExpression:function(e){return{type:ge.ObjectExpression,properties:e}},createPostfixExpression:function(e,t){return{type:ge.UpdateExpression,operator:e,argument:t,prefix:!1}},createProgram:function(e){return{type:ge.Program,body:e}},createProperty:function(e,t,n){return{type:ge.Property,key:t,value:n,kind:e}},createReturnStatement:function(e){return{type:ge.ReturnStatement,argument:e}},createSequenceExpression:function(e){return{type:ge.SequenceExpression,expressions:e}},createSwitchCase:function(e,t){return{type:ge.SwitchCase,test:e,consequent:t}},createSwitchStatement:function(e,t){return{type:ge.SwitchStatement,discriminant:e,cases:t}},createThisExpression:function(){return{type:ge.ThisExpression}},createThrowStatement:function(e){return{type:ge.ThrowStatement,argument:e}},createTryStatement:function(e,t,n,r){return{type:ge.TryStatement,block:e,guardedHandlers:t,handlers:n,finalizer:r}},createUnaryExpression:function(e,t){return"++"===e||"--"===e?{type:ge.UpdateExpression,operator:e,argument:t,prefix:!0}:{type:ge.UnaryExpression,operator:e,argument:t,prefix:!0}},createVariableDeclaration:function(e,t){return{type:ge.VariableDeclaration,declarations:e,kind:t}},createVariableDeclarator:function(e,t){return{type:ge.VariableDeclarator,id:e,init:t}},createWhileStatement:function(e,t){return{type:ge.WhileStatement,test:e,body:t}},createWithStatement:function(e,t){return{type:ge.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)),Oe=_e,xe=0,Ee=(we=e).length>0?1:0,Te=0,ke=we.length,Ce=null,Ae={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Pe={},(t=t||{}).tokens=!0,Pe.tokens=[],Pe.tokenize=!0,Pe.openParenToken=-1,Pe.openCurlyToken=-1,Pe.range="boolean"==typeof t.range&&t.range,Pe.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(Pe.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Pe.errors=[]);try{if(T(),Ce.type===fe.EOF)return Pe.tokens;for(E();Ce.type!==fe.EOF;)try{E()}catch(e){if(Pe.errors){Pe.errors.push(e);break}throw e}pe(),n=Pe.tokens,void 0!==Pe.comments&&(n.comments=Pe.comments),void 0!==Pe.errors&&(n.errors=Pe.errors)}catch(e){throw e}finally{Pe={}}return n},e.parse=function(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),Oe=_e,xe=0,Ee=(we=e).length>0?1:0,Te=0,ke=we.length,Ce=null,Ae={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Pe={},void 0!==t&&(Pe.range="boolean"==typeof t.range&&t.range,Pe.loc="boolean"==typeof t.loc&&t.loc,Pe.attachComment="boolean"==typeof t.attachComment&&t.attachComment,Pe.loc&&null!==t.source&&void 0!==t.source&&(Pe.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(Pe.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(Pe.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Pe.errors=[]),Pe.attachComment&&(Pe.range=!0,Pe.comments=[],Pe.bottomRightStack=[],Pe.trailingComments=[],Pe.leadingComments=[]));try{n=de(),void 0!==Pe.comments&&(n.comments=Pe.comments),void 0!==Pe.tokens&&(pe(),n.tokens=Pe.tokens),void 0!==Pe.errors&&(n.errors=Pe.errors)}catch(e){throw e}finally{Pe={}}return n},e.Syntax=function(){var e,t={};for(e in"function"==typeof Object.create&&(t=Object.create(null)),ge)ge.hasOwnProperty(e)&&(t[e]=ge[e]);return"function"==typeof Object.freeze&&Object.freeze(t),t}()}(void 0!==n?n:e.esprima={})}(this)},{}],1:[function(e,t,n){(function(r){var 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,i,o,a,s){i.ast||(i.ast=n,n.initialize());var l=a.length-1;switch(o){case 1:return i.ast.set({expression:{type:"root",value:a[l]}}),i.ast.unshift(),i.ast.yield();case 2:return i.ast.set({expression:{type:"root",value:a[l-1]}}),i.ast.unshift(),i.ast.yield();case 3:return i.ast.unshift(),i.ast.yield();case 4:return i.ast.set({operation:"member",scope:"child",expression:{type:"identifier",value:a[l-1]}}),i.ast.unshift(),i.ast.yield();case 5:case 6:break;case 7:i.ast.set({operation:"member"}),i.ast.push();break;case 8:i.ast.set({operation:"subscript"}),i.ast.push();break;case 9:i.ast.set({scope:"child"});break;case 10:i.ast.set({scope:"descendant"});break;case 11:break;case 12:i.ast.set({scope:"child",operation:"member"});break;case 13:break;case 14:i.ast.set({expression:{type:"wildcard",value:a[l]}});break;case 15:i.ast.set({expression:{type:"identifier",value:a[l]}});break;case 16:i.ast.set({expression:{type:"script_expression",value:a[l]}});break;case 17:i.ast.set({expression:{type:"numeric_literal",value:parseInt(a[l])}});break;case 18:break;case 19:i.ast.set({scope:"child"});break;case 20:i.ast.set({scope:"descendant"});break;case 21:case 22:case 23:break;case 24:a[l].length>1?i.ast.set({expression:{type:"union",value:a[l]}}):this.$=a[l];break;case 25:this.$=[a[l]];break;case 26:this.$=a[l-2].concat(a[l]);break;case 27:this.$={expression:{type:"numeric_literal",value:parseInt(a[l])}},i.ast.set(this.$);break;case 28:this.$={expression:{type:"string_literal",value:a[l]}},i.ast.set(this.$);break;case 29:this.$={expression:{type:"slice",value:a[l]}},i.ast.set(this.$);break;case 30:this.$={expression:{type:"wildcard",value:a[l]}},i.ast.set(this.$);break;case 31:this.$={expression:{type:"script_expression",value:a[l]}},i.ast.set(this.$);break;case 32:this.$={expression:{type:"filter_expression",value:a[l]}},i.ast.set(this.$);break;case 33:case 34:this.$=a[l]}},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=this,n=[0],r=[null],i=[],o=this.table,a="",s=0,l=0,u=0,c=1,d=i.slice.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 f=this.lexer.options&&this.lexer.options.ranges;"function"==typeof this.yy.parseError?this.parseError=this.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var h,m,g,v,y,b,_,w,S,x={};;){if(g=n[n.length-1],this.defaultActions[g]?v=this.defaultActions[g]:(null==h&&(h=function(){var e;return"number"!=typeof(e=t.lexer.lex()||c)&&(e=t.symbols_[e]||e),e}()),v=o[g]&&o[g][h]),void 0===v||!v.length||!v[0]){var E="";for(b in S=[],o[g])this.terminals_[b]&&b>2&&S.push("'"+this.terminals_[b]+"'");E=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[h]||h)+"'":"Parse error on line "+(s+1)+": Unexpected "+(h==c?"end of input":"'"+(this.terminals_[h]||h)+"'"),this.parseError(E,{text:this.lexer.match,token:this.terminals_[h]||h,line:this.lexer.yylineno,loc:p,expected:S})}if(v[0]instanceof Array&&v.length>1)throw new Error("Parse Error: multiple actions possible at state: "+g+", token: "+h);switch(v[0]){case 1:n.push(h),r.push(this.lexer.yytext),i.push(this.lexer.yylloc),n.push(v[1]),h=null,m?(h=m,m=null):(l=this.lexer.yyleng,a=this.lexer.yytext,s=this.lexer.yylineno,p=this.lexer.yylloc,u>0&&u--);break;case 2:if(_=this.productions_[v[1]][1],x.$=r[r.length-_],x._$={first_line:i[i.length-(_||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(_||1)].first_column,last_column:i[i.length-1].last_column},f&&(x._$.range=[i[i.length-(_||1)].range[0],i[i.length-1].range[1]]),void 0!==(y=this.performAction.apply(x,[a,l,s,this.yy,v[1],r,i].concat(d))))return y;_&&(n=n.slice(0,-1*_*2),r=r.slice(0,-1*_),i=i.slice(0,-1*_)),n.push(this.productions_[v[1]][0]),r.push(x.$),i.push(x._$),w=o[n[n.length-2]][n[n.length-1]],n.push(w);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=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},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 i=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=[i[0],i[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){this.unput(this.match.slice(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,i;if(this.options.backtrack_lexer&&(i={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:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.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=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var o in i)this[o]=i[o];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 i=this._currentRules(),o=0;o<i.length;o++)if((n=this._input.match(this.rules[i[o]]))&&(!t||n[0].length>t[0].length)){if(t=n,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(n,i[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[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 i=e("fs").readFileSync(e("path").normalize(t[1]),"utf8");return n.parser.parse(i)},void 0!==t&&e.main===t&&n.main(r.argv.slice(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"),i=e("fs"),o={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"]]}};i.readFileSync&&(o.moduleInclude=i.readFileSync(e.resolve("../include/module.js")),o.actionInclude=i.readFileSync(e.resolve("../include/action.js"))),t.exports=o},{"./dict":2,fs:12}],4:[function(e,t,n){function r(t,n,r){var i=e("./index"),o=l(d.parse(n).body[0].expression,{"@":t.value}),a=r.replace(/\{\{\s*value\s*\}\}/g,o),s=i.nodes(t.value,a);return s.forEach(function(e){e.path=t.path.concat(e.path.slice(1))}),s}function i(e){return Array.isArray(e)}function o(e){return function(t,n,r,o){var a=t.value,s=t.path,l=[],u=function(t,a){var s;i(t)?(t.forEach(function(e,t){l.length>=o||r(t,e,n)&&l.push({path:a.concat(t),value:e})}),t.forEach(function(t,n){l.length>=o||e&&u(t,a.concat(n))})):(s=t)&&!(s instanceof Array)&&s instanceof Object&&(this.keys(t).forEach(function(e){l.length>=o||r(e,t[e],n)&&l.push({path:a.concat(e),value:t[e]})}),this.keys(t).forEach(function(n){l.length>=o||e&&u(t[n],a.concat(n))}))}.bind(this);return u(a,s),l}}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 f.apply(this,arguments)}catch(e){}}function u(e){return e=e.filter(function(e){return e}),h(e,function(e){return e.path.map(function(e){return String(e).replace("-","--")}).join("-")})}function c(e){var t=String(e);return t.match(/^-?[0-9]+$/)?parseInt(t):null}var d=e("./aesprim"),p=e("./slice"),f=e("static-eval"),h=e("underscore").uniq,m=function(){return this.initialize.apply(this,arguments)};m.prototype.initialize=function(){this.traverse=o(!0),this.descend=o()},m.prototype.keys=Object.keys,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 n.bind(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=e.expression.value,r=t.value;if(r instanceof Object&&n in r)return[{value:r[n],path:t.path.concat(n)}]},"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(i(t.value)){var n=e.expression.value.split(":").map(c),r=t.value.map(function(e,n){return{value:e,path:t.path.concat(n)}});return p.apply(null,[r].concat(n))}},"subscript-child-union":function(e,t){var n=[];return e.expression.value.forEach(function(e){var r={operation:"subscript",scope:"child",expression:e.expression},i=this.resolve(r)(r,t);i&&(n=n.concat(i))},this),u(n)},"subscript-descendant-union":function(t,n,r){var i=e(".."),o=this,a=[];return i.nodes(n,"$..*").slice(1).forEach(function(e){a.length>=r||t.expression.value.forEach(function(t){var n={operation:"subscript",scope:"child",expression:t.expression},r=o.resolve(n)(n,e);a=a.concat(r)})}),u(a)},"subscript-child-filter_expression":function(e,t,n){var r=e.expression.value.slice(2,-1),i=d.parse(r).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=e.expression.value.slice(2,-1),i=d.parse(r).body[0].expression;return this.traverse(t,null,function(e,t){return l(i,{"@":t})},n)},"subscript-child-script_expression":function(e,t){return r(t,e.expression.value.slice(1,-1),"$[{{value}}]")},"member-child-script_expression":function(e,t){return r(t,e.expression.value.slice(1,-1),"$.{{value}}")},"member-descendant-script_expression":function(e,t){return r(t,e.expression.value.slice(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 i=e("assert"),o=e("./dict"),a=e("./parser"),s=e("./handlers"),u=function(){this.initialize.apply(this,arguments)};u.prototype.initialize=function(){this.parser=new a,this.handlers=new s},u.prototype.parse=function(e){return i.ok(r(e),"we need a path"),this.parser.parse(e)},u.prototype.parent=function(e,t){i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path");var n=this.nodes(e,t)[0];return n.path.pop(),this.value(e,n.path)},u.prototype.apply=function(e,t,n){i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path"),i.equal((0,l.default)(n),"function","fn needs to be function");var r=this.nodes(e,t).sort(function(e,t){return t.path.length-e.path.length});return r.forEach(function(t){var r=t.path.pop(),i=this.value(e,this.stringify(t.path)),o=t.value=n.call(e,i[r]);i[r]=o},this),r},u.prototype.value=function(e,t,n){if(i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path"),arguments.length>=3){var r=this.nodes(e,t).shift();if(!r)return this._vivify(e,t,n);var o=r.path.slice(-1).shift();this.parent(e,this.stringify(r.path))[o]=n}return this.query(e,this.stringify(t),1).shift()},u.prototype._vivify=function(e,t,n){var r=this;i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path");var o=this.parser.parse(t).map(function(e){return e.expression.value});return function t(n,i){var o=n.pop(),a=r.value(e,n);a||(t(n.concat(),"string"==typeof o?{}:[]),a=r.value(e,n)),a[o]=i}(o,n),this.query(e,t)[0]},u.prototype.query=function(e,t,n){return i.ok(e instanceof Object,"obj needs to be an object"),i.ok(r(t),"we need a path"),this.nodes(e,t,n).map(function(e){return e.value})},u.prototype.paths=function(e,t,n){return i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path"),this.nodes(e,t,n).map(function(e){return e.path})},u.prototype.nodes=function(e,t,n){if(i.ok(e instanceof Object,"obj needs to be an object"),i.ok(t,"we need a path"),0===n)return[];var r=this.parser.parse(t),o=this.handlers,a=[{path:["$"],value:e}],s=[];return r.length&&"root"==r[0].expression.type&&r.shift(),r.length?(r.forEach(function(e,t){if(!(s.length>=n)){var i=o.resolve(e),l=[];a.forEach(function(o){if(!(s.length>=n)){var a=i(e,o,n);t==r.length-1?s=s.concat(a||[]):l=l.concat(a||[])}}),a=l}}),n?s.slice(0,n):s):a},u.prototype.stringify=function(e){i.ok(e,"we need a path");var t="$",n={"descendant-member":"..{{value}}","child-member":".{{value}}","descendant-subscript":"..[{{value}}]","child-subscript":"[{{value}}]"};return(e=this._normalize(e)).forEach(function(e){if("root"!=e.expression.type){var r,i=[e.scope,e.operation].join("-"),o=n[i];if(r="string_literal"==e.expression.type?JSON.stringify(e.expression.value):e.expression.value,!o)throw new Error("couldn't find template "+i);t+=o.replace(/{{value}}/,r)}}),t},u.prototype._normalize=function(e){if(i.ok(e,"we need a path"),"string"==typeof e)return this.parser.parse(e);if(Array.isArray(e)&&"string"==typeof e[0]){var t=[{expression:{type:"root",value:"$"}}];return e.forEach(function(e,n){if("$"!=e||0!==n)if("string"==typeof e&&e.match("^"+o.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(Array.isArray(e)&&"object"==(0,l.default)(e[0]))return e;throw new Error("couldn't understand path "+e)},u.Handlers=s,u.Parser=a;var c=new u;c.JSONPath=u,t.exports=c},{"./dict":2,"./handlers":4,"./parser":6,assert:8}],6:[function(e,t,n){var r=e("./grammar"),i=e("../generated/parser"),o=function(){var e=new i.Parser,t=e.parseError;return e.yy.parseError=function(){e.yy.ast&&e.yy.ast.initialize(),t.apply(e,arguments)},e};o.grammar=r,t.exports=o},{"../generated/parser":1,"./grammar":3}],7:[function(e,t,n){function r(e){return String(e).match(/^[0-9]+$/)?parseInt(e):Number.isFinite(e)?parseInt(e,10):0}t.exports=function(e,t,n,i){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 i)throw new Error("step cannot be a string");var o=e.length;if(0===i)throw new Error("step cannot be zero");if(i=i?r(i):1,n=n<0?o+n:n,t=r(0===(t=t<0?o+t:t)?0:t||(i>0?0:o-1)),n=r(0===n?0:n||(i>0?o:-1)),t=i>0?Math.max(0,t):Math.min(o,t),n=i>0?Math.min(n,o):Math.max(-1,n),i>0&&n<=t)return[];if(i<0&&t<=n)return[];for(var a=[],s=t;s!=n&&!(i<0&&s<=n||i>0&&s>=n);s+=i)a.push(e[s]);return a}},{}],8:[function(e,t,n){function r(e,t){return d.isUndefined(t)?""+t:d.isNumber(t)&&!isFinite(t)?t.toString():d.isFunction(t)||d.isRegExp(t)?t.toString():t}function i(e,t){return d.isString(e)?e.length<t?e:e.slice(0,t):e}function o(e,t,n,r,i){throw new h.AssertionError({message:n,actual:e,expected:t,operator:r,stackStartFunction:i})}function a(e,t){e||o(e,!0,t,"==",h.ok)}function s(e,t){if(e===t)return!0;if(d.isBuffer(e)&&d.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 d.isDate(e)&&d.isDate(t)?e.getTime()===t.getTime():d.isRegExp(e)&&d.isRegExp(t)?e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase:d.isObject(e)||d.isObject(t)?function(e,t){if(d.isNullOrUndefined(e)||d.isNullOrUndefined(t))return!1;if(e.prototype!==t.prototype)return!1;if(d.isPrimitive(e)||d.isPrimitive(t))return e===t;var n=l(e),r=l(t);if(n&&!r||!n&&r)return!1;if(n)return e=p.call(e),t=p.call(t),s(e,t);var i,o,a=m(e),u=m(t);if(a.length!=u.length)return!1;for(a.sort(),u.sort(),o=a.length-1;o>=0;o--)if(a[o]!=u[o])return!1;for(o=a.length-1;o>=0;o--)if(i=a[o],!s(e[i],t[i]))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 i;d.isString(n)&&(r=n,n=null);try{t()}catch(e){i=e}if(r=(n&&n.name?" ("+n.name+").":".")+(r?" "+r:"."),e&&!i&&o(i,n,"Missing expected exception"+r),!e&&u(i,n)&&o(i,n,"Got unwanted exception"+r),e&&i&&n&&!u(i,n)||!e&&i)throw i}var d=e("util/"),p=Array.prototype.slice,f=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 i(JSON.stringify(e.actual,r),128)+" "+e.operator+" "+i(JSON.stringify(e.expected,r),128)}(this),this.generatedMessage=!0);var t=e.stackStartFunction||o;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var n=new Error;if(n.stack){var a=n.stack,s=t.name,l=a.indexOf("\n"+s);if(l>=0){var u=a.indexOf("\n",l+1);a=a.substring(u+1)}this.stack=a}}},d.inherits(h.AssertionError,Error),h.fail=o,h.ok=a,h.equal=function(e,t,n){e!=t&&o(e,t,n,"==",h.equal)},h.notEqual=function(e,t,n){e==t&&o(e,t,n,"!=",h.notEqual)},h.deepEqual=function(e,t,n){s(e,t)||o(e,t,n,"deepEqual",h.deepEqual)},h.notDeepEqual=function(e,t,n){s(e,t)&&o(e,t,n,"notDeepEqual",h.notDeepEqual)},h.strictEqual=function(e,t,n){e!==t&&o(e,t,n,"===",h.strictEqual)},h.notStrictEqual=function(e,t,n){e===t&&o(e,t,n,"!==",h.notStrictEqual)},h.throws=function(e,t,n){c.apply(this,[!0].concat(p.call(arguments)))},h.doesNotThrow=function(e,t){c.apply(this,[!1].concat(p.call(arguments)))},h.ifError=function(e){if(e)throw e};var m=Object.keys||function(e){var t=[];for(var n in e)f.call(e,n)&&t.push(n);return t}},{"util/":11}],9:[function(e,t,n){"function"==typeof Object.create?t.exports=function(e,t){e.super_=t,e.prototype=Object.create(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,l.default)(e)&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},{}],11:[function(e,n,r){(function(t,n){function i(e,t){var n={seen:[],stylize:a};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),p(t)?n.showHidden=t:t&&r._extend(n,t),g(n.showHidden)&&(n.showHidden=!1),g(n.depth)&&(n.depth=2),g(n.colors)&&(n.colors=!1),g(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=o),s(n,e,n.depth)}function o(e,t){var n=i.styles[t];return n?"["+i.colors[n][0]+"m"+e+"["+i.colors[n][1]+"m":e}function a(e,t){return e}function s(e,t,n){if(e.customInspect&&t&&w(t.inspect)&&t.inspect!==r.inspect&&(!t.constructor||t.constructor.prototype!==t)){var i=t.inspect(n,e);return m(i)||(i=s(e,i,n)),i}var o=function(e,t){if(g(t))return e.stylize("undefined","undefined");if(m(t)){var n="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(n,"string")}return h(t)?e.stylize(""+t,"number"):p(t)?e.stylize(""+t,"boolean"):f(t)?e.stylize("null","null"):void 0}(e,t);if(o)return o;var a=Object.keys(t),l=function(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),_(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return u(t);if(0===a.length){if(w(t)){var y=t.name?": "+t.name:"";return e.stylize("[Function"+y+"]","special")}if(v(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(b(t))return e.stylize(Date.prototype.toString.call(t),"date");if(_(t))return u(t)}var S,E="",T=!1,k=["{","}"];return d(t)&&(T=!0,k=["[","]"]),w(t)&&(E=" [Function"+(t.name?": "+t.name:"")+"]"),v(t)&&(E=" "+RegExp.prototype.toString.call(t)),b(t)&&(E=" "+Date.prototype.toUTCString.call(t)),_(t)&&(E=" "+u(t)),0!==a.length||T&&0!=t.length?n<0?v(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),S=T?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)x(t,String(a))?o.push(c(e,t,n,r,String(a),!0)):o.push("");return i.forEach(function(i){i.match(/^\d+$/)||o.push(c(e,t,n,r,i,!0))}),o}(e,t,n,l,a):a.map(function(r){return c(e,t,n,l,r,T)}),e.seen.pop(),function(e,t,n){return e.reduce(function(e,t){return t.indexOf("\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]}(S,E,k)):k[0]+E+k[1]}function u(e){return"["+Error.prototype.toString.call(e)+"]"}function c(e,t,n,r,i,o){var a,l,u;if((u=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?l=u.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):u.set&&(l=e.stylize("[Setter]","special")),x(r,i)||(a="["+i+"]"),l||(e.seen.indexOf(u.value)<0?(l=f(n)?s(e,u.value,null):s(e,u.value,n-1)).indexOf("\n")>-1&&(l=o?l.split("\n").map(function(e){return"  "+e}).join("\n").substr(2):"\n"+l.split("\n").map(function(e){return"   "+e}).join("\n")):l=e.stylize("[Circular]","special")),g(a)){if(o&&i.match(/^\d+$/))return l;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+l}function d(e){return Array.isArray(e)}function p(e){return"boolean"==typeof e}function f(e){return null===e}function h(e){return"number"==typeof e}function m(e){return"string"==typeof e}function g(e){return void 0===e}function v(e){return y(e)&&"[object RegExp]"===S(e)}function y(e){return"object"==(0,l.default)(e)&&null!==e}function b(e){return y(e)&&"[object Date]"===S(e)}function _(e){return y(e)&&("[object Error]"===S(e)||e instanceof Error)}function w(e){return"function"==typeof e}function S(e){return Object.prototype.toString.call(e)}function x(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var E=/%[sdj%]/g;r.format=function(e){if(!m(e)){for(var t=[],n=0;n<arguments.length;n++)t.push(i(arguments[n]));return t.join(" ")}n=1;for(var r=arguments,o=r.length,a=String(e).replace(E,function(e){if("%%"===e)return"%";if(n>=o)return e;switch(e){case"%s":return String(r[n++]);case"%d":return Number(r[n++]);case"%j":try{return JSON.stringify(r[n++])}catch(e){return"[Circular]"}default:return e}}),s=r[n];n<o;s=r[++n])f(s)||!y(s)?a+=" "+s:a+=" "+i(s);return a},r.deprecate=function(e,i){if(g(n.process))return function(){return r.deprecate(e,i).apply(this,arguments)};if(!0===t.noDeprecation)return e;var o=!1;return function(){if(!o){if(t.throwDeprecation)throw new Error(i);t.traceDeprecation,o=!0}return e.apply(this,arguments)}};var T,k={};r.debuglog=function(e){if(g(T)&&(T=t.env.NODE_DEBUG||""),e=e.toUpperCase(),!k[e])if(new RegExp("\\b"+e+"\\b","i").test(T)){t.pid;k[e]=function(){r.format.apply(r,arguments)}}else k[e]=function(){};return k[e]},r.inspect=i,i.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]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},r.isArray=d,r.isBoolean=p,r.isNull=f,r.isNullOrUndefined=function(e){return null==e},r.isNumber=h,r.isString=m,r.isSymbol=function(e){return"symbol"==(0,l.default)(e)},r.isUndefined=g,r.isRegExp=v,r.isObject=y,r.isDate=b,r.isError=_,r.isFunction=w,r.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==(0,l.default)(e)||void 0===e},r.isBuffer=e("./support/isBuffer");r.log=function(){},r.inherits=e("inherits"),r._extend=function(e,t){if(!t||!y(t))return e;for(var n=Object.keys(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 i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n--;n)e.unshift("..");return e}function r(e,t){if(e.filter)return e.filter(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="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var a=o>=0?arguments[o]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(n=a+"/"+n,i="/"===a.charAt(0))}return(i?"/":"")+(n=t(r(n.split("/"),function(e){return!!e}),!i).join("/"))||"."},n.normalize=function(e){var o=n.isAbsolute(e),a="/"===i(e,-1);return(e=t(r(e.split("/"),function(e){return!!e}),!o).join("/"))||o||(e="."),e&&a&&(e+="/"),(o?"/":"")+e},n.isAbsolute=function(e){return"/"===e.charAt(0)},n.join=function(){var e=Array.prototype.slice.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?[]:e.slice(t,n-t+1)}e=n.resolve(e).substr(1),t=n.resolve(t).substr(1);for(var i=r(e.split("/")),o=r(t.split("/")),a=Math.min(i.length,o.length),s=a,l=0;l<a;l++)if(i[l]!==o[l]){s=l;break}var u=[];for(l=s;l<i.length;l++)u.push("..");return(u=u.concat(o.slice(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,i=!0,o=e.length-1;o>=1;--o)if(47===(t=e.charCodeAt(o))){if(!i){r=o;break}}else i=!1;return-1===r?n?"/":".":n&&1===r?"/":e.slice(0,r)},n.basename=function(e,t){var n=function(e){"string"!=typeof e&&(e+="");var t,n=0,r=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){n=t+1;break}}else-1===r&&(i=!1,r=t+1);return-1===r?"":e.slice(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,i=!0,o=0,a=e.length-1;a>=0;--a){var s=e.charCodeAt(a);if(47!==s)-1===r&&(i=!1,r=a+1),46===s?-1===t?t=a:1!==o&&(o=1):-1!==t&&(o=-1);else if(!i){n=a+1;break}}return-1===t||-1===r||0===o||1===o&&t===r-1&&t===n+1?"":e.slice(t,r)};var i="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 i(){throw new Error("clearTimeout has not been defined")}function o(e){if(c===setTimeout)return setTimeout(e,0);if((c===r||!c)&&setTimeout)return c=setTimeout,setTimeout(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&&f&&(m=!1,f.length?h=f.concat(h):g=-1,h.length&&s())}function s(){if(!m){var e=o(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++g<t;)f&&f[g].run();g=-1,t=h.length}f=null,m=!1,function(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}(e)}}function l(e,t){this.fun=e,this.array=t}function u(){}var c,d,p=t.exports={};!function(){try{c="function"==typeof setTimeout?setTimeout:r}catch(e){c=r}try{d="function"==typeof clearTimeout?clearTimeout:i}catch(e){d=i}}();var f,h=[],m=!1,g=-1;p.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||o(s)},l.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=u,p.addListener=u,p.once=u,p.off=u,p.removeListener=u,p.removeAllListeners=u,p.emit=u,p.prependListener=u,p.prependOnceListener=u,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},{}],15:[function(e,t,n){var r=e("escodegen").generate;t.exports=function(e,t){t||(t={});var n={},i=function e(i,o){if("Literal"===i.type)return i.value;if("UnaryExpression"===i.type){var a=e(i.argument);return"+"===i.operator?+a:"-"===i.operator?-a:"~"===i.operator?~a:"!"===i.operator?!a:n}if("ArrayExpression"===i.type){for(var s=[],l=0,u=i.elements.length;l<u;l++){if((v=e(i.elements[l]))===n)return n;s.push(v)}return s}if("ObjectExpression"===i.type){var c={};for(l=0;l<i.properties.length;l++){var d=null===(y=i.properties[l]).value?y.value:e(y.value);if(d===n)return n;c[y.key.value||y.key.name]=d}return c}if("BinaryExpression"===i.type||"LogicalExpression"===i.type){if((u=e(i.left))===n)return n;var p=e(i.right);if(p===n)return n;var f=i.operator;return"=="===f?u==p:"==="===f?u===p:"!="===f?u!=p:"!=="===f?u!==p:"+"===f?u+p:"-"===f?u-p:"*"===f?u*p:"/"===f?u/p:"%"===f?u%p:"<"===f?u<p:"<="===f?u<=p:">"===f?u>p:">="===f?u>=p:"|"===f?u|p:"&"===f?u&p:"^"===f?u^p:"&&"===f?u&&p:"||"===f?u||p:n}if("Identifier"===i.type)return{}.hasOwnProperty.call(t,i.name)?t[i.name]:n;if("ThisExpression"===i.type)return{}.hasOwnProperty.call(t,"this")?t.this:n;if("CallExpression"===i.type){var h=e(i.callee);if(h===n)return n;if("function"!=typeof h)return n;var m=i.callee.object?e(i.callee.object):n;m===n&&(m=null);var g=[];for(l=0,u=i.arguments.length;l<u;l++){var v;if((v=e(i.arguments[l]))===n)return n;g.push(v)}return h.apply(m,g)}var y;if("MemberExpression"===i.type)return(c=e(i.object))===n||"function"==typeof c?n:"Identifier"===i.property.type?c[i.property.name]:(y=e(i.property))===n?n:c[y];if("ConditionalExpression"===i.type)return(a=e(i.test))===n?n:e(a?i.consequent:i.alternate);if("ExpressionStatement"===i.type)return(a=e(i.expression))===n?n:a;if("ReturnStatement"===i.type)return e(i.argument);if("FunctionExpression"===i.type){var b=i.body.body,_={};for(Object.keys(t).forEach(function(e){_[e]=t[e]}),l=0;l<i.params.length;l++){var w=i.params[l];if("Identifier"!=w.type)return n;t[w.name]=null}for(var l in b)if(e(b[l])===n)return n;t=_;var S=Object.keys(t),x=S.map(function(e){return t[e]});return Function(S.join(", "),"return "+r(i)).apply(null,x)}if("TemplateLiteral"===i.type){var E="";for(l=0;l<i.expressions.length;l++)E+=e(i.quasis[l]),E+=e(i.expressions[l]);return E+=e(i.quasis[l])}if("TaggedTemplateExpression"===i.type){var T=e(i.tag),k=i.quasi,O=k.quasis.map(e),C=k.expressions.map(e);return T.apply(null,[O].concat(C))}return"TemplateElement"===i.type?i.value.cooked:n}(e);return i===n?void 0:i}},{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,l.default)(window))&&(n=window)}e.exports=n},function(e,t,n){function r(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}return n}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){f(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function m(e){return(m="function"==typeof Symbol&&"symbol"==(0,l.default)(Symbol.iterator)?function(e){return(0,l.default)(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":(0,l.default)(e)})(e)}function g(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function v(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function y(e,t,n,r,i,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}n.r(t);var b=n(0),_=n.n(b),w=function(){var e,t=(e=s.default.mark(function e(t){var n,r,i,o;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.domain,r=t.stateHandle,(null!=(i=t.version)?i:"").replace(/[^0-9a-zA-Z._-]/,"")===i&&i){e.next=4;break}throw new Error("invalid version supplied - version is required and uses semver syntax");case 4:return o="".concat(n,"/idp/idx/introspect"),e.abrupt("return",_()(o,{method:"POST",headers:{"content-type":"application/ion+json; okta-version=".concat(i),accept:"application/ion+json; okta-version=".concat(i)},body:JSON.stringify({stateToken:r})}).then(function(e){return e.ok?e.json():e.json().then(function(e){return Promise.reject(e)})}));case 6:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(i,o){function a(e){r(l,i,o,a,s,"next",e)}function s(e){r(l,i,o,a,s,"throw",e)}var l=e.apply(t,n);a(void 0)})});return function(e){return t.apply(this,arguments)}}(),S=function(e){return!1!==e.mutable},x=function(e){var t={},n=[],r={};if(!e.value)return n.push(e),{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r};var i=!0,o=!1,a=void 0;try{for(var s,l=e.value[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u,c,d=s.value;S(d)?(n.push(d),null!==(u=d.value)&&void 0!==u&&u&&(t[d.name]=d.value)):r[d.name]=null!==(c=d.value)&&void 0!==c?c:""}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return{defaultParamsForAction:t,neededParamsForAction:n,immutableParamsForAction:r}},E=function(e){var t=e.actionDefinition,n=e.defaultParamsForAction,r=void 0===n?{}:n,i=e.immutableParamsForAction,a=void 0===i?{}:i,l=t.href;return function(){var e,n=(e=s.default.mark(function e(n){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",_()(l,{method:t.method,headers:{"content-type":"application/json",accepts:t.accepts||"application/ion+json"},body:JSON.stringify(o({},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 Promise.reject(I(e))}):t.then(function(e){return Promise.reject(e)})}).then(function(e){return I(e)}));case 1:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,i){function o(e){u(s,r,i,o,a,"next",e)}function a(e){u(s,r,i,o,a,"throw",e)}var s=e.apply(t,n);o(void 0)})});return function(e){return n.apply(this,arguments)}}()},T=function(e){var t=E,n=function(e){e=Array.isArray(e)?e:[e];var t=[],n={},r={},i=!0,o=!1,a=void 0;try{for(var s,l=e[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value,c=x(u),d=c.defaultParamsForAction,p=c.neededParamsForAction,f=c.immutableParamsForAction;t.push(p),n[u.name]=d,r[u.name]=f}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return{defaultParams:n,neededParams:t,immutableParams:r}}(e),r=n.defaultParams,i=n.neededParams,o=n.immutableParams,a=t({actionDefinition:e,defaultParamsForAction:r[e.name],immutableParamsForAction:o[e.name]});return a.neededParams=i,a},k=n(1),O=n.n(k),C=Object.fromEntries(["remediation","context"].map(function(e){return[e,!0]})),A=function(e){var t;return p({},e,{action:(t=[e],Object.fromEntries(t.map(function(e){return[e.name,T(e)]})))[e.name]})},P=function(e){var t,n=(null===(t=e.remediation)||void 0===t?void 0:t.value)||[];n.forEach(function(t){return function e(t,n){Object.keys(n).forEach(function(r){if("relatesTo"===r){var i=Array.isArray(n[r])?n[r][0]:n[r];if("string"==typeof i){var o=O.a.query(t,i)[0];if(o)return void(n[r]=o)}}Array.isArray(n[r])&&n[r].forEach(function(n){return e(t,n)})})}(e,t)});var r=n.map(A),i=function(e){var t={},n={};return Object.keys(e).filter(function(e){return!C[e]}).forEach(function(r){if("object"===m(e[r])&&e[r])if(e[r].rel)t[e[r].name]=T(e[r]);else{var i=e[r],o=i.value,a=i.type,s=h(i,["value","type"]);n[r]=p({type:a},s),"object"===a?(n[r].value={},Object.entries(o).forEach(function(e){var i=c(e,2),o=i[0],a=i[1];a.rel?t["".concat(r,"-").concat(o.name||o)]=T(a):n[r].value[o]=a})):n[r].value=o}else n[r]=e[r]}),{context:n,actions:t}}(e);return{remediations:r,context:i.context,actions:i.actions}},I=function(e){var t=e,n=P(e),r=n.remediations,i=n.context,o=n.actions,a=v(r);return{proceed:function(){var e,t=(e=s.default.mark(function e(t){var n,i,o=arguments;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:{},i=r.find(function(e){return e.name===t})){e.next=4;break}return e.abrupt("return",Promise.reject("Unknown remediation choice: [".concat(t,"]")));case 4:return e.abrupt("return",i.action(n));case 5:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,i){function o(e){g(s,r,i,o,a,"next",e)}function a(e){g(s,r,i,o,a,"throw",e)}var s=e.apply(t,n);o(void 0)})});return function(e){return t.apply(this,arguments)}}(),neededToProceed:a,actions:o,context:i,rawIdxState:t}},R={makeIdxState:I},N=function(e){switch(e){case"1.0.0":return R;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."))}},M=function(){var e,t=(e=s.default.mark(function e(t){var n,r,i,o,a,l,u;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.domain,r=t.stateHandle,i=t.version,r){e.next=3;break}return e.abrupt("return",Promise.reject({error:"stateHandle is required"}));case 3:if(n){e.next=5;break}return e.abrupt("return",Promise.reject({error:"domain is required"}));case 5:if(i){e.next=7;break}return e.abrupt("return",Promise.reject({error:"version is required"}));case 7:return e.prev=7,o=N(i),a=o.makeIdxState,e.next=11,w({domain:n,stateHandle:r,version:i}).catch(function(e){return Promise.reject({error:"introspect call failed",details:e})});case 11:return l=e.sent,u=a(l),e.abrupt("return",u);case 16:return e.prev=16,e.t0=e.catch(7),e.abrupt("return",Promise.reject({error:e.t0}));case 19:case"end":return e.stop()}},e,null,[[7,16]])}),function(){var t=this,n=arguments;return new Promise(function(r,i){function o(e){y(s,r,i,o,a,"next",e)}function a(e){y(s,r,i,o,a,"throw",e)}var s=e.apply(t,n);o(void 0)})});return function(e){return t.apply(this,arguments)}}();t.default={start:M,LATEST_SUPPORTED_IDX_API_VERSION:"1.0.0"}}])})}).call(t,n(183)(e))}])});
//# sourceMappingURL=okta-sign-in-no-jquery.js.map