UNPKG

@okta/okta-signin-widget

Version:
91 lines • 1.01 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("handlebars/dist/handlebars.runtime"),require("q"),require("underscore"),require("u2f-api-polyfill")):"function"==typeof define&&define.amd?define(["handlebars.runtime","q","underscore","u2f-api-polyfill"],t):"object"==typeof exports?exports.OktaSignIn=t(require("handlebars/dist/handlebars.runtime"),require("q"),require("underscore"),require("u2f-api-polyfill")):e.OktaSignIn=t(e.handlebars,e.q,e.underscore,e["u2f-api-polyfill"])}("undefined"!=typeof self?self:this,function(e,t,n,r){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=88)}([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(2)},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(2)},function(e,t){e.exports=n(90)},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(35)},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"}),x=b.extend({_type:"noneOf"}),S={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 x(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__:S[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},{})}}),C={Model:T,Collection:k};t.default=C,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 S.default.isArray(e)?a(s(e)):{}}function a(e){return l(e)?S.default.reduce(e,function(e,t,n){return e[p(n)]=t.title,e},{}):{}}function s(e){return S.default.all(e,x.default.isPlainObject)?l(e)?e:d(e):u(e)}function l(e){return S.default.isArray(e)&&S.default.all(e,function(e){return S.default.has(e,"const")&&S.default.has(e,"title")})}function u(e){return S.default.map(e,function(e){return{const:e,title:c(e)}})}function c(e){return S.default.isObject(e)?JSON.stringify(e):S.default.isNumber(e)?e+"":e}function d(e){var t=S.default.partial(S.default.has,S.default,k);return S.default.all(e,t)?S.default.chain(e).filter(function(e){return x.default.isPlainObject(e)&&S.default.has(e,k)}).map(function(e){return{const:e,title:e[k]}}).value():u(e)}function p(e){return"".concat(C).concat(e)}function f(e){var t=S.default.findIndex(this.options.params.enumOneOf,function(t){return S.default.isObject(e)?S.default.isEqual(t.const,e):t.const===e});return t>-1?p(t):e}function h(e){if(!S.default.isString(e)||0!==e.indexOf(C))return e;var t=e.replace(C,""),n=this.options.params&&S.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return S.default.has(n,"const")?n.const:n}function m(e){return S.default.map(e,h.bind(this))}function g(e){return S.default.map(e,f.bind(this))}function v(e){return S.default.isString(e)&&""!==x.default.trim(e)}function y(e){return S.default.isNumber(e)||S.default.isNumber(T.default.parseFloat(x.default.trim(e)))}function b(e){var t=S.default.isNumber(e)?e:T.default.parseInt(x.default.trim(e));return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}function _(e){if(S.default.isObject(e)&&!S.default.isArray(e))return!0;var t=T.default.parseObject(x.default.trim(e));return S.default.isObject(t)&&!S.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 x=r(n(3)),S=r(n(0)),E=r(n(13)),T=r(n(4)),k="name",C="_enum_",O={getEnumInputOptions:i,getDropdownOptions:o,convertToOneOf:s,isConstraintValueMatchType:w};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){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(44)},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)),x=r(n(1)),S=r(n(58)),E=r(n(59)),T=r(n(25)),k=r(n(10)),C=r(n(26)),O=r(n(67)),A=r(n(72)),N=r(n(73)),P=r(n(75)),I=r(n(28)),R=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 U={Backbone:D.default,$:b.default,_:_.default,Handlebars:y.default,loc:g.default.localize,createButton:d.default.create,createCallout:L.default.create,registerInput:C.default.register,Model:s.default,BaseModel:o.default,Collection:i.default,FrameworkView:F.default,View:x.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:S.default},forms:{helpers:{FormUtil:k.default,SchemaFormFactory:O.default},components:{Toolbar:T.default},inputs:{TextBox:M.default,PasswordBox:N.default,CheckBox:A.default,Radio:P.default,Select:I.default,InputGroup:R.default}}},models:{BaseSchema:a.default,SchemaProperty:l.default}}};U.registerInput("text",M.default),U.registerInput("password",N.default),U.registerInput("checkbox",A.default),U.registerInput("radio",P.default),U.registerInput("select",I.default),U.registerInput("group",R.default);var j=U;t.default=j,e.exports=t.default},function(e,t){e.exports=n(34)},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(26)},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,x={submit:function(e){e.preventDefault(),this.__save()}};s.default.each(["click","dblclick","mousedown","mouseup"],function(e){x[e+" .o-form-input"]=i});var S=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,x),s.default.defaults(this.attributes,S(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(t,n){t.exports=e},function(e,t,n){"use strict";var r,i;r=[n(0),n(4),n(27),n(31)],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(81)),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,n){"use strict";var r,i;r=[n(0),n(17),n(6)],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){"use strict";var r,i;r=[n(0),n(20),n(44)],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(14)),o=r(n(51)),a=r(n(52)),s=n(50),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,n){"use strict";var r,i;r=[n(0),n(101)],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,n){e.exports=t},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(2));r=[n(0),n(6)],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(2)),o=n(0),a=r(n(5)),s=r(n(196)),l=r(n(51)),u=r(n(23)),c=n(83),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){"use strict";var r,i,o=n(1),a=o(n(9)),s=o(n(2));r=[n(0),n(43),n(7),n(6),n(20),n(16),n(107)],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){"use strict";var r,i;r=[n(0),n(6)],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;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(23)),o=n(28),a=i.default.extend({links:function(){return(0,o.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=a},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,n){"use strict";var r,i,o=n(1),a=o(n(9)),s=o(n(2));r=[n(0),n(6)],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(2));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){"use strict";var r=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(0),o=r(n(82)),a=n(28),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(23)),o=n(28),a=i.default.extend({links:function(){return(0,o.getSwitchAuthenticatorLink)(this.options.appState)}});t.default=a},function(e,t,n){"use strict";var r,i;r=[n(0),n(12),n(48)],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){"use strict";var r,i,o=n(1),a=o(n(92));r=[n(35),n(34),n(12),n(93),n(94),n(17),n(42),n(20)],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(12)],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(18),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){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(12),n(6)],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){e.exports=n},function(e,t,n){var r,i;/*!
 * jQuery JavaScript Library v1.12.4
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2017-10-25T15:48Z
 */
!function(t,n){"object"==typeof e&&"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,o){function a(e){var t=!!e&&"length"in e&&e.length,n=ge.type(e);return"function"!==n&&!ge.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function s(e,t,n){if(ge.isFunction(t))return ge.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return ge.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(ke.test(t))return ge.filter(t,e,n);t=ge.filter(t,e)}return ge.grep(e,function(e){return ge.inArray(e,t)>-1!==n})}function l(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}function u(e){var t={};return ge.each(e.match(Pe)||[],function(e,n){t[n]=!0}),t}function c(){se.addEventListener?(se.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d)):(se.detachEvent("onreadystatechange",d),n.detachEvent("onload",d))}function d(){(se.addEventListener||"load"===n.event.type||"complete"===se.readyState)&&(c(),ge.ready())}function p(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(De,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Le.test(n)?ge.parseJSON(n):n)}catch(e){}ge.data(e,t,n)}else n=void 0}return n}function f(e){var t;for(t in e)if(("data"!==t||!ge.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function h(e,t,n,r){if(Me(e)){var i,o,a=ge.expando,s=e.nodeType,l=s?ge.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||void 0!==n||"string"!=typeof t)return u||(u=s?e[a]=ae.pop()||ge.guid++:a),l[u]||(l[u]=s?{}:{toJSON:ge.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=ge.extend(l[u],t):l[u].data=ge.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[ge.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[ge.camelCase(t)]):i=o,i}}function m(e,t,n){if(Me(e)){var r,i,o=e.nodeType,a=o?ge.cache:e,s=o?e[ge.expando]:ge.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){ge.isArray(t)?t=t.concat(ge.map(t,ge.camelCase)):t in r?t=[t]:(t=ge.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!f(r):!ge.isEmptyObject(r))return}(n||(delete a[s].data,f(a[s])))&&(o?ge.cleanData([e],!0):me.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function g(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return ge.css(e,t,"")},l=s(),u=n&&n[3]||(ge.cssNumber[t]?"":"px"),c=(ge.cssNumber[t]||"px"!==u&&+l)&&Ue.exec(ge.css(e,t));if(c&&c[3]!==u){u=u||c[3],n=n||[],c=+l||1;do{o=o||".5",c/=o,ge.style(e,t,c+u)}while(o!==(o=s()/l)&&1!==o&&--a)}return n&&(c=+c||+l||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=i)),i}function v(e){var t=We.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function y(e,t){var n,r,i=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||ge.nodeName(r,t)?o.push(r):ge.merge(o,y(r,t));return void 0===t||t&&ge.nodeName(e,t)?ge.merge([e],o):o}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)ge._data(n,"globalEval",!t||ge._data(t[r],"globalEval"))}function _(e){Ve.test(e.type)&&(e.defaultChecked=e.checked)}function w(e,t,n,r,i){for(var o,a,s,l,u,c,d,p=e.length,f=v(t),h=[],m=0;m<p;m++)if((a=e[m])||0===a)if("object"===ge.type(a))ge.merge(h,a.nodeType?[a]:a);else if(Ke.test(a)){for(l=l||f.appendChild(t.createElement("div")),u=(He.exec(a)||["",""])[1].toLowerCase(),d=Ge[u]||Ge._default,l.innerHTML=d[1]+ge.htmlPrefilter(a)+d[2],o=d[0];o--;)l=l.lastChild;if(!me.leadingWhitespace&&ze.test(a)&&h.push(t.createTextNode(ze.exec(a)[0])),!me.tbody)for(a="table"!==u||Ye.test(a)?"<table>"!==d[1]||Ye.test(a)?0:l:l.firstChild,o=a&&a.childNodes.length;o--;)ge.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(ge.merge(h,l.childNodes),l.textContent="";l.firstChild;)l.removeChild(l.firstChild);l=f.lastChild}else h.push(t.createTextNode(a));for(l&&f.removeChild(l),me.appendChecked||ge.grep(y(h,"input"),_),m=0;a=h[m++];)if(r&&ge.inArray(a,r)>-1)i&&i.push(a);else if(s=ge.contains(a.ownerDocument,a),l=y(f.appendChild(a),"script"),s&&b(l),n)for(o=0;a=l[o++];)$e.test(a.type||"")&&n.push(a);return l=null,f}function x(){return!0}function S(){return!1}function E(){try{return se.activeElement}catch(e){}}function T(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)T(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=S;else if(!i)return e;return 1===o&&(a=i,i=function(e){return ge().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=ge.guid++)),e.each(function(){ge.event.add(this,t,i,r,n)})}function k(e,t){return ge.nodeName(e,"table")&&ge.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==ge.find.attr(e,"type"))+"/"+e.type,e}function O(e){var t=at.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function A(e,t){if(1===t.nodeType&&ge.hasData(e)){var n,r,i,o=ge._data(e),a=ge._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)ge.event.add(t,n,s[n][r])}a.data&&(a.data=ge.extend({},a.data))}}function N(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!me.noCloneEvent&&t[ge.expando]){i=ge._data(t);for(r in i.events)ge.removeEvent(t,r,i.handle);t.removeAttribute(ge.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,O(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),me.html5Clone&&e.innerHTML&&!ge.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Ve.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function P(e,t,n,r){t=ue.apply([],t);var i,o,a,s,l,u,c=0,d=e.length,p=d-1,f=t[0],h=ge.isFunction(f);if(h||d>1&&"string"==typeof f&&!me.checkClone&&ot.test(f))return e.each(function(i){var o=e.eq(i);h&&(t[0]=f.call(this,i,o.html())),P(o,t,n,r)});if(d&&(u=w(t,e[0].ownerDocument,!1,e,r),i=u.firstChild,1===u.childNodes.length&&(u=i),i||r)){for(s=ge.map(y(u,"script"),C),a=s.length;c<d;c++)o=u,c!==p&&(o=ge.clone(o,!0,!0),a&&ge.merge(s,y(o,"script"))),n.call(e[c],o,c);if(a)for(l=s[s.length-1].ownerDocument,ge.map(s,O),c=0;c<a;c++)o=s[c],$e.test(o.type||"")&&!ge._data(o,"globalEval")&&ge.contains(l,o)&&(o.src?ge._evalUrl&&ge._evalUrl(o.src):ge.globalEval((o.text||o.textContent||o.innerHTML||"").replace(st,"")));u=i=null}return e}function I(e,t,n){for(var r,i=t?ge.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||ge.cleanData(y(r)),r.parentNode&&(n&&ge.contains(r.ownerDocument,r)&&b(y(r,"script")),r.parentNode.removeChild(r));return e}function R(e,t){var n=ge(t.createElement(e)).appendTo(t.body),r=ge.css(n[0],"display");return n.detach(),r}function M(e){var t=se,n=dt[e];return n||(n=R(e,t),"none"!==n&&n||(ct=(ct||ge("<iframe frameborder='0' width='0' height='0'></iframe>")).appendTo(t.documentElement),t=(ct[0].contentWindow||ct[0].contentDocument).document,t.write(),t.close(),n=R(e,t),ct.detach()),dt[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function D(e){if(e in kt)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Tt.length;n--;)if((e=Tt[n]+t)in kt)return e}function F(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(o[a]=ge._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Be(r)&&(o[a]=ge._data(r,"olddisplay",M(r.nodeName)))):(i=Be(r),(n&&"none"!==n||!i)&&ge._data(r,"olddisplay",i?n:ge.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function U(e,t,n){var r=xt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function j(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=ge.css(e,n+je[o],!0,i)),r?("content"===n&&(a-=ge.css(e,"padding"+je[o],!0,i)),"margin"!==n&&(a-=ge.css(e,"border"+je[o]+"Width",!0,i))):(a+=ge.css(e,"padding"+je[o],!0,i),"padding"!==n&&(a+=ge.css(e,"border"+je[o]+"Width",!0,i)));return a}function B(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=gt(e),a=me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(i=vt(e,t,o),(i<0||null==i)&&(i=e.style[t]),ft.test(i))return i;r=a&&(me.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+j(e,t,n||(a?"border":"content"),r,o)+"px"}function q(e,t,n,r,i){return new q.prototype.init(e,t,n,r,i)}function V(){return n.setTimeout(function(){Ct=void 0}),Ct=ge.now()}function H(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=je[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function $(e,t,n){for(var r,i=(G.tweeners[t]||[]).concat(G.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function z(e,t,n){var r,i,o,a,s,l,u,c=this,d={},p=e.style,f=e.nodeType&&Be(e),h=ge._data(e,"fxshow");n.queue||(s=ge._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,c.always(function(){c.always(function(){s.unqueued--,ge.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],u=ge.css(e,"display"),"inline"===("none"===u?ge._data(e,"olddisplay")||M(e.nodeName):u)&&"none"===ge.css(e,"float")&&(me.inlineBlockNeedsLayout&&"inline"!==M(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",me.shrinkWrapBlocks()||c.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],At.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(f?"hide":"show")){if("show"!==i||!h||void 0===h[r])continue;f=!0}d[r]=h&&h[r]||ge.style(e,r)}else u=void 0;if(ge.isEmptyObject(d))"inline"===("none"===u?M(e.nodeName):u)&&(p.display=u);else{h?"hidden"in h&&(f=h.hidden):h=ge._data(e,"fxshow",{}),o&&(h.hidden=!f),f?ge(e).show():c.done(function(){ge(e).hide()}),c.done(function(){var t;ge._removeData(e,"fxshow");for(t in d)ge.style(e,t,d[t])});for(r in d)a=$(f?h[r]:0,r,c),r in h||(h[r]=a.start,f&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function W(e,t){var n,r,i,o,a;for(n in e)if(r=ge.camelCase(n),i=t[r],o=e[n],ge.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=ge.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function G(e,t,n){var r,i,o=0,a=G.prefilters.length,s=ge.Deferred().always(function(){delete l.elem}),l=function(){if(i)return!1;for(var t=Ct||V(),n=Math.max(0,u.startTime+u.duration-t),r=n/u.duration||0,o=1-r,a=0,l=u.tweens.length;a<l;a++)u.tweens[a].run(o);return s.notifyWith(e,[u,o,n]),o<1&&l?n:(s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:ge.extend({},t),opts:ge.extend(!0,{specialEasing:{},easing:ge.easing._default},n),originalProperties:t,originalOptions:n,startTime:Ct||V(),duration:n.duration,tweens:[],createTween:function(t,n){var r=ge.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(W(c,u.opts.specialEasing);o<a;o++)if(r=G.prefilters[o].call(u,e,c,u.opts))return ge.isFunction(r.stop)&&(ge._queueHooks(u.elem,u.opts.queue).stop=ge.proxy(r.stop,r)),r;return ge.map(c,$,u),ge.isFunction(u.opts.start)&&u.opts.start.call(e,u),ge.fx.timer(ge.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function K(e){return ge.attr(e,"class")||""}function Y(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Pe)||[];if(ge.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function J(e,t,n,r){function i(s){var l;return o[s]=!0,ge.each(e[s]||[],function(e,s){var u=s(t,n,r);return"string"!=typeof u||a||o[u]?a?!(l=u):void 0:(t.dataTypes.unshift(u),i(u),!1)}),l}var o={},a=e===en;return i(t.dataTypes[0])||!o["*"]&&i("*")}function Q(e,t){var n,r,i=ge.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&ge.extend(!0,e,n),e}function X(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function Z(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if(s=i.split(" "),s[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function ee(e){return e.style&&e.style.display||ge.css(e,"display")}function te(e){if(!ge.contains(e.ownerDocument||se,e))return!0;for(;e&&1===e.nodeType;){if("none"===ee(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function ne(e,t,n,r){var i;if(ge.isArray(t))ge.each(t,function(t,i){n||an.test(e)?r(e,i):ne(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==ge.type(t))r(e,t);else for(i in t)ne(e+"["+i+"]",t[i],n,r)}function re(){try{return new n.XMLHttpRequest}catch(e){}}function ie(){try{return new n.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function oe(e){return ge.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ae=[],se=n.document,le=ae.slice,ue=ae.concat,ce=ae.push,de=ae.indexOf,pe={},fe=pe.toString,he=pe.hasOwnProperty,me={},ge=function(e,t){return new ge.fn.init(e,t)},ve=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ye=/^-ms-/,be=/-([\da-z])/gi,_e=function(e,t){return t.toUpperCase()};ge.fn=ge.prototype={jquery:"1.12.4",constructor:ge,selector:"",length:0,toArray:function(){return le.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:le.call(this)},pushStack:function(e){var t=ge.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return ge.each(this,e)},map:function(e){return this.pushStack(ge.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ae.sort,splice:ae.splice},ge.extend=ge.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||ge.isFunction(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],"__proto__"!==r&&a!==n&&(u&&n&&(ge.isPlainObject(n)||(t=ge.isArray(n)))?(t?(t=!1,o=e&&ge.isArray(e)?e:[]):o=e&&ge.isPlainObject(e)?e:{},a[r]=ge.extend(u,o,n)):void 0!==n&&(a[r]=n));return a},ge.extend({expando:"jQuery"+("1.12.4"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===ge.type(e)},isArray:Array.isArray||function(e){return"array"===ge.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!ge.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==ge.type(e)||e.nodeType||ge.isWindow(e))return!1;try{if(e.constructor&&!he.call(e,"constructor")&&!he.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!me.ownFirst)for(t in e)return he.call(e,t);for(t in e);return void 0===t||he.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?pe[fe.call(e)]||"object":typeof e},globalEval:function(e){e&&ge.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(ye,"ms-").replace(be,_e)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(a(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(ve,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(a(Object(e))?ge.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(de)return de.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r=[],i=0,o=e.length,a=!n;i<o;i++)!t(e[i],i)!==a&&r.push(e[i]);return r},map:function(e,t,n){var r,i,o=0,s=[];if(a(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return ue.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(i=e[t],t=e,e=i),ge.isFunction(e))return n=le.call(arguments,2),r=function(){return e.apply(t||this,n.concat(le.call(arguments)))},r.guid=e.guid=e.guid||ge.guid++,r},now:function(){return+new Date},support:me}),"function"==typeof Symbol&&(ge.fn[Symbol.iterator]=ae[Symbol.iterator]),ge.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){pe["[object "+t+"]"]=t.toLowerCase()});var we=/*!
 * Sizzle CSS Selector Engine v2.2.1
 * http://sizzlejs.com/
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2015-10-17
 */
function(e){function t(e,t,n,r){var i,o,a,s,u,d,p,f,h=t&&t.ownerDocument,m=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==m&&9!==m&&11!==m)return n;if(!r&&((t?t.ownerDocument||t:U)!==N&&A(t),t=t||N,I)){if(11!==m&&(d=me.exec(e)))if(i=d[1]){if(9===m){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&D(t,a)&&a.id===i)return n.push(a),n}else{if(d[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=d[3])&&b.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(b.qsa&&!H[e+" "]&&(!R||!R.test(e))){if(1!==m)h=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(ve,"\\$&"):t.setAttribute("id",s=F),p=S(e),o=p.length,u=ce.test(s)?"#"+s:"[id='"+s+"']";o--;)p[o]=u+" "+c(p[o]);f=p.join(","),h=ge.test(e)&&l(t.parentNode)||t}if(f)try{return J.apply(n,h.querySelectorAll(f)),n}catch(e){}finally{s===F&&t.removeAttribute("id")}}}return T(e.replace(oe,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>_.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[F]=!0,e}function i(e){var t=N.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)_.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||z)-(~e.sourceIndex||z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&void 0!==e.getElementsByTagName&&e}function u(){}function c(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=B++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,l,u,c=[j,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[F]||(t[F]={}),l=u[t.uniqueID]||(u[t.uniqueID]={}),(s=l[r])&&s[0]===j&&s[1]===o)return c[2]=s[2];if(l[r]=c,c[2]=e(t,n,a))return!0}}}function p(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function f(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function h(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function m(e,t,n,i,o,a){return i&&!i[F]&&(i=m(i)),o&&!o[F]&&(o=m(o,a)),r(function(r,a,s,l){var u,c,d,p=[],m=[],g=a.length,v=r||f(t||"*",s.nodeType?[s]:s,[]),y=!e||!r&&t?v:h(v,p,e,s,l),b=n?o||(r?e:g||i)?[]:a:y;if(n&&n(y,b,s,l),i)for(u=h(b,m),i(u,[],s,l),c=u.length;c--;)(d=u[c])&&(b[m[c]]=!(y[m[c]]=d));if(r){if(o||e){if(o){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(y[c]=d);o(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=o?X(r,d):p[c])>-1&&(r[u]=!(a[u]=d))}}else b=h(b===a?b.splice(g,b.length):b),o?o(null,a,b,l):J.apply(a,b)})}function g(e){for(var t,n,r,i=e.length,o=_.relative[e[0].type],a=o||_.relative[" "],s=o?1:0,l=d(function(e){return e===t},a,!0),u=d(function(e){return X(t,e)>-1},a,!0),f=[function(e,n,r){var i=!o&&(r||n!==k)||((t=n).nodeType?l(e,n,r):u(e,n,r));return t=null,i}];s<i;s++)if(n=_.relative[e[s].type])f=[d(p(f),n)];else{if(n=_.filter[e[s].type].apply(null,e[s].matches),n[F]){for(r=++s;r<i&&!_.relative[e[r].type];r++);return m(s>1&&p(f),s>1&&c(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(oe,"$1"),n,s<r&&g(e.slice(s,r)),r<i&&g(e=e.slice(r)),r<i&&c(e))}f.push(n)}return p(f)}function v(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,l,u){var c,d,p,f=0,m="0",g=r&&[],v=[],y=k,b=r||o&&_.find.TAG("*",u),w=j+=null==y?1:Math.random()||.1,x=b.length;for(u&&(k=a===N||a||u);m!==x&&null!=(c=b[m]);m++){if(o&&c){for(d=0,a||c.ownerDocument===N||(A(c),s=!I);p=e[d++];)if(p(c,a||N,s)){l.push(c);break}u&&(j=w)}i&&((c=!p&&c)&&f--,r&&g.push(c))}if(f+=m,i&&m!==f){for(d=0;p=n[d++];)p(g,v,a,s);if(r){if(f>0)for(;m--;)g[m]||v[m]||(v[m]=K.call(l));v=h(v)}J.apply(l,v),u&&!r&&v.length>0&&f+n.length>1&&t.uniqueSort(l)}return u&&(j=w,k=y),g};return i?r(a):a}var y,b,_,w,x,S,E,T,k,C,O,A,N,P,I,R,M,L,D,F="sizzle"+1*new Date,U=e.document,j=0,B=0,q=n(),V=n(),H=n(),$=function(e,t){return e===t&&(O=!0),0},z=1<<31,W={}.hasOwnProperty,G=[],K=G.pop,Y=G.push,J=G.push,Q=G.slice,X=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",re=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",ie=new RegExp(ee+"+","g"),oe=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),ae=new RegExp("^"+ee+"*,"+ee+"*"),se=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(re),ce=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+re),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},pe=/^(?:input|select|textarea|button)$/i,fe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ve=/'|\\/g,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),be=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},_e=function(){A()};try{J.apply(G=Q.call(U.childNodes),U.childNodes),G[U.childNodes.length].nodeType}catch(e){J={apply:G.length?function(e,t){Y.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}b=t.support={},x=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},A=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:U;return r!==N&&9===r.nodeType&&r.documentElement?(N=r,P=N.documentElement,I=!x(N),(n=N.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",_e,!1):n.attachEvent&&n.attachEvent("onunload",_e)),b.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),b.getElementsByTagName=i(function(e){return e.appendChild(N.createComment("")),!e.getElementsByTagName("*").length}),b.getElementsByClassName=he.test(N.getElementsByClassName),b.getById=i(function(e){return P.appendChild(e).id=F,!N.getElementsByName||!N.getElementsByName(F).length}),b.getById?(_.find.ID=function(e,t){if(void 0!==t.getElementById&&I){var n=t.getElementById(e);return n?[n]:[]}},_.filter.ID=function(e){var t=e.replace(ye,be);return function(e){return e.getAttribute("id")===t}}):(delete _.find.ID,_.filter.ID=function(e){var t=e.replace(ye,be);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),_.find.TAG=b.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):b.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},_.find.CLASS=b.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&I)return t.getElementsByClassName(e)},M=[],R=[],(b.qsa=he.test(N.querySelectorAll))&&(i(function(e){P.appendChild(e).innerHTML="<a id='"+F+"'></a><select id='"+F+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&R.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+F+"-]").length||R.push("~="),e.querySelectorAll(":checked").length||R.push(":checked"),e.querySelectorAll("a#"+F+"+*").length||R.push(".#.+[+~]")}),i(function(e){var t=N.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+ee+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(b.matchesSelector=he.test(L=P.matches||P.webkitMatchesSelector||P.mozMatchesSelector||P.oMatchesSelector||P.msMatchesSelector))&&i(function(e){b.disconnectedMatch=L.call(e,"div"),L.call(e,"[s!='']:x"),M.push("!=",re)}),R=R.length&&new RegExp(R.join("|")),M=M.length&&new RegExp(M.join("|")),t=he.test(P.compareDocumentPosition),D=t||he.test(P.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},$=t?function(e,t){if(e===t)return O=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!b.sortDetached&&t.compareDocumentPosition(e)===n?e===N||e.ownerDocument===U&&D(U,e)?-1:t===N||t.ownerDocument===U&&D(U,t)?1:C?X(C,e)-X(C,t):0:4&n?-1:1)}:function(e,t){if(e===t)return O=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],l=[t];if(!i||!o)return e===N?-1:t===N?1:i?-1:o?1:C?X(C,e)-X(C,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;s[r]===l[r];)r++;return r?a(s[r],l[r]):s[r]===U?-1:l[r]===U?1:0},N):N},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==N&&A(e),n=n.replace(le,"='$1']"),b.matchesSelector&&I&&!H[n+" "]&&(!M||!M.test(n))&&(!R||!R.test(n)))try{var r=L.call(e,n);if(r||b.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,N,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==N&&A(e),D(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==N&&A(e);var n=_.attrHandle[t.toLowerCase()],r=n&&W.call(_.attrHandle,t.toLowerCase())?n(e,t,!I):void 0;return void 0!==r?r:b.attributes||!I?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(O=!b.detectDuplicates,C=!b.sortStable&&e.slice(0),e.sort($),O){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return C=null,e},w=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=w(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=w(t);return n},_=t.selectors={cacheLength:50,createPseudo:r,match:de,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(ye,be),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,be),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=S(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(ye,be).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=q[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&q(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ie," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,p,f,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(o){for(;m;){for(p=t;p=p[m];)if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(p=g,d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===j&&u[1],b=f&&u[2],p=f&&g.childNodes[f];p=++f&&p&&p[m]||(b=f=0)||h.pop();)if(1===p.nodeType&&++b&&p===t){c[e]=[j,f,b];break}}else if(y&&(p=t,d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),u=c[e]||[],f=u[0]===j&&u[1],b=f),!1===b)for(;(p=++f&&p&&p[m]||(b=f=0)||h.pop())&&((s?p.nodeName.toLowerCase()!==v:1!==p.nodeType)||!++b||(y&&(d=p[F]||(p[F]={}),c=d[p.uniqueID]||(d[p.uniqueID]={}),c[e]=[j,b]),p!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=_.pseudos[e]||_.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[F]?o(n):o.length>1?(i=[e,e,"",n],_.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=X(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=E(e.replace(oe,"$1"));return i[F]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(ye,be),function(t){return(t.textContent||t.innerText||w(t)).indexOf(e)>-1}}),lang:r(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,be).toLowerCase(),function(t){var n;do{if(n=I?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===P},focus:function(e){return e===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!_.pseudos.empty(e)},header:function(e){return fe.test(e.nodeName)},input:function(e){return pe.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:s(function(){return[0]}),last:s(function(e,t){return[t-1]}),eq:s(function(e,t,n){return[n<0?n+t:n]}),even:s(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:s(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:s(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:s(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},_.pseudos.nth=_.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})_.pseudos[y]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(y);for(y in{submit:!0,reset:!0})_.pseudos[y]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(y);return u.prototype=_.filters=_.pseudos,_.setFilters=new u,S=t.tokenize=function(e,n){var r,i,o,a,s,l,u,c=V[e+" "];if(c)return n?0:c.slice(0);for(s=e,l=[],u=_.preFilter;s;){r&&!(i=ae.exec(s))||(i&&(s=s.slice(i[0].length)||s),l.push(o=[])),r=!1,(i=se.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(oe," ")}),s=s.slice(r.length));for(a in _.filter)!(i=de[a].exec(s))||u[a]&&!(i=u[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):V(e,l).slice(0)},E=t.compile=function(e,t){var n,r=[],i=[],o=H[e+" "];if(!o){for(t||(t=S(e)),n=t.length;n--;)o=g(t[n]),o[F]?r.push(o):i.push(o);o=H(e,v(i,r)),o.selector=e}return o},T=t.select=function(e,t,n,r){var i,o,a,s,u,d="function"==typeof e&&e,p=!r&&S(e=d.selector||e);if(n=n||[],1===p.length){if(o=p[0]=p[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&b.getById&&9===t.nodeType&&I&&_.relative[o[1].type]){if(!(t=(_.find.ID(a.matches[0].replace(ye,be),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=de.needsContext.test(e)?0:o.length;i--&&(a=o[i],!_.relative[s=a.type]);)if((u=_.find[s])&&(r=u(a.matches[0].replace(ye,be),ge.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&c(o)))return J.apply(n,r),n;break}}return(d||E(e,p))(r,t,!I,n,!t||ge.test(e)&&l(t.parentNode)||t),n},b.sortStable=F.split("").sort($).join("")===F,b.detectDuplicates=!!O,A(),b.sortDetached=i(function(e){return 1&e.compareDocumentPosition(N.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),b.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(Z,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(n);ge.find=we,ge.expr=we.selectors,ge.expr[":"]=ge.expr.pseudos,ge.uniqueSort=ge.unique=we.uniqueSort,ge.text=we.getText,ge.isXMLDoc=we.isXML,ge.contains=we.contains;var xe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&ge(e).is(n))break;r.push(e)}return r},Se=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Ee=ge.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,ke=/^.[^:#\[\.,]*$/;ge.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?ge.find.matchesSelector(r,e)?[r]:[]:ge.find.matches(e,ge.grep(t,function(e){return 1===e.nodeType}))},ge.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(ge(e).filter(function(){for(t=0;t<i;t++)if(ge.contains(r[t],this))return!0}));for(t=0;t<i;t++)ge.find(e,r[t],n);return n=this.pushStack(i>1?ge.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&Ee.test(e)?ge(e):e||[],!1).length}});var Ce,Oe=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(ge.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ce,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Oe.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ge?t[0]:t,ge.merge(this,ge.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Te.test(r[1])&&ge.isPlainObject(t))for(r in t)ge.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=se.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return Ce.find(e);this.length=1,this[0]=i}return this.context=se,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):ge.isFunction(e)?void 0!==n.ready?n.ready(e):e(ge):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),ge.makeArray(e,this))}).prototype=ge.fn,Ce=ge(se);var Ae=/^(?:parents|prev(?:Until|All))/,Ne={children:!0,contents:!0,next:!0,prev:!0};ge.fn.extend({has:function(e){var t,n=ge(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(ge.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=Ee.test(e)||"string"!=typeof e?ge(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&ge.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?ge.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?ge.inArray(this[0],ge(e)):ge.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(ge.uniqueSort(ge.merge(this.get(),ge(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),ge.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return l(e,"nextSibling")},prev:function(e){return l(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return Se((e.parentNode||{}).firstChild,e)},children:function(e){return Se(e.firstChild)},contents:function(e){return ge.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:ge.merge([],e.childNodes)}},function(e,t){ge.fn[e]=function(n,r){var i=ge.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=ge.filter(r,i)),this.length>1&&(Ne[e]||(i=ge.uniqueSort(i)),Ae.test(e)&&(i=i.reverse())),this.pushStack(i)}});var Pe=/\S+/g;ge.Callbacks=function(e){e="string"==typeof e?u(e):ge.extend({},e);var t,n,r,i,o=[],a=[],s=-1,l=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<o.length;)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1);e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},c={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){ge.each(n,function(n,r){ge.isFunction(r)?e.unique&&c.has(r)||o.push(r):r&&r.length&&"string"!==ge.type(r)&&t(r)})}(arguments),n&&!t&&l()),this},remove:function(){return ge.each(arguments,function(e,t){for(var n;(n=ge.inArray(t,o,n))>-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?ge.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},ge.extend({Deferred:function(e){var t=[["resolve","done",ge.Callbacks("once memory"),"resolved"],["reject","fail",ge.Callbacks("once memory"),"rejected"],["notify","progress",ge.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return ge.Deferred(function(n){ge.each(t,function(t,o){var a=ge.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&ge.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?ge.extend(e,r):r}},i={};return r.pipe=r.then,ge.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=le.call(arguments),a=o.length,s=1!==a||e&&ge.isFunction(e.promise)?a:0,l=1===s?e:ge.Deferred(),u=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?le.call(arguments):i,r===t?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i<a;i++)o[i]&&ge.isFunction(o[i].promise)?o[i].promise().progress(u(i,n,t)).done(u(i,r,o)).fail(l.reject):--s;return s||l.resolveWith(r,o),l.promise()}});var Ie;ge.fn.ready=function(e){return ge.ready.promise().done(e),this},ge.extend({isReady:!1,readyWait:1,holdReady:function(e){e?ge.readyWait++:ge.ready(!0)},ready:function(e){(!0===e?--ge.readyWait:ge.isReady)||(ge.isReady=!0,!0!==e&&--ge.readyWait>0||(Ie.resolveWith(se,[ge]),ge.fn.triggerHandler&&(ge(se).triggerHandler("ready"),ge(se).off("ready"))))}}),ge.ready.promise=function(e){if(!Ie)if(Ie=ge.Deferred(),"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll)n.setTimeout(ge.ready);else if(se.addEventListener)se.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d);else{se.attachEvent("onreadystatechange",d),n.attachEvent("onload",d);var t=!1;try{t=null==n.frameElement&&se.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!ge.isReady){try{t.doScroll("left")}catch(t){return n.setTimeout(e,50)}c(),ge.ready()}}()}return Ie.promise(e)},ge.ready.promise();var Re;for(Re in ge(me))break;me.ownFirst="0"===Re,me.inlineBlockNeedsLayout=!1,ge(function(){var e,t,n,r;(n=se.getElementsByTagName("body")[0])&&n.style&&(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",me.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=se.createElement("div");me.deleteExpando=!0;try{delete e.test}catch(e){me.deleteExpando=!1}e=null}();var Me=function(e){var t=ge.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},Le=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,De=/([A-Z])/g;ge.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?ge.cache[e[ge.expando]]:e[ge.expando])&&!f(e)},data:function(e,t,n){return h(e,t,n)},removeData:function(e,t){return m(e,t)},_data:function(e,t,n){return h(e,t,n,!0)},_removeData:function(e,t){return m(e,t,!0)}}),ge.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=ge.data(o),1===o.nodeType&&!ge._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=ge.camelCase(r.slice(5)),p(o,r,i[r])));ge._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){ge.data(this,e)}):arguments.length>1?this.each(function(){ge.data(this,e,t)}):o?p(o,e,ge.data(o,e)):void 0},removeData:function(e){return this.each(function(){ge.removeData(this,e)})}}),ge.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=ge._data(e,t),n&&(!r||ge.isArray(n)?r=ge._data(e,t,ge.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=ge.queue(e,t),r=n.length,i=n.shift(),o=ge._queueHooks(e,t),a=function(){ge.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ge._data(e,n)||ge._data(e,n,{empty:ge.Callbacks("once memory").add(function(){ge._removeData(e,t+"queue"),ge._removeData(e,n)})})}}),ge.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?ge.queue(this[0],e):void 0===t?this:this.each(function(){var n=ge.queue(this,e,t);ge._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&ge.dequeue(this,e)})},dequeue:function(e){return this.each(function(){ge.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=ge.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=ge._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;me.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return(n=se.getElementsByTagName("body")[0])&&n.style?(t=se.createElement("div"),r=se.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(se.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Ue=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),je=["Top","Right","Bottom","Left"],Be=function(e,t){return e=t||e,"none"===ge.css(e,"display")||!ge.contains(e.ownerDocument,e)},qe=function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===ge.type(n)){i=!0;for(s in n)qe(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,ge.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(ge(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},Ve=/^(?:checkbox|radio)$/i,He=/<([\w:-]+)/,$e=/^$|\/(?:java|ecma)script/i,ze=/^\s+/,We="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=se.createElement("div"),t=se.createDocumentFragment(),n=se.createElement("input");e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",me.leadingWhitespace=3===e.firstChild.nodeType,me.tbody=!e.getElementsByTagName("tbody").length,me.htmlSerialize=!!e.getElementsByTagName("link").length,me.html5Clone="<:nav></:nav>"!==se.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),me.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",me.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=se.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),me.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,me.noCloneEvent=!!e.addEventListener,e[ge.expando]=1,me.attributes=!e.getAttribute(ge.expando)}();var Ge={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:me.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Ge.optgroup=Ge.option,Ge.tbody=Ge.tfoot=Ge.colgroup=Ge.caption=Ge.thead,Ge.th=Ge.td;var Ke=/<|&#?\w+;/,Ye=/<tbody/i;!function(){var e,t,r=se.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(me[e]=t in n)||(r.setAttribute(t,"t"),me[e]=!1===r.attributes[t].expando);r=null}();var Je=/^(?:input|select|textarea)$/i,Qe=/^key/,Xe=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ze=/^(?:focusinfocus|focusoutblur)$/,et=/^([^.]*)(?:\.(.+)|)/;ge.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,d,p,f,h,m,g=ge._data(e);if(g){for(n.handler&&(l=n,n=l.handler,i=l.selector),n.guid||(n.guid=ge.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||(c=g.handle=function(e){return void 0===ge||e&&ge.event.triggered===e.type?void 0:ge.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(Pe)||[""],s=t.length;s--;)o=et.exec(t[s])||[],f=m=o[1],h=(o[2]||"").split(".").sort(),f&&(u=ge.event.special[f]||{},f=(i?u.delegateType:u.bindType)||f,u=ge.event.special[f]||{},d=ge.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&ge.expr.match.needsContext.test(i),namespace:h.join(".")},l),(p=a[f])||(p=a[f]=[],p.delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(f,c,!1):e.attachEvent&&e.attachEvent("on"+f,c))),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,d):p.push(d),ge.event.global[f]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,d,p,f,h,m,g=ge.hasData(e)&&ge._data(e);if(g&&(c=g.events)){for(t=(t||"").match(Pe)||[""],u=t.length;u--;)if(s=et.exec(t[u])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(d=ge.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,p=c[f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)a=p[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(p.splice(o,1),a.selector&&p.delegateCount--,d.remove&&d.remove.call(e,a));l&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||ge.removeEvent(e,f,g.handle),delete c[f])}else for(f in c)ge.event.remove(e,f+t[u],n,r,!0);ge.isEmptyObject(c)&&(delete g.handle,ge._removeData(e,"events"))}},trigger:function(e,t,r,i){var o,a,s,l,u,c,d,p=[r||se],f=he.call(e,"type")?e.type:e,h=he.call(e,"namespace")?e.namespace.split("."):[];if(s=c=r=r||se,3!==r.nodeType&&8!==r.nodeType&&!Ze.test(f+ge.event.triggered)&&(f.indexOf(".")>-1&&(h=f.split("."),f=h.shift(),h.sort()),a=f.indexOf(":")<0&&"on"+f,e=e[ge.expando]?e:new ge.Event(f,"object"==typeof e&&e),e.isTrigger=i?2:3,e.namespace=h.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:ge.makeArray(t,[e]),u=ge.event.special[f]||{},i||!u.trigger||!1!==u.trigger.apply(r,t))){if(!i&&!u.noBubble&&!ge.isWindow(r)){for(l=u.delegateType||f,Ze.test(l+f)||(s=s.parentNode);s;s=s.parentNode)p.push(s),c=s;c===(r.ownerDocument||se)&&p.push(c.defaultView||c.parentWindow||n)}for(d=0;(s=p[d++])&&!e.isPropagationStopped();)e.type=d>1?l:u.bindType||f,o=(ge._data(s,"events")||{})[e.type]&&ge._data(s,"handle"),o&&o.apply(s,t),(o=a&&s[a])&&o.apply&&Me(s)&&(e.result=o.apply(s,t),!1===e.result&&e.preventDefault());if(e.type=f,!i&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(p.pop(),t))&&Me(r)&&a&&r[f]&&!ge.isWindow(r)){c=r[a],c&&(r[a]=null),ge.event.triggered=f;try{r[f]()}catch(e){}ge.event.triggered=void 0,c&&(r[a]=c)}return e.result}},dispatch:function(e){e=ge.event.fix(e);var t,n,r,i,o,a=[],s=le.call(arguments),l=(ge._data(this,"events")||{})[e.type]||[],u=ge.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=ge.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((ge.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(r=[],n=0;n<s;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?ge(i,this).index(l)>-1:ge.find(i,this,null,[l]).length),r[i]&&r.push(o);r.length&&a.push({elem:l,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[ge.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Xe.test(i)?this.mouseHooks:Qe.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new ge.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||se),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||se,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==E()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===E()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(ge.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return ge.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=ge.extend(new ge.Event,n,{type:e,isSimulated:!0});ge.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},ge.removeEvent=se.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&(void 0===e[r]&&(e[r]=null),e.detachEvent(r,n))},ge.Event=function(e,t){if(!(this instanceof ge.Event))return new ge.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?x:S):this.type=e,t&&ge.extend(this,t),this.timeStamp=e&&e.timeStamp||ge.now(),this[ge.expando]=!0},ge.Event.prototype={constructor:ge.Event,isDefaultPrevented:S,isPropagationStopped:S,isImmediatePropagationStopped:S,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=x,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=x,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=x,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},ge.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){ge.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||ge.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),me.submit||(ge.event.special.submit={setup:function(){if(ge.nodeName(this,"form"))return!1;ge.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=ge.nodeName(t,"input")||ge.nodeName(t,"button")?ge.prop(t,"form"):void 0;n&&!ge._data(n,"submit")&&(ge.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),ge._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&ge.event.simulate("submit",this.parentNode,e))},teardown:function(){if(ge.nodeName(this,"form"))return!1;ge.event.remove(this,"._submit")}}),me.change||(ge.event.special.change={setup:function(){if(Je.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(ge.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),ge.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),ge.event.simulate("change",this,e)})),!1;ge.event.add(this,"beforeactivate._change",function(e){var t=e.target;Je.test(t.nodeName)&&!ge._data(t,"change")&&(ge.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||ge.event.simulate("change",this.parentNode,e)}),ge._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return ge.event.remove(this,"._change"),!Je.test(this.nodeName)}}),me.focusin||ge.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){ge.event.simulate(t,e.target,ge.event.fix(e))};ge.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ge._data(r,t);i||r.addEventListener(e,n,!0),ge._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ge._data(r,t)-1;i?ge._data(r,t,i):(r.removeEventListener(e,n,!0),ge._removeData(r,t))}}}),ge.fn.extend({on:function(e,t,n,r){return T(this,e,t,n,r)},one:function(e,t,n,r){return T(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,ge(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=S),this.each(function(){ge.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){ge.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return ge.event.trigger(e,t,n,!0)}});var tt=/ jQuery\d+="(?:null|\d+)"/g,nt=new RegExp("<(?:"+We+")[\\s/>]","i"),rt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,it=/<script|<style|<link/i,ot=/checked\s*(?:[^=]|=\s*.checked.)/i,at=/^true\/(.*)/,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,lt=v(se),ut=lt.appendChild(se.createElement("div"));ge.extend({htmlPrefilter:function(e){try{if(n.top&&n.top.__OKTA_JQUERY_LEGACY_HTML_PREFILTER__)return e.replace(rt,"<$1></$2>")}catch(t){return e.replace(rt,"<$1></$2>")}return e},clone:function(e,t,n){var r,i,o,a,s,l=ge.contains(e.ownerDocument,e);if(me.html5Clone||ge.isXMLDoc(e)||!nt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(ut.innerHTML=e.outerHTML,ut.removeChild(o=ut.firstChild)),!(me.noCloneEvent&&me.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||ge.isXMLDoc(e)))for(r=y(o),s=y(e),a=0;null!=(i=s[a]);++a)r[a]&&N(i,r[a]);if(t)if(n)for(s=s||y(e),r=r||y(o),a=0;null!=(i=s[a]);a++)A(i,r[a]);else A(e,o);return r=y(o,"script"),r.length>0&&b(r,!l&&y(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=ge.expando,l=ge.cache,u=me.attributes,c=ge.event.special;null!=(n=e[a]);a++)if((t||Me(n))&&(i=n[s],o=i&&l[i])){if(o.events)for(r in o.events)c[r]?ge.event.remove(n,r):ge.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u||void 0===n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ae.push(i))}}}),ge.fn.extend({domManip:P,detach:function(e){return I(this,e,!0)},remove:function(e){return I(this,e)},text:function(e){return qe(this,function(e){return void 0===e?ge.text(this):this.empty().append((this[0]&&this[0].ownerDocument||se).createTextNode(e))},null,e,arguments.length)},append:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){k(this,e).appendChild(e)}})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=k(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&ge.cleanData(y(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&ge.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return ge.clone(this,e,t)})},html:function(e){return qe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(tt,""):void 0;if("string"==typeof e&&!it.test(e)&&(me.htmlSerialize||!nt.test(e))&&(me.leadingWhitespace||!ze.test(e))&&!Ge[(He.exec(e)||["",""])[1].toLowerCase()]){e=ge.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(ge.cleanData(y(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){var n=this.parentNode;ge.inArray(this,e)<0&&(ge.cleanData(y(this)),n&&n.replaceChild(t,this))},e)}}),ge.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){ge.fn[e]=function(e){for(var n,r=0,i=[],o=ge(e),a=o.length-1;r<=a;r++)n=r===a?this:this.clone(!0),ge(o[r])[t](n),ce.apply(i,n.get());return this.pushStack(i)}});var ct,dt={HTML:"block",BODY:"block"},pt=/^margin/,ft=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),ht=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},mt=se.documentElement;!function(){function e(){var e,c,d=se.documentElement;d.appendChild(l),u.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",t=i=s=!1,r=a=!0,n.getComputedStyle&&(c=n.getComputedStyle(u),t="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,u.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,e=u.appendChild(se.createElement("div")),e.style.cssText=u.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",u.style.width="1px",a=!parseFloat((n.getComputedStyle(e)||{}).marginRight),u.removeChild(e)),u.style.display="none",o=0===u.getClientRects().length,o&&(u.style.display="",u.innerHTML="<table><tr><td></td><td>t</td></tr></table>",u.childNodes[0].style.borderCollapse="separate",e=u.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",(o=0===e[0].offsetHeight)&&(e[0].style.display="",e[1].style.display="none",o=0===e[0].offsetHeight)),d.removeChild(l)}var t,r,i,o,a,s,l=se.createElement("div"),u=se.createElement("div");u.style&&(u.style.cssText="float:left;opacity:.5",me.opacity="0.5"===u.style.opacity,me.cssFloat=!!u.style.cssFloat,u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",me.clearCloneStyle="content-box"===u.style.backgroundClip,l=se.createElement("div"),l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",u.innerHTML="",l.appendChild(u),me.boxSizing=""===u.style.boxSizing||""===u.style.MozBoxSizing||""===u.style.WebkitBoxSizing,ge.extend(me,{reliableHiddenOffsets:function(){return null==t&&e(),o},boxSizingReliable:function(){return null==t&&e(),i},pixelMarginRight:function(){return null==t&&e(),r},pixelPosition:function(){return null==t&&e(),t},reliableMarginRight:function(){return null==t&&e(),a},reliableMarginLeft:function(){return null==t&&e(),s}}))}();var gt,vt,yt=/^(top|right|bottom|left)$/;n.getComputedStyle?(gt=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},vt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||gt(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||ge.contains(e.ownerDocument,e)||(a=ge.style(e,t)),n&&!me.pixelMarginRight()&&ft.test(a)&&pt.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):mt.currentStyle&&(gt=function(e){return e.currentStyle},vt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||gt(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ft.test(a)&&!yt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var bt=/alpha\([^)]*\)/i,_t=/opacity\s*=\s*([^)]*)/i,wt=/^(none|table(?!-c[ea]).+)/,xt=new RegExp("^("+Fe+")(.*)$","i"),St={position:"absolute",visibility:"hidden",display:"block"},Et={letterSpacing:"0",fontWeight:"400"},Tt=["Webkit","O","Moz","ms"],kt=se.createElement("div").style;ge.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=vt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:me.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=ge.camelCase(t),l=e.style;if(t=ge.cssProps[s]||(ge.cssProps[s]=D(s)||s),a=ge.cssHooks[t]||ge.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];if(o=typeof n,"string"===o&&(i=Ue.exec(n))&&i[1]&&(n=g(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(ge.cssNumber[s]?"":"px")),me.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{l[t]=n}catch(e){}}},css:function(e,t,n,r){var i,o,a,s=ge.camelCase(t);return t=ge.cssProps[s]||(ge.cssProps[s]=D(s)||s),a=ge.cssHooks[t]||ge.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=vt(e,t,r)),"normal"===o&&t in Et&&(o=Et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),ge.each(["height","width"],function(e,t){ge.cssHooks[t]={get:function(e,n,r){if(n)return wt.test(ge.css(e,"display"))&&0===e.offsetWidth?ht(e,St,function(){return B(e,t,r)}):B(e,t,r)},set:function(e,n,r){var i=r&&gt(e);return U(e,n,r?j(e,t,r,me.boxSizing&&"border-box"===ge.css(e,"boxSizing",!1,i),i):0)}}}),me.opacity||(ge.cssHooks.opacity={get:function(e,t){return _t.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=ge.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===ge.trim(o.replace(bt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=bt.test(o)?o.replace(bt,i):o+" "+i)}}),ge.cssHooks.marginRight=L(me.reliableMarginRight,function(e,t){if(t)return ht(e,{display:"inline-block"},vt,[e,"marginRight"])}),ge.cssHooks.marginLeft=L(me.reliableMarginLeft,function(e,t){if(t)return(parseFloat(vt(e,"marginLeft"))||(ge.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-ht(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),ge.each({margin:"",padding:"",border:"Width"},function(e,t){ge.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+je[r]+t]=o[r]||o[r-2]||o[0];return i}},pt.test(e)||(ge.cssHooks[e+t].set=U)}),ge.fn.extend({css:function(e,t){return qe(this,function(e,t,n){var r,i,o={},a=0;if(ge.isArray(t)){for(r=gt(e),i=t.length;a<i;a++)o[t[a]]=ge.css(e,t[a],!1,r);return o}return void 0!==n?ge.style(e,t,n):ge.css(e,t)},e,t,arguments.length>1)},show:function(){return F(this,!0)},hide:function(){return F(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Be(this)?ge(this).show():ge(this).hide()})}}),ge.Tween=q,q.prototype={constructor:q,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||ge.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(ge.cssNumber[n]?"":"px")},cur:function(){var e=q.propHooks[this.prop];return e&&e.get?e.get(this):q.propHooks._default.get(this)},run:function(e){var t,n=q.propHooks[this.prop];return this.options.duration?this.pos=t=ge.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=ge.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){ge.fx.step[e.prop]?ge.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[ge.cssProps[e.prop]]&&!ge.cssHooks[e.prop]?e.elem[e.prop]=e.now:ge.style(e.elem,e.prop,e.now+e.unit)}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},ge.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},ge.fx=q.prototype.init,ge.fx.step={};var Ct,Ot,At=/^(?:toggle|show|hide)$/,Nt=/queueHooks$/;ge.Animation=ge.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return g(n.elem,e,Ue.exec(t),n),n}]},tweener:function(e,t){ge.isFunction(e)?(t=e,e=["*"]):e=e.match(Pe);for(var n,r=0,i=e.length;r<i;r++)n=e[r],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[z],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),ge.speed=function(e,t,n){var r=e&&"object"==typeof e?ge.extend({},e):{complete:n||!n&&t||ge.isFunction(e)&&e,duration:e,easing:n&&t||t&&!ge.isFunction(t)&&t};return r.duration=ge.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in ge.fx.speeds?ge.fx.speeds[r.duration]:ge.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){ge.isFunction(r.old)&&r.old.call(this),r.queue&&ge.dequeue(this,r.queue)},r},ge.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Be).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=ge.isEmptyObject(e),o=ge.speed(t,n,r),a=function(){var t=G(this,ge.extend({},e),o);(i||ge._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=ge.timers,a=ge._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&Nt.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||ge.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=ge._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=ge.timers,a=r?r.length:0;for(n.finish=!0,ge.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),ge.each(["toggle","show","hide"],function(e,t){var n=ge.fn[t];ge.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(H(t,!0),e,r,i)}}),ge.each({slideDown:H("show"),slideUp:H("hide"),slideToggle:H("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){ge.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),ge.timers=[],ge.fx.tick=function(){var e,t=ge.timers,n=0;for(Ct=ge.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||ge.fx.stop(),Ct=void 0},ge.fx.timer=function(e){ge.timers.push(e),e()?ge.fx.start():ge.timers.pop()},ge.fx.interval=13,ge.fx.start=function(){Ot||(Ot=n.setInterval(ge.fx.tick,ge.fx.interval))},ge.fx.stop=function(){n.clearInterval(Ot),Ot=null},ge.fx.speeds={slow:600,fast:200,_default:400},ge.fn.delay=function(e,t){return e=ge.fx?ge.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,r){var i=n.setTimeout(t,e);r.stop=function(){n.clearTimeout(i)}})},function(){var e,t=se.createElement("input"),n=se.createElement("div"),r=se.createElement("select"),i=r.appendChild(se.createElement("option"));n=se.createElement("div"),n.setAttribute("className","t"),n.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",me.getSetAttribute="t"!==n.className,me.style=/top/.test(e.getAttribute("style")),me.hrefNormalized="/a"===e.getAttribute("href"),me.checkOn=!!t.value,me.optSelected=i.selected,me.enctype=!!se.createElement("form").enctype,r.disabled=!0,me.optDisabled=!i.disabled,t=se.createElement("input"),t.setAttribute("value",""),me.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),me.radioValue="t"===t.value}();var Pt=/\r/g,It=/[\x20\t\r\n\f]+/g;ge.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=ge.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,ge(this).val()):e,null==i?i="":"number"==typeof i?i+="":ge.isArray(i)&&(i=ge.map(i,function(e){return null==e?"":e+""})),(t=ge.valHooks[this.type]||ge.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=ge.valHooks[i.type]||ge.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Pt,""):null==n?"":n)}}}),ge.extend({valHooks:{option:{get:function(e){var t=ge.find.attr(e,"value");return null!=t?t:ge.trim(ge.text(e)).replace(It," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(n=r[l],(n.selected||l===i)&&(me.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!ge.nodeName(n.parentNode,"optgroup"))){if(t=ge(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=ge.makeArray(t),a=i.length;a--;)if(r=i[a],ge.inArray(ge.valHooks.option.get(r),o)>-1)try{r.selected=n=!0}catch(e){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),ge.each(["radio","checkbox"],function(){ge.valHooks[this]={set:function(e,t){if(ge.isArray(t))return e.checked=ge.inArray(ge(e).val(),t)>-1}},me.checkOn||(ge.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Rt,Mt,Lt=ge.expr.attrHandle,Dt=/^(?:checked|selected)$/i,Ft=me.getSetAttribute,Ut=me.input;ge.fn.extend({attr:function(e,t){return qe(this,ge.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){ge.removeAttr(this,e)})}}),ge.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?ge.prop(e,t,n):(1===o&&ge.isXMLDoc(e)||(t=t.toLowerCase(),i=ge.attrHooks[t]||(ge.expr.match.bool.test(t)?Mt:Rt)),void 0!==n?null===n?void ge.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=ge.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!me.radioValue&&"radio"===t&&ge.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(Pe);if(o&&1===e.nodeType)for(;n=o[i++];)r=ge.propFix[n]||n,ge.expr.match.bool.test(n)?Ut&&Ft||!Dt.test(n)?e[r]=!1:e[ge.camelCase("default-"+n)]=e[r]=!1:ge.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Mt={set:function(e,t,n){return!1===t?ge.removeAttr(e,n):Ut&&Ft||!Dt.test(n)?e.setAttribute(!Ft&&ge.propFix[n]||n,n):e[ge.camelCase("default-"+n)]=e[n]=!0,n}},ge.each(ge.expr.match.bool.source.match(/\w+/g),function(e,t){var n=Lt[t]||ge.find.attr;Ut&&Ft||!Dt.test(t)?Lt[t]=function(e,t,r){var i,o;return r||(o=Lt[t],Lt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,Lt[t]=o),i}:Lt[t]=function(e,t,n){if(!n)return e[ge.camelCase("default-"+t)]?t.toLowerCase():null}}),Ut&&Ft||(ge.attrHooks.value={set:function(e,t,n){if(!ge.nodeName(e,"input"))return Rt&&Rt.set(e,t,n);e.defaultValue=t}}),Ft||(Rt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},Lt.id=Lt.name=Lt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},ge.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Rt.set},ge.attrHooks.contenteditable={set:function(e,t,n){Rt.set(e,""!==t&&t,n)}},ge.each(["width","height"],function(e,t){ge.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),me.style||(ge.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var jt=/^(?:input|select|textarea|button|object)$/i,Bt=/^(?:a|area)$/i;ge.fn.extend({prop:function(e,t){return qe(this,ge.prop,e,t,arguments.length>1)},removeProp:function(e){return e=ge.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(e){}})}}),ge.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&ge.isXMLDoc(e)||(t=ge.propFix[t]||t,i=ge.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=ge.find.attr(e,"tabindex");return t?parseInt(t,10):jt.test(e.nodeName)||Bt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),me.hrefNormalized||ge.each(["href","src"],function(e,t){ge.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),me.optSelected||(ge.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),ge.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){ge.propFix[this.toLowerCase()]=this}),me.enctype||(ge.propFix.enctype="encoding");var qt=/[\t\r\n\f]/g;ge.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).addClass(e.call(this,t,K(this)))});if("string"==typeof e&&e)for(t=e.match(Pe)||[];n=this[l++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=ge.trim(r),i!==s&&ge.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,l=0;if(ge.isFunction(e))return this.each(function(t){ge(this).removeClass(e.call(this,t,K(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(Pe)||[];n=this[l++];)if(i=K(n),r=1===n.nodeType&&(" "+i+" ").replace(qt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=ge.trim(r),i!==s&&ge.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):ge.isFunction(e)?this.each(function(n){ge(this).toggleClass(e.call(this,n,K(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=ge(this),o=e.match(Pe)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=K(this),t&&ge._data(this,"__className__",t),ge.attr(this,"class",t||!1===e?"":ge._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+K(n)+" ").replace(qt," ").indexOf(t)>-1)return!0;return!1}}),ge.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){ge.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),ge.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Vt=n.location,Ht=ge.now(),$t=/\?/,zt=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;ge.parseJSON=function(e){if(n.JSON&&n.JSON.parse)return n.JSON.parse(e+"");var t,r=null,i=ge.trim(e+"");return i&&!ge.trim(i.replace(zt,function(e,n,i,o){return t&&n&&(r=0),0===r?e:(t=i||n,r+=!o-!i,"")}))?Function("return "+i)():ge.error("Invalid JSON: "+e)},ge.parseXML=function(e){var t,r;if(!e||"string"!=typeof e)return null;try{n.DOMParser?(r=new n.DOMParser,t=r.parseFromString(e,"text/xml")):(t=new n.ActiveXObject("Microsoft.XMLDOM"),t.async="false",t.loadXML(e))}catch(e){t=void 0}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||ge.error("Invalid XML: "+e),t};var Wt=/#.*$/,Gt=/([?&])_=[^&]*/,Kt=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Yt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Jt=/^(?:GET|HEAD)$/,Qt=/^\/\//,Xt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Zt={},en={},tn="*/".concat("*"),nn=Vt.href,rn=Xt.exec(nn.toLowerCase())||[];ge.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:nn,type:"GET",isLocal:Yt.test(rn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":tn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":ge.parseJSON,"text xml":ge.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Q(Q(e,ge.ajaxSettings),t):Q(ge.ajaxSettings,e)},ajaxPrefilter:Y(Zt),ajaxTransport:Y(en),ajax:function(e,t){function r(e,t,r,i){var o,d,y,b,w,S=t;2!==_&&(_=2,l&&n.clearTimeout(l),c=void 0,s=i||"",x.readyState=e>0?4:0,o=e>=200&&e<300||304===e,r&&(b=X(p,x,r)),b=Z(p,b,x,o),o?(p.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(ge.lastModified[a]=w),(w=x.getResponseHeader("etag"))&&(ge.etag[a]=w)),204===e||"HEAD"===p.type?S="nocontent":304===e?S="notmodified":(S=b.state,d=b.data,y=b.error,o=!y)):(y=S,!e&&S||(S="error",e<0&&(e=0))),x.status=e,x.statusText=(t||S)+"",o?m.resolveWith(f,[d,S,x]):m.rejectWith(f,[x,S,y]),x.statusCode(v),v=void 0,u&&h.trigger(o?"ajaxSuccess":"ajaxError",[x,p,o?d:y]),g.fireWith(f,[x,S]),u&&(h.trigger("ajaxComplete",[x,p]),--ge.active||ge.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var i,o,a,s,l,u,c,d,p=ge.ajaxSetup({},t),f=p.context||p,h=p.context&&(f.nodeType||f.jquery)?ge(f):ge.event,m=ge.Deferred(),g=ge.Callbacks("once memory"),v=p.statusCode||{},y={},b={},_=0,w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===_){if(!d)for(d={};t=Kt.exec(s);)d[t[1].toLowerCase()]=t[2];t=d[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return _||(e=b[n]=b[n]||e,y[e]=t),this},overrideMimeType:function(e){return _||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(_<2)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(m.promise(x).complete=g.add,x.success=x.done,x.error=x.fail,p.url=((e||p.url||nn)+"").replace(Wt,"").replace(Qt,rn[1]+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=ge.trim(p.dataType||"*").toLowerCase().match(Pe)||[""],null==p.crossDomain&&(i=Xt.exec(p.url.toLowerCase()),p.crossDomain=!(!i||i[1]===rn[1]&&i[2]===rn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(rn[3]||("http:"===rn[1]?"80":"443")))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=ge.param(p.data,p.traditional)),J(Zt,p,t,x),2===_)return x;u=ge.event&&p.global,u&&0==ge.active++&&ge.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Jt.test(p.type),a=p.url,p.hasContent||(p.data&&(a=p.url+=($t.test(a)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=Gt.test(a)?a.replace(Gt,"$1_="+Ht++):a+($t.test(a)?"&":"?")+"_="+Ht++)),p.ifModified&&(ge.lastModified[a]&&x.setRequestHeader("If-Modified-Since",ge.lastModified[a]),ge.etag[a]&&x.setRequestHeader("If-None-Match",ge.etag[a])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&x.setRequestHeader("Content-Type",p.contentType),x.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+tn+"; q=0.01":""):p.accepts["*"]);for(o in p.headers)x.setRequestHeader(o,p.headers[o]);if(p.beforeSend&&(!1===p.beforeSend.call(f,x,p)||2===_))return x.abort();w="abort";for(o in{success:1,error:1,complete:1})x[o](p[o]);if(c=J(en,p,t,x)){if(x.readyState=1,u&&h.trigger("ajaxSend",[x,p]),2===_)return x;p.async&&p.timeout>0&&(l=n.setTimeout(function(){x.abort("timeout")},p.timeout));try{_=1,c.send(y,r)}catch(e){if(!(_<2))throw e;r(-1,e)}}else r(-1,"No Transport");return x},getJSON:function(e,t,n){return ge.get(e,t,n,"json")},getScript:function(e,t){return ge.get(e,void 0,t,"script")}}),ge.each(["get","post"],function(e,t){ge[t]=function(e,n,r,i){return ge.isFunction(n)&&(i=i||r,r=n,n=void 0),ge.ajax(ge.extend({url:e,type:t,dataType:i,data:n,success:r},ge.isPlainObject(e)&&e))}}),ge._evalUrl=function(e){return ge.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},ge.fn.extend({wrapAll:function(e){if(ge.isFunction(e))return this.each(function(t){ge(this).wrapAll(e.call(this,t))});if(this[0]){var t=ge(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return ge.isFunction(e)?this.each(function(t){ge(this).wrapInner(e.call(this,t))}):this.each(function(){var t=ge(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ge.isFunction(e);return this.each(function(n){ge(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){ge.nodeName(this,"body")||ge(this).replaceWith(this.childNodes)}).end()}}),ge.expr.filters.hidden=function(e){return me.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:te(e)},ge.expr.filters.visible=function(e){return!ge.expr.filters.hidden(e)};var on=/%20/g,an=/\[\]$/,sn=/\r?\n/g,ln=/^(?:submit|button|image|reset|file)$/i,un=/^(?:input|select|textarea|keygen)/i;ge.param=function(e,t){var n,r=[],i=function(e,t){t=ge.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=ge.ajaxSettings&&ge.ajaxSettings.traditional),ge.isArray(e)||e.jquery&&!ge.isPlainObject(e))ge.each(e,function(){i(this.name,this.value)});else for(n in e)ne(n,e[n],t,i);return r.join("&").replace(on,"+")},ge.fn.extend({serialize:function(){return ge.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=ge.prop(this,"elements");return e?ge.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!ge(this).is(":disabled")&&un.test(this.nodeName)&&!ln.test(e)&&(this.checked||!Ve.test(e))}).map(function(e,t){var n=ge(this).val();return null==n?null:ge.isArray(n)?ge.map(n,function(e){return{name:t.name,value:e.replace(sn,"\r\n")}}):{name:t.name,value:n.replace(sn,"\r\n")}}).get()}}),ge.ajaxSettings.xhr=void 0!==n.ActiveXObject?function(){return this.isLocal?ie():se.documentMode>8?re():/^(get|post|head|put|delete|options)$/i.test(this.type)&&re()||ie()}:re;var cn=0,dn={},pn=ge.ajaxSettings.xhr();n.attachEvent&&n.attachEvent("onunload",function(){for(var e in dn)dn[e](void 0,!0)}),me.cors=!!pn&&"withCredentials"in pn,pn=me.ajax=!!pn,pn&&ge.ajaxTransport(function(e){if(!e.crossDomain||me.cors){var t;return{send:function(r,i){var o,a=e.xhr(),s=++cn;if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(e.hasContent&&e.data||null),t=function(n,r){var o,l,u;if(t&&(r||4===a.readyState))if(delete dn[s],t=void 0,a.onreadystatechange=ge.noop,r)4!==a.readyState&&a.abort();else{u={},o=a.status,"string"==typeof a.responseText&&(u.text=a.responseText);try{l=a.statusText}catch(e){l=""}o||!e.isLocal||e.crossDomain?1223===o&&(o=204):o=u.text?200:404}u&&i(o,l,u,a.getAllResponseHeaders())},e.async?4===a.readyState?n.setTimeout(t):a.onreadystatechange=dn[s]=t:t()},abort:function(){t&&t(void 0,!0)}}}}),ge.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),ge.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return ge.globalEval(e),e}}}),ge.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),ge.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=se.head||ge("head")[0]||se.documentElement;return{send:function(r,i){t=se.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var fn=[],hn=/(=)\?(?=&|$)|\?\?/;ge.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=fn.pop()||ge.expando+"_"+Ht++;return this[e]=!0,e}}),ge.ajaxPrefilter("json jsonp",function(e,t,r){var i,o,a,s=!1!==e.jsonp&&(hn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&hn.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return i=e.jsonpCallback=ge.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(hn,"$1"+i):!1!==e.jsonp&&(e.url+=($t.test(e.url)?"&":"?")+e.jsonp+"="+i),e.converters["script json"]=function(){return a||ge.error(i+" was not called"),a[0]},e.dataTypes[0]="json",o=n[i],n[i]=function(){a=arguments},r.always(function(){void 0===o?ge(n).removeProp(i):n[i]=o,e[i]&&(e.jsonpCallback=t.jsonpCallback,fn.push(i)),a&&ge.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),ge.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||se;var r=Te.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=w([e],t,i),i&&i.length&&ge(i).remove(),ge.merge([],r.childNodes))};var mn=ge.fn.load;ge.fn.load=function(e,t,n){if("string"!=typeof e&&mn)return mn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=ge.trim(e.slice(s,e.length)),e=e.slice(0,s)),ge.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&ge.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?ge("<div>").append(ge.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ge.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ge.fn[t]=function(e){return this.on(t,e)}}),ge.expr.filters.animated=function(e){return ge.grep(ge.timers,function(t){return e===t.elem}).length},ge.offset={setOffset:function(e,t,n){var r,i,o,a,s,l,u,c=ge.css(e,"position"),d=ge(e),p={};"static"===c&&(e.style.position="relative"),s=d.offset(),o=ge.css(e,"top"),l=ge.css(e,"left"),u=("absolute"===c||"fixed"===c)&&ge.inArray("auto",[o,l])>-1,u?(r=d.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(l)||0),ge.isFunction(t)&&(t=t.call(e,n,ge.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):d.css(p)}},ge.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){ge.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,ge.contains(t,i)?(void 0!==i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=oe(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===ge.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),ge.nodeName(e[0],"html")||(n=e.offset()),n.top+=ge.css(e[0],"borderTopWidth",!0),n.left+=ge.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-ge.css(r,"marginTop",!0),left:t.left-n.left-ge.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&!ge.nodeName(e,"html")&&"static"===ge.css(e,"position");)e=e.offsetParent;return e||mt})}}),ge.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);ge.fn[e]=function(r){return qe(this,function(e,r,i){var o=oe(e);if(void 0===i)return o?t in o?o[t]:o.document.documentElement[r]:e[r];o?o.scrollTo(n?ge(o).scrollLeft():i,n?i:ge(o).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),ge.each(["top","left"],function(e,t){ge.cssHooks[t]=L(me.pixelPosition,function(e,n){if(n)return n=vt(e,t),ft.test(n)?ge(e).position()[t]+"px":n})}),ge.each({Height:"height",Width:"width"},function(e,t){ge.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){ge.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return qe(this,function(t,n,r){var i;return ge.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?ge.css(t,n,a):ge.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),ge.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),ge.fn.size=function(){return this.length},ge.fn.andSelf=ge.fn.addBack,r=[],void 0!==(i=function(){return ge}.apply(t,r))&&(e.exports=i);var gn=n.jQuery,vn=n.$;return ge.noConflict=function(e){return n.$===ge&&(n.$=vn),e&&n.jQuery===ge&&(n.jQuery=gn),ge},o&&!n.__OKTA_EXPORT_JQUERY__||(n.jQuery=n.$=ge),ge})},function(e,t,n){"use strict";var r,i;r=[n(12),n(6)],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(12),n(11),n(7),n(16),n(31)],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(12),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(26),n(139)],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(2)),o=n(0),a=r(n(14)),s=r(n(5)),l=r(n(10)),u=n(50),c=r(n(24)),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){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(6),n(16),n(7)],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(35)],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=P,this.elements={target:t},this._id=$+"-"+r,this.timers={img:{}},this.options=n,this.plugins={},this.cache={event:{},target:e(),disabled:N,attr:i,onTooltip:N,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=N}function n(t){return t===P||"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)?N:(n(t.metadata)&&(t.metadata={type:t.metadata}),"content"in t&&(i=t.content,n(i)||i.jquery||i.done?(o=r(i)?N:i,i=t.content={text:o}):o=i.text,"ajax"in i&&(a=i.ajax,s=a&&a.once!==N,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,P,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||N)&&(i.title=N))),"position"in t&&n(t.position)&&(t.position={my:t.position,at:t.position}),"show"in t&&n(t.show)&&(t.show=t.show.jquery?{target:t.show}:t.show===A?{ready:A}:{event:t.show}),"hide"in t&&n(t.hide)&&(t.hide=t.hide.jquery?{target:t.hide}:{event:t.hide}),"style"in t&&n(t.style)&&(t.style={classes:t.style}),e.each(H,function(){this.sanitize&&this.sanitize(t)}),t)}function 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(N,t)},this.options.hide.delay,this)}}function h(e){!this.tooltip.hasClass(ee)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=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("."+$+" "))+"."+$,function(){var t=E.api[e.attr(this,W)];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):P,m="html5"===o.metadata.type&&h?h[o.metadata.name]:P,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):P,i(m||h)),l=c.position,c.id=r,"boolean"==typeof c.content.text){if(u=n.attr(c.content.attr),c.content.attr===N||!u)return N;c.content.text=u}if(l.container.length||(l.container=p),l.target===N&&(l.target=f),c.show.target===N&&(c.show.target=f),c.show.solo===A&&(c.show.solo=l.container.closest("body")),c.hide.target===N&&(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($))if(c.overwrite)n.qtip("destroy",!0);else if(c.overwrite===N)return N;return n.attr(z,r),c.suppress&&(d=n.attr("title"))&&n.removeAttr("title").attr(ne,d).attr("title",""),a=new t(n,c,r,!!u),n.data($,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 x(e,t){this.options=t,this._ns="-modal",this.qtip=e,this.init(e)}function S(e){this._ns="ie6",this.qtip=e,this.init(e)}var E,T,k,C,O,A=!0,N=!1,P=null,I="x",R="y",M="width",L="height",D="top",F="left",U="bottom",j="right",B="center",q="flipinvert",V="shift",H={},$="qtip",z="data-hasqtip",W="data-qtip-id",G=["ui-widget","ui-tooltip"],K="."+$,Y="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),J=$+"-fixed",Q=$+"-default",X=$+"-focus",Z=$+"-hover",ee=$+"-disabled",te="_replacedByqTip",ne="oldtitle",re={ie:function(){var e,t;for(e=4,t=s.createElement("div");(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e")&&t.getElementsByTagName("i")[0];e+=1);return e>4?e:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||N};T=t.prototype,T._when=function(t){return e.when.apply(e,t)},T.render=function(t){if(this.rendered||this.destroyed)return this;var n=this,r=this.options,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:[$,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":N,"aria-describedby":this._id+"-content","aria-hidden":A}).toggleClass(ee,this.disabled).attr(W,this.id).data($,this).appendTo(u.container).append(o.content=e("<div />",{class:$+"-content",id:this._id+"-content","aria-atomic":A})),this.rendered=-1,this.positioning=A,s&&(this._createTitle(),e.isFunction(s)||c.push(this._updateTitle(s,N))),l&&this._createButton(),e.isFunction(a)||c.push(this._updateContent(a,N)),this.rendered=A,this._setWidget(),e.each(H,function(e){var t;"render"===this.initialize&&(t=this(n))&&(n.plugins[e]=t)}),this._unassignEvents(),this._assignEvents(),this._when(c).then(function(){n._trigger("render"),n.positioning=N,n.hiddenDuringWait||!r.show.ready&&!t||n.toggle(A,i.event,N),n.hiddenDuringWait=N}),E.api[this.id]=this,this},T.destroy=function(t){function n(){if(!this.destroyed){this.destroyed=A;var t,n=this.target,r=n.attr(ne);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),e.each(this.plugins,function(){this.destroy&&this.destroy()});for(t in this.timers)this.timers.hasOwnProperty(t)&&clearTimeout(this.timers[t]);n.removeData($).removeAttr(W).removeAttr(z).removeAttr("aria-describedby"),this.options.suppress&&r&&n.attr("title",r).removeAttr(ne),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=P,delete E.api[this.id]}}return this.destroyed?this.target:(t===A&&"hide"!==this.triggering||!this.rendered?n.call(this):(this.tooltip.one("tooltiphidden",e.proxy(n,this)),!this.triggering&&this.hide()),this.target)},C=T.checks={builtin:{"^id$":function(t,n,r,i){var o=r===A?E.nextid:r,a=$+"-"+o;o!==N&&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=N,l=this.options;return"string"==typeof t?(r=t,t={},t[r]=n):t=e.extend({},t),e.each(t,function(n,r){if(a&&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=N,this.rendered&&this.tooltip[0].offsetWidth>0&&s&&this.reposition("mouse"===l.position.target?P: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=N,r._update(e,n)},P,function(e){return r._update(e,n)})):t===N||!t&&""!==t?N:(t.jquery&&t.length>0?n.empty().append(t.css({display:"block",visibility:"visible"})):n.html(t),this._waitForContent(n).then(function(e){r.rendered&&r.tooltip[0].offsetWidth>0&&r.reposition(i.event,!e.length)}))):N},T._waitForContent=function(t){var n=this.cache;return n.waiting=A,(e.fn.imagesLoaded?t.imagesLoaded():(new e.Deferred).resolve([])).done(function(){n.waiting=N}).promise()},T._updateContent=function(e,t){this._update(e,this.elements.content,t)},T._updateTitle=function(e,t){this._update(e,this.elements.title,t)===N&&this._removeTitle(N)},T._createTitle=function(){var t=this.elements,n=this._id+"-title";t.titlebar&&this._removeTitle(),t.titlebar=e("<div />",{class:$+"-titlebar "+(this.options.style.widget?c("header"):"")}).append(t.title=e("<div />",{id:n,class:$+"-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=P,e!==N&&this.reposition())},T._createPosClass=function(e){return $+"-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(N),_=c.outerHeight(N),w=0,x=0,S=c.css("position"),E={left:0,top:0},T=c[0].offsetWidth>0,k=t&&"scroll"===t.type,C=e(a),O=g[0].ownerDocument,P=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:P&&P.pageX&&(t=P),"static"!==S&&(E=g.offset()),O.body.offsetWidth!==(a.innerWidth||O.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&&P&&(E.left-=(P.scrollX||0)-C.scrollLeft(),E.top-=(P.scrollY||0)-C.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(),x=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:N):H.svg&&p&&p[0].ownerSVGElement?r=H.svg(this,p,h,H.viewport?y:N):(w=p.outerWidth(N),x=p.outerHeight(N),E=p.offset()),r&&(w=r.width,x=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"===S)&&(E.left-=C.scrollLeft(),E.top-=C.scrollTop()),(!r||r&&r.adjustable!==N)&&(E.left+=h.x===j?w:h.x===B?w/2:0,E.top+=h.y===U?x:h.y===B?x/2:0)}return E.left+=v.x+(f.x===j?-b:f.x===B?-b/2:0),E.top+=v.y+(f.y===U?-_:f.y===B?-_/2:0),H.viewport?(o=E.adjusted=H.viewport(this,E,d,w,x,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===N||!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=N,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?R:I}).prototype;ae.invert=function(e,t){this[e]=this[e]===F?j:this[e]===j?F:t||this[e]},ae.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===R||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?P:!!this._trigger(c,[90]),this.destroyed?this:(l!==N&&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,N),e.isFunction(f.title)&&this._updateTitle(f.title,N),!O&&"mouse"===p.target&&p.adjust.mouse&&(e(s).bind("mousemove."+$,this._storeMouse),O=A),h||o.css("width",o.outerWidth(N)),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,O&&!e(K+'[tracking="true"]:visible',d.solo).not(o).length&&(e(s).unbind("mousemove."+$),O=N),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===N||g===N?(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(N,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(N)},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?"":$+"-icon"),title:a,"aria-label":a}).prepend(e("<span />",{class:"ui-icon ui-icon-close",html:"&times;"})),n.button.appendTo(n.titlebar||r).attr("role","button").click(function(e){return r.hasClass(ee)||t.hide(e),N})},T._updateButton=function(e){if(!this.rendered)return N;var t=this.elements.button;e?this._createButton():t.remove()},T._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(ee);n.removeClass(ee),ee=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(ee,r),n.toggleClass("ui-helper-reset "+c(),e).toggleClass(Q,this.options.style.def&&!e),t.content&&t.content.toggleClass(c("content"),e),t.titlebar&&t.titlebar.toggleClass(c("header"),e),t.button&&t.button.toggleClass($+"-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||P,this.triggering=t,this.tooltip.trigger(i,[this].concat(n||[])),this.triggering=N,!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?N:(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):N}),(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):N}),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("["+W+"]",Y,h)}),E=e.fn.qtip=function(t,n,r){var o=(""+t).toLowerCase(),a=P,s=e.makeArray(arguments).slice(1),u=s[s.length-1],c=this[0]?e.data(this[0],$):P;return!arguments.length&&c||"api"===o?c:"string"==typeof t?(this.each(function(){var t=e.data(this,$);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),N;t.set(n,r)}}),a!==P?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===N||r.length<1||E.api[r]?E.nextid++:r,n=v(e(this),r,c),n===N?A:(E.api[r]=n,e.each(H,function(){"initialize"===this.initialize&&this(n)}),void n._assignInitialEvents(u))}))},e.qtip=t,E.api={},e.each({attr:function(t,n){if(this.length){var r=this[0],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(z))try{n.triggerHandler("removeqtip")}catch(e){}e["cleanData"+te].apply(this,arguments)}),E.version="3.0.3-5-g",E.nextid=0,E.inactiveEvents=Y,E.zindex=15e3,E.defaults={prerender:N,id:N,overwrite:A,suppress:A,content:{text:A,attr:"title",title:N,button:N},position:{my:"top left",at:"bottom right",target:N,container:N,viewport:N,adjust:{x:0,y:0,mouse:A,scroll:A,resize:A,method:"flipinvert flipinvert"},effect:function(t,n){e(this).animate(n,{duration:200,queue:N})}},show:{target:N,event:"mouseenter",effect:A,delay:90,solo:N,ready:N,autofocus:N},hide:{target:N,event:"mouseleave",effect:A,delay:0,fixed:N,inactive:N,leave:"window",distance:N},style:{classes:"",widget:N,width:N,height:N,def:A},events:{render:P,move:P,show:P,hide:P,toggle:P,visible:P,hidden:P,focus:P,blur:P}};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:$+"-tip"}).prependTo(t.tooltip),ye?(n=e("<canvas />").appendTo(this.element)[0].getContext("2d"),n.lineJoin="miter",n.miterLimit=1e5,n.save()):(n=le("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(n+n),t._bind(e("*",r).add(r),["click","mousedown"],function(e){e.stopPropagation()},this._ns)),t._bind(t.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(e){var t=this.qtip.elements.titlebar;return t&&(e.y===D||e.y===B&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(A))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===N||t===N?e=N:e===A?e=new k(t.string()):e.string||(e=new k(e),e.fixed=A),e},_parseWidth:function(e,t,n){var r=this.qtip.elements,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)?N: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===R,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===N?v=t:(v=new k(v),v.precedance=t.precedance,"inherit"===v.x?v.x=t.x:"inherit"===v.y?v.y=t.y:v.x===v.y&&(v[t.precedance]=t[t.precedance])),i=v.precedance,t.precedance===I?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===R?[y(v.x===F?d:v.x===j?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===U?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===I),top:u[1]-u[2]*Number(i===R),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!==N&&this.calculate(t,c)},calculate:function(t,n){if(!this.enabled)return N;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===I&&i.reverse(),e.each(i,function(e,i){var s,c,d;i===B?(s=r===R?F:D,u[s]="50%",u[pe+"-"+s]=-Math.round(n[r===R?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===I?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===V&&u.precedance===t&&c[r]&&u[n]!==B?u.precedance=u.precedance===I?R:I:e!==V&&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]=N),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:N,top:N,x:0,y:0},m={};this.corner.fixed!==A&&(r(p,I,R,F,j),r(f,R,I,D,U),u.string()===s.corner.string()&&s.cornerTop===c.top&&s.cornerLeft===c.left||this.update(u,N)),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===V&&!!c.left,h.left&&i(I,F,j),h.top=f===V&&!!c.top,h.top&&i(R,D,U),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!==V||h.top||!h.left&&!h.top?o.left+this.border:0,n.top-=o.top.charAt?o.user:f!==V||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)}},C.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)$":function(e){this.size=[e.width,e.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)$":function(){this.update()}},e.extend(A,E.defaults,{style:{tip:{corner:A,mimic:N,width:6,height:6,border:A,offset:0}}});var xe,Se,Ee="qtip-modal",Te="."+Ee;Se=function(){function t(t){if(e.expr[":"].focusable)return e.expr[":"].focusable;var n,r,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?N: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 N}}).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!==N?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!==N&&n(e(":focus")),a.toggleClass("blurs",d.blur),r&&a.appendTo(s.body),a.is(":animated")&&h===r&&o!==N||!r&&m.length?l:(a.stop(A,N),e.isFunction(p)?p.call(a,r):p===N?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=P),l)}}),l.init()},Se=new Se,e.extend(x.prototype,{init:function(t){var n=t.tooltip;return this.options.on?(t.elements.overlay=Se.elem,n.addClass(Ee).css("z-index",E.modal_zindex+e(Te).length),t._bind(n,["tooltipshow","tooltiphide"],function(t,r,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(Se.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);Se.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,Se.update(r);try{t.preventDefault()}catch(e){}}},this._ns,this),void t._bind(n,"tooltiphide",function(t){t.target===n[0]&&e(Te).filter(":visible").not(n).last().qtip("focus",t)},this._ns,this)):this},toggle:function(e,t,n){return e&&e.isDefaultPrevented()?this:void Se.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(Ee),this.qtip._unbind(this.qtip.tooltip,this._ns),Se.toggle(this.qtip,N),delete this.qtip.elements.overlay}}),xe=H.modal=function(e){return new x(e,e.options.show.modal)},xe.sanitize=function(e){e.show&&("object"!=typeof e.show.modal?e.show.modal={on:!!e.show.modal}:void 0===e.show.modal.on&&(e.show.modal.on=A))},E.modal_zindex=E.zindex-200,xe.initialize="render",C.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},e.extend(A,E.defaults,{show:{modal:{on:N,effect:A,blur:A,stealfocus:A,escape:A}}}),H.viewport=function(e,t,n,r,i,o,l){function u(e,n,r,i,o,a,s,l,u){var c=t[o],y=_[e],b=w[e],x=r===V,S=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,C=c+u-(s===M?h:m)-T,O=S-(_.precedance===e||y===_[n]?E:0)-(b===B?l/2:0);return x?(O=(y===o?1:-1)*S,t[o]+=k>0?k:C>0?-C:0,t[o]=Math.max(-p[o]+v[o],c-O,Math.min(Math.max(-p[o]+v[o]+(s===M?h:m),c+O),t[o],"center"===y?c-S:1e9))):(i*=r===q?2:0,k>0&&(y!==o||C>0)?(t[o]-=O+i,d.invert(e,o)):C>0&&(y!==a||k>0)&&(t[o]-=(y===B?-O:O)+i,d.invert(e,a)),t[o]<g[o]&&-t[o]>C&&(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,x=n.adjust,S=x.method.split(" "),E=S[0],T=S[1]||S[0],k=n.viewport,C=n.container,O={left:0,top:0};return k.jquery&&y[0]!==a&&y[0]!==s.body&&"none"!==x.method?(p=C.offset()||O,f="static"===C.css("position"),c="fixed"===b.css("position"),h=k[0]===a?k.width():k.outerWidth(N),m=k[0]===a?k.height():k.outerHeight(N),g={left:c?0:k.scrollLeft(),top:c?0:k.scrollTop()},v=k.offset()||O,"shift"===E&&"shift"===T||(d=_.clone()),O={left:"none"!==E?u(I,R,E,x.x,F,j,M,r,o):0,top:"none"!==T?u(R,I,T,x.y,D,U,L,i,l):0,my:d}):O},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:N},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===j?l=o.width-r:l+=Math.floor(r/2),t.y===D?u=i:t.y===U?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===j&&c<=l||t.x===B&&(c<l||c>o.width-l)||t.y===D&&d>=u||t.y===U&&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:N}},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 N;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 N;if("polygon"===u)s=H.polys.polygon(p,r);else{if(!H.polys[u])return N;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(N)-c.width())/2),i.top+=Math.ceil((c.outerHeight(N)-c.height())/2),s.position.left+=i.left,s.position.top+=i.top,s};var ke;e.extend(S.prototype,{_scroll:function(){var t=this.qtip.elements.overlay;t&&(t[0].style.top=e(a).scrollTop()+"px")},init:function(t){var n=t.tooltip;e("select, object").length<1&&(this.bgiframe=t.elements.bgiframe=e('<iframe class="qtip-bgiframe" frameborder="0" tabindex="-1" src="javascript:\'\';"  style="display:block; position:absolute; z-index:-1; filter:alpha(opacity=0); -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";"></iframe>').appendTo(n),t._bind(n,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=e("<div/>",{id:$+"-rcontainer"}).appendTo(s.body),t.elements.overlay&&t.elements.overlay.addClass("qtipmodal-ie6fix")&&(t._bind(a,["scroll","resize"],this._scroll,this._ns,this),t._bind(n,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var e,t,n=this.qtip.tooltip,r={height:n.outerHeight(N),width:n.outerWidth(N)},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 S(e):N},ke.initialize="render",C.ie6={"^content|style$":function(){this.redraw()}}})}(window,document)},function(e,t,n){e.exports=n(99)},function(e,t,n){"use strict";var r,i;r=[n(0),n(31),n(47),n(6)],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(9)),s=o(n(2));r=[n(0),n(11),n(15)],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(11),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(52)),a=r(n(36)),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(2)),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(232),o=n(233),a=n(61),s=n(234);e.exports=r},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(2));r=[n(0),n(12),n(16),n(20),n(7),n(17),n(55),n(42)],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(9)),s=o(n(2));r=[n(0),n(36),n(98)],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(45)),s=o(n(58)),l=o(n(2));r=[n(0),n(36)],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(6)],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(104),o=n(105),a=n(61),s=n(106);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(62);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(6)],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(65),n(66),n(111),n(46),n(67),n(27),n(17),n(38)],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(8),n(38),n(109),n(7)],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(2));r=[n(0),n(43)],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(9)),s=o(n(2));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(9));/**
 * 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,C=void 0,O=void 0,A=void 0,N=void 0,P=void 0}function t(e,t){var n=t||"https://www.duosecurity.com/docs/duoweb#3.-show-the-iframe";throw new Error("Duo Web SDK error: "+e+(n?"\nSee "+n+" for more information":""))}function n(e){return e.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function r(e,t){return"dataset"in e?e.dataset[t]:e.getAttribute("data-"+n(t))}function 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 C=e,O=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(I)||e.data.match(R)||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&&(P=t.submit_callback));var n=f(t);n?x(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=",O,"&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 S(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.'),x(r,e.iframeAttributes||{}),s(n)})}function x(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."),O&&A||(c(r(e,"sigRequest")),O&&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))N=e,N.src=y();else{for(;e.firstChild;)e.removeChild(e.firstChild);N=document.createElement("iframe"),n.src=y();for(var i in n)N.setAttribute(i,n[i]);e.appendChild(N)}l(b)}function S(e){E(e+":"+A)}var E,T,k,C,O,A,N,P,I=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,R=/^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:S}})},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(2));r=[n(0),n(6)],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(2));r=[n(0),n(6)],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){e.exports=r},function(e,t,n){"use strict";var r,i,o=n(1),a=o(n(9)),s=o(n(2));r=[n(0),n(15),n(11)],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(9)),s=o(n(2));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(3),n(13)],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(11),n(4),n(7),n(8)],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(2));r=[n(0),n(6)],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(2));r=[n(0),n(11)],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(2));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(8)],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(192)),a=r(n(193)),s=r(n(195)),l=n(50),u=n(18),c=r(n(55)),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(2)),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(30)),s=n(18),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(14)),a=r(n(5)),s=r(n(10)),l=r(n(19)),u=n(41),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(5)),a=r(n(86)),s=r(n(29)),l=r(n(10)),u=n(41),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(26)),a=r(n(17)),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){e.exports=n(89)},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(34),a=n(42),s=n(43),l=n(7),u=n(95),c=n(96),d=n(189);return r}();e.exports=r},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(34),n(35),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 x=y||p,w=0;w<x.length;w++)this.models.push(x[w])}if(l&&this.sort({silent:!0}),!t.silent){for(var S=null!=u?n.clone(t):t,w=0;w<p.length;w++)null!=u&&(S.index=u+w),(o=p[w]).trigger("add",o,this,S);(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 x=t.View=function(e){this.cid=n.uniqueId("view"),n.extend(this,n.pick(e,E)),this._ensureElement(),this.initialize.apply(this,arguments)},S=/^(\S+)\s*(.*)$/,E=["model","collection","el","id","attributes","className","tagName","events"];n.extend(x.prototype,l,{tagName:"div",$:function(e){return this.$el.find(e)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(e){return this.undelegateEvents(),this._setElement(e),this.delegateEvents(),this},_setElement:function(e){this.$el=e instanceof t.$?e:t.$(e),this.el=this.$el[0]},delegateEvents:function(e){if(e||(e=n.result(this,"events")),!e)return this;this.undelegateEvents();for(var t in e){var r=e[t];if(n.isFunction(r)||(r=this[r]),r){var i=t.match(S);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)},C=/\((.*?)\)/g,O=/(\(\?)?:\w+/g,A=/\*\w+/g,N=/[\-{}\[\]+?.,\\\^$|#\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(N,"\\$&").replace(C,"(?:$1)?").replace(O,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var P=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},I=/^[#\/]|\s+$/g,R=/^\/+|\/+$/g,M=/#.*$/;P.started=!1,n.extend(P.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(I,"")},start:function(e){if(P.started)throw new Error("Backbone.history has already been started");if(P.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(R,"/"),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),P.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(!P.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 P;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=x.extend=P.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(91))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t){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)||x(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 S.indexOf(t)>-1?t:e}function m(e,t){t=t||{};var n=t.body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),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]"],x=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=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 S=["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)||x(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 S.indexOf(t)>-1?t:e}function m(e,t){t=t||{};var n=t.body;if(e instanceof m){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new a(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,n||null==e._bodyInit||(n=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new a(t.headers)),this.method=h(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&n)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(n)}function g(e){var t=new FormData;return e.trim().split("&").forEach(function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),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]"],x=ArrayBuffer.isView||function(e){return e&&w.indexOf(Object.prototype.toString.call(e))>-1};a.prototype.append=function(e,t){e=r(e),t=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 S=["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=x;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===x)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:S,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 x="suspendedStart",S="suspendedYield",E="executing",T="completed",k={},C={};C[b]=function(){return this};var O=Object.getPrototypeOf,A=O&&O(O(f([])));A&&A!==g&&v.call(A,b)&&(C=A);var N=o.prototype=r.prototype=Object.create(C);return i.prototype=N.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(N),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,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(N),N[w]="Generator",N[b]=function(){return this},N.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=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 P("A valid access token object is required");var n=e.options.clientId;if(!n)throw new P("A clientId must be specified in the OktaAuth constructor to revoke a token");var r=A.getOAuthUrls(e).revokeUrl,i=t.accessToken,o=O.toQueryParams({token_type_hint:"access_token",token:i}).slice(1),a=btoa(n);return C.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(O.base64UrlToString(n[0])),payload:JSON.parse(O.base64UrlToString(n[1])),signature:n[2]}}catch(e){throw new P("Malformed token")}return t}function o(e,t,n){return Promise.resolve().then(function(){if(!t||!t.idToken)throw new P("Only idTokens may be verified");var r=i(t.idToken),o={clientId:e.options.clientId,issuer:e.options.issuer,ignoreSignature:e.options.ignoreSignature};return O.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 N.verifyToken(t.idToken,e)}).then(function(e){if(!e)throw new P("The token signature is not valid");if(n.accessToken&&t.claims.at_hash)return N.getOidcHash(n.accessToken).then(function(e){if(e!==t.claims.at_hash)throw new P("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 P("The request does not match client configuration")):void o(t.data)},A.addListener(window,"message",r),i=setTimeout(function(){a(new P("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 P("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 I(e.error,e.error_description);if(e.state!==t.state)throw new P("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=O.clone(t.scopes),s=t.clientId||e.options.clientId,c=!1!==e.options.pkce;return Promise.resolve().then(function(){return u(n,t),n.code&&c?(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 P('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 P('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 P("A clientId must be specified in the OktaAuth constructor to get a token");if(O.isString(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new P("Multiple OAuth responseTypes must be defined as an array");var t=O.removeNils({client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state});if(["idp_scope","response_type"].forEach(function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))}),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new P("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 O.toQueryParams(t)}function h(e,t){return arguments.length>2?Promise.reject(new P('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?O.extend(n,i):t.idp&&O.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 P("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 P("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 P("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 P("The full page redirect flow is not supported")}}))}function m(e,t){return arguments.length>2?Promise.reject(new P('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=O.clone(t)||{},O.extend(t,{prompt:"none",responseMode:"okta_post_message",display:null}),h(e,t))}function g(e,t){return arguments.length>2?Promise.reject(new P('As of version 3.0, "getWithPopup" takes only a single set of options')):(t=O.clone(t)||{},O.extend(t,{display:"popup",responseMode:"okta_post_message"}),h(e,t))}function v(e,t){t=O.clone(t)||{};var n=d(e);if(O.extend(n,t),!1===n.pkce)return Promise.resolve(n);if(!e.features.isPKCESupported()){var r="PKCE requires a modern browser with encryption support running in a secure context.";return e.features.isHTTPS()||(r+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(r+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),Promise.reject(new P(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 P("Invalid code_challenge_method")}).then(function(){var t=L.generateVerifier(n.codeVerifier),r={codeVerifier:t,redirectUri:n.redirectUri};return L.saveMeta(e,r),L.computeChallenge(t)}).then(function(e){var t=O.clone(n)||{};return O.extend(t,n,{codeChallenge:e}),t})}function y(e,t){return arguments.length>2?Promise.reject(new P('As of version 3.0, "getWithRedirect" takes only a single set of options')):(t=O.clone(t)||{},v(e,t).then(function(n){var r=A.getOAuthUrls(e,t),i=r.authorizeUrl+f(n);M.set(R.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(R.REDIRECT_NONCE_COOKIE_NAME,n.nonce,null,e.options.cookies),M.set(R.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 P("Renew must be passed a token with an array of scopes and an accessToken or idToken"));var n;return n=e.options.pkce?"code":t.accessToken?"token":"id_token",e.token.getWithoutPrompt({responseType:n,scopes:t.scopes,authorizeUrl:t.authorizeUrl,userinfoUrl:t.userinfoUrl,issuer:t.issuer}).then(function(e){var n=e.tokens;return t.idToken?n.idToken:n.accessToken})}function _(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.search):r.hash=""}function w(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.hash):r.search=""}function x(e,t){t=t||{},O.isString(t)&&(t={url:t});var n,r=e.options.pkce?"query":"fragment",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 P("Unable to parse a token from the url"));var s=M.get(R.REDIRECT_OAUTH_PARAMS_COOKIE_NAME);if(!s)return Promise.reject(new P("Unable to retrieve OAuth redirect params cookie"));try{var l=JSON.parse(s),u=l.urls;delete l.urls,M.delete(R.REDIRECT_OAUTH_PARAMS_COOKIE_NAME)}catch(e){return Promise.reject(new P("Unable to parse the "+R.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 S(e,t,n){return E.apply(this,arguments)}function E(){return E=k(T.mark(function e(t,n,r){return T.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}return e.next=3,t.tokenManager.get("accessToken");case 3:n=e.sent;case 4:if(r){e.next=8;break}return e.next=7,t.tokenManager.get("idToken");case 7:r=e.sent;case 8:if(n&&(A.isToken(n)||n.accessToken||n.userinfoUrl)){e.next=10;break}return e.abrupt("return",Promise.reject(new P("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 P("getUserInfo requires an ID token object")));case 12:return e.abrupt("return",C.httpRequest(t,{url:n.userinfoUrl,method:"GET",accessToken:n.accessToken}).then(function(e){return e.sub===r.claims.sub?e:Promise.reject(new P("getUserInfo request was rejected due to token mismatch"))}).catch(function(e){if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)){var t;if(e.xhr.headers&&O.isFunction(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):O.isFunction(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],i=n[1],o=r[1];i&&o&&(e=new I(i,o))}}throw e}));case 13:case"end":return e.stop()}},e)})),E.apply(this,arguments)}var T=n(7),k=n(8),C=n(3),O=n(0),A=n(10),N=n(23),P=n(1),I=n(24),R=n(2),M=n(4).storage,L=n(25);e.exports={revokeToken:r,getToken:h,getWithoutPrompt:m,getWithPopup:g,getWithRedirect:y,parseFromUrl:x,decodeToken:i,renewToken:b,getUserInfo:S,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||x.TOKEN_STORAGE_NAME,i=S(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),x=n(2),S=n(6),E=n(27),T={autoRenew:!0,storage:"localStorage",expireEarlySeconds:30};e.exports=v},function(e,t,n){function r(e){this.localOffset=parseInt(e||0)}n(0).extend(r.prototype,{now:function(){return(Date.now()+this.localOffset)/1e3}}),r.create=function(){return new r(0)},e.exports=r}])})},function(e,t,n){"use strict";var r,i;r=[n(97),n(108),n(64),n(114),n(115),n(116),n(127),n(128),n(129),n(130),n(131),n(134),n(135),n(136),n(137),n(138),n(140),n(141),n(142),n(143),n(144),n(145),n(147),n(148),n(75),n(149),n(150),n(151),n(152),n(153),n(154),n(156),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(176),n(177),n(180),n(57),n(184),n(187),n(188)],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,x,S,E,T,k,C,O,A,N,P,I,R,M,L,D,F,U,j,B,q,V,H,$,z,W,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(S,{provider:"FIDO",factorType:"webauthn",Beacon:Q}):this.render(h,{provider:"FIDO",factorType:"webauthn",Beacon:Q})},enrollU2F:function(){this.render(x,{provider:"FIDO",factorType:"u2f",Beacon:Q})},scanBarcodeTotpFactor:function(e,t){this.render(C,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},scanBarcodePushFactor:function(){this.render(O,{provider:"OKTA",factorType:"push",Beacon:Q})},activateTotpFactor:function(e,t){this.render(A,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},manualSetupTotpFactor:function(e,t){this.render(N,{provider:e.toUpperCase(),factorType:t,Beacon:Q})},manualSetupPushFactor:function(){this.render(P,{provider:"OKTA",factorType:"push",Beacon:Q})},activationLinkSent:function(){this.render(I,{provider:"OKTA",factorType:"push",Beacon:Q})},enterPasscodeInPushEnrollmentFlow:function(){this.render(R,{provider:"OKTA",factorType:"token:software:totp",Beacon:Q})},passwordExpired:function(){this.render(M,{Beacon:J})},customPasswordExpired:function(){this.render(L,{Beacon:J})},forgotPassword:function(){this.render(D)},recoveryChallenge:function(){this.render(F,{Beacon:J})},recoveryEmailSent:function(){this.render(U,{Beacon:J})},unlockEmailSent:function(){this.render($,{Beacon:J})},recoveryQuestion:function(){this.render(j,{Beacon:J})},passwordReset:function(){this.render(B,{Beacon:J})},recoveryLoading:function(e){this.render(q,{token:e,Beacon:J})},unlockAccount:function(){this.render(V)},accountUnlocked:function(){this.render(H,{Beacon:J})},refreshAuthState:function(e){this.render(z,{token:e,Beacon:J})},register:function(){this.render(W)},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(20),n(54),n(56),n(57),n(59),n(100),n(63),n(15),n(36),n(16),n(7),n(6),n(26),n(17)],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(2));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){/**
 * 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=x;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===x)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:S,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 x="suspendedStart",S="suspendedYield",E="executing",T="completed",k={},C={};C[b]=function(){return this};var O=Object.getPrototypeOf,A=O&&O(O(f([])));A&&A!==g&&v.call(A,b)&&(C=A);var N=o.prototype=r.prototype=Object.create(C);return i.prototype=N.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(N),e},e.awrap=function(e){return{__await:e}},a(s.prototype),s.prototype[_]=function(){return this},e.AsyncIterator=s,e.async=function(n,r,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(N),N[w]="Generator",N[b]=function(){return this},N.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=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,n){"use strict";var r,i,o=n(1),a=o(n(9)),s=o(n(2));r=[n(0),n(12),n(37),n(20),n(16)],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(30));r=[n(102),n(103)],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(9)),o=r(n(60)),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(64),n(46),n(112),n(113),n(67),n(27),n(66)],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(110)],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(60)),o=r(n(9));/**
 * 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 x in o.arr){var S=o.arr[x][1].length,E=0,T=0,k=0,C=0,O=0,A=0;switch(o.arr[x][0].length){case 0:break;case 1:var E=e.math.rd((o.arr[x][0][0]+l)/(f+l),4);break;default:var N=e.math.fo(o.arr[x][0]);E=e.math.rd((e.math.avg(N)+l)/(f+l),4),C=e.math.rd((e.math.sd(N)+l)/(m+l),4)}switch(o.arr[x][1].length){case 0:break;case 1:var T=e.math.rd((o.arr[x][1][0]+l)/(p+l),4);break;default:var N=e.math.fo(o.arr[x][1]);T=e.math.rd((e.math.avg(N)+l)/(p+l),4),O=e.math.rd((e.math.sd(N)+l)/(h+l),4)}switch(o.arr[x][2].length){case 0:break;case 1:var k=e.math.rd((o.arr[x][2][0]+l)/(f+l),4);break;default:var N=e.math.fo(o.arr[x][2]);k=e.math.rd((e.math.avg(N)+l)/(f+l),4),A=e.math.rd((e.math.sd(N)+l)/(m+l),4)}delete o.arr[x][2],delete o.arr[x][1],delete o.arr[x][0],o.arr[x][0]=S,o.arr[x][1]=E,o.arr[x][2]=T,o.arr[x][3]=k,o.arr[x][4]=C,o.arr[x][5]=O,o.arr[x][6]=A}var N=[];e.apu(N,u),e.apu(N,w),e.apu(N,g),e.apu(N,v),e.apu(N,y),e.apu(N,b),e.apu(N,_),e.apu(N,p),e.apu(N,f),e.apu(N,h),e.apu(N,m);for(var P=0;P<=6;P++)for(var x=0;x<44;x++){var I=e.keyCodes[x],R=o.arr[I][P];0==R&&P>0&&(R=1),e.apu(N,R)}return e.apu(N,e.isMobile()),e.apu(N,e.version),e.apu(N,e.flags),N.push(e.history.getSpecialKeys()),N.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=[],x=0,p=0;p<n.length;p++){var S=n.charCodeAt(p);a||(v=_.charCodeAt(p),y=v!=S?v:b.charCodeAt(p));for(var E=x,T=h,k=!1;0==k;){for(var C=E;C<T;C++){var O=u[C],A=O[3];if(A==S||!a&&A==y){if(k=!0,C==x)x++,w=[];else{w.push(C);var N=w.length;N>1&&w[N-1]==w[N-2]+1&&(x=C+1,w=[])}var P=O[0],I=O[1],R=O[2];t?s.push([A,I,R,P]):s.push([I,R]);break}}if(0==k)if(0!=E)E=0,T=x;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")),I=Math.round(e.math.avg(M)),R=Math.round(e.math.avg(L));e.savedMissingAvgValues={seekTime:I,pressTime:R,historyLength:h}}else var I=e.savedMissingAvgValues.seekTime,R=e.savedMissingAvgValues.pressTime;t?s.push([S,I,R,S,1]):s.push([I,R,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 O=u[p],P=O[0],I=O[1],R=O[2];if(t){var A=O[3];s.push([A,I,R,P])}else s.push([I,R])}}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(9)),s=o(n(2));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(7),n(65)],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(46),n(47),n(6),n(7)],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(68),n(12),n(11),n(3),n(6),n(4),n(21)],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(45)),s=o(n(58)),l=o(n(2));r=[n(0),n(3),n(4),n(69)],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(27),n(117),n(118),n(119),n(120),n(121),n(122),n(124),n(125),n(126),n(21)],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(8)],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(8)],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(2));r=[n(0),n(12),n(8),n(6)],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(12),n(6)],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(9)),s=o(n(2));r=[n(0),n(47),n(7),n(123)],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(2));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(8)],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(2));r=[n(0),n(8),n(70)],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(3),n(4),n(25),n(71),n(21),n(22)],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(2));r=[n(0),n(16),n(3),n(4),n(21),n(12),n(11),n(48),n(22),n(72)],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(2));r=[n(0),n(16),n(3),n(4),n(32),n(25),n(21),n(12),n(11),n(22)],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(3),n(4),n(21),n(11),n(22)],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(2));r=[n(0),n(3),n(6),n(15),n(73),n(132),n(133)],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(73)],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(2));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(68),n(12),n(3),n(13)],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(3),n(11),n(7),n(13),n(8)],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(3),n(33),n(13),n(8)],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(3),n(4),n(25),n(71),n(13),n(22)],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(2));r=[n(0),n(3),n(13),n(74),n(8),n(39),n(4),n(7),n(6)],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(2));r=[n(0),n(3),n(13),n(4)],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(2));r=[n(0),n(3),n(13),n(70),n(4)],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(4),n(3),n(7),n(13),n(8)],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(4),n(3),n(7),n(13),n(8)],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(4),n(3),n(13),n(8)],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(9)),s=o(n(2));r=[n(0),n(11),n(3),n(4),n(15),n(146),n(49),n(13)],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(2));r=[n(0),n(16),n(4),n(3),n(48),n(13),n(12),n(22),n(72)],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(2));r=[n(0),n(16),n(4),n(3),n(32),n(25),n(13),n(12),n(22),n(20)],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(37),n(4),n(75),n(22)],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(3),n(4),n(13),n(22)],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(11),n(3),n(4),n(15),n(49),n(13)],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(11),n(3),n(4),n(15),n(49),n(13)],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(3),n(76),n(13)],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(2));r=[n(0),n(11),n(3),n(4),n(15),n(155),n(8)],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(2));r=[n(0),n(15),n(6)],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(2));r=[n(0),n(39),n(11),n(3),n(4),n(15),n(157),n(74),n(8)],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(2));r=[n(0),n(15)],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(2));r=[n(0),n(39),n(3),n(4),n(15)],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(2));r=[n(0),n(3),n(15),n(76)],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(3),n(6),n(4),n(33),n(11),n(7),n(77),n(8),n(78)],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(3),n(4),n(77)],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(2));r=[n(0),n(3),n(6),n(4),n(33),n(7),n(79),n(8)],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(2));r=[n(0),n(3),n(4),n(6),n(21),n(8)],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(2));r=[n(0),n(6),n(3),n(4)],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(3),n(4),n(21),n(8)],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(3),n(4),n(33),n(11),n(7),n(21),n(8),n(78)],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(3)],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(2));r=[n(0),n(3),n(6),n(4),n(7),n(33),n(79),n(8)],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(6),n(3),n(4)],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(6),n(3),n(4)],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(3)],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(2));r=[n(0),n(12),n(173),n(174),n(27),n(6),n(80),n(175),n(16),n(7)],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(31)],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(2));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(9)),s=o(n(2));r=[n(0),n(6),n(3),n(4)],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(2));r=[n(0),n(3),n(4),n(178)],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(179)],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(2));r=[n(0),n(44)],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(181),n(27),n(182),n(69)],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(31)],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(2));r=[n(0),n(80),n(183)],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(2));r=[n(0),n(12),n(11),n(185),n(37)],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(11),n(37),n(186)],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(9)),s=o(n(2));r=[n(0),n(15)],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(2));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(3),n(4)],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(190)),o=r(n(242));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(191)),a=r(n(241)),s=n(83),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(30)),a=i(n(17)),s=n(18),l=i(n(14)),u=i(n(197)),c=i(n(201)),d=i(n(202)),p=i(n(203)),f=i(n(204)),h=i(n(205)),m=i(n(206)),g=i(n(207)),v=i(n(208)),y=i(n(209)),b=i(n(210)),_=i(n(211)),w=i(n(40)),x=i(n(212)),S=i(n(213)),E=i(n(214)),T=i(n(215)),k=i(n(216)),C=i(n(218)),O=i(n(84)),A=i(n(219)),N=i(n(220)),P=i(n(221)),I=i(n(222)),R=i(n(223)),M=i(n(225)),L=i(n(227)),D=i(n(228)),F=i(n(229)),U=i(n(230)),j=i(n(231)),B=i(n(235)),q=i(n(236)),V=i(n(239)),H=i(n(240)),$=(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:I.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:C.default}),(0,o.default)(r,s.FORMS.ENROLL_AUTHENTICATOR,{password:w.default,security_key:R.default,phone:k.default,security_question:N.default,email:L.default}),(0,o.default)(r,s.FORMS.ENROLL_POLL,{app:U.default}),(0,o.default)(r,s.FORMS.SELECT_ENROLLMENT_CHANNEL,{app:j.default}),(0,o.default)(r,s.FORMS.ENROLLMENT_CHANNEL_DATA,{app:B.default}),(0,o.default)(r,s.FORMS.REENROLL_AUTHENTICATOR,{password:S.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:x.default,webauthn:I.default,security_key:M.default,security_question:P.default,phone:O.default,app:q.default}),(0,o.default)(r,s.FORMS.CHALLENGE_POLL,{app:V.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=$[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(9)),o=r(n(2)),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(9)),o=r(n(2)),a=n(0),s=n(18),l=r(n(194)),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(18),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(9)),o=r(n(2)),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(30)),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(18),a=r(n(14)),s=r(n(5)),l=r(n(23)),u=r(n(198)),c=r(n(199)),d=r(n(200)),p=n(81),f=n(28),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(2)),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(2)),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(2)),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(14)),a=r(n(5)),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(14)),o=r(n(5)),a=r(n(7)),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(2)),o=n(0),a=r(n(14)),s=r(n(5)),l=r(n(51)),u=r(n(52)),c=r(n(23)),d=r(n(17)),p=r(n(38)),f=r(n(29)),h=r(n(7)),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(10)),o=r(n(5)),a=r(n(7)),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(14)),a=r(n(5)),s=r(n(23)),l=n(18),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(14)),o=r(n(5)),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(14)),o=r(n(5)),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(14)),o=r(n(5)),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(14)),o=r(n(5)),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(14)),a=r(n(5)),s=r(n(10)),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(5)),a=r(n(19)),s=r(n(10)),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(5)),a=r(n(19)),s=r(n(10)),l=n(28),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(40)),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(23)),a=r(n(40)),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(40)),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(217);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(0),a=i(n(84)),s=r(n(5)),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(9);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(14)),a=r(n(5)),s=r(n(10)),l=r(n(39)),u=r(n(24)),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(14)),a=r(n(5)),s=r(n(10)),l=r(n(19)),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(5)),a=r(n(10)),s=r(n(24)),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(5)),a=r(n(10)),s=r(n(19)),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(2)),o=n(0),a=r(n(5)),s=r(n(23)),l=r(n(10)),u=r(n(32)),c=r(n(25)),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(5)),s=i(n(10)),l=i(n(25)),u=i(n(32)),c=i(n(224)),d=i(n(24)),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(2)),o=n(0),a=r(n(20)),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(5)),a=r(n(10)),s=r(n(32)),l=r(n(25)),u=r(n(19)),c=r(n(226)),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(2)),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(24)),a=r(n(85)),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(5)),a=r(n(86)),s=r(n(29)),l=r(n(10)),u=r(n(19)),c=n(41),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(2)),o=n(0),a=r(n(19)),s=r(n(85)),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(2)),o=n(0),a=r(n(5)),s=n(20),l=r(n(10)),u=r(n(24)),c=r(n(82)),d=n(28),p=r(n(29)),f=n(18),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(53)),o=n(0),a=r(n(5)),s=r(n(10)),l=r(n(24)),u=n(20),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(62);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(5)),a=r(n(10)),s=r(n(24)),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(10)),o=r(n(19)),a=r(n(237)),s=r(n(238)),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(5)),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(2)),o=n(0),a=r(n(5)),s=r(n(17)),l=r(n(38)),u=r(n(29)),c=r(n(7)),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(2)),o=n(0),a=r(n(5)),s=r(n(10)),l=r(n(19)),u=r(n(29)),c=n(41),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(5)),a=r(n(10)),s=r(n(19)),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(87),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(54)),a=r(n(26)),s=r(n(63)),l=r(n(6)),u=r(n(16)),c=r(n(17)),d=r(n(243)),p=r(n(59)),f=r(n(56)),h=r(n(244)),m=r(n(245)),g=r(n(87)),v=r(n(249)),y=r(n(250)),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(26)],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(53)),o=n(0),a=n(18),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(246)),a=r(n(247)),s=r(n(248)),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(30)),o=r(n(53)),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(17)),a=n(18),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(45)),l=a(n(9));!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(),x.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&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 x=["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 S=[301,302,303,307,308];f.redirect=function(e,t){if(-1===S.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},Ne.range&&(a.range=[r,i]),Ne.loc&&(a.loc=o),Ne.comments.push(a),Ne.attachComment&&(Ne.leadingComments.push(a),Ne.trailingComments.push(a)))}function p(e){var t,n,r,i;for(t=Se-e,n={start:{line:Ee,column:Se-Te-e}};Se<ke;)if(r=we.charCodeAt(Se),++Se,a(r))return Ne.comments&&(i=we.slice(t+e,Se-1),n.end={line:Ee,column:Se-Te-1},d("Line",i,t,Se-1,n)),13===r&&10===we.charCodeAt(Se)&&++Se,++Ee,void(Te=Se);Ne.comments&&(i=we.slice(t+e,Se),n.end={line:Ee,column:Se-Te},d("Line",i,t,Se,n))}function f(){var e,t,n,r;for(Ne.comments&&(e=Se-2,t={start:{line:Ee,column:Se-Te-2}});Se<ke;)if(a(n=we.charCodeAt(Se)))13===n&&10===we.charCodeAt(Se+1)&&++Se,++Ee,++Se,Te=Se,Se>=ke&&A({},ye.UnexpectedToken,"ILLEGAL");else if(42===n){if(47===we.charCodeAt(Se+1))return++Se,++Se,void(Ne.comments&&(r=we.slice(e+2,Se-2),t.end={line:Ee,column:Se-Te},d("Block",r,e,Se,t)));++Se}else++Se;A({},ye.UnexpectedToken,"ILLEGAL")}function h(){var e,t;for(t=0===Se;Se<ke;)if(o(e=we.charCodeAt(Se)))++Se;else if(a(e))++Se,13===e&&10===we.charCodeAt(Se)&&++Se,++Ee,Te=Se,t=!0;else if(47===e)if(47===(e=we.charCodeAt(Se+1)))++Se,++Se,p(2),t=!0;else{if(42!==e)break;++Se,++Se,f()}else if(t&&45===e){if(45!==we.charCodeAt(Se+1)||62!==we.charCodeAt(Se+2))break;Se+=3,p(3)}else{if(60!==e)break;if("!--"!==we.slice(Se+1,Se+4))break;++Se,++Se,++Se,++Se,p(4)}}function m(e){var t,n,i,o=0;for(n="u"===e?4:2,t=0;t<n;++t){if(!(Se<ke&&r(we[Se])))return"";i=we[Se++],o=16*o+"0123456789abcdef".indexOf(i.toLowerCase())}return String.fromCharCode(o)}function g(){var e,t;for(e=we.charCodeAt(Se++),t=String.fromCharCode(e),92===e&&(117!==we.charCodeAt(Se)&&A({},ye.UnexpectedToken,"ILLEGAL"),++Se,(e=m("u"))&&"\\"!==e&&s(e.charCodeAt(0))||A({},ye.UnexpectedToken,"ILLEGAL"),t=e);Se<ke&&l(e=we.charCodeAt(Se));)++Se,t+=String.fromCharCode(e),92===e&&(t=t.substr(0,t.length-1),117!==we.charCodeAt(Se)&&A({},ye.UnexpectedToken,"ILLEGAL"),++Se,(e=m("u"))&&"\\"!==e&&l(e.charCodeAt(0))||A({},ye.UnexpectedToken,"ILLEGAL"),t+=e);return t}function v(){var e,t;return e=Se,{type:1===(t=92===we.charCodeAt(Se)?g():function(){var e,t;for(e=Se++;Se<ke;){if(92===(t=we.charCodeAt(Se)))return Se=e,g();if(!l(t))break;++Se}return we.slice(e,Se)}()).length?fe.Identifier:function(e){if(xe&&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:Se}}function y(){var e,t,n,r,i=Se,o=we.charCodeAt(Se),a=we[Se];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++Se,Ne.tokenize&&(40===o?Ne.openParenToken=Ne.tokens.length:123===o&&(Ne.openCurlyToken=Ne.tokens.length)),{type:fe.Punctuator,value:String.fromCharCode(o),lineNumber:Ee,lineStart:Te,start:i,end:Se};default:if(61===(e=we.charCodeAt(Se+1)))switch(o){case 43:case 45:case 47:case 60:case 62:case 94:case 124:case 37:case 38:case 42:return Se+=2,{type:fe.Punctuator,value:String.fromCharCode(o)+String.fromCharCode(e),lineNumber:Ee,lineStart:Te,start:i,end:Se};case 33:case 61:return Se+=2,61===we.charCodeAt(Se)&&++Se,{type:fe.Punctuator,value:we.slice(i,Se),lineNumber:Ee,lineStart:Te,start:i,end:Se}}}return">>>="===(r=we.substr(Se,4))?{type:fe.Punctuator,value:r,lineNumber:Ee,lineStart:Te,start:i,end:Se+=4}:">>>"===(n=r.substr(0,3))||"<<="===n||">>="===n?{type:fe.Punctuator,value:n,lineNumber:Ee,lineStart:Te,start:i,end:Se+=3}:a===(t=n.substr(0,2))[1]&&"+-<>&|".indexOf(a)>=0||"=>"===t?{type:fe.Punctuator,value:t,lineNumber:Ee,lineStart:Te,start:i,end:Se+=2}:"<>=!+-*%&|^/".indexOf(a)>=0?(++Se,{type:fe.Punctuator,value:a,lineNumber:Ee,lineStart:Te,start:i,end:Se}):void A({},ye.UnexpectedToken,"ILLEGAL")}function b(){var e,o,a;if(t(n((a=we[Se]).charCodeAt(0))||"."===a,"Numeric literal must start with a decimal digit or a decimal point"),o=Se,e="","."!==a){if(e=we[Se++],a=we[Se],"0"===e){if("x"===a||"X"===a)return++Se,function(e){for(var t="";Se<ke&&r(we[Se]);)t+=we[Se++];return 0===t.length&&A({},ye.UnexpectedToken,"ILLEGAL"),s(we.charCodeAt(Se))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseInt("0x"+t,16),lineNumber:Ee,lineStart:Te,start:e,end:Se}}(o);if(i(a))return function(e){for(var t="0"+we[Se++];Se<ke&&i(we[Se]);)t+=we[Se++];return(s(we.charCodeAt(Se))||n(we.charCodeAt(Se)))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseInt(t,8),octal:!0,lineNumber:Ee,lineStart:Te,start:e,end:Se}}(o);a&&n(a.charCodeAt(0))&&A({},ye.UnexpectedToken,"ILLEGAL")}for(;n(we.charCodeAt(Se));)e+=we[Se++];a=we[Se]}if("."===a){for(e+=we[Se++];n(we.charCodeAt(Se));)e+=we[Se++];a=we[Se]}if("e"===a||"E"===a)if(e+=we[Se++],"+"!==(a=we[Se])&&"-"!==a||(e+=we[Se++]),n(we.charCodeAt(Se)))for(;n(we.charCodeAt(Se));)e+=we[Se++];else A({},ye.UnexpectedToken,"ILLEGAL");return s(we.charCodeAt(Se))&&A({},ye.UnexpectedToken,"ILLEGAL"),{type:fe.NumericLiteral,value:parseFloat(e),lineNumber:Ee,lineStart:Te,start:o,end:Se}}function _(){var e,n,r,i;return Oe=null,h(),e=Se,n=function(){var e,n,r,i;for(t("/"===(e=we[Se]),"Regular expression literal must start with a slash"),n=we[Se++],r=!1,i=!1;Se<ke;)if(n+=e=we[Se++],"\\"===e)a((e=we[Se++]).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="";Se<ke&&l((e=we[Se]).charCodeAt(0));)if(++Se,"\\"===e&&Se<ke)if("u"===(e=we[Se])){if(r=++Se,e=m("u"))for(n+=e,t+="\\u";r<Se;++r)t+=we[r];else Se=r,n+="u",t+="\\u";N({},ye.UnexpectedToken,"ILLEGAL")}else t+="\\",N({},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),Ne.tokenize?{type:fe.RegularExpression,value:i,lineNumber:Ee,lineStart:Te,start:e,end:Se}:{literal:n.literal+r.literal,value:i,start:e,end:Se}}function w(){var e,t,n,r;return h(),e=Se,t={start:{line:Ee,column:Se-Te}},n=_(),t.end={line:Ee,column:Se-Te},Ne.tokenize||(Ne.tokens.length>0&&(r=Ne.tokens[Ne.tokens.length-1]).range[0]===e&&"Punctuator"===r.type&&("/"!==r.value&&"/="!==r.value||Ne.tokens.pop()),Ne.tokens.push({type:"RegularExpression",value:n.literal,range:[e,Se],loc:t})),n}function x(){var e;return h(),Se>=ke?{type:fe.EOF,lineNumber:Ee,lineStart:Te,start:Se,end:Se}:s(e=we.charCodeAt(Se))?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[Se])||'"'===e,"String literal must starts with a quote"),n=Se,++Se;Se<ke;){if((r=we[Se++])===e){e="";break}if("\\"===r)if((r=we[Se++])&&a(r.charCodeAt(0)))++Ee,"\r"===r&&"\n"===we[Se]&&++Se,Te=Se;else switch(r){case"u":case"x":l=Se,(s=m(r))?d+=s:(Se=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),Se<ke&&i(we[Se])&&(p=!0,o=8*o+"01234567".indexOf(we[Se++]),"0123".indexOf(r)>=0&&Se<ke&&i(we[Se])&&(o=8*o+"01234567".indexOf(we[Se++]))),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:Se}}():46===e?n(we.charCodeAt(Se+1))?b():y():n(e)?b():Ne.tokenize&&47===e?function(){var e,t;if(!(e=Ne.tokens[Ne.tokens.length-1]))return w();if("Punctuator"===e.type){if("]"===e.value)return y();if(")"===e.value)return!(t=Ne.tokens[Ne.openParenToken-1])||"Keyword"!==t.type||"if"!==t.value&&"while"!==t.value&&"for"!==t.value&&"with"!==t.value?y():w();if("}"===e.value){if(Ne.tokens[Ne.openCurlyToken-3]&&"Keyword"===Ne.tokens[Ne.openCurlyToken-3].type){if(!(t=Ne.tokens[Ne.openCurlyToken-4]))return y()}else{if(!Ne.tokens[Ne.openCurlyToken-4]||"Keyword"!==Ne.tokens[Ne.openCurlyToken-4].type)return y();if(!(t=Ne.tokens[Ne.openCurlyToken-5]))return w()}return me.indexOf(t.value)>=0?y():w()}return w()}return"Keyword"===e.type?w():y()}():y()}function S(){var e,t,n;return h(),e={start:{line:Ee,column:Se-Te}},t=x(),e.end={line:Ee,column:Se-Te},t.type!==fe.EOF&&(n=we.slice(t.start,t.end),Ne.tokens.push({type:he[t.type],value:n,range:[t.start,t.end],loc:e})),t}function E(){var e;return Se=(e=Oe).end,Ee=e.lineNumber,Te=e.lineStart,Oe=void 0!==Ne.tokens?S():x(),Se=e.end,Ee=e.lineNumber,Te=e.lineStart,e}function T(){var e,t,n;e=Se,t=Ee,n=Te,Oe=void 0!==Ne.tokens?S():x(),Se=e,Ee=t,Te=n}function k(e,t){this.line=e,this.column=t}function C(e,t,n,r){this.start=new k(e,t),this.end=new k(n,r)}function O(){var e,t,n,r;return e=Se,t=Ee,n=Te,h(),r=Ee!==t,Se=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=Se,r.lineNumber=Ee,r.column=Se-Te+1),r.description=o,r}function N(){try{A.apply(null,arguments)}catch(e){if(!Ne.errors)throw e;Ne.errors.push(e)}}function P(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(xe&&u(e.value))return void N(e,ye.StrictReservedWord);A(e,ye.UnexpectedToken,e.value)}A(e,ye.UnexpectedToken,e.value)}function I(e){var t=E();t.type===fe.Punctuator&&t.value===e||P(t)}function R(e){var t=E();t.type===fe.Keyword&&t.value===e||P(t)}function M(e){return Oe.type===fe.Punctuator&&Oe.value===e}function L(e){return Oe.type===fe.Keyword&&Oe.value===e}function D(){var e;59===we.charCodeAt(Se)||M(";")?E():(e=Ee,h(),Ee===e&&(Oe.type===fe.EOF||M("}")||P(Oe)))}function F(e){return e.type===ge.Identifier||e.type===ge.MemberExpression}function U(e,t){var n,r,i;return n=xe,i=Oe,r=se(),t&&xe&&c(e[0].name)&&N(t,ye.StrictParamName),xe=n,Ce.markEnd(Ce.createFunctionExpression(null,e,[],r),i)}function j(){var e,t;return t=Oe,(e=E()).type===fe.StringLiteral||e.type===fe.NumericLiteral?(xe&&e.octal&&N(e,ye.StrictOctalLiteral),Ce.markEnd(Ce.createLiteral(e),t)):Ce.markEnd(Ce.createIdentifier(e.value),t)}function B(){var e,t,n,r,i,o;return o=Oe,(e=Oe).type===fe.Identifier?(n=j(),"get"!==e.value||M(":")?"set"!==e.value||M(":")?(I(":"),r=Q(),Ce.markEnd(Ce.createProperty("init",n,r),o)):(t=j(),I("("),(e=Oe).type!==fe.Identifier?(I(")"),N(e,ye.UnexpectedToken,e.value),r=U([])):(i=[ee()],I(")"),r=U(i,e)),Ce.markEnd(Ce.createProperty("set",t,r),o)):(t=j(),I("("),I(")"),r=U([]),Ce.markEnd(Ce.createProperty("get",t,r),o))):e.type!==fe.EOF&&e.type!==fe.Punctuator?(t=j(),I(":"),r=Q(),Ce.markEnd(Ce.createProperty("init",t,r),o)):void P(e)}function q(){var e,t,n,r;if(M("("))return function(){var e;return I("("),e=X(),I(")"),e}();if(M("["))return function(){var e,t=[];for(e=Oe,I("[");!M("]");)M(",")?(E(),t.push(null)):(t.push(Q()),M("]")||I(","));return E(),Ce.markEnd(Ce.createArrayExpression(t),e)}();if(M("{"))return function(){var e,t,n,r,i,o=[],a={},s=String;for(i=Oe,I("{");!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?xe&&r===ve.Data?N({},ye.StrictDuplicateProperty):r!==ve.Data&&N({},ye.AccessorDataProperty):r===ve.Data?N({},ye.AccessorDataProperty):a[n]&r&&N({},ye.AccessorGetSet),a[n]|=r):a[n]=r,o.push(e),M("}")||I(",");return I("}"),Ce.markEnd(Ce.createObjectExpression(o),i)}();if(e=Oe.type,r=Oe,e===fe.Identifier)n=Ce.createIdentifier(E().value);else if(e===fe.StringLiteral||e===fe.NumericLiteral)xe&&Oe.octal&&N(Oe,ye.StrictOctalLiteral),n=Ce.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=Oe,R("function"),M("(")||(e=Oe,d=ee(),xe?c(e.value)&&N(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=xe,a=se(),xe&&n&&A(n,r),xe&&t&&N(t,r),xe=s,Ce.markEnd(Ce.createFunctionExpression(d,o,[],a),l)}();L("this")?(E(),n=Ce.createThisExpression()):P(E())}else e===fe.BooleanLiteral?((t=E()).value="true"===t.value,n=Ce.createLiteral(t)):e===fe.NullLiteral?((t=E()).value=null,n=Ce.createLiteral(t)):M("/")||M("/=")?(n=void 0!==Ne.tokens?Ce.createLiteral(w()):Ce.createLiteral(_()),T()):P(E());return Ce.markEnd(n,r)}function V(){var e=[];if(I("("),!M(")"))for(;Se<ke&&(e.push(Q()),!M(")"));)I(",");return I(")"),e}function H(){var e,t;return t=Oe,function(e){return e.type===fe.Identifier||e.type===fe.Keyword||e.type===fe.BooleanLiteral||e.type===fe.NullLiteral}(e=E())||P(e),Ce.markEnd(Ce.createIdentifier(e.value),t)}function $(){return I("."),H()}function z(){var e;return I("["),e=X(),I("]"),e}function W(){var e,t,n;return n=Oe,R("new"),e=function(){var e,t,n,r;for(r=Oe,e=Ae.allowIn,t=L("new")?W():q(),Ae.allowIn=e;M(".")||M("[");)M("[")?(n=z(),t=Ce.createMemberExpression("[",t,n)):(n=$(),t=Ce.createMemberExpression(".",t,n)),Ce.markEnd(t,r);return t}(),t=M("(")?V():[],Ce.markEnd(Ce.createNewExpression(e,t),n)}function G(){var e,t,n=Oe;return e=function(){var e,t,n,r,i;for(i=Oe,e=Ae.allowIn,Ae.allowIn=!0,t=L("new")?W():q(),Ae.allowIn=e;;){if(M("."))r=$(),t=Ce.createMemberExpression(".",t,r);else if(M("("))n=V(),t=Ce.createCallExpression(t,n);else{if(!M("["))break;r=z(),t=Ce.createMemberExpression("[",t,r)}Ce.markEnd(t,i)}return t}(),Oe.type===fe.Punctuator&&(!M("++")&&!M("--")||O()||(xe&&e.type===ge.Identifier&&c(e.name)&&N({},ye.StrictLHSPostfix),F(e)||N({},ye.InvalidLHSInAssignment),t=E(),e=Ce.markEnd(Ce.createPostfixExpression(t.value,e),n))),e}function K(){var e,t,n;return Oe.type!==fe.Punctuator&&Oe.type!==fe.Keyword?t=G():M("++")||M("--")?(n=Oe,e=E(),t=K(),xe&&t.type===ge.Identifier&&c(t.name)&&N({},ye.StrictLHSPrefix),F(t)||N({},ye.InvalidLHSInAssignment),t=Ce.createUnaryExpression(e.value,t),t=Ce.markEnd(t,n)):M("+")||M("-")||M("~")||M("!")?(n=Oe,e=E(),t=K(),t=Ce.createUnaryExpression(e.value,t),t=Ce.markEnd(t,n)):L("delete")||L("void")||L("typeof")?(n=Oe,e=E(),t=K(),t=Ce.createUnaryExpression(e.value,t),t=Ce.markEnd(t,n),xe&&"delete"===t.operator&&t.argument.type===ge.Identifier&&N({},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=Oe,e=function(){var e,t,n,r,i,o,a,s,l,u;if(e=Oe,l=K(),0===(i=Y(r=Oe,Ae.allowIn)))return l;for(r.prec=i,E(),t=[e,Oe],o=[l,r,a=K()];(i=Y(Oe,Ae.allowIn))>0;){for(;o.length>2&&i<=o[o.length-2].prec;)a=o.pop(),s=o.pop().value,l=o.pop(),n=Ce.createBinaryExpression(s,l,a),t.pop(),e=t[t.length-1],Ce.markEnd(n,e),o.push(n);(r=E()).prec=i,o.push(r),t.push(Oe),n=K(),o.push(n)}for(n=o[u=o.length-1],t.pop();u>1;)n=Ce.createBinaryExpression(o[u-1].value,o[u-2],n),u-=2,e=t.pop(),Ce.markEnd(n,e);return n}(),M("?")&&(E(),t=Ae.allowIn,Ae.allowIn=!0,n=Q(),Ae.allowIn=t,I(":"),r=Q(),e=Ce.createConditionalExpression(e,n,r),Ce.markEnd(e,i)),e}function Q(){var e,t,n,r,i,o;return e=Oe,i=Oe,r=t=J(),Oe.type!==fe.Punctuator||"="!==(o=Oe.value)&&"*="!==o&&"/="!==o&&"%="!==o&&"+="!==o&&"-="!==o&&"<<="!==o&&">>="!==o&&">>>="!==o&&"&="!==o&&"^="!==o&&"|="!==o||(F(t)||N({},ye.InvalidLHSInAssignment),xe&&t.type===ge.Identifier&&c(t.name)&&N(e,ye.StrictLHSAssignment),e=E(),n=Q(),r=Ce.markEnd(Ce.createAssignmentExpression(e.value,t,n),i)),r}function X(){var e,t=Oe;if(e=Q(),M(",")){for(e=Ce.createSequenceExpression([e]);Se<ke&&M(",");)E(),e.expressions.push(Q());Ce.markEnd(e,t)}return e}function Z(){var e,t;return t=Oe,I("{"),e=function(){for(var e,t=[];Se<ke&&!M("}")&&void 0!==(e=ce());)t.push(e);return t}(),I("}"),Ce.markEnd(Ce.createBlockStatement(e),t)}function ee(){var e,t;return t=Oe,(e=E()).type!==fe.Identifier&&P(e),Ce.markEnd(Ce.createIdentifier(e.value),t)}function te(e){var t,n,r=null;return n=Oe,t=ee(),xe&&c(t.name)&&N({},ye.StrictVarName),"const"===e?(I("="),r=Q()):M("=")&&(E(),r=Q()),Ce.markEnd(Ce.createVariableDeclarator(t,r),n)}function ne(e){var t=[];do{if(t.push(te(e)),!M(","))break;E()}while(Se<ke);return t}function re(){var e,t,n,r,i,o,a,s,l,u;return e=t=n=null,R("for"),I("("),M(";")?E():(L("var")||L("let")?(Ae.allowIn=!1,u=Oe,s=E(),l=ne(),e=Ce.markEnd(Ce.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)||N({},ye.InvalidLHSInForIn),E(),r=e,i=X(),e=null)),void 0===r&&I(";")),void 0===r&&(M(";")||(t=X()),I(";"),M(")")||(n=X())),I(")"),a=Ae.inIteration,Ae.inIteration=!0,o=ae(),Ae.inIteration=a,void 0===r?Ce.createForStatement(e,t,n,o):Ce.createForInStatement(r,i,o)}function ie(){var e,t,n,r=[];for(n=Oe,L("default")?(E(),e=null):(R("case"),e=X()),I(":");Se<ke&&!(M("}")||L("default")||L("case"));)t=ae(),r.push(t);return Ce.markEnd(Ce.createSwitchCase(e,r),n)}function oe(){var e,t,n,r,i=[],o=null;return R("try"),e=Z(),L("catch")&&i.push((r=Oe,R("catch"),I("("),M(")")&&P(Oe),t=ee(),xe&&c(t.name)&&N({},ye.StrictCatchVariable),I(")"),n=Z(),Ce.markEnd(Ce.createCatchClause(t,n),r))),L("finally")&&(E(),o=Z()),0!==i.length||o||A({},ye.NoCatchOrFinally),Ce.createTryStatement(e,[],i,o)}function ae(){var e,t,n,r,i,o,a,l,u,c=Oe.type;if(c===fe.EOF&&P(Oe),c===fe.Punctuator&&"{"===Oe.value)return Z();if(r=Oe,c===fe.Punctuator)switch(Oe.value){case";":return Ce.markEnd((I(";"),Ce.createEmptyStatement()),r);case"(":return Ce.markEnd(function(){var e=X();return D(),Ce.createExpressionStatement(e)}(),r)}if(c===fe.Keyword)switch(Oe.value){case"break":return Ce.markEnd(function(){var e,t=null;return R("break"),59===we.charCodeAt(Se)?(E(),Ae.inIteration||Ae.inSwitch||A({},ye.IllegalBreak),Ce.createBreakStatement(null)):O()?(Ae.inIteration||Ae.inSwitch||A({},ye.IllegalBreak),Ce.createBreakStatement(null)):(Oe.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),Ce.createBreakStatement(t))}(),r);case"continue":return Ce.markEnd(function(){var e,t=null;return R("continue"),59===we.charCodeAt(Se)?(E(),Ae.inIteration||A({},ye.IllegalContinue),Ce.createContinueStatement(null)):O()?(Ae.inIteration||A({},ye.IllegalContinue),Ce.createContinueStatement(null)):(Oe.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),Ce.createContinueStatement(t))}(),r);case"debugger":return Ce.markEnd((R("debugger"),D(),Ce.createDebuggerStatement()),r);case"do":return Ce.markEnd((R("do"),u=Ae.inIteration,Ae.inIteration=!0,a=ae(),Ae.inIteration=u,R("while"),I("("),l=X(),I(")"),M(";")&&E(),Ce.createDoWhileStatement(a,l)),r);case"for":return Ce.markEnd(re(),r);case"function":return Ce.markEnd(ue(),r);case"if":return Ce.markEnd(function(){var e,t,n;return R("if"),I("("),e=X(),I(")"),t=ae(),L("else")?(E(),n=ae()):n=null,Ce.createIfStatement(e,t,n)}(),r);case"return":return Ce.markEnd((o=null,R("return"),Ae.inFunctionBody||N({},ye.IllegalReturn),32===we.charCodeAt(Se)&&s(we.charCodeAt(Se+1))?(o=X(),D(),Ce.createReturnStatement(o)):O()?Ce.createReturnStatement(null):(M(";")||M("}")||Oe.type===fe.EOF||(o=X()),D(),Ce.createReturnStatement(o))),r);case"switch":return Ce.markEnd(function(){var e,t,n,r,i;if(R("switch"),I("("),e=X(),I(")"),I("{"),t=[],M("}"))return E(),Ce.createSwitchStatement(e,t);for(r=Ae.inSwitch,Ae.inSwitch=!0,i=!1;Se<ke&&!M("}");)null===(n=ie()).test&&(i&&A({},ye.MultipleDefaultsInSwitch),i=!0),t.push(n);return Ae.inSwitch=r,I("}"),Ce.createSwitchStatement(e,t)}(),r);case"throw":return Ce.markEnd(function(){var e;return R("throw"),O()&&A({},ye.NewlineAfterThrow),e=X(),D(),Ce.createThrowStatement(e)}(),r);case"try":return Ce.markEnd(oe(),r);case"var":return Ce.markEnd((R("var"),i=ne(),D(),Ce.createVariableDeclaration(i,"var")),r);case"while":return Ce.markEnd(function(){var e,t,n;return R("while"),I("("),e=X(),I(")"),n=Ae.inIteration,Ae.inIteration=!0,t=ae(),Ae.inIteration=n,Ce.createWhileStatement(e,t)}(),r);case"with":return Ce.markEnd(function(){var e,t;return xe&&(h(),N({},ye.StrictModeWith)),R("with"),I("("),e=X(),I(")"),t=ae(),Ce.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],Ce.markEnd(Ce.createLabeledStatement(e,t),r)):(D(),Ce.markEnd(Ce.createExpressionStatement(e),r))}function se(){var e,t,n,r,i,o,a,s,l=[];for(s=Oe,I("{");Se<ke&&Oe.type===fe.StringLiteral&&(t=Oe,e=ce(),l.push(e),e.expression.type===ge.Literal);)"use strict"===we.slice(t.start+1,t.end-1)?(xe=!0,n&&N(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;Se<ke&&!M("}")&&void 0!==(e=ce());)l.push(e);return I("}"),Ae.labelSet=r,Ae.inIteration=i,Ae.inSwitch=o,Ae.inFunctionBody=a,Ce.markEnd(Ce.createBlockStatement(l),s)}function le(e){var t,n,r,i,o,a,s=[];if(I("("),!M(")"))for(i={};Se<ke&&(n=Oe,t=ee(),o="$"+n.value,xe?(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(")"));)I(",");return I(")"),{params:s,stricted:r,firstRestricted:e,message:a}}function ue(){var e,t,n,r,i,o,a,s,l,d;return d=Oe,R("function"),r=Oe,e=ee(),xe?c(r.value)&&N(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=xe,n=se(),xe&&a&&A(a,s),xe&&i&&N(i,s),xe=l,Ce.markEnd(Ce.createFunctionDeclaration(e,t,[],n),d)}function ce(){if(Oe.type===fe.Keyword)switch(Oe.value){case"const":case"let":return e=Oe.value,n=Oe,R(e),t=ne(e),D(),Ce.markEnd(Ce.createVariableDeclaration(t,e),n);case"function":return ue();default:return ae()}var e,t,n;if(Oe.type!==fe.EOF)return ae()}function de(){var e,t;return h(),T(),t=Oe,xe=!1,e=function(){for(var e,t,n,r=[];Se<ke&&(t=Oe).type===fe.StringLiteral&&(e=ce(),r.push(e),e.expression.type===ge.Literal);)"use strict"===we.slice(t.start+1,t.end-1)?(xe=!0,n&&N(n,ye.StrictOctalLiteral)):!n&&t.octal&&(n=t);for(;Se<ke&&void 0!==(e=ce());)r.push(e);return r}(),Ce.markEnd(Ce.createProgram(e),t)}function pe(){var e,t,n,r=[];for(e=0;e<Ne.tokens.length;++e)n={type:(t=Ne.tokens[e]).type,value:t.value},Ne.range&&(n.range=t.range),Ne.loc&&(n.loc=t.loc),r.push(n);Ne.tokens=r}var fe,he,me,ge,ve,ye,be,_e,we,xe,Se,Ee,Te,ke,Ce,Oe,Ae,Ne;(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(Ne.trailingComments.length>0?Ne.trailingComments[0].range[0]>=e.range[1]?(n=Ne.trailingComments,Ne.trailingComments=[]):Ne.trailingComments.length=0:Ne.bottomRightStack.length>0&&Ne.bottomRightStack[Ne.bottomRightStack.length-1].trailingComments&&Ne.bottomRightStack[Ne.bottomRightStack.length-1].trailingComments[0].range[0]>=e.range[1]&&(n=Ne.bottomRightStack[Ne.bottomRightStack.length-1].trailingComments,delete Ne.bottomRightStack[Ne.bottomRightStack.length-1].trailingComments);Ne.bottomRightStack.length>0&&Ne.bottomRightStack[Ne.bottomRightStack.length-1].range[0]>=e.range[0];)t=Ne.bottomRightStack.pop();t?t.leadingComments&&t.leadingComments[t.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=t.leadingComments,delete t.leadingComments):Ne.leadingComments.length>0&&Ne.leadingComments[Ne.leadingComments.length-1].range[1]<=e.range[0]&&(e.leadingComments=Ne.leadingComments,Ne.leadingComments=[]),n&&(e.trailingComments=n),Ne.bottomRightStack.push(e)}},markEnd:function(e,t){return Ne.range&&(e.range=[t.start,Se]),Ne.loc&&(e.loc=new C(void 0===t.startLineNumber?t.lineNumber:t.startLineNumber,t.start-(void 0===t.startLineStart?t.lineStart:t.startLineStart),Ee,Se-Te),this.postProcess(e)),Ne.attachComment&&this.processComment(e),e},postProcess:function(e){return Ne.source&&(e.loc.source=Ne.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)),Ce=_e,Se=0,Ee=(we=e).length>0?1:0,Te=0,ke=we.length,Oe=null,Ae={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Ne={},(t=t||{}).tokens=!0,Ne.tokens=[],Ne.tokenize=!0,Ne.openParenToken=-1,Ne.openCurlyToken=-1,Ne.range="boolean"==typeof t.range&&t.range,Ne.loc="boolean"==typeof t.loc&&t.loc,"boolean"==typeof t.comment&&t.comment&&(Ne.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Ne.errors=[]);try{if(T(),Oe.type===fe.EOF)return Ne.tokens;for(E();Oe.type!==fe.EOF;)try{E()}catch(e){if(Ne.errors){Ne.errors.push(e);break}throw e}pe(),n=Ne.tokens,void 0!==Ne.comments&&(n.comments=Ne.comments),void 0!==Ne.errors&&(n.errors=Ne.errors)}catch(e){throw e}finally{Ne={}}return n},e.parse=function(e,t){var n,r;r=String,"string"==typeof e||e instanceof String||(e=r(e)),Ce=_e,Se=0,Ee=(we=e).length>0?1:0,Te=0,ke=we.length,Oe=null,Ae={allowIn:!0,labelSet:{},inFunctionBody:!1,inIteration:!1,inSwitch:!1,lastCommentStart:-1},Ne={},void 0!==t&&(Ne.range="boolean"==typeof t.range&&t.range,Ne.loc="boolean"==typeof t.loc&&t.loc,Ne.attachComment="boolean"==typeof t.attachComment&&t.attachComment,Ne.loc&&null!==t.source&&void 0!==t.source&&(Ne.source=r(t.source)),"boolean"==typeof t.tokens&&t.tokens&&(Ne.tokens=[]),"boolean"==typeof t.comment&&t.comment&&(Ne.comments=[]),"boolean"==typeof t.tolerant&&t.tolerant&&(Ne.errors=[]),Ne.attachComment&&(Ne.range=!0,Ne.comments=[],Ne.bottomRightStack=[],Ne.trailingComments=[],Ne.leadingComments=[]));try{n=de(),void 0!==Ne.comments&&(n.comments=Ne.comments),void 0!==Ne.tokens&&(pe(),n.tokens=Ne.tokens),void 0!==Ne.errors&&(n.errors=Ne.errors)}catch(e){throw e}finally{Ne={}}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,x,S={};;){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 x=[],o[g])this.terminals_[b]&&b>2&&x.push("'"+this.terminals_[b]+"'");E=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+x.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:x})}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],S.$=r[r.length-_],S._$={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&&(S._$.range=[i[i.length-(_||1)].range[0],i[i.length-1].range[1]]),void 0!==(y=this.performAction.apply(S,[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(S.$),i.push(S._$),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 x,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),x=T?function(e,t,n,r,i){for(var o=[],a=0,s=t.length;a<s;++a)S(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]}(x,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")),S(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]"===x(e)}function y(e){return"object"==(0,l.default)(e)&&null!==e}function b(e){return y(e)&&"[object Date]"===x(e)}function _(e){return y(e)&&("[object Error]"===x(e)||e instanceof Error)}function w(e){return"function"==typeof e}function x(e){return Object.prototype.toString.call(e)}function S(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 x=Object.keys(t),S=x.map(function(e){return t[e]});return Function(x.join(", "),"return "+r(i)).apply(null,S)}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,C=k.quasis.map(e),O=k.expressions.map(e);return T.apply(null,[C].concat(O))}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)}}(),x=function(e){return!1!==e.mutable},S=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;x(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(P(e))}):t.then(function(e){return Promise.reject(e)})}).then(function(e){return P(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=S(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),C=n.n(k),O=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]})},N=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=C.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!O[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}},P=function(e){var t=e,n=N(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}},I={makeIdxState:P},R=function(e){switch(e){case"1.0.0":return I;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=R(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(251)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}}])});
//# sourceMappingURL=okta-sign-in.entry.js.map