@okta-dfuhriman/okta-auth-js
Version:
The Okta Auth SDK
143 lines • 1.16 MB
JavaScript
/*! Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.
The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the "License.")
You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.OktaSignIn=t():e.OktaSignIn=t()}(self,(function(){return function(){var e={8112:function(e){"use strict";function t(e){return t="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},t(e)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(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}var o={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}},i=function(e){return Object.entries(e).reduce((function(e,r){var i=n(r,2),a=i[0],s=i[1];if("number"!=typeof s)throw new TypeError("Expected a `number` for key `".concat(a,"`, got `").concat(s,"` (").concat(t(s),")"));if(!o[a])throw new Error("Unsupported time key");return e+o[a](s)}),0)};e.exports=i,e.exports.default=i},6204:function(e){"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}}},4696:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commonjsGlobal=void 0,t.getDefaultExportFromCjs=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e};var n="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};t.commonjsGlobal=n},7604:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b=void 0;t.b={exports:{}}},9460:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},423:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.b=void 0;t.b={exports:{}}},3152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},9532:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},3296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.e=void 0;t.e={exports:{}}},6959:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.e=void 0;t.e={exports:{}}},1748:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h=void 0;t.h={exports:{}}},359:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.h=void 0;t.h={exports:{}}},273:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=void 0;t._={exports:{}}},2825:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i=void 0;t.i={exports:{}}},8478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.j=void 0;t.j={exports:{}}},4197:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},7985:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},1221:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.l=void 0;t.l={exports:{}}},36:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.n=void 0;t.n={exports:{}}},4977:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},1873:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},7775:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.s=void 0;t.s={exports:{}}},2057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.u=void 0;t.u={exports:{}}},491:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},9275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._=void 0;t._={exports:{}}},233:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__exports=void 0;t.__exports={}},6276:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4696),o=n(1748);n(4752),n(7022),n(6532),n(8832),n(948),n(5354);var i=n(9460),a=n(491),s=n(1873),l=n(6959),u=n(36),c=n(7775);!function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var o=r(i.__exports),d=n(c.s.exports),f=n(l.e.exports),p=r(a.__exports),h=r(s.__exports),m=n(u.n.exports);function g(){var e=new o.HandlebarsEnvironment;return p.extend(e,o),e.SafeString=d.default,e.Exception=f.default,e.Utils=p,e.escapeExpression=p.escapeExpression,e.VM=h,e.template=function(t){return h.template(t,e)},e}var v=g();v.create=g,m.default(v),v.default=v,t.default=v,e.exports=t.default}(o.h,o.h.exports);var d=(0,r.getDefaultExportFromCjs)(o.h.exports);t.default=d,e.exports=t.default},4752:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(9460);n(8832),n(6532),n(8685),n(3565),n(4788),n(7974);var o=n(491),i=n(4977),a=n(273),s=n(9532),l=n(7985),u=n(6959);function c(e){return e&&e.__esModule?e:{default:e}}r.__exports.__esModule=!0,r.__exports.HandlebarsEnvironment=y;var d=o.__exports,f=c(u.e.exports),p=a.__exports,h=s.__exports,m=c(l.l.exports),g=i.__exports;r.__exports.VERSION="4.7.7";r.__exports.COMPILER_REVISION=8;r.__exports.LAST_COMPATIBLE_COMPILER_REVISION=7;r.__exports.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};var v="[object Object]";function y(e,t,n){this.helpers=e||{},this.partials=t||{},this.decorators=n||{},p.registerDefaultHelpers(this),h.registerDefaultDecorators(this)}y.prototype={constructor:y,logger:m.default,log:m.default.log,registerHelper:function(e,t){if(d.toString.call(e)===v){if(t)throw new f.default("Arg not supported with multiple helpers");d.extend(this.helpers,e)}else this.helpers[e]=t},unregisterHelper:function(e){delete this.helpers[e]},registerPartial:function(e,t){if(d.toString.call(e)===v)d.extend(this.partials,e);else{if(void 0===t)throw new f.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=t}},unregisterPartial:function(e){delete this.partials[e]},registerDecorator:function(e,t){if(d.toString.call(e)===v){if(t)throw new f.default("Arg not supported with multiple decorators");d.extend(this.decorators,e)}else this.decorators[e]=t},unregisterDecorator:function(e){delete this.decorators[e]},resetLoggedPropertyAccesses:function(){g.resetLoggedProperties()}};var b=m.default.log;r.__exports.log=b,r.__exports.createFrame=d.createFrame,r.__exports.logger=m.default,e.exports=t.default},3565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(9532);n(881);var o=n(2825);r.__exports.__esModule=!0,r.__exports.registerDefaultDecorators=function(e){s.default(e)};var i,a=o.i.exports,s=(i=a)&&i.__esModule?i:{default:i};e.exports=t.default},881:function(e,t,n){"use strict";var r=n(2825);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports;t.default=function(e){e.registerDecorator("inline",(function(e,t,r,o){var i=e;return t.partials||(t.partials={},i=function(o,i){var a=r.partials;r.partials=n.extend({},a,t.partials);var s=e(o,i);return r.partials=a,s}),t.partials[o.args[0]]=o.fn,i}))},e.exports=t.default}(r.i,r.i.exports)},6532:function(e,t,n){"use strict";var r=n(6959);!function(e,t){t.__esModule=!0;var n=["description","fileName","lineNumber","endLineNumber","message","name","number","stack"];function r(e,t){var o=t&&t.loc,i=void 0,a=void 0,s=void 0,l=void 0;o&&(i=o.start.line,a=o.end.line,s=o.start.column,l=o.end.column,e+=" - "+i+":"+s);for(var u=Error.prototype.constructor.call(this,e),c=0;c<n.length;c++)this[n[c]]=u[n[c]];Error.captureStackTrace&&Error.captureStackTrace(this,r);try{o&&(this.lineNumber=i,this.endLineNumber=a,Object.defineProperty?(Object.defineProperty(this,"column",{value:s,enumerable:!0}),Object.defineProperty(this,"endColumn",{value:l,enumerable:!0})):(this.column=s,this.endColumn=l))}catch(e){}}r.prototype=new Error,t.default=r,e.exports=t.default}(r.e,r.e.exports)},8685:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(273);n(9484),n(7307),n(9134),n(9033),n(7525),n(6506),n(5520);var o=n(3296),i=n(359),a=n(892),s=n(4197),l=n(1221),u=n(9275),c=n(423);function d(e){return e&&e.__esModule?e:{default:e}}r.__exports.__esModule=!0,r.__exports.registerDefaultHelpers=function(e){f.default(e),p.default(e),h.default(e),m.default(e),g.default(e),v.default(e),y.default(e)},r.__exports.moveHelperToHooks=function(e,t,n){e.helpers[t]&&(e.hooks[t]=e.helpers[t],n||delete e.helpers[t])};var f=d(c.b.exports),p=d(o.e.exports),h=d(i.h.exports),m=d(a._.exports),g=d(s.l.exports),v=d(l.l.exports),y=d(u._.exports);e.exports=t.default},9484:function(e,t,n){"use strict";var r=n(423);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports;t.default=function(e){e.registerHelper("blockHelperMissing",(function(t,r){var o=r.inverse,i=r.fn;if(!0===t)return i(this);if(!1===t||null==t)return o(this);if(n.isArray(t))return t.length>0?(r.ids&&(r.ids=[r.name]),e.helpers.each(t,r)):o(this);if(r.data&&r.ids){var a=n.createFrame(r.data);a.contextPath=n.appendContextPath(r.data.contextPath,r.name),r={data:a}}return i(t,r)}))},e.exports=t.default}(r.b,r.b.exports)},7307:function(e,t,n){"use strict";var r=n(4696),o=n(3296);n(8832),n(6532);var i=n(491),a=n(6959);function s(e){return s="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},s(e)}!function(e,t){t.__esModule=!0;var n,o=i.__exports,l=a.e.exports,u=(n=l)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("each",(function(e,t){if(!t)throw new u.default("Must pass iterator to #each");var n,i=t.fn,a=t.inverse,l=0,c="",d=void 0,f=void 0;function p(t,n,r){d&&(d.key=t,d.index=n,d.first=0===n,d.last=!!r,f&&(d.contextPath=f+t)),c+=i(e[t],{data:d,blockParams:o.blockParams([e[t],t],[f+t,null])})}if(t.data&&t.ids&&(f=o.appendContextPath(t.data.contextPath,t.ids[0])+"."),o.isFunction(e)&&(e=e.call(this)),t.data&&(d=o.createFrame(t.data)),e&&"object"===s(e))if(o.isArray(e))for(var h=e.length;l<h;l++)l in e&&p(l,l,l===e.length-1);else if(r.commonjsGlobal.Symbol&&e[r.commonjsGlobal.Symbol.iterator]){for(var m=[],g=e[r.commonjsGlobal.Symbol.iterator](),v=g.next();!v.done;v=g.next())m.push(v.value);for(h=(e=m).length;l<h;l++)p(l,l,l===e.length-1)}else n=void 0,Object.keys(e).forEach((function(e){void 0!==n&&p(n,l-1),n=e,l++})),void 0!==n&&p(n,l-1,!0);return 0===l&&(c=a(this)),c}))},e.exports=t.default}(o.e,o.e.exports)},9134:function(e,t,n){"use strict";var r=n(359);n(6532);var o=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.e.exports,i=(n=r)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("helperMissing",(function(){if(1!==arguments.length)throw new i.default('Missing helper: "'+arguments[arguments.length-1].name+'"')}))},e.exports=t.default}(r.h,r.h.exports)},9033:function(e,t,n){"use strict";var r=n(892);n(8832),n(6532);var o=n(491),i=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.__exports,a=i.e.exports,s=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("if",(function(e,t){if(2!=arguments.length)throw new s.default("#if requires exactly one argument");return r.isFunction(e)&&(e=e.call(this)),!t.hash.includeZero&&!e||r.isEmpty(e)?t.inverse(this):t.fn(this)})),e.registerHelper("unless",(function(t,n){if(2!=arguments.length)throw new s.default("#unless requires exactly one argument");return e.helpers.if.call(this,t,{fn:n.inverse,inverse:n.fn,hash:n.hash})}))},e.exports=t.default}(r._,r._.exports)},7525:function(e,t,n){"use strict";var r=n(4197);!function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("log",(function(){for(var t=[void 0],n=arguments[arguments.length-1],r=0;r<arguments.length-1;r++)t.push(arguments[r]);var o=1;null!=n.hash.level?o=n.hash.level:n.data&&null!=n.data.level&&(o=n.data.level),t[0]=o,e.log.apply(e,t)}))},e.exports=t.default}(r.l,r.l.exports)},6506:function(e,t,n){"use strict";var r=n(1221);!function(e,t){t.__esModule=!0,t.default=function(e){e.registerHelper("lookup",(function(e,t,n){return e?n.lookupProperty(e,t):e}))},e.exports=t.default}(r.l,r.l.exports)},5520:function(e,t,n){"use strict";var r=n(9275);n(8832),n(6532);var o=n(491),i=n(6959);!function(e,t){t.__esModule=!0;var n,r=o.__exports,a=i.e.exports,s=(n=a)&&n.__esModule?n:{default:n};t.default=function(e){e.registerHelper("with",(function(e,t){if(2!=arguments.length)throw new s.default("#with requires exactly one argument");r.isFunction(e)&&(e=e.call(this));var n=t.fn;if(r.isEmpty(e))return t.inverse(this);var o=t.data;return t.data&&t.ids&&((o=r.createFrame(t.data)).contextPath=r.appendContextPath(t.data.contextPath,t.ids[0])),n(e,{data:o,blockParams:r.blockParams([e],[o&&o.contextPath])})}))},e.exports=t.default}(r._,r._.exports)},6519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(3152);n(8832);var o=n(491);r.__exports.__esModule=!0,r.__exports.createNewLookupObject=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.extend.apply(void 0,[Object.create(null)].concat(t))};var i=o.__exports;e.exports=t.default},7974:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(4977);n(6519),n(4788);var o=n(3152),i=n(7985);r.__exports.__esModule=!0,r.__exports.createProtoAccessControl=function(e){var t=Object.create(null);t.constructor=!1,t.__defineGetter__=!1,t.__defineSetter__=!1,t.__lookupGetter__=!1;var n=Object.create(null);return n.__proto__=!1,{properties:{whitelist:a.createNewLookupObject(n,e.allowedProtoProperties),defaultValue:e.allowProtoPropertiesByDefault},methods:{whitelist:a.createNewLookupObject(t,e.allowedProtoMethods),defaultValue:e.allowProtoMethodsByDefault}}},r.__exports.resultIsAllowed=function(e,t,n){return u("function"==typeof e?t.methods:t.properties,n)},r.__exports.resetLoggedProperties=function(){Object.keys(l).forEach((function(e){delete l[e]}))};var a=o.__exports,s=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(i.l.exports),l=Object.create(null);function u(e,t){return void 0!==e.whitelist[t]?!0===e.whitelist[t]:void 0!==e.defaultValue?e.defaultValue:(function(e){!0!==l[e]&&(l[e]=!0,s.log("error",'Handlebars: Access has been denied to resolve the property "'+e+'" because it is not an "own property" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details'))}(t),!1)}e.exports=t.default},9515:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(233);r.__exports.__esModule=!0,r.__exports.wrapHelper=function(e,t){if("function"!=typeof e)return e;return function(){return arguments[arguments.length-1]=t(arguments[arguments.length-1]),e.apply(this,arguments)}},e.exports=t.default},4788:function(e,t,n){"use strict";var r=n(7985);n(8832);var o=n(491);!function(e,t){t.__esModule=!0;var n=o.__exports,r={methodMap:["debug","info","warn","error"],level:"info",lookupLevel:function(e){if("string"==typeof e){var t=n.indexOf(r.methodMap,e.toLowerCase());e=t>=0?t:parseInt(e,10)}return e},log:function(e){if(e=r.lookupLevel(e),"undefined"!=typeof console&&r.lookupLevel(r.level)<=e){var t=r.methodMap[e];console[t]||(t="log");for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i]}}};t.default=r,e.exports=t.default}(r.l,r.l.exports)},5354:function(e,t,n){"use strict";var r=n(4696),o=n(36);!function(e,t){t.__esModule=!0,t.default=function(e){var t=void 0!==r.commonjsGlobal?r.commonjsGlobal:window,n=t.Handlebars;e.noConflict=function(){return t.Handlebars===e&&(t.Handlebars=n),e}},e.exports=t.default}(o.n,o.n.exports)},948:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(1873);n(8832),n(6532),n(4752),n(8685),n(9515),n(7974);var o=n(491),i=n(9460),a=n(4977),s=n(273),l=n(233),u=n(6959);function c(e){return c="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},c(e)}r.__exports.__esModule=!0,r.__exports.checkRevision=function(e){var t=e&&e[0]||1,n=m.COMPILER_REVISION;if(t>=m.LAST_COMPATIBLE_COMPILER_REVISION&&t<=m.COMPILER_REVISION)return;if(t<m.LAST_COMPATIBLE_COMPILER_REVISION){var r=m.REVISION_CHANGES[n],o=m.REVISION_CHANGES[t];throw new h.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+r+") or downgrade your runtime to an older version ("+o+").")}throw new h.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+e[1]+").")},r.__exports.template=function(e,t){if(!t)throw new h.default("No environment passed to template");if(!e||!e.main)throw new h.default("Unknown template object: "+c(e));e.main.decorator=e.main_d,t.VM.checkRevision(e.compiler);var n=e.compiler&&7===e.compiler[0];var r={strict:function(e,t,n){if(!e||!(t in e))throw new h.default('"'+t+'" not defined in '+e,{loc:n});return r.lookupProperty(e,t)},lookupProperty:function(e,t){var n=e[t];return null==n||Object.prototype.hasOwnProperty.call(e,t)||y.resultIsAllowed(n,r.protoAccessControl,t)?n:void 0},lookup:function(e,t){for(var n=e.length,o=0;o<n;o++){if(null!=(e[o]&&r.lookupProperty(e[o],t)))return e[o][t]}},lambda:function(e,t){return"function"==typeof e?e.call(t):e},escapeExpression:f.escapeExpression,invokePartial:function(n,r,o){o.hash&&(r=f.extend({},r,o.hash),o.ids&&(o.ids[0]=!0)),n=t.VM.resolvePartial.call(this,n,r,o);var i=f.extend({},o,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),a=t.VM.invokePartial.call(this,n,r,i);if(null==a&&t.compile&&(o.partials[o.name]=t.compile(n,e.compilerOptions,t),a=o.partials[o.name](r,i)),null!=a){if(o.indent){for(var s=a.split("\n"),l=0,u=s.length;l<u&&(s[l]||l+1!==u);l++)s[l]=o.indent+s[l];a=s.join("\n")}return a}throw new h.default("The partial "+o.name+" could not be compiled when running in runtime-only mode")},fn:function(t){var n=e[t];return n.decorator=e[t+"_d"],n},programs:[],program:function(e,t,n,r,o){var i=this.programs[e],a=this.fn(e);return t||o||r||n?i=b(this,e,a,t,n,r,o):i||(i=this.programs[e]=b(this,e,a)),i},data:function(e,t){for(;e&&t--;)e=e._parent;return e},mergeIfNeeded:function(e,t){var n=e||t;return e&&t&&e!==t&&(n=f.extend({},t,e)),n},nullContext:Object.seal({}),noop:t.VM.noop,compilerInfo:e.compiler};function o(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=n.data;o._setup(n),!n.partial&&e.useData&&(i=w(t,i));var a=void 0,s=e.useBlockParams?[]:void 0;function l(t){return""+e.main(r,t,r.helpers,r.partials,i,s,a)}return e.useDepths&&(a=n.depths?t!=n.depths[0]?[t].concat(n.depths):n.depths:[t]),(l=k(e.main,l,r,n.depths||[],i,s))(t,n)}return o.isTop=!0,o._setup=function(o){if(o.partial)r.protoAccessControl=o.protoAccessControl,r.helpers=o.helpers,r.partials=o.partials,r.decorators=o.decorators,r.hooks=o.hooks;else{var i=f.extend({},t.helpers,o.helpers);!function(e,t){Object.keys(e).forEach((function(n){var r=e[n];e[n]=function(e,t){var n=t.lookupProperty;return v.wrapHelper(e,(function(e){return f.extend({lookupProperty:n},e)}))}(r,t)}))}(i,r),r.helpers=i,e.usePartial&&(r.partials=r.mergeIfNeeded(o.partials,t.partials)),(e.usePartial||e.useDecorators)&&(r.decorators=f.extend({},t.decorators,o.decorators)),r.hooks={},r.protoAccessControl=y.createProtoAccessControl(o);var a=o.allowCallsToHelperMissing||n;g.moveHelperToHooks(r,"helperMissing",a),g.moveHelperToHooks(r,"blockHelperMissing",a)}},o._child=function(t,n,o,i){if(e.useBlockParams&&!o)throw new h.default("must pass block params");if(e.useDepths&&!i)throw new h.default("must pass parent depths");return b(r,t,e[t],n,0,o,i)},o},r.__exports.wrapProgram=b,r.__exports.resolvePartial=function(e,t,n){e?e.call||n.name||(n.name=e,e=n.partials[e]):e="@partial-block"===n.name?n.data["partial-block"]:n.partials[n.name];return e},r.__exports.invokePartial=function(e,t,n){var r=n.data&&n.data["partial-block"];n.partial=!0,n.ids&&(n.data.contextPath=n.ids[0]||n.data.contextPath);var o=void 0;n.fn&&n.fn!==_&&function(){n.data=m.createFrame(n.data);var e=n.fn;o=n.data["partial-block"]=function(t){var n=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];return n.data=m.createFrame(n.data),n.data["partial-block"]=r,e(t,n)},e.partials&&(n.partials=f.extend({},n.partials,e.partials))}();void 0===e&&o&&(e=o);if(void 0===e)throw new h.default("The partial "+n.name+" could not be found");if(e instanceof Function)return e(t,n)},r.__exports.noop=_;var d,f=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(o.__exports),p=u.e.exports,h=(d=p)&&d.__esModule?d:{default:d},m=i.__exports,g=s.__exports,v=l.__exports,y=a.__exports;function b(e,t,n,r,o,i,a){function s(t){var o=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],s=a;return!a||t==a[0]||t===e.nullContext&&null===a[0]||(s=[t].concat(a)),n(e,t,e.helpers,e.partials,o.data||r,i&&[o.blockParams].concat(i),s)}return(s=k(n,s,e,a,r,i)).program=t,s.depth=a?a.length:0,s.blockParams=o||0,s}function _(){return""}function w(e,t){return t&&"root"in t||((t=t?m.createFrame(t):{}).root=e),t}function k(e,t,n,r,o,i){if(e.decorator){var a={};t=e.decorator(t,a,n,r&&r[0],o,i,r),f.extend(t,a)}return t}e.exports=t.default},7022:function(e,t,n){"use strict";var r=n(7775);!function(e,t){function n(e){this.string=e}t.__esModule=!0,n.prototype.toString=n.prototype.toHTML=function(){return""+this.string},t.default=n,e.exports=t.default}(r.s,r.s.exports)},8832:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.__exports}});var r=n(491);function o(e){return o="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},o(e)}r.__exports.__esModule=!0,r.__exports.extend=u,r.__exports.indexOf=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},r.__exports.escapeExpression=function(e){if("string"!=typeof e){if(e&&e.toHTML)return e.toHTML();if(null==e)return"";if(!e)return e+"";e=""+e}if(!s.test(e))return e;return e.replace(a,l)},r.__exports.isEmpty=function(e){return!e&&0!==e||!(!f(e)||0!==e.length)},r.__exports.createFrame=function(e){var t=u({},e);return t._parent=e,t},r.__exports.blockParams=function(e,t){return e.path=t,e},r.__exports.appendContextPath=function(e,t){return(e?e+".":"")+t};var i={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},a=/[&<>"'`=]/g,s=/[&<>"'`=]/;function l(e){return i[e]}function u(e){for(var t=1;t<arguments.length;t++)for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e}var c=Object.prototype.toString;r.__exports.toString=c;var d=function(e){return"function"==typeof e};d(/x/)&&(r.__exports.isFunction=d=function(e){return"function"==typeof e&&"[object Function]"===c.call(e)}),r.__exports.isFunction=d;var f=Array.isArray||function(e){return!(!e||"object"!==o(e))&&"[object Array]"===c.call(e)};r.__exports.isArray=f,e.exports=t.default},5541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4696),o=n(2057);function i(e){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},i(e)}!function(e,t){r.commonjsGlobal,e.exports=function(){
// (c) 2009-2021 Jeremy Ashkenas, Julian Gonggrijp, and DocumentCloud and Investigative Reporters & Editors
// Underscore may be freely distributed under the MIT license.
var e="1.13.1",t="object"==("undefined"==typeof self?"undefined":i(self))&&self.self===self&&self||"object"==i(r.commonjsGlobal)&&r.commonjsGlobal.global===r.commonjsGlobal&&r.commonjsGlobal||Function("return this")()||{},n=Array.prototype,o=Object.prototype,a="undefined"!=typeof Symbol?Symbol.prototype:null,s=n.push,l=n.slice,u=o.toString,c=o.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,f="undefined"!=typeof DataView,p=Array.isArray,h=Object.keys,m=Object.create,g=d&&ArrayBuffer.isView,v=isNaN,y=isFinite,b=!{toString:null}.propertyIsEnumerable("toString"),_=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],w=Math.pow(2,53)-1;function k(e,t){return t=null==t?e.length-1:+t,function(){for(var n=Math.max(arguments.length-t,0),r=Array(n),o=0;o<n;o++)r[o]=arguments[o+t];switch(t){case 0:return e.call(this,r);case 1:return e.call(this,arguments[0],r);case 2:return e.call(this,arguments[0],arguments[1],r)}var i=Array(t+1);for(o=0;o<t;o++)i[o]=arguments[o];return i[t]=r,e.apply(this,i)}}function x(e){var t=i(e);return"function"===t||"object"===t&&!!e}function S(e){return void 0===e}function E(e){return!0===e||!1===e||"[object Boolean]"===u.call(e)}function T(e){var t="[object "+e+"]";return function(e){return u.call(e)===t}}var O=T("String"),C=T("Number"),A=T("Date"),P=T("RegExp"),R=T("Error"),M=T("Symbol"),I=T("ArrayBuffer"),N=T("Function"),j=t.document&&t.document.childNodes;"object"!=("undefined"==typeof Int8Array?"undefined":i(Int8Array))&&"function"!=typeof j&&(N=function(e){return"function"==typeof e||!1});var L=N,D=T("Object"),U=f&&D(new DataView(new ArrayBuffer(8))),F="undefined"!=typeof Map&&D(new Map),B=T("DataView"),V=U?function(e){return null!=e&&L(e.getInt8)&&I(e.buffer)}:B,q=p||T("Array");function H(e,t){return null!=e&&c.call(e,t)}var Z=T("Arguments");!function(){Z(arguments)||(Z=function(e){return H(e,"callee")})}();var z=Z;function W(e){return C(e)&&v(e)}function $(e){return function(){return e}}function G(e){return function(t){var n=e(t);return"number"==typeof n&&n>=0&&n<=w}}function K(e){return function(t){return null==t?void 0:t[e]}}var Y=K("byteLength"),J=G(Y),Q=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/,X=d?function(e){return g?g(e)&&!V(e):J(e)&&Q.test(u.call(e))}:$(!1),ee=K("length");function te(e,t){t=function(e){for(var t={},n=e.length,r=0;r<n;++r)t[e[r]]=!0;return{contains:function(e){return t[e]},push:function(n){return t[n]=!0,e.push(n)}}}(t);var n=_.length,r=e.constructor,i=L(r)&&r.prototype||o,a="constructor";for(H(e,a)&&!t.contains(a)&&t.push(a);n--;)(a=_[n])in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function ne(e){if(!x(e))return[];if(h)return h(e);var t=[];for(var n in e)H(e,n)&&t.push(n);return b&&te(e,t),t}function re(e,t){var n=ne(t),r=n.length;if(null==e)return!r;for(var o=Object(e),i=0;i<r;i++){var a=n[i];if(t[a]!==o[a]||!(a in o))return!1}return!0}function oe(e){return e instanceof oe?e:this instanceof oe?void(this._wrapped=e):new oe(e)}function ie(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Y(e))}oe.VERSION=e,oe.prototype.value=function(){return this._wrapped},oe.prototype.valueOf=oe.prototype.toJSON=oe.prototype.value,oe.prototype.toString=function(){return String(this._wrapped)};var ae="[object DataView]";function se(e,t,n,r){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var o=i(e);return("function"===o||"object"===o||"object"==i(t))&&function e(t,n,r,o){t instanceof oe&&(t=t._wrapped),n instanceof oe&&(n=n._wrapped);var s=u.call(t);if(s!==u.call(n))return!1;if(U&&"[object Object]"==s&&V(t)){if(!V(n))return!1;s=ae}switch(s){case"[object RegExp]":case"[object String]":return""+t==""+n;case"[object Number]":return+t!=+t?+n!=+n:0==+t?1/+t==1/n:+t==+n;case"[object Date]":case"[object Boolean]":return+t==+n;case"[object Symbol]":return a.valueOf.call(t)===a.valueOf.call(n);case"[object ArrayBuffer]":case ae:return e(ie(t),ie(n),r,o)}var l="[object Array]"===s;if(!l&&X(t)){if(Y(t)!==Y(n))return!1;if(t.buffer===n.buffer&&t.byteOffset===n.byteOffset)return!0;l=!0}if(!l){if("object"!=i(t)||"object"!=i(n))return!1;var c=t.constructor,d=n.constructor;if(c!==d&&!(L(c)&&c instanceof c&&L(d)&&d instanceof d)&&"constructor"in t&&"constructor"in n)return!1}o=o||[];for(var f=(r=r||[]).length;f--;)if(r[f]===t)return o[f]===n;if(r.push(t),o.push(n),l){if((f=t.length)!==n.length)return!1;for(;f--;)if(!se(t[f],n[f],r,o))return!1}else{var p,h=ne(t);if(f=h.length,ne(n).length!==f)return!1;for(;f--;)if(!H(n,p=h[f])||!se(t[p],n[p],r,o))return!1}return r.pop(),o.pop(),!0}(e,t,n,r)}function le(e){if(!x(e))return[];var t=[];for(var n in e)t.push(n);return b&&te(e,t),t}function ue(e){var t=ee(e);return function(n){if(null==n)return!1;var r=le(n);if(ee(r))return!1;for(var o=0;o<t;o++)if(!L(n[e[o]]))return!1;return e!==me||!L(n[ce])}}var ce="forEach",de="has",fe=["clear","delete"],pe=["get",de,"set"],he=fe.concat(ce,pe),me=fe.concat(pe),ge=["add"].concat(fe,ce,de),ve=F?ue(he):T("Map"),ye=F?ue(me):T("WeakMap"),be=F?ue(ge):T("Set"),_e=T("WeakSet");function we(e){for(var t=ne(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=e[t[o]];return r}function ke(e){for(var t={},n=ne(e),r=0,o=n.length;r<o;r++)t[e[n[r]]]=n[r];return t}function xe(e){var t=[];for(var n in e)L(e[n])&&t.push(n);return t.sort()}function Se(e,t){return function(n){var r=arguments.length;if(t&&(n=Object(n)),r<2||null==n)return n;for(var o=1;o<r;o++)for(var i=arguments[o],a=e(i),s=a.length,l=0;l<s;l++){var u=a[l];t&&void 0!==n[u]||(n[u]=i[u])}return n}}var Ee=Se(le),Te=Se(ne),Oe=Se(le,!0);function Ce(e){if(!x(e))return{};if(m)return m(e);var t=function(){};t.prototype=e;var n=new t;return t.prototype=null,n}function Ae(e){return x(e)?q(e)?e.slice():Ee({},e):e}function Pe(e){return q(e)?e:[e]}function Re(e){return oe.toPath(e)}function Me(e,t){for(var n=t.length,r=0;r<n;r++){if(null==e)return;e=e[t[r]]}return n?e:void 0}function Ie(e,t,n){var r=Me(e,Re(t));return S(r)?n:r}function Ne(e){return e}function je(e){return e=Te({},e),function(t){return re(t,e)}}function Le(e){return e=Re(e),function(t){return Me(t,e)}}function De(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 3:return function(n,r,o){return e.call(t,n,r,o)};case 4:return function(n,r,o,i){return e.call(t,n,r,o,i)}}return function(){return e.apply(t,arguments)}}function Ue(e,t,n){return null==e?Ne:L(e)?De(e,t,n):x(e)&&!q(e)?je(e):Le(e)}function Fe(e,t){return Ue(e,t,1/0)}function Be(e,t,n){return oe.iteratee!==Fe?oe.iteratee(e,t):Ue(e,t,n)}function Ve(){}function qe(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}oe.toPath=Pe,oe.iteratee=Fe;var He=Date.now||function(){return(new Date).getTime()};function Ze(e){var t=function(t){return e[t]},n="(?:"+ne(e).join("|")+")",r=RegExp(n),o=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(o,t):e}}var ze={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},We=Ze(ze),$e=Ze(ke(ze)),Ge=oe.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Ke=/(.)^/,Ye={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Je=/\\|'|\r|\n|\u2028|\u2029/g;function Qe(e){return"\\"+Ye[e]}var Xe=/^\s*(\w|\$)+\s*$/,et=0;function tt(e,t,n,r,o){if(!(r instanceof t))return e.apply(n,o);var i=Ce(e.prototype),a=e.apply(i,o);return x(a)?a:i}var nt=k((function(e,t){var n=nt.placeholder,r=function r(){for(var o=0,i=t.length,a=Array(i),s=0;s<i;s++)a[s]=t[s]===n?arguments[o++]:t[s];for(;o<arguments.length;)a.push(arguments[o++]);return tt(e,r,this,this,a)};return r}));nt.placeholder=oe;var rt=k((function(e,t,n){if(!L(e))throw new TypeError("Bind must be called on a function");var r=k((function(o){return tt(e,r,t,this,n.concat(o))}));return r})),ot=G(ee);function it(e,t,n,r){if(r=r||[],t||0===t){if(t<=0)return r.concat(e)}else t=1/0;for(var o=r.length,i=0,a=ee(e);i<a;i++){var s=e[i];if(ot(s)&&(q(s)||z(s)))if(t>1)it(s,t-1,n,r),o=r.length;else for(var l=0,u=s.length;l<u;)r[o++]=s[l++];else n||(r[o++]=s)}return r}var at=k((function(e,t){var n=(t=it(t,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=t[n];e[r]=rt(e[r],e)}return e})),st=k((function(e,t,n){return setTimeout((function(){return e.apply(null,n)}),t)})),lt=nt(st,oe,1);function ut(e){return function(){return!e.apply(this,arguments)}}function ct(e,t){var n;return function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=null),n}}var dt=nt(ct,2);function ft(e,t,n){t=Be(t,n);for(var r,o=ne(e),i=0,a=o.length;i<a;i++)if(t(e[r=o[i]],r,e))return r}function pt(e){return function(t,n,r){n=Be(n,r);for(var o=ee(t),i=e>0?0:o-1;i>=0&&i<o;i+=e)if(n(t[i],i,t))return i;return-1}}var ht=pt(1),mt=pt(-1);function gt(e,t,n,r){for(var o=(n=Be(n,r,1))(t),i=0,a=ee(e);i<a;){var s=Math.floor((i+a)/2);n(e[s])<o?i=s+1:a=s}return i}function vt(e,t,n){return function(r,o,i){var a=0,s=ee(r);if("number"==typeof i)e>0?a=i>=0?i:Math.max(i+s,a):s=i>=0?Math.min(i+1,s):i+s+1;else if(n&&i&&s)return r[i=n(r,o)]===o?i:-1;if(o!=o)return(i=t(l.call(r,a,s),W))>=0?i+a:-1;for(i=e>0?a:s-1;i>=0&&i<s;i+=e)if(r[i]===o)return i;return-1}}var yt=vt(1,ht,gt),bt=vt(-1,mt);function _t(e,t,n){var r=(ot(e)?ht:ft)(e,t,n);if(void 0!==r&&-1!==r)return e[r]}function wt(e,t,n){var r,o;if(t=De(t,n),ot(e))for(r=0,o=e.length;r<o;r++)t(e[r],r,e);else{var i=ne(e);for(r=0,o=i.length;r<o;r++)t(e[i[r]],i[r],e)}return e}function kt(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=Array(o),a=0;a<o;a++){var s=r?r[a]:a;i[a]=t(e[s],s,e)}return i}function xt(e){var t=function(t,n,r,o){var i=!ot(t)&&ne(t),a=(i||t).length,s=e>0?0:a-1;for(o||(r=t[i?i[s]:s],s+=e);s>=0&&s<a;s+=e){var l=i?i[s]:s;r=n(r,t[l],l,t)}return r};return function(e,n,r,o){var i=arguments.length>=3;return t(e,De(n,o,4),r,i)}}var St=xt(1),Et=xt(-1);function Tt(e,t,n){var r=[];return t=Be(t,n),wt(e,(function(e,n,o){t(e,n,o)&&r.push(e)})),r}function Ot(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(!t(e[a],a,e))return!1}return!0}function Ct(e,t,n){t=Be(t,n);for(var r=!ot(e)&&ne(e),o=(r||e).length,i=0;i<o;i++){var a=r?r[i]:i;if(t(e[a],a,e))return!0}return!1}function At(e,t,n,r){return ot(e)||(e=we(e)),("number"!=typeof n||r)&&(n=0),yt(e,t,n)>=0}var Pt=k((function(e,t,n){var r,o;return L(t)?o=t:(t=Re(t),r=t.slice(0,-1),t=t[t.length-1]),kt(e,(function(e){var i=o;if(!i){if(r&&r.length&&(e=Me(e,r)),null==e)return;i=e[t]}return null==i?i:i.apply(e,n)}))}));function Rt(e,t){return kt(e,Le(t))}function Mt(e,t,n){var r,o,a=-1/0,s=-1/0;if(null==t||"number"==typeof t&&"object"!=i(e[0])&&null!=e)for(var l=0,u=(e=ot(e)?e:we(e)).length;l<u;l++)null!=(r=e[l])&&r>a&&(a=r);else t=Be(t,n),wt(e,(function(e,n,r){((o=t(e,n,r))>s||o===-1/0&&a===-1/0)&&(a=e,s=o)}));return a}function It(e,t,n){if(null==t||n)return ot(e)||(e=we(e)),e[qe(e.length-1)];var r=ot(e)?Ae(e):we(e),o=ee(r);t=Math.max(Math.min(t,o),0);for(var i=o-1,a=0;a<t;a++){var s=qe(a,i),l=r[a];r[a]=r[s],r[s]=l}return r.slice(0,t)}function Nt(e,t){return function(n,r,o){var i=t?[[],[]]:{};return r=Be(r,o),wt(n,(function(t,o){var a=r(t,o,n);e(i,t,a)})),i}}var jt=Nt((function(e,t,n){H(e,n)?e[n].push(t):e[n]=[t]})),Lt=Nt((function(e,t,n){e[n]=t})),Dt=Nt((function(e,t,n){H(e,n)?e[n]++:e[n]=1})),Ut=Nt((function(e,t,n){e[n?0:1].push(t)}),!0),Ft=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function Bt(e,t,n){return t in n}var Vt=k((function(e,t){var n={},r=t[0];if(null==e)return n;L(r)?(t.length>1&&(r=De(r,t[1])),t=le(e)):(r=Bt,t=it(t,!1,!1),e=Object(e));for(var o=0,i=t.length;o<i;o++){var a=t[o],s=e[a];r(s,a,e)&&(n[a]=s)}return n})),qt=k((function(e,t){var n,r=t[0];return L(r)?(r=ut(r),t.length>1&&(n=t[1])):(t=kt(it(t,!1,!1),String),r=function(e,n){return!At(t,n)}),Vt(e,r,n)}));function Ht(e,t,n){return l.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))}function Zt(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[0]:Ht(e,e.length-t)}function zt(e,t,n){return l.call(e,null==t||n?1:t)}var Wt=k((function(e,t){return t=it(t,!0,!0),Tt(e,(function(e){return!At(t,e)}))})),$t=k((function(e,t){return Wt(e,t)}));function Gt(e,t,n,r){E(t)||(r=n,n=t,t=!1),null!=n&&(n=Be(n,r));for(var o=[],i=[],a=0,s=ee(e);a<s;a++){var l=e[a],u=n?n(l,a,e):l;t&&!n?(a&&i===u||o.push(l),i=u):n?At(i,u)||(i.push(u),o.push(l)):At(o,l)||o.push(l)}return o}var Kt=k((function(e){return Gt(it(e,!0,!0))}));function Yt(e){for(var t=e&&Mt(e,ee).length||0,n=Array(t),r=0;r<t;r++)n[r]=Rt(e,r);return n}var Jt=k(Yt);function Qt(e,t){return e._chain?oe(t).chain():t}function Xt(e){return wt(xe(e),(function(t){var n=oe[t]=e[t];oe.prototype[t]=function(){var e=[this._wrapped];return s.apply(e,arguments),Qt(this,n.apply(oe,e))}})),oe}wt(["pop","push","reverse","shift","sort","splice","unshift"],(function(e){var t=n[e];oe.prototype[e]=function(){var n=this._wrapped;return null!=n&&(t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0]),Qt(this,n)}})),wt(["concat","join","slice"],(function(e){var t=n[e];oe.prototype[e]=function(){var e=this._wrapped;return null!=e&&(e=t.apply(e,arguments)),Qt(this,e)}}));var en=Xt({__proto__:null,VERSION:e,restArguments:k,isObject:x,isNull:function(e){return null===e},isUndefined:S,isBoolean:E,isElement:function(e){return!(!e||1!==e.nodeType)},isString:O,isNumber:C,isDate:A,isRegExp:P,isError:R,isSymbol:M,isArrayBuffer:I,isDataView:V,isArray:q,isFunction:L,isArguments:z,isFinite:function(e){return!M(e)&&y(e)&&!isNaN(parseFloat(e))},isNaN:W,isTypedArray:X,isEmpty:function(e){if(null==e)return!0;var t=ee(e);return"number"==typeof t&&(q(e)||O(e)||z(e))?0===t:0===ee(ne(e))},isMatch:re,isEqual:function(e,t){return se(e,t)},isMap:ve,isWeakMap:ye,isSet:be,isWeakSet:_e,keys:ne,allKeys:le,values:we,pairs:function(e){for(var t=ne(e),n=t.length,r=Array(n),o=0;o<n;o++)r[o]=[t[o],e[t[o]]];return r},invert:ke,functions:xe,methods:xe,extend:Ee,extendOwn:Te,assign:Te,defaults:Oe,create:function(e,t){var n=Ce(e);return t&&Te(n,t),n},clone:Ae,tap:function(e,t){return t(e),e},get:Ie,has:function(e,t){for(var n=(t=Re(t)).length,r=0;r<n;r++){var o=t[r];if(!H(e,o))return!1;e=e[o]}return!!n},mapObject:function(e,t,n){t=Be(t,n);for(var r=ne(e),o=r.length,i={},a=0;a<o;a++){var s=r[a];i[s]=t(e[s],s,e)}return i},identity:Ne,constant:$,noop:Ve,toPath:Pe,property:Le,propertyOf:function(e){return null==e?Ve:function(t){return Ie(e,t)}},matcher:je,matches:je,times:function(e,t,n){var r=Array(Math.max(0,e));t=De(t,n,1);for(var o=0;o<e;o++)r[o]=t(o);return r},random:qe,now:He,escape:We,unescape:$e,templateSettings:Ge,template:function(e,t,n){!t&&n&&(t=n),t=Oe({},t,oe.templateSettings);var r=RegExp([(t.escape||Ke).source,(t.interpolate||Ke).source,(t.evaluate||Ke).source].join("|")+"|$","g"),o=0,i="__p+='";e.replace(r,(function(t,n,r,a,s){return i+=e.slice(o,s).replace(Je,Qe),o=s+t.length,n?i+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?i+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(i+="';\n"+a+"\n__p+='"),t})),i+="';\n";var a,s=t.variable;if(s){if(!Xe.test(s))throw new Error("variable is not a bare identifier: "+s)}else i="with(obj||{}){\n"+i+"}\n",s="obj";i="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+i+"return __p;\n";try{a=new Function(s,"_",i)}catch(e){throw e.source=i,e}var l=function(e){return a.call(this,e,oe)};return l.source="function("+s+"){\n"+i+"}",l},result:function(e,t,n){var r=(t=Re(t)).length;if(!r)return L(n)?n.call(e):n;for(var o=0;o<r;o++){var i=null==e?void 0:e[t[o]];void 0===i&&(i=n,o=r),e=L(i)?i.call(e):i}return e},uniqueId:function(e){var t=++et+"";return e?e+t:t},chain:function(e){var t=oe(e);return t._chain=!0,t},iteratee:Fe,partial:nt,bind:rt,bindAll:at,memoize:function(e,t){var n=function n(r){var o=n.cache,i=""+(t?t.apply(this,arguments):r);return H(o,i)||(o[i]=e.apply(this,arguments)),o[i]};return n.cache={},n},delay:st,defer:lt,throttle:function(e,t,n){var r,o,i,a,s=0;n||(n={});var l=function(){s=!1===n.leading?0:He(),r=null,a=e.apply(o,i),r||(o=i=null)},u=function(){var u=He();s||!1!==n.leading||(s=u);var c=t-(u-s);return o=this,i=arguments,c<=0||c>t?(r&&(clearTimeout(r),r=null),s=u,a=e.apply(o,i),r||(o=i=null)):r||!1===n.trailing||(r=setTimeout(l,c)),a};return u.cancel=function(){clearTimeout(r),s=0,r=o=i=null},u},debounce:function(e,t,n){var r,o,i,a,s,l=function l(){var u=He()-o;t>u?r=setTimeout(l,t-u):(r=null,n||(a=e.apply(s,i)),r||(i=s=null))},u=k((function(u){return s=this,i=u,o=He(),r||(r=setTimeout(l,t),n&&(a=e.apply(s,i))),a}));return u.cancel=function(){clearTimeout(r),r=i=s=null},u},wrap:function(e,t){return nt(t,e)},negate:ut,compose:function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},after:function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},before:ct,once:dt,findKey:ft,findIndex:ht,findLastIndex:mt,sortedIndex:gt,indexOf:yt,lastIndexOf:bt,find:_t,detect:_t,findWhere:function(e,t){return _t(e,je(t))},each:wt,forEach:wt,map:kt,collect:kt,reduce:St,foldl:St,inject:St,reduceRight:Et,foldr:Et,filter:Tt,select:Tt,reject:function(e,t,n){return Tt(e,ut(Be(t)),n)},every:Ot,all:Ot,some:Ct,any:Ct,contains:At,includes:At,include:At,invoke:Pt,pluck:Rt,where:function(e,t){return Tt(e,je(t))},max:Mt,min:function(e,t,n){var r,o,a=1/0,s=1/0;if(null==t||"number"==typeof t&&"object"!=i(e[0])&&null!=e)for(var l=0,u=(e=ot(e)?e:we(e)).length;l<u;l++)null!=(r=e[l])&&r<a&&(a=r);else t=Be(t,n),wt(e,(function(e,n,r){((o=t(e,n,r))<s||o===1/0&&a===1/0)&&(a=e,s=o)}));return a},shuffle:function(e){return It(e,1/0)},sample:It,sortBy:function(e,t,n){var r=0;return t=Be(t,n),Rt(kt(e,(function(e,n,o){return{value:e,index:r++,criteria:t(e,n,o)}})).sort((function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index})),"value")},groupBy:jt,indexBy:Lt,countBy:Dt,partition:Ut,toArray:function(e){return e?q(e)?l.call(e):O(e)?e.match(Ft):ot(e)?kt(e,Ne):we(e):[]},size:function(e){return null==e?0:ot(e)?e.length:ne(e).length},pick:Vt,omit:qt,first:Zt,head:Zt,take:Zt,initial:Ht,last:function(e,t,n){return null==e||e.length<1?null==t||n?void 0:[]:null==t||n?e[e.length-1]:zt(e,Math.max(0,e.length-t))},rest:zt,tail:zt,drop:zt,compact:function(e){return Tt(e,Boolean)},flatten:function(e,t){return it(e,t,!1)},without:$t,uniq:Gt,unique:Gt,union:Kt,intersection:function(e){for(var t=[],n=arguments.length,r=0,o=ee(e);r<o;r++){var i=e[r];if(!At(t,i)){var a;for(a=1;a<n&&At(arguments[a],i);a++);a===n&&t.push(i)}}return t},difference:Wt,unzip:Yt,transpose:Yt,zip:Jt,object:function(e,t){for(var n={},r=0,o=ee(e);r<o;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},range:function(e,t,n){null==t&&(t=e||0,e=0),n||(n=t<e?-1:1);for(var r=Math.max(Math.ceil((t-e)/n),0),o=Array(r),i=0;i<r;i++,e+=n)o[i]=e;return o},chunk:function(e,t){if(null==t||t<1)return[];for(var n=[],r=0,o=e.length;r<o;)n.push(l.call(e,r,r+=t));return n},mixin:Xt,default:oe});return en._=en,en}()}(o.u);var a=o.u.exports;t.default=a,e.exports=t.default},2402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"$",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"Backbone",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return o.default}}),t.Form=t.Controller=t.Collection=void 0,Object.defineProperty(t,"FrameworkView",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(t,"Handlebars",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"ListView",{enumerable:!0,get:function(){return w.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return a.default}}),t.View=t.Router=void 0,Object.defineProperty(t,"_",{enumerable:!0,get:function(){return _.default}}),t.internal=t.createCallout=t.createButton=void 0,Object.defineProperty(t,"isModelPropertySchema",{enumerable:!0,get:function(){return B.isModelPropertySchema}}),t.registerInput=t.loc=void 0;var r=V(n(497)),o=V(n(8967)),i=V(n(1017)),a=V(n(9458)),s=V(n(6273)),l=V(n(7277)),u=V(n(2368)),c=V(n(1937)),d=V(n(2857)),f=V(n(4106)),p=V(n(1881)),h=V(n(2514)),m=V(n(8311)),g=V(n(1633)),v=V(n(4691)),y=V(n(6276));n(3378),n(7827),n(5631),n(4329),n(7169),n(2259);var b=V(n(5586)),_=V(n(4818)),w=V(n(1357)),k=V(n(7317)),x=V(n(5480)),S=V(n(5270)),E=V(n(7133)),T=V(n(967)),O=V(n(6637)),C=V(n(5946)),A=V(n(1767)),P=V(n(1648)),R=V(n(3696)),M=V(n(7514)),I=V(n(3452)),N=V(n(7613)),j=V(n(3679)),L=V(n(6565)),D=V(n(2265)),U=V(n(7582)),F=V(n(5771));n(2597);var B=n(6401);function V(e){return e&&e.__esModule?e:{default:e}}n(5725);var q=l.default.extend({render:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return k.default.prototype.render.apply(this,t),this}});t.Controller=q,N.default.prototype.remove=function(){return P.default.prototype.remove.apply(this,arguments)},F.default.prototype.compileTemplate=function(e){var t=function(){return e};return t.source="",t};var H={"input input":"update","change input":"update","keydown input":"update","keyup input":function(e){h.default.isEsc(e)&&this.model.trigger("form:cancel")}},Z=L.default.extend({events:H}),z=M.default.extend({events:H}),W=E.default.extend({scrollOnError:function(){return!1!==this.options.settings.get("features.scrollOnError")}});t.Form=W;var $=g.default.localize;t.loc=$;var G=c.default.create;t.createButton=G;var K=D.default.create;t.createCallout=K;var Y=C.default.register;t.registerInput=Y;var J=r.default;t.Collection=J;var Q=k.default;t.View=Q;var X=u.default;t.Router=X;var ee={util:{Util:v.default,Cookie:f.default,Clipboard:p.default,Logger:m.default,Class:d.default,Keys:h.default},views:{components:{BaseDropDown:x.default,Notification:S.default},forms:{helpers:{FormUtil:O.default,SchemaFormFactory:A.default},components:{Toolbar:T.default},inputs:{TextBox:Z,PasswordBox:z,CheckBox:R.default,Radio:I.default,Select:N.default,InputGroup:j.default}}},models:{BaseSchema:i.default,SchemaProperty:s.default}};t.internal=ee,Y("text",Z),Y("password",z),Y("checkbox",R.default),Y("radio",I.default),Y("select",N.default),Y("group",j.default)},3715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7582));function i(e){return e&&e.__esModule?e:{default:e}}var a="__STATE__",s="FETCH_DATA",l="PAGINATION_DATA",u="DEFAULT_PARAMS",c="LINK_BY_HEADER";function d(e,t){try{var n=function(e){for(var t,n=/[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*"))/g,r=e.match(/<[^>]*>\s*(\s*;\s*[^()<>@,;:"/[\]?={} \t]+=(([^()<>@,;:"/[\]?={} \t]+)|("[^"]*")))*(,|$)/g),o={},i=0;i<r.length;i++){var a=r[i].split(">"),s=a[0].substring(1),l={href:void 0,rel:void 0};l.href=s;for(var u=a[1].match(n),c=0;c<u.length;c++){var d=u[c].split("=");l[d[0]]='"'===(t=d[1]).charAt(0)&&'"'===t.charAt(t.length-1)?t.substring(1,t.length-1):t}void 0!==l.rel&&(o[l.rel]=l)}return o}(t.getResponseHeader("link"));e[a].set(c,!0),e.setPagination(n.next.href)}catch(t){e[a].get(c)&&e.setPagination(null)}}var f={params:{},preinitialize:function(e,t){var n=new o.default.Model,i=r.default.defaults(t&&t.params||{},r.default.result(this,"params")||{});n.set(u,i),this[a]=n,r.default.isFunction(this.model)&&0===this.model.length&&!0!==this.model.isCourageModel&&(this.model=r.default.result(this,"model")),o.default.Collection.prototype.preinitialize.apply(this,arguments)},sync:function(e,t,n){var r=this,i=n.success;return n.success=function(e,t,n){d(r,n),i.apply(null,arguments)},o.default.Collection.prototype.sync.call(this,e,t,n)},fetch:function(e){e||(e={});var t=this[a],n=t.get("XHR");return e.data=r.default.extend({},t.get(u),e.data||{}),e.fromFetch=!0,t.set(s,e.data),n&&n.abort&&!1!==e.abort&&n.abort(),n=o.default.Collection.prototype.fetch.call(this,e),t.set("XHR",n),n},setPagination:function(e,t){r.default.isString(e)&&e&&(e=function(e){for(var t={},n=e&&e.split("?")[1],r=n&&decodeURIComponent(n.split("#")[0]).replace(/\+/g," "),o=r?r.split("&"):[],i=0;i<o.length;i++){var a=o[i].split("=");t[a.shift()]=a.join("=")}return t}(e)),r.default.isObject(e)&&!r.default.isArray(e)&&r.default.size(e)?t&&t.fromFetch&&(e=r.default.extend({},this.getFetchData(),e)):e=null,this[a].set(l,e)},getFetchData:function(){return this[a].get(s)||{}},getPaginationData:function(){return this[a].get(l)||{}},hasMore:function(){return r.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),o.default.Collection.prototype.reset.apply(this,arguments)},where:function(e,t){return r.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={}),r.default.result(e,"urlRoot")||(t.url=r.default.result(this,"url")),o.default.Collection.prototype.create.call(this,e,t)},_reset:function(){o.default.Collection.prototype._reset.call(this),this._byId=Object.create(null)}},p=o.default.Collection.extend(f);t.default=p,p.isCourageCollection=!0,e.exports=t.default},3430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(5771)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.extend({constructor:function(){if(r.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},6401:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.isModelPropertySchema=u;var r,o=s(n(4818)),i=s(n(7582)),a=s(n(8311));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}function u(e){return e&&e.type||e.deps}function c(e,t,n,r){var i=o.default.contains(t,n);return r||(r={}),i||!o.default.isObject(e)||o.default.isArray(e)||o.default.isFunction(e)?void 0!==n&&(r[n]=e):o.default.each(e,(function(e,o){c(e,t,n?n+"."+o:o,r)})),r}function d(e){return o.default.each(e,(function(e,t,n){if(-1!==t.indexOf(".")){for(var r,o=n,i=t.split(".");void 0!==(r=i.shift());)o[r]||(o[r]=i.length?{}:e),o=o[r];delete n[t]}})),e}function f(e,t){var n={};return n[e.name]=t,n}function p(e,t){var n;return n=o.default.isString(e)?{type:e}:o.default.isArray(e)?{type:e[0],required:e[1],value:e[2]}:o.default.clone(e),o.default.defaults(n,{required:!1,name:t}),n}function h(e,t,n){if(!t.test(e))return n}var m={email:function(e){return h(e,/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,r.ERROR_INVALID_FORMAT_EMAIL)},uri:function(e){return h(e,/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,}))\.?)(?::\d{2,5})?(?:[/?#]\S*)?$/i,r.ERROR_INVALID_FORMAT_URI)},ipv4:function(e){return h(e,/^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,r.ERROR_INVALID_FORMAT_IPV4)},hostname:function(e){return h(e,/^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9-]*[A-Za-z0-9])$/,r.ERROR_INVALID_FORMAT_HOSTNAME)}};function g(e,t){var n=o.default.partial(f,e),i=function(e,t){var n=m[e.format];if(e.format&&!n)throw new TypeError(e.format+" is not a supported string format");return n&&n(t)}(e,t);return i?n(i):t&&e.minLength&&t.length<e.minLength?n(r.ERROR_STRING_STRING_MIN_LENGTH):t&&e.maxLength&&t.length>e.maxLength?n(r.ERROR_STRING_STRING_MAX_LENGTH):void 0}function v(e,t){var n,i,a,s=o.default.partial(f,e),l=!o.default.isUndefined(t)&&!o.default.isNull(t);if(Array.isArray(e.validate)){var u,c=[],d=!1;return e.validate.forEach((function(e){if(t)if("regex"===e.type.toLowerCase())u=new RegExp(e.value.pattern,e.value.flags||"").test(t);else u=!1;else u=!1;d=d||!u,c.push({message:e.hasOwnProperty("message")?e.message:"",passed:u})})),d?s(c):void 0}if(e.required&&(!l||o.default.isNull(t)||""===t))return s(r.ERROR_BLANK);if(n=o.default["is"+(a=e.type,a.toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})))],l&&"any"!==e.type&&(!o.default.isFunction(n)||!n(t)))return s(r.ERROR_WRONG_TYPE);if(t&&"string"===e.type){var h=g(e,t);if(h)return h}if(l&&e.values&&!o.default.contains(e.values,t))return s(r.ERROR_NOT_ALLOWED);if(o.default.isFunction(e.validate)){var m=e.validate(t);if(o.default.isString(m)&&m)return s(m);if(!1===m)return s(r.ERROR_INVALID)}return l&&"array"===e.type&&(i=function(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>o.default.uniq(t).length)return r.ERROR_IARRAY_UNIQUE;if(e.items)for(var n=p(e.items,"placeholder"),i=0;i<t.length;i++){var a=v(n,t[i]);if(a)return a.placeholder}}(e,t))?s(i):void 0}var y={props:{},derived:{},local:{},flat:!0,defaults:{},preinitialize:function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.options=e||{};var s=this.__schema__={},l=[];s.computedProperties={},s.props=o.default.clone(o.default.result(this,"props")||{}),s.derived=o.default.clone(o.default.result(this,"derived")||{}),s.local=o.default.clone(o.default.result(this,"local")||{});var u={};if(o.default.each(o.default.extend({},s.props,s.local),(function(e,t){var n=p(e,t);o.default.isUndefined(n.value)||(u[t]=n.value),"object"===n.type&&l.push(t)}),this),o.default.size(u)){var d=o.default.result(this,"defaults");this.defaults=function(){return o.default.defaults({},u,d)}}this.validate=o.default.wrap(this.validate,(function(e){var t=o.default.rest(arguments),n=o.default.extend(this._validateSchema.apply(this,t),e.apply(this,t));return o.default.size(n)&&n||void 0})),this.parse=o.default.wrap(this.parse,(function(e){var t=e.apply(this,o.default.rest(arguments));return o.default.result(this,"flat")&&(t=c(t,l)),t})),(t=i.default.Model.prototype.preinitialize).call.apply(t,[this,e].concat(r))},constructor:function(){i.default.Model.apply(this,arguments);var e=this.__schema__;o.default.each(e.derived,(function(t,n){e.computedProperties[n]=this.__getDerivedValue(n);var r=u(t)&&t.deps||[];r.length&&this.on("cache:clear change:"+r.join(" change:"),(function(){var t=this.__getDerivedValue(n);t!==e.computedProperties[n]&&(e.computedProperties[n]=t,this.trigger("change:"+n,this,t))}),this)}),this),this.on("sync",(function(){this.__syncedData=this.toJSON()}),this)},validate:function(){},allows:function(e){var t=this.__schema__,n=o.default.extend({},t.props,t.local);return o.default.has(n,e)||a.default.warn("Field not defined in schema",e),!0},getPropertySchema:function(e){var t=this.__schema__;return o.default.reduce([t.props,t.local],(function(t,n){return t||p(n[e],e)}),null)},set:function(e,t){var n;"object"===l(e)?n=e:(n={})[e]=t,o.default.each(n,(function(e,t){if(o.default.has(this.__schema__.derived,t))throw new Error("overriding derived properties is not supported: ".concat(t))}),this);var r=[];if(o.default.each(n,(function(e,t){this.allows(t)||r.push(t)}),this),r.length)throw new Error("field not allowed: ".concat(r.join(", ")));return i.default.Model.prototype.set.apply(this,arguments)},get:function(e){var t=this.__schema__;return o.default.has(t.derived,e)?!1!==t.derived[e].cache?t.computedProperties[e]:this.__getDerivedValue(e):i.default.Model.prototype.get.apply(this,arguments)},toJSON:function(e){e||(e={});var t=o.default.clone(i.default.Model.prototype.toJSON.apply(this,arguments)),n=this.__schema__;return e.verbose?o.default.each(n.derived,(function(e,n){t[n]=this.get(n)}),this):t=o.default.omit(t,o.default.keys(n.local)),this.flat&&(t=d(t)),t},reset:function(e){this.clear(e),this.set(o.default.result(this,"defaults"),e)},isSynced:function(){return o.default.isEqual(this.__syncedData,this.toJSON())},validateField:function(e){var t=e&&this.getPropertySchema(e);return t&&v(t,this.get(e))},_validateSchema:function(){var e=this.__schema__;return o.default.reduce(o.default.extend({},e.props,e.local),(function(e,t,n){return o.default.extend(e,this.validateField(n)||{})}),{},this)},__getDerivedValue:function(e){var t=this.__schema__.derived[e];if(o.default.isString(t)){var n=t;t={deps:[n],fn:function(){return this.get(n)}}}var r=t.deps||[];return t.fn.apply(this,o.default.map(r,this.get,this))}};(r=i.default.Model.extend(y,{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"})).isCourageModel=!0;var b=r;t.default=b},5771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7582));function i(e){return e&&e.__esModule?e:{default:e}}var a,s="__children__",l="__rendered__",u="__parent__",c="__children_definitions__",d="__add_to_container__";function f(e,t){for(var n=0;n<e[s].length;n++)if(t.cid===e[s][n].cid)return n}function p(){}function h(e){var t=/^(?!(?:delegate|undelegate|_))([a-zA-Z0-9]+)(?:Events)$/;r.default.each(r.default.allKeys(e),(function(n){var o=n.match(t);if(o){var i=r.default.result(e,n),a=e.options[o[1]]||e[o[1]];a&&r.default.isObject(i)&&r.default.isFunction(a.trigger)&&r.default.each(i,(function(t,n){var o=r.default.isFunction(t)?[t]:r.default.reduce(t.split(/\s+/),(function(t,n){return r.default.isFunction(e[n])&&t.push(e[n]),t}),[]);r.default.each(o,(function(t){e.listenTo(a,n,t)}))}))}}))}var m={preinitialize:function(e){this.options=e||{},r.default.extend(this,r.default.pick(this.options,"state","settings")),this[s]=[],this[l]=!1,this[u]=null,this[c]=this.children,this.__original_initialize__=this.initialize,this.initialize=p},constructor:function(e){var t;o.default.View.call(this,e),r.default.each(r.default.result(this,c),(function(e){this.add.apply(this,r.default.isArray(e)?e:[e])}),this),delete this[c];var n=r.default.result(this,"autoRender");if(n&&this.model){var i=r.default.isArray(n)?r.default.map(n,(function(e){return"change:"+e})).join(" "):"change";this.listenTo(this.model,i,(function(){this.render()}))}this.initialize=this.__original_initialize__;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];(t=this.initialize).call.apply(t,[this,e].concat(s)),h(this)},unregister:function(e){this.stopListening(e);var t=f(this,e);r.default.isNumber(t)&&this[s].splice(t,1)},autoRender:!1,template:null,children:[],add:function(e,t,n,i,l){var c,p={},h=r.default.toArray(arguments);if(r.default.isFunction(e)&&(!e.prototype||!e.prototype.render))throw new Error("Type passed to add() is not a View");if(r.default.isObject(t)?(t=(p=t).selector,n=p.bubble,i=p.prepend,l=p.options):r.default.isObject(n)&&(n=(p=n).bubble,i=p.prepend,l=p.options),r.default.isString(e)&&(c=e,e=a.extend({constructor:function(){try{var e=o.default.$(c);if(1!==e.length)throw new Error("invalid Element");var t=/&(\w+|#x\d+);/g,n=e.prop("outerHTML").replace(t," ").length,r=c.replace(t," ").length;if(n!==r)throw new Error("invalid Element");this.template=e.html(),this.el=e.empty()[0]}catch(e){this.template=c}a.apply(this,arguments)}})),e.prototype&&e.prototype instanceof a){var m=r.default.omit(r.default.extend({},this.options,l),"el");return h[0]=new e(m),this.add.apply(this,h)}if(r.default.isNumber(f(this,e)))throw new Error("Duplicate child");return e[u]=this,e[d]=function(t){return function(){if(t&&1!==e[u].$(t).length)throw new Error("Invalid selector: "+t);var n=t?this[u].$(t):this[u].$el;this.render(),this.delegateEvents(),i?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[d](),this[s].push(e),this},removeChildren:function(){return this.each((function(e){e.remove()})),this},remove:function(){return this.removeChildren(),this[u]&&this[u].unregister(this),o.default.View.prototype.remove.apply(this,arguments)},compileTemplate:function(e){return r.default.template(e,void 0)},renderTemplate:function(e){if(r.default.isString(e)&&(e=this.compileTemplate(e)),r.default.isFunction(e))return e(this.getTemplateData())},getTemplateData:function(){var e=this.model&&this.model.toJSON({verbose:!0})||{},t=r.default.omit(this.options,["state","settings","model","collection"]);return r.default.defaults({},e,t)},render:function(){return this.preRender(),function(e){e[l]=!0;var t=e.renderTemplate(e.template);t?e.$el.html(t):e.length&&e.$el.empty(),e.each((function(e){e[d]()}))}(this),this.postRender(),this},preRender:p,postRender:p,rendered:function(){return this[l]},getChildren:function(){return this.toArray()},at:function(e){return this.getChildren()[e]},invoke:function(e){var t=r.default.toArray(arguments);return this.each((function(n){n.size()&&n.invoke.apply(n,t),r.default.isFunction(n[e])&&n[e].apply(n,t.slice(1))})),this}};a=o.default.View.extend(m);r.default.each(["each","map","reduce","reduceRight","find","filter","reject","every","some","contains","toArray","size","first","initial","rest","last","without","indexOf","shuffle","lastIndexOf","isEmpty","chain","where","findWhere"],(function(e){a.prototype[e]=function(){var t=r.default.toArray(arguments);return t.unshift(r.default.toArray(this[s])),r.default[e].apply(r.default,t)}})),a.isCourageView=!0;var g=a;t.default=g,e.exports=t.default},497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(3715));function i(e){return e&&e.__esModule?e:{default:e}}var a={secureJSON:!1,constructor:function(){o.default.apply(this,arguments),r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,(function(e,t,n,o){return e.call(this,t,n,r.default.extend({dataType:"secureJSON"},o))})))}},s=o.default.extend(a);t.default=s,e.exports=t.default},8967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9458));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}var s=function(e){var t=r.default.omit(e.local,r.default.keys(e._builtInLocalProps));return r.default.size(e.props)+r.default.size(t)>0},l={flat:!1,constructor:function(){o.default.apply(this,arguments),this.on("sync",this._setSynced)},allows:function(){return!s(this)||o.default.prototype.allows.apply(this,arguments)},set:function(e,t){var n;return"object"===a(e)?n=e:(n={})[e]=t,(0,r.default)(n).each((function(e,t){e&&r.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),o.default.prototype.set.apply(this,arguments)},get:function(){var e=o.default.prototype.get.apply(this,arguments);return r.default.isFunction(e)?e.apply(this,r.default.map(e.__attributes||[],this.get,this)):e},toJSON:function(e){e||(e={});var t=o.default.prototype.toJSON.apply(this,arguments);return(0,r.default)(t).each((function(n,r){"function"==typeof n&&(e.verbose?t[r]=this.get(r):delete t[r])}),this),e.verbose||(0,r.default)(t).each((function(e,n){/^__\w+__$/.test(n)&&delete t[n]})),t},sanitizeAttributes:function(e){var t={};return r.default.each(e,(function(e,n){r.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 r.default.each(this.sanitizeAttributes(this.attributes),(function(e,n){t[n]=void 0})),this.set(t,r.default.extend({},e,{unset:!0}))},_setSynced:function(e){this._syncedData=e&&r.default.isFunction(e.toJSON)?e.toJSON():{}},_getSynced:function(){return this._syncedData},isSynced:function(){return r.default.isEqual(this._getSynced(),this.toJSON())}},u=o.default.extend(l,{ComputedProperty:function(e,t){return t||"function"!=typeof e?t.__attributes=e:t=e,t}});t.default=u,e.exports=t.default},1017:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(4818)),o=s(n(497)),i=s(n(8967)),a=s(n(6273));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=r.default.pick(e,"id","name","displayName"),n=r.default.map(e.schema.properties,(function(e,t){return r.default.extend({name:t},e)}));return r.default.each(n,(function(e){e.__schemaMeta__=t,e.__metadata&&(e.__metadata__=e.__metadata,delete e.__metadata)})),n},u=i.default.extend({defaults:{id:void 0,displayName:void 0,name:void 0},constructor:function(){this.properties=new a.default.Collection,i.default.apply(this,arguments)},getProperties:function(){return this.properties},clone:function(){var e=i.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}),r.default.omit(e,"schema")},trimProperty:function(e){return r.default.omit(e,"name")},toJSON:function(){var e=i.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()})),i.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},9458:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(6401));function i(e){return e&&e.__esModule?e:{default:e}}var a=o.default.extend({secureJSON:!1,_builtInLocalProps:{__edit__:"boolean",__pending__:"boolean"},preinitialize:function(){this.local=r.default.defaults({},r.default.result(this,"local"),this._builtInLocalProps),o.default.prototype.preinitialize.apply(this,arguments)},constructor:function(){o.default.apply(this,arguments),r.default.result(this,"secureJSON")&&(this.sync=r.default.wrap(this.sync,(function(e,t,n,o){return e.call(this,t,n,r.default.extend({dataType:"secureJSON"},o))})))}});t.default=a,e.exports=t.default},6273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(5586)),o=d(n(4818)),i=d(n(497)),a=d(n(8967)),s=d(n(8311)),l=d(n(6883)),u=d(n(1633)),c=d(n(1826));function d(e){return e&&e.__esModule?e:{default:e}}var f=u.default.localize,p=l.default.STRING,h=l.default.NUMBER,m=l.default.INTEGER,g=l.default.OBJECT,v=a.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}}),y=i.default.extend({model:v}),b=y.extend({_type:"allOf"}),_=y.extend({_type:"oneOf"}),w=y.extend({_type:"noneOf"}),k={string:f("schema.validation.field.value.must.string","courage"),number:f("schema.validation.field.value.must.number","courage"),integer:f("schema.validation.field.value.must.integer","courage"),object:f("schema.validation.field.value.must.object","courage")},x=/[^a-zA-Z0-9-]/,S={between:"_checkBetweenConstraints",greaterThan:"_checkGreaterThanConstraint",lessThan:"_checkLessThanConstraint",equals:"_checkEqualsConstraint"},E=a.default.extend({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:l.default.PERMISSION.READ_ONLY}},unique:void 0,__metadata__:void 0,__isSensitive__:a.default.ComputedProperty(["settings"],(function(e){return!(!e||!e.sensitive||"NOT_SENSITIVE"===e.sensitive)})),__isPendingSensitive__:a.default.ComputedProperty(["settings"],(function(e){return!(!e||!e.sensitive||"PENDING_SENSITIVE"!==e.sensitive)})),__unique__:!1,__isUniqueValidated__:a.default.ComputedProperty(["unique"],(function(e){return e===l.default.UNIQUENESS.UNIQUE_VALIDATED})),__isPendingUniqueness__:a.default.ComputedProperty(["unique"],(function(e){return e===l.default.UNIQUENESS.PENDING_UNIQUENESS})),__isUniqueness__:a.default.ComputedProperty(["__isUniqueValidated__","__isPendingUniqueness__"],(function(e,t){return e||t})),__canBeSensitive__:a.default.ComputedProperty(["__metadata__"],(function(e){return!(!e||!e.sensitivizable)})),__userPermission__:l.default.PERMISSION.READ_ONLY,__displayType__:void 0,__displayTypeLabel__:a.default.ComputedProperty(["__displayType__"],(function(e){return l.default.DATATYPE[e]||e})),__supportsMinMax__:!1,__isReadOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===l.default.MUTABILITY.READONLY})),__isWriteOnly__:a.default.ComputedProperty(["mutability"],(function(e){return e===l.default.MUTABILITY.WRITEONLY})),__displayScope__:void 0,__isScopeSelf__:a.default.ComputedProperty(["scope"],(function(e){return e===l.default.SCOPE.SELF})),__isNoneScopeArrayType__:a.default.ComputedProperty(["__isScopeSelf__","__displayType__"],(function(e,t){return!e&&l.default.isArrayDataType(t)})),__isImported__:a.default.ComputedProperty(["externalName"],(function(e){return!!e})),__isFromBaseSchema__:a.default.ComputedProperty(["__schemaMeta__"],(function(e){return e&&"base"===e.name})),__enumDefined__:!1,__supportEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains(l.default.SUPPORTENUM,e)})),__isNumberTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.NUMBER,l.default.ARRAYDISPLAYTYPE.arrayofnumber],e)})),__isIntegerTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.INTEGER,l.default.ARRAYDISPLAYTYPE.arrayofinteger],e)})),__isObjectTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.OBJECT,l.default.ARRAYDISPLAYTYPE.arrayofobject],e)})),__isStringTypeEnum__:a.default.ComputedProperty(["__displayType__"],(function(e){return o.default.contains([l.default.STRING,l.default.ARRAYDISPLAYTYPE.arrayofstring],e)})),__enumConstraintType__:a.default.ComputedProperty(["__isStringTypeEnum__","__isNumberTypeEnum__","__isIntegerTypeEnum__","__isObjectTypeEnum__"],(function(e,t,n,r){return e?p:t?h:n?m:r?g:void 0})),__isEnumDefinedAndSupported__:a.default.ComputedProperty(["__enumDefined__","__supportEnum__"],(function(e,t){return e&&t})),__isLoginOfBaseSchema__:a.default.ComputedProperty(["__isFromBaseSchema__","name"],(function(e,t){return e&&"login"===t})),__isLoginFormatRestrictionToEmail__:a.default.ComputedProperty(["__loginFormatRestriction__"],(function(e){return e===l.default.LOGINPATTERNFORMAT.EMAIL}))},initialize:function(){a.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"object"===(e=o.default.clone(e)).type&&"image"===e.extendedType&&(e.type="image"),e.__displayType__=l.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!==l.default.SUPPORTSMINMAX.indexOf(e.__displayType__),e.__displayScope__=l.default.DISPLAYSCOPE[e.scope]||l.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[S[t]];return o.default.isFunction(n)?n.call(this):void s.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__===p?(e.__minVal__=e.minLength,e.__maxVal__=e.maxLength):e.__displayType__!==m&&e.__displayType__!==h||(e.__minVal__=e.minimum,e.__maxVal__=e.maximum),e.__minVal__&&e.__maxVal__?e.__minVal__===e.__maxVal__?(e.__constraint__="equals",e.__equals__=e.__minVal__):e.__constraint__="between":!e.__minVal__&&e.__maxVal__?e.__constraint__="lessThan":!e.__maxVal__&&e.__minVal__&&(e.__constraint__="greaterThan")},_setSubSchemas:function(e){e.allOf?e.subSchemas=new b(e.allOf,{parse:!0}):e.oneOf?e.subSchemas=new _(e.oneOf,{parse:!0}):e.noneOf&&(e.subSchemas=new w(e.noneOf,{parse:!0}))},_setUniqueness:function(e){var t=e&&e.unique;e.__unique__=!(!t||t!==l.default.UNIQUENESS.UNIQUE_VALIDATED&&t!==l.default.UNIQUENESS.PENDING_UNIQUENESS)},_setLoginPattern:function(){if(this.get("__isLoginOfBaseSchema__")){var e=this.get("pattern");".+"===e?this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.NONE):e?(this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.CUSTOM),this.set("__loginFormatRestrictionCustom__",this._extractLoginPattern(e))):this.set("__loginFormatRestriction__",l.default.LOGINPATTERNFORMAT.EMAIL)}},_updateDisplayType:function(){var e=this.get("type");if(e===p&&this.get("format"))this.set("__displayType__",l.default.FORMATDISPLAYTYPE[this.get("format")]);else{var t=this.get("items"),n=t&&(t.format?t.format:t.type);e&&n?this.set("__displayType__",l.default.ARRAYDISPLAYTYPE[function(e,t){return e+"of"+t}(e,n)]):this.set("__displayType__",e)}},_validateEnumOneOf:function(){if(this.get("__isEnumDefinedAndSupported__")){var e=this.get("__oneOf__")||[];if(o.default.isEmpty(e))return{__oneOf__:f("model.validation.field.blank","courage")};if(!this._isValidateOneOfConstraint(e)){var t=this.get("__enumConstraintType__");return{__oneOf__:k[t]}}}},_isValidateOneOfConstraint:function(e){var t=this.get("__enumConstraintType__");return o.default.all(e,(function(e){return c.default.isConstraintValueMatchType(e.const,t)}))},toJSON:function(){var e=a.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 i.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 l.default.LOGINPATTERNFORMAT.EMAIL:delete e.pattern;break;case l.default.LOGINPATTERNFORMAT.CUSTOM:e.pattern=this._buildLoginPattern(this.get("__loginFormatRestrictionCustom__"));break;case l.default.LOGINPATTERNFORMAT.NONE:e.pattern=".+"}return e},_uniquenessAssignment:function(e){return this.get("__unique__")?this.get("__isUniqueness__")||(e.unique=l.default.UNIQUENESS.UNIQUE_VALIDATED):delete e.unique,e},_escapedRegexChar:function(e,t){var n=e.charAt(t);return x.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=e.match(/^\[(.*)\]\+/);return t?t[1].replace(/\\(.)/g,"$1"):e},_getEnumOneOfWithTitleCheck:function(){var e=this.get("__oneOf__");return o.default.map(e,(function(e){return""!==r.default.trim(e.title)||(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(l.default.DISPLAYTYPES[e]),e!==h&&e!==m&&(this.unset("minimum"),this.unset("maximum")),e!==p&&(this.unset("minLength"),this.unset("maxLength")),this.unset("__minVal__"),this.unset("__maxVal__"),this.unset("__equals__"),this.set("__supportsMinMax__",-1!==l.default.SUPPORTSMINMAX.indexOf(this.get("__displayType__")))},_updateMinMax:function(){var e,t,n=this.get("__displayType__");n===p?(e="minLength",t="maxLength"):n!==m&&n!==h||(e="minimum",t="maximum"),this.get("__minVal__")?this.set(e,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")!==l.default.SCOPE.SYSTEM&&(!0===this.get("__isScopeSelf__")?this.set({scope:l.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__",c.default.convertToOneOf(e)),this.set("__enumDefined__",!0))}}),T={Model:E,Collection:i.default.extend({model:E,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(l.default.DISPLAYTYPES[n]),-1!==l.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}),{})}})};t.default=T,e.exports=t.default},7277:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(5586)),o=u(n(4818)),i=u(n(2368)),a=u(n(5725)),s=u(n(1889)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t={};return o.default.each(e,(function(e,n){o.default.isNull(e)||(t[n]=e)})),t}var d={preinitialize:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.state=o.default.result(this,"state");var t=this.state instanceof s.default||e.state instanceof s.default;if(!t){var n=o.default.defaults(c(e.state),this.state||{});this.state=new s.default(n),delete e.state}e.settings||(e.settings=new a.default(o.default.omit(e||{},"el")),this.listen("notification",i.default.prototype._notify),this.listen("confirmation",i.default.prototype._confirm)),l.default.prototype.preinitialize.call(this,e)},constructor:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l.default.call(this,t),this.listenTo(this.state,"__invoke__",(function(){var e=o.default.toArray(arguments),t=e.shift();o.default.isFunction(this[t])&&this[t].apply(this,e)})),this.View&&this.View.isCourageView?e=this.View:o.default.result(this,"View")&&o.default.result(this,"View").isCourageView&&(e=o.default.result(this,"View")),e&&this.add(new e(this.toJSON()))},state:{},View:null,render:function(){var e=arguments,t=this;return(0,r.default)((function(){l.default.prototype.render.apply(t,e)})),this},toJSON:function(e){return o.default.extend(o.default.pick(this,"state","settings","collection","model"),e||{})},remove:function(){return this.removeChildren(),this.stopListening(),this.$el.empty(),this}},f=l.default.extend(d);t.default=f,e.exports=t.default},2368:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(7582)),o=c(n(9663)),i=c(n(5586)),a=c(n(4818)),s=c(n(8311)),l=c(n(5725)),u=c(n(5270));function c(e){return e&&e.__esModule?e:{default:e}}function d(e,t){var n=a.default.result(e,"root")||"";return n&&a.default.isString(t)?[n,t].join("/").replace(/\/{2,}/g,"/"):t}var f={root:"",listen:u.default.prototype.listen,constructor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.el=e.el,this.settings=new l.default(a.default.omit(e,"el")),e.root&&(this.root=e.root),r.default.Router.apply(this,arguments),this.listen("notification",this._notify),this.listen("confirmation",this._confirm)},_confirm:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.default.extend(a.default.pick(e,"title","subtitle","save","ok","cancel","cancelFn","noCancelButton","noSubmitButton","content","danger","type","closeOnOverlayClick","buttonOrder")),n=new t({model:this.settings});return n.render(),n},_notify:function(e){var t=new u.default(e);return(0,i.default)("#content").prepend(t.render().el),t},render:function(e,t){this.unload(),t=a.default.extend(a.default.pick(this,"settings","el"),t||{}),this.controller=new e(t),this.controller.render()},start:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];(0,i.default)((function(){var e;r.default.History.started?s.default.error("History has already been started"):(e=r.default.history).start.apply(e,t)}))},unload:function(){this.controller&&(this.stopListening(this.controller),this.stopListening(this.controller.state),this.controller.remove())},route:function(e,t,n){return r.default.Router.prototype.route.call(this,d(this,e),t,n)},navigate:function(e,t){return r.default.Router.prototype.navigate.call(this,d(this,e),t)}},p=r.default.Router.extend(f);t.default=p,e.exports=t.default},1937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(6564));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){var t=r.default.extend(e.click?{click:e.click}:{},e.events||{}),n={};return r.default.each(t,(function(t,r){n[r]=function(n){e.href||(n.preventDefault(),n.stopPropagation()),this.disabled&&"click"===r||t.apply(this,arguments)}})),n}var s={create:function(e){return(e=r.default.clone(e)).attrs=e.attributes,delete e.attributes,o.default.extend(r.default.extend(e,{events:a(e)}))}};t.default=s,e.exports=t.default},2857:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=i(n(7582)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){this.options=o.default.clone(e||{}),this.cid=o.default.uniqueId("class"),this.initialize.apply(this,arguments)}o.default.extend(a.prototype,r.default.Events,{initialize:function(){}}),a.extend=r.default.Model.extend,e.exports=t.default},1881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(928)),o=l(n(5586)),i=l(n(4818)),a=l(n(5771)),s=l(n(2857));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default,c=["success","error","target","text"],d=s.default.extend({initialize:function(e,t){var n,r,s;t=i.default.pick(t||{},c),i.default.isString(e)&&(n=e),i.default.isElement(e)&&(n=e),e instanceof o.default&&(n=e.selector),e instanceof a.default&&(n=e.el),i.default.isFunction(t.target)&&(r=t.target),i.default.isElement(t.target)&&(r=i.default.constant(t.target)),i.default.isString(t.text)?s=i.default.constant(t.text):i.default.isFunction(t.text)&&(s=t.text),this.__instance=new u(n,{target:r,text:s}),this.done=i.default.partial(this.__setCallback,"success"),this.error=i.default.partial(this.__setCallback,"error"),this.done(t.success),this.error(t.error)},__setCallback:function(e,t){if(i.default.isFunction(t))return this.__instance.on(e,t),this.__instance}}),f={attach:function(e,t){return new d(e,t)}};t.default=f,e.exports=t.default},4106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9673));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^https/.test(window.location.href),s={setCookie:function(e,t,n){o.default.set(e,t,r.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},2514:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={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")}},e.exports=t.default},8311:function(e,t){"use strict";function n(e){if(window.console&&window.okta&&window.okta.debug){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];(t=window.console)[e].apply(t,r)}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={trace:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["trace"].concat(t))},dir:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["dir"].concat(t))},time:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["time"].concat(t))},timeEnd:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["timeEnd"].concat(t))},group:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["group"].concat(t))},groupEnd:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["groupEnd"].concat(t))},assert:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["assert"].concat(t))},log:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["log"].concat(t))},info:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["info"].concat(t))},warn:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["warn"].concat(t))},error:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.apply(void 0,["error"].concat(t))}};t.default=r,e.exports=t.default},6883:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(4818));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(1633)).default.localize,a={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:i("universal-directory.profiles.attribute.form.union.enable.display","courage"),ENABLE:i("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:i("universal-directory.profiles.attribute.enduser.permission.hide","courage"),READ_ONLY:i("universal-directory.profiles.attribute.enduser.permission.readonly","courage"),READ_WRITE:i("universal-directory.profiles.attribute.enduser.permission.readwrite","courage")},ATTRIBUTE_LEVEL_MASTERING_OPTIONS:{INHERIT:i("universal-directory.profiles.attribute.source.inherit","courage"),OKTA_MASTERED:i("universal-directory.profiles.attribute.source.oktamastered","courage"),OVERRIDE:i("universal-directory.profiles.attribute.source.override","courage")},USERNAMETYPE:{NONE:"non-username",OKTA_TO_APP:"okta-to-app-username",OKTA_TO_AD:"okta-to-ad-username",APP_TO_OKTA:"app-to-okta-username",IDP_TO_OKTA:"idp-to-okta-username"},LOGINPATTERNFORMAT:{EMAIL:"EMAIL",CUSTOM:"CUSTOM",NONE:"NONE"},UNIQUENESS:{NOT_UNIQUE:"NOT_UNIQUE",PENDING_UNIQUENESS:"PENDING_UNIQUENESS",UNIQUE_VALIDATED:"UNIQUE_VALIDATED"},getDisplayType:function(e,t,n,r){var o;return e&&(o=t?this.FORMATDISPLAYTYPE[t]:n?this.ARRAYDISPLAYTYPE[e+"of"+n]:e),o||(o=void 0===r?"":r),o},getSourceUsernameType:function(e,t,n){var r=this.USERNAMETYPE.NONE;return"oktaToApp"===e?"userName"===t?r=this.USERNAMETYPE.OKTA_TO_APP:"cn"===t&&(r=this.USERNAMETYPE.OKTA_TO_AD):"appToOkta"===e&&"login"===t&&(r="saml_idp"===n?this.USERNAMETYPE.IDP_TO_OKTA:this.USERNAMETYPE.APP_TO_OKTA),r},isArrayDataType:function(e){return r.default.contains(r.default.values(this.ARRAYDISPLAYTYPE),e)},isObjectDataType:function(e){return this.DATATYPE.object===e}};t.default=a,e.exports=t.default},5725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(9458));function i(e){return e&&e.__esModule?e:{default:e}}var a={local:function(){var e=window.okta&&window.okta.settings||{},t=window.okta&&window.okta.theme||"";return{orgId:["string",!1,e.orgId],orgName:["string",!1,e.orgName],serverStatus:["string",!1,e.serverStatus],persona:["string",!1,e.persona],isDeveloperConsole:["boolean",!1,e.isDeveloperConsole],isPreview:["boolean",!1,e.isPreview],permissions:["array",!0,e.permissions||[]],theme:["string",!1,t]}},constructor:function(){o.default.apply(this,arguments),this.features=window._features||[]},hasFeature:function(e){return r.default.contains(this.features,e)},hasAnyFeature:function(e){return r.default.some(e,this.hasFeature,this)},hasPermission:function(e){return r.default.contains(this.get("permissions"),e)},isDsTheme:function(){return"dstheme"===this.get("theme")}},s=o.default.extend(a);t.default=s,e.exports=t.default},1889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(4818));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(9458)).default.extend({invoke:function(){var e=r.default.toArray(arguments);e.unshift("__invoke__"),this.trigger.apply(this,e)}});t.default=i,e.exports=t.default},1633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(5586)),o=a(n(4818)),i=a(n(938));function a(e){return e&&e.__esModule?e:{default:e}}var s={"&":"&","<":"<",">":">",""":'"',"'":"'","'":"'","/":"/"},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,}))$/;function u(e){if(!e)return i.default[o.default.keys(i.default)[0]];var t=function(e){if(/-/.test(e)){var t=e.split("-");return t[1]=t[1].toUpperCase(),t.join("_")}return e}(window&&window.okta&&window.okta.locale)||"en";return i.default["".concat(e,"_").concat(t)]||i.default[e]}function c(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}function d(e,t,n){if(window.CustomEvent||(window.CustomEvent=c),"function"==typeof window.CustomEvent){var r=new CustomEvent("okta-i18n-error",{detail:{type:"l10n-error",key:e,bundleName:t,reason:n}});document.dispatchEvent(r)}}var f={sprintf:function(){var e=Array.prototype.slice.apply(arguments),t=e.shift(),n=t;function r(){throw new Error("Mismatch number of variables: "+arguments[0]+", "+JSON.stringify(e))}for(var o=0,i=e.length;o<i;o++){var a=e[o],s=new RegExp("\\{"+o+"\\}","g");t=t.replace(s,a),null!=a&&t!==n||r(),n=t}return/\{[\d+]\}/.test(t)&&r(),t},parseQuery:function(e){for(var t={},n=decodeURIComponent(e.replace(/\+/g," ")).split("&"),r=0;r<n.length;r++){var o=n[r].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=u(t);return n?n[e]?n[e]:(d(e,t,"key"),"L10N_ERROR["+e+"]"):(d(e,t,"bundle"),"L10N_ERROR["+t+"]")},localize:function(e,t,n){var r=u(t);if(!r)return d(e,t,"bundle"),"L10N_ERROR["+t+"]";var o=r[e];try{return(n=n&&n.slice?n.slice(0):[]).unshift(o),(o=f.sprintf.apply(null,n))||(d(e,t,"key"),"L10N_ERROR["+e+"]")}catch(n){return d(e,t,"parameters"),"L10N_ERROR["+e+"]"}},parseFloat:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){var t=+e;return"string"==typeof e&&t===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 r.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+="").length>=(t+="").length&&e.substring(e.length-t.length)===t},isEmail:function(e){var t=r.default.trim(e);return!o.default.isEmpty(t)&&l.test(t)}};t.default=f,e.exports=t.default},2132:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6276));function o(e){return e&&e.__esModule?e:{default:e}}var i={tpl:o(n(4818)).default.memoize((function(e){return function(t){return r.default.compile(e)(t)}}))};t.default=i,e.exports=t.default},9077:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={DEBOUNCE_DELAY:200,LOADING_FADE:400,UNLOADING_FADE:400,ROW_EXPANDER_TRANSITION:150,HIDE_ADD_MAPPING_FORM:300},e.exports=t.default},4691:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(7317));function i(e){return e&&e.__esModule?e:{default:e}}var a={redirect:function(e){window.location=e},reloadPage:function(){window.location.reload()},constantError:function(e){return function(){throw new Error(e)}},getUrlQueryString:function(e){r.default.isObject(e)||(e={});var t=r.default.without(r.default.map(e,(function(e,t){if(null!=e)return t+"="+encodeURIComponent(e)})),void 0).join("&");return r.default.isEmpty(t)?"":"?"+t},isABaseView:function(e){return e instanceof o.default||e.prototype instanceof o.default||e===o.default},isSafari:function(){return/^((?!chrome|android|crios).)*safari/i.test(navigator.userAgent)}};t.default=a,e.exports=t.default},6197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4818))&&r.__esModule?r:{default:r};function i(e,t){var n=this.model.get(t);return o.default.isFunction(e)?e.call(this,n):e===n}function a(e,t,n){var r=o.default.bind(n,e,e,t);e.render=o.default.wrap(e.render,(function(t){var n=t.call(e);return r({animate:!1}),n})),e.listenTo(e.model,function(e){return"change:"+o.default.keys(e).join(" change:")}(t),(function(){r({animate:!0})}))}var s={applyDoWhen:function(e,t,n){e.model&&o.default.isObject(t)&&o.default.size(t)&&o.default.isFunction(n)&&a(e,t,(function(e,t,r){var a=o.default.every(o.default.map(t,i,e));n.call(e,a,r)}))}};t.default=s,e.exports=t.default},3378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=o.default.Utils.escapeExpression;o.default.Utils.escapeExpression=function(e){return i(e).replace(/=/g,"=")},e.exports=t.default},7827:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o.default}});var r,o=(r=n(6276))&&r.__esModule?r:{default:r};o.default.registerHelper("base64ToHex",(function(e){var t=atob(e),n="";if(t.length>0){var r=t.charCodeAt(0).toString(16);n+=2===r.length?r:"0".concat(r);for(var o=1;o<t.length;o+=1){var i=t.charCodeAt(o).toString(16);i=2===i.length?i:"0".concat(i),n+=" ".concat(i)}}return n.toUpperCase()})),e.exports=t.default},5631:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=s(n(6276)),o=s(n(4818)),i=s(n(8311)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(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}var c=r.default.Utils.escapeExpression;function d(e){return e&&e.replace(/^\s+|\s+$/g,"")}r.default.registerHelper("i18n",(function(e){var t,n=d(e.hash.code),s=d(e.hash.bundle),u=d(e.hash.arguments),f=Object.keys(e.hash).filter((function(e){return e.match(/^\$\d+/)})).map((function(t){return{tag:t,value:e.hash[t]}}));u&&(t=o.default.map(d(u).split(";"),(function(e){var t,n=this;return e=d(e),o.default.each(e.split("."),(function(e){t=t?t[e]:n[e]})),t}),this));var p=a.default.localize(n,s,t);if(f.length<1)return p;var h=c(p);try{return f.forEach((function(e){h=function(e,t,n){var r=c("<".concat(t,">")),o=c("</".concat(t,">")),i=l(n.split(t),2),a=i[0],s=i[1];if(!e.includes(r)&&!e.includes(o))throw Error('Parsed tag "'.concat(t,'" is not present in "').concat(e,'"'));if(!n.includes(t))throw Error('Parsed tag "'.concat(t,'" is not present in "').concat(n,'"'));if(!a||!s)throw Error('Template value "'.concat(n,'" must contain beginning and closing tags'));return e.replace(r,a).replace(o,s)}(h,e.tag,e.value)})),new r.default.SafeString(h)}catch(e){return i.default.error(e.toString()),p}})),e.exports=t.default},4329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(4818));function i(e){return e&&e.__esModule?e:{default:e}}var a="/assets";r.default.registerHelper("img",(function(e){var t,n="undefined"!=typeof okta&&okta.cdnUrlHostname||"",i=o.default.pick(e.hash,["src","alt","width","height","class","title"]);i.src="".concat(n).concat(0===(t=i.src).indexOf(a)?t:a+t);var s=o.default.map(i,(function(e,t){var n="src"===t?encodeURI(e):r.default.Utils.escapeExpression(e);return"".concat(t,'="').concat(n,'"')}));return new r.default.SafeString("<img ".concat(s.join(" "),"/>"))})),e.exports=t.default},7169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(4527));function i(e){return e&&e.__esModule?e:{default:e}}r.default.registerHelper("markdown",(function(e){return(0,o.default)(r.default,e)})),e.exports=t.default},2259:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r.default}});var r=i(n(6276)),o=i(n(5586));function i(e){return e&&e.__esModule?e:{default:e}}r.default.registerHelper("xsrfTokenInput",(function(){return new r.default.SafeString('<input type="hidden" class="hide" name="_xsrfToken" value="'.concat((0,o.default)("#_xsrfToken").text(),'">'))})),e.exports=t.default},5586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(1271))&&r.__esModule?r:{default:r};o.default.ajaxSetup({beforeSend:function(e){e.setRequestHeader("X-Okta-XsrfToken",(0,o.default)("#_xsrfToken").text())},converters:{"text secureJSON":function(e){return"while(1){};"===e.substring(0,11)&&(e=e.substring(11)),JSON.parse(e)}}});var i=o.default;t.default=i,window.jQueryCourage=i,e.exports=t.default},4527:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r=e.compile('<a href="{{href}}">{{text}}</a>');n=o.default.isString(t)?e.Utils.escapeExpression(t).replace(l,"").replace(i,(function(e){return r({href:e.match(a)[1],text:e.match(s)[1]})})):"";return new e.SafeString(n)};var r,o=(r=n(4818))&&r.__esModule?r:{default:r};var i=/\[[^\]]*\]\([^)]*\)/gi,a=/\]\(([^)]*)\)/i,s=/\[([^\]]*)\]/i,l=/javascript:/gi;e.exports=t.default},4818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6276)),o=i(n(5541));function i(e){return e&&e.__esModule?e:{default:e}}o.default.mixin({resultCtx:function(e,t,n,r){var i=o.default.isObject(e)?e[t]:void 0;return o.default.isFunction(i)&&(i=i.call(n||e)),i||(o.default.isUndefined(r)?i:r)},isInteger:function(e){return o.default.isNumber(e)&&e%1==0},template:function(e,t){var n=r.default.compile(e);if(t)return n(t);var o=function(e){return n(e)};return o.source="",o}});var a=o.default;t.default=a,e.exports=t.default},7582:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(4696),i=n(7604),a=(r=n(1271))&&r.__esModule?r:{default:r};n(5541);var s=n(2057);function l(e){return l="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},l(e)}!function(e,t){
// (c) 2010-2019 Jeremy Ashkenas and DocumentCloud
// Backbone may be freely distributed under the MIT license.
var n=a.default;!function(e){var r,i="object"==("undefined"==typeof self?"undefined":l(self))&&self.self===self&&self||"object"==l(o.commonjsGlobal)&&o.commonjsGlobal.global===o.commonjsGlobal&&o.commonjsGlobal,a=s.u.exports;try{r=n}catch(e){}!function(e,t,n,r){var o=e.Backbone,i=Array.prototype.slice;t.VERSION="1.4.0",t.$=r,t.noConflict=function(){return e.Backbone=o,this},t.emulateHTTP=!1,t.emulateJSON=!1;var a,s=t.Events={},u=/\s+/,c=function e(t,r,o,i,a){var s,c=0;if(o&&"object"===l(o)){void 0!==i&&"context"in a&&void 0===a.context&&(a.context=i);for(s=n.keys(o);c<s.length;c++)r=e(t,r,s[c],o[s[c]],a)}else if(o&&u.test(o))for(s=o.split(u);c<s.length;c++)r=t(r,s[c],i,a);else r=t(r,o,i,a);return r};s.on=function(e,t,n){(this._events=c(d,this._events||{},e,t,{context:n,ctx:this,listening:a}),a)&&((this._listeners||(this._listeners={}))[a.id]=a,a.interop=!1);return this},s.listenTo=function(e,t,r){if(!e)return this;var o=e._listenId||(e._listenId=n.uniqueId("l")),i=this._listeningTo||(this._listeningTo={}),s=a=i[o];s||(this._listenId||(this._listenId=n.uniqueId("l")),s=a=i[o]=new v(this,e));var l=f(e,t,r,this);if(a=void 0,l)throw l;return s.interop&&s.on(t,r),this};var d=function(e,t,n,r){if(n){var o=e[t]||(e[t]=[]),i=r.context,a=r.ctx,s=r.listening;s&&s.count++,o.push({callback:n,context:i,ctx:i||a,listening:s})}return e},f=function(e,t,n,r){try{e.on(t,n,r)}catch(e){return e}};s.off=function(e,t,n){return this._events?(this._events=c(p,this._events,e,t,{context:n,listeners:this._listeners}),this):this},s.stopListening=function(e,t,r){var o=this._listeningTo;if(!o)return this;for(var i=e?[e._listenId]:n.keys(o),a=0;a<i.length;a++){var s=o[i[a]];if(!s)break;s.obj.off(t,r,this),s.interop&&s.off(t,r)}return n.isEmpty(o)&&(this._listeningTo=void 0),this};var p=function(e,t,r,o){if(e){var i,a=o.context,s=o.listeners,l=0;if(t||a||r){for(i=t?[t]:n.keys(e);l<i.length;l++){var u=e[t=i[l]];if(!u)break;for(var c=[],d=0;d<u.length;d++){var f=u[d];if(r&&r!==f.callback&&r!==f.callback._callback||a&&a!==f.context)c.push(f);else{var p=f.listening;p&&p.off(t,r)}}c.length?e[t]=c:delete e[t]}return e}for(i=n.keys(s);l<i.length;l++)s[i[l]].cleanup()}};s.once=function(e,t,n){var r=c(h,{},e,t,this.off.bind(this));return"string"==typeof e&&null==n&&(t=void 0),this.on(r,t,n)},s.listenToOnce=function(e,t,n){var r=c(h,{},t,n,this.stopListening.bind(this,e));return this.listenTo(e,r)};var h=function(e,t,r,o){if(r){var i=e[t]=n.once((function(){o(t,i),r.apply(this,arguments)}));i._callback=r}return e};s.trigger=function(e){if(!this._events)return this;for(var t=Math.max(0,arguments.length-1),n=Array(t),r=0;r<t;r++)n[r]=arguments[r+1];return c(m,this._events,e,void 0,n),this};var m=function(e,t,n,r){if(e){var o=e[t],i=e.all;o&&i&&(i=i.slice()),o&&g(o,r),i&&g(i,[t].concat(r))}return e},g=function(e,t){var n,r=-1,o=e.length,i=t[0],a=t[1],s=t[2];switch(t.length){case 0:for(;++r<o;)(n=e[r]).callback.call(n.ctx);return;case 1:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i);return;case 2:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a);return;case 3:for(;++r<o;)(n=e[r]).callback.call(n.ctx,i,a,s);return;default:for(;++r<o;)(n=e[r]).callback.apply(n.ctx,t);return}},v=function(e,t){this.id=e._listenId,this.listener=e,this.obj=t,this.interop=!0,this.count=0,this._events=void 0};v.prototype.on=s.on,v.prototype.off=function(e,t){var n;this.interop?(this._events=c(p,this._events,e,t,{context:void 0,listeners:void 0}),n=!this._events):(this.count--,n=0===this.count),n&&this.cleanup()},v.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},s.bind=s.on,s.unbind=s.off,n.extend(t,s);var y=t.Model=function(e,t){var r=e||{};t||(t={}),this.preinitialize.apply(this,arguments),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},t.collection&&(this.collection=t.collection),t.parse&&(r=this.parse(r,t)||{});var o=n.result(this,"defaults");r=n.defaults(n.extend({},o,r),o),this.set(r,t),this.changed={},this.initialize.apply(this,arguments)};n.extend(y.prototype,s,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",preinitialize:function(){},initialize:function(){},toJSON:function(e){return n.clone(this.attributes)},sync:function(){return t.sync.apply(this,arguments)},get:function(e){return this.attributes[e]},escape:function(e){return n.escape(this.get(e))},has:function(e){return null!=this.get(e)},matches:function(e){return!!n.iteratee(e,this)(this.attributes)},set:function(e,t,r){if(null==e)return this;var o;if("object"===l(e)?(o=e,r=t):(o={})[e]=t,r||(r={}),!this._validate(o,r))return!1;var i=r.unset,a=r.silent,s=[],u=this._changing;this._changing=!0,u||(this._previousAttributes=n.clone(this.attributes),this.changed={});var c=this.attributes,d=this.changed,f=this._previousAttributes;for(var p in o)t=o[p],n.isEqual(c[p],t)||s.push(p),n.isEqual(f[p],t)?delete d[p]:d[p]=t,i?delete c[p]:c[p]=t;if(this.idAttribute in o&&(this.id=this.get(this.idAttribute)),!a){s.length&&(this._pending=r);for(var h=0;h<s.length;h++)this.trigger("change:"+s[h],this,c[s[h]],r)}if(u)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,r=this._changing?this._previousAttributes:this.attributes,o={};for(var i in e){var a=e[i];n.isEqual(r[i],a)||(o[i]=a,t=!0)}return!!t&&o},previous:function(e){return null!=e&&this._previousAttributes?this._previousAttributes[e]:null},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(e){e=n.extend({parse:!0},e);var t=this,r=e.success;return e.success=function(n){var o=e.parse?t.parse(n,e):n;if(!t.set(o,e))return!1;r&&r.call(e.context,t,n,e),t.trigger("sync",t,n,e)},K(this,e),this.sync("read",this,e)},save:function(e,t,r){var o;null==e||"object"===l(e)?(o=e,r=t):(o={})[e]=t;var i=(r=n.extend({validate:!0,parse:!0},r)).wait;if(o&&!i){if(!this.set(o,r))return!1}else if(!this._validate(o,r))return!1;var a=this,s=r.success,u=this.attributes;r.success=function(e){a.attributes=u;var t=r.parse?a.parse(e,r):e;if(i&&(t=n.extend({},o,t)),t&&!a.set(t,r))return!1;s&&s.call(r.context,a,e,r),a.trigger("sync",a,e,r)},K(this,r),o&&i&&(this.attributes=n.extend({},u,o));var c=this.isNew()?"create":r.patch?"patch":"update";"patch"!==c||r.attrs||(r.attrs=o);var d=this.sync(c,this,r);return this.attributes=u,d},destroy:function(e){e=e?n.clone(e):{};var t=this,r=e.success,o=e.wait,i=function(){t.stopListening(),t.trigger("destroy",t,t.collection,e)};e.success=function(n){o&&i(),r&&r.call(e.context,t,n,e),t.isNew()||t.trigger("sync",t,n,e)};var a=!1;return this.isNew()?n.defer(e.success):(K(this,e),a=this.sync("delete",this,e)),o||i(),a},url:function(){var e=n.result(this,"urlRoot")||n.result(this.collection,"url")||G();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.extend({},e,{validate:!0}))},_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)}});var b=t.Collection=function(e,t){t||(t={}),this.preinitialize.apply(this,arguments),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))},_={add:!0,remove:!0,merge:!0},w={add:!0,remove:!1},k=function(e,t,n){n=Math.min(Math.max(n,0),e.length);var r,o=Array(e.length-n),i=t.length;for(r=0;r<o.length;r++)o[r]=e[r+n];for(r=0;r<i;r++)e[r+n]=t[r];for(r=0;r<o.length;r++)e[r+i+n]=o[r]};n.extend(b.prototype,s,{model:y,preinitialize:function(){},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,w))},remove:function(e,t){t=n.extend({},t);var r=!n.isArray(e);e=r?[e]:e.slice();var o=this._removeModels(e,t);return!t.silent&&o.length&&(t.changes={added:[],merged:[],removed:o},this.trigger("update",this,t)),r?o[0]:o},set:function(e,t){if(null!=e){(t=n.extend({},_,t)).parse&&!this._isModel(e)&&(e=this.parse(e,t)||[]);var r=!n.isArray(e);e=r?[e]:e.slice();var o=t.at;null!=o&&(o=+o),o>this.length&&(o=this.length),o<0&&(o+=this.length+1);var i,a,s=[],l=[],u=[],c=[],d={},f=t.add,p=t.merge,h=t.remove,m=!1,g=this.comparator&&null==o&&!1!==t.sort,v=n.isString(this.comparator)?this.comparator:null;for(a=0;a<e.length;a++){i=e[a];var y=this.get(i);if(y){if(p&&i!==y){var b=this._isModel(i)?i.attributes:i;t.parse&&(b=y.parse(b,t)),y.set(b,t),u.push(y),g&&!m&&(m=y.hasChanged(v))}d[y.cid]||(d[y.cid]=!0,s.push(y)),e[a]=y}else f&&(i=e[a]=this._prepareModel(i,t))&&(l.push(i),this._addReference(i,t),d[i.cid]=!0,s.push(i))}if(h){for(a=0;a<this.length;a++)d[(i=this.models[a]).cid]||c.push(i);c.length&&this._removeModels(c,t)}var w=!1,x=!g&&f&&h;if(s.length&&x?(w=this.length!==s.length||n.some(this.models,(function(e,t){return e!==s[t]})),this.models.length=0,k(this.models,s,0),this.length=this.models.length):l.length&&(g&&(m=!0),k(this.models,l,null==o?this.length:o),this.length=this.models.length),m&&this.sort({silent:!0}),!t.silent){for(a=0;a<l.length;a++)null!=o&&(t.index=o+a),(i=l[a]).trigger("add",i,this,t);(m||w)&&this.trigger("sort",this,t),(l.length||c.length||u.length)&&(t.changes={added:l,removed:c,merged:u},this.trigger("update",this,t))}return r?e[0]:e}},reset:function(e,t){t=t?n.clone(t):{};for(var r=0;r<this.models.length;r++)this._removeReference(this.models[r],t);return t.previousModels=this.models,this._reset(),e=this.add(e,n.extend({silent:!0},t)),t.silent||this.trigger("reset",this,t),e},push:function(e,t){return this.add(e,n.extend({at:this.length},t))},pop:function(e){var t=this.at(this.length-1);return this.remove(t,e)},unshift:function(e,t){return this.add(e,n.extend({at:0},t))},shift:function(e){var t=this.at(0);return this.remove(t,e)},slice:function(){return i.apply(this.models,arguments)},get:function(e){if(null!=e)return this._byId[e]||this._byId[this.modelId(this._isModel(e)?e.attributes:e)]||e.cid&&this._byId[e.cid]},has:function(e){return null!=this.get(e)},at:function(e){return e<0&&(e+=this.length),this.models[e]},where:function(e,t){return this[t?"find":"filter"](e)},findWhere:function(e){return this.where(e,!0)},sort:function(e){var t=this.comparator;if(!t)throw new Error("Cannot sort a set without a comparator");e||(e={});var r=t.length;return n.isFunction(t)&&(t=t.bind(this)),1===r||n.isString(t)?this.models=this.sortBy(t):this.models.sort(t),e.silent||this.trigger("sort",this,e),this},pluck:function(e){return this.map(e+"")},fetch:function(e){var t=(e=n.extend({parse:!0},e)).success,r=this;return e.success=function(n){var o=e.reset?"reset":"set";r[o](n,e),t&&t.call(e.context,r,n,e),r.trigger("sync",r,n,e)},K(this,e),this.sync("read",this,e)},create:function(e,t){var r=(t=t?n.clone(t):{}).wait;if(!(e=this._prepareModel(e,t)))return!1;r||this.add(e,t);var o=this,i=t.success;return t.success=function(e,t,n){r&&o.add(e,n),i&&i.call(n.context,e,t,n)},e.save(null,t),e},parse:function(e,t){return e},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(e){return e[this.model.prototype.idAttribute||"id"]},values:function(){return new S(this,E)},keys:function(){return new S(this,T)},entries:function(){return new S(this,O)},_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):{}).collection=this;var r=new this.model(e,t);return r.validationError?(this.trigger("invalid",this,r.validationError,t),!1):r},_removeModels:function(e,t){for(var n=[],r=0;r<e.length;r++){var o=this.get(e[r]);if(o){var i=this.indexOf(o);this.models.splice(i,1),this.length--,delete this._byId[o.cid];var a=this.modelId(o.attributes);null!=a&&delete this._byId[a],t.silent||(t.index=i,o.trigger("remove",o,this,t)),n.push(o),this._removeReference(o,t)}}return n},_isModel:function(e){return e instanceof y},_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(t){if(("add"===e||"remove"===e)&&n!==this)return;if("destroy"===e&&this.remove(t,r),"change"===e){var o=this.modelId(t.previousAttributes()),i=this.modelId(t.attributes);o!==i&&(null!=o&&delete this._byId[o],null!=i&&(this._byId[i]=t))}}this.trigger.apply(this,arguments)}});var x="function"==typeof Symbol&&Symbol.iterator;x&&(b.prototype[x]=b.prototype.values);var S=function(e,t){this._collection=e,this._kind=t,this._index=0},E=1,T=2,O=3;x&&(S.prototype[x]=function(){return this});S.prototype.next=function(){if(this._collection){if(this._index<this._collection.length){var e,t=this._collection.at(this._index);if(this._index++,this._kind===E)e=t;else{var n=this._collection.modelId(t.attributes);e=this._kind===T?n:[n,t]}return{value:e,done:!1}}this._collection=void 0}return{value:void 0,done:!0}};var C=t.View=function(e){this.cid=n.uniqueId("view"),this.preinitialize.apply(this,arguments),n.extend(this,n.pick(e,P)),this._ensureElement(),this.initialize.apply(this,arguments)},A=/^(\S+)\s*(.*)$/,P=["model","collection","el","id","attributes","className","tagName","events"];n.extend(C.prototype,s,{tagName:"div",$:function(e){return this.$el.find(e)},preinitialize:function(){},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;for(var t in this.undelegateEvents(),e){var r=e[t];if(n.isFunction(r)||(r=this[r]),r){var o=t.match(A);this.delegate(o[1],o[2],r.bind(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)}});var R=function(e,t,n,r){switch(t){case 1:return function(){return e[n](this[r])};case 2:return function(t){return e[n](this[r],t)};case 3:return function(t,o){return e[n](this[r],I(t,this),o)};case 4:return function(t,o,i){return e[n](this[r],I(t,this),o,i)};default:return function(){var t=i.call(arguments);return t.unshift(this[r]),e[n].apply(e,t)}}},M=function(e,t,r,o){n.each(r,(function(n,r){t[r]&&(e.prototype[r]=R(t,n,r,o))}))},I=function(e,t){return n.isFunction(e)?e:n.isObject(e)&&!t._isModel(e)?N(e):n.isString(e)?function(t){return t.get(e)}:e},N=function(e){var t=n.matches(e);return function(e){return t(e.attributes)}},j={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,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,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},L={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};n.each([[b,j,"models"],[y,L,"attributes"]],(function(e){var t=e[0],r=e[1],o=e[2];t.mixin=function(e){var r=n.reduce(n.functions(e),(function(e,t){return e[t]=0,e}),{});M(t,e,r,o)},M(t,n,r,o)})),t.sync=function(e,r,o){var i=D[e];n.defaults(o||(o={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var a={type:i,dataType:"json"};if(o.url||(a.url=n.result(r,"url")||G()),null!=o.data||!r||"create"!==e&&"update"!==e&&"patch"!==e||(a.contentType="application/json",a.data=JSON.stringify(o.attrs||r.toJSON(o))),o.emulateJSON&&(a.contentType="application/x-www-form-urlencoded",a.data=a.data?{model:a.data}:{}),o.emulateHTTP&&("PUT"===i||"DELETE"===i||"PATCH"===i)){a.type="POST",o.emulateJSON&&(a.data._method=i);var s=o.beforeSend;o.beforeSend=function(e){if(e.setRequestHeader("X-HTTP-Method-Override",i),s)return s.apply(this,arguments)}}"GET"===a.type||o.emulateJSON||(a.processData=!1);var l=o.error;o.error=function(e,t,n){o.textStatus=t,o.errorThrown=n,l&&l.call(o.context,e,t,n)};var u=o.xhr=t.ajax(n.extend(a,o));return r.trigger("request",r,u,o),u};var D={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var U=t.Router=function(e){e||(e={}),this.preinitialize.apply(this,arguments),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},F=/\((.*?)\)/g,B=/(\(\?)?:\w+/g,V=/\*\w+/g,q=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(U.prototype,s,{preinitialize:function(){},initialize:function(){},route:function(e,r,o){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(o=r,r=""),o||(o=this[r]);var i=this;return t.history.route(e,(function(n){var a=i._extractParameters(e,n);!1!==i.execute(o,a,r)&&(i.trigger.apply(i,["route:"+r].concat(a)),i.trigger("route",r,a),t.history.trigger("route",i,r,a))})),this},execute:function(e,t,n){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var e,t=n.keys(this.routes);null!=(e=t.pop());)this.route(e,this.routes[e])}},_routeToRegExp:function(e){return e=e.replace(q,"\\$&").replace(F,"(?:$1)?").replace(B,(function(e,t){return t?e:"([^/?]+)"})).replace(V,"([^?]*?)"),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 H=t.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),"undefined"!=typeof window&&(this.location=window.location,this.history=window.history)},Z=/^[#\/]|\s+$/g,z=/^\/+|\/+$/g,W=/#.*$/;H.started=!1,n.extend(H.prototype,s,{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(Z,"")},start:function(e){if(H.started)throw new Error("Backbone.history has already been started");if(H.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&&(void 0===document.documentMode||document.documentMode>7),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(z,"/"),this._wantsHashChange&&this._wantsPushState){if(!this._hasPushState&&!this.atRoot()){var t=this.root.slice(0,-1)||"/";return this.location.replace(t+"#"+this.getPath()),!0}this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0})}if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var r=document.body,o=r.insertBefore(this.iframe,r.firstChild).contentWindow;o.document.open(),o.document.close(),o.location.hash="#"+this.fragment}var i=window.addEventListener||function(e,t){return attachEvent("on"+e,t)};if(this._usePushState?i("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?i("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var e=window.removeEventListener||function(e,t){return detachEvent("on"+e,t)};this._usePushState?e("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&e("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),H.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.some(this.handlers,(function(t){if(t.route.test(e))return t.callback(e),!0})))},navigate:function(e,t){if(!H.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;e=e.replace(W,"");var o=this.decodeFragment(e);if(this.fragment!==o){if(this.fragment=o,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 H;var $=function(e,t){var r,o=this;return r=e&&n.has(e,"constructor")?e.constructor:function(){return o.apply(this,arguments)},n.extend(r,o,t),r.prototype=n.create(o.prototype,e),r.prototype.constructor=r,r.__super__=o.prototype,r};y.extend=b.extend=U.extend=C.extend=H.extend=$;var G=function(){throw new Error('A "url" property or function must be specified')},K=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)}}}(i,t,a,r)}()}(i.b,i.b.exports);var u=i.b.exports;t.default=u,e.exports=t.default},9673:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(8478);
/*!
* 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(e,t){e.exports=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(n){function r(t,o,i){var a;if(arguments.length>1){if("number"==typeof(i=e({path:"/"},r.defaults,i)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*i.expires),i.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,i.expires&&"; expires="+i.expires.toUTCString(),i.path&&"; path="+i.path,i.domain&&"; domain="+i.domain,i.secure?"; secure":""].join("")}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],u=/(%[0-9A-Z]{2})+/g,c=0;c<l.length;c++){var d=l[c].split("="),f=d[0].replace(u,decodeURIComponent),p=d.slice(1).join("=");'"'===p.charAt(0)&&(p=p.slice(1,-1));try{if(p=n.read?n.read(p,f):n(p,f)||p.replace(u,decodeURIComponent),this.json)try{p=JSON.parse(p)}catch(e){}if(t===f){a=p;break}t||(a[f]=p)}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(){}))}()}(r.j);var o=r.j.exports;t.default=o,e.exports=t.default},1169:function(e,t,n){"use strict";var r,o=(r=n(1271))&&r.__esModule?r:{default:r};(function(){var e;(e=function(){function e(){this.options_index=0,this.parsed=[]}return e.prototype.add_node=function(e){return"OPTGROUP"===e.nodeName.toUpperCase()?this.add_group(e):this.add_option(e)},e.prototype.add_group=function(e){var t,n,r,o,i,a;for(t=this.parsed.length,this.parsed.push({array_index:t,group:!0,label:e.label,children:0,disabled:e.disabled}),a=[],r=0,o=(i=e.childNodes).length;r<o;r++)n=i[r],a.push(this.add_option(n,t,e.disabled));return a},e.prototype.add_option=function(e,t,n){if("OPTION"===e.nodeName.toUpperCase())return""!==e.text?(null!=t&&(this.parsed[t].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:e.value,text:e.text,html:e.innerHTML,selected:e.selected,disabled:!0===n?n:e.disabled,group_array_index:t,classes:e.className,style:e.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1},e}()).select_to_array=function(t){var n,r,o,i,a;for(r=new e,o=0,i=(a=t.childNodes).length;o<i;o++)n=a[o],r.add_node(n);return r.parsed},this.SelectParser=e}).call(o.default),function(){var e;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&&""!==e.style?' 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;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,e=0,t=(n=this.form_field.options).length;e<t;e++)n[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}(),this.AbstractChosen=e}.call(o.default),function(){var e,t,n,r={}.hasOwnProperty,i=(n=this).AbstractChosen;(e=o.default).fn.extend({chosen:function(n){return i.browser_is_supported()?this.each((function(r){var o;if(!(o=e(this)).hasClass("chzn-done"))return o.data("chosen",new t(this,n))})):this}}),t=function(t){function o(){return o.__super__.constructor.apply(this,arguments)}return function(e,t){for(var n in t)r.call(t,n)&&(e[n]=t[n]);function o(){this.constructor=e}o.prototype=t.prototype,e.prototype=new o,e.__super__=t.prototype}(o,t),o.prototype.setup=function(){return this.form_field_jq=e(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl")},o.prototype.finish_setup=function(){return this.form_field_jq.addClass("chzn-done")},o.prototype.set_up_html=function(){var t,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",(t=["chzn-container"]).push("chzn-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&t.push(this.form_field.className),this.is_rtl&&t.push("chzn-rtl"),n={id:this.container_id,class:t.join(" "),title:this.form_field.title},this.container=e("<div></div>",n),this.container[0].style.width=this.container_width(),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="#" 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})},o.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()}))},o.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))},o.prototype.container_mousedown=function(t){if(!this.is_disabled&&(t&&"mousedown"===t.type&&!this.results_showing&&t.preventDefault(),null==t||!e(t.target).hasClass("search-choice-close")))return this.active_field?this.is_multiple||!t||e(t.target)[0]!==this.selected_item[0]&&!e(t.target).parents("a.chzn-single").length||(t.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),e(document).click(this.click_test_action),this.results_show()),this.activate_field()},o.prototype.container_mouseup=function(e){if("ABBR"===e.target.nodeName&&!this.is_disabled)return this.results_reset(e)},o.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())},o.prototype.blur_test=function(e){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},o.prototype.close_field=function(){return e(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()},o.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()},o.prototype.test_active_click=function(t){return e(t.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},o.prototype.results_build=function(){var e,t,r,o,i;for(this.parsing=!0,this.selected_option_count=null,this.results_data=n.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="",r=0,o=(i=this.results_data).length;r<o;r++)(t=i[r]).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},o.prototype.result_add_group=function(t){return t.dom_id=this.container_id+"_g_"+t.array_index,'<li id="'+t.dom_id+'" class="group-result">'+e("<div></div>").text(t.label).html()+"</li>"},o.prototype.result_do_highlight=function(e){var t,n,r,o,i;if(e.length){if(this.result_clear_highlight(),this.result_highlight=e,this.result_highlight.addClass("highlighted"),o=(r=parseInt(this.search_results.css("maxHeight"),10))+(i=this.search_results.scrollTop()),(t=(n=this.result_highlight.position().top+this.search_results.scrollTop())+this.result_highlight.outerHeight())>=o)return this.search_results.scrollTop(t-r>0?t-r:0);if(n<i)return this.search_results.scrollTop(n)}},o.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null},o.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())},o.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},o.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)},o.prototype.set_label_behavior=function(){var t=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=e("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.click((function(e){return t.is_multiple?t.container_mousedown(e):t.activate_field()}))},o.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"))},o.prototype.search_results_mouseup=function(t){var n;if((n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first()).length)return this.result_highlight=n,this.result_select(t),this.search_field.focus()},o.prototype.search_results_mouseover=function(t){var n;if(n=e(t.target).hasClass("active-result")?e(t.target):e(t.target).parents(".active-result").first())return this.result_do_highlight(n)},o.prototype.search_results_mouseout=function(t){if(e(t.target).hasClass("active-result"))return this.result_clear_highlight()},o.prototype.choice_build=function(t){var n,r,o=this;return n=e("<li></li>",{class:"search-choice"}).html("<span>"+t.html+"</span>"),t.disabled?n.addClass("search-choice-disabled"):((r=e("<a></a>",{href:"#",class:"search-choice-close",rel:t.array_index})).click((function(e){return o.choice_destroy_link_click(e)})),n.append(r)),this.search_container.before(n)},o.prototype.choice_destroy_link_click=function(t){if(t.preventDefault(),t.stopPropagation(),!this.is_disabled)return this.choice_destroy(e(t.target))},o.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()},o.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()},o.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},o.prototype.result_select=function(e){var t,n,r,o;if(this.result_highlight)return n=(t=this.result_highlight).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"),o=n.substr(n.lastIndexOf("_")+1),(r=this.results_data[o]).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())},o.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")},o.prototype.result_deactivate=function(e){return e.removeClass("active-result result-selected disabled-result")},o.prototype.result_deselect=function(t){var n;return n=this.results_data[t],!this.form_field.options[n.options_index].disabled&&(n.selected=!1,this.form_field.options[n.options_index].selected=!1,this.selected_option_count=null,e("#"+this.container_id+"_o_"+t).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[n.options_index].value}),this.search_field_scale(),!0)},o.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")},o.prototype.winnow_results=function(){var t,n,r,o,i,a,s,l,u,c,d,f,p,h,m,g,v,y;for(this.no_results_clear(),u=0,c=this.search_field.val()===this.default_text?"":e("<div></div>").text(e.trim(this.search_field.val())).html(),a=this.search_contains?"":"^",i=new RegExp(a+c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),p=new RegExp(c.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),h=0,g=(y=this.results_data).length;h<g;h++)if(!(n=y[h]).empty)if(n.group)e("#"+n.dom_id).css("display","none");else{if(t=!1,l=n.dom_id,s=e("#"+l),i.test(n.html))t=!0,u+=1;else if(this.enable_split_word_search&&(n.html.indexOf(" ")>=0||0===n.html.indexOf("["))&&(o=n.html.replace(/\[|\]/g,"").split(" ")).length)for(m=0,v=o.length;m<v;m++)r=o[m],i.test(r)&&(t=!0,u+=1);t?(c.length?(d=n.html.search(p),f=(f=n.html.substr(0,d+c.length)+"</em>"+n.html.substr(d+c.length)).substr(0,d)+"<em>"+f.substr(d)):f=n.html,s.html(f),this.result_activate(s,n),null!=n.group_array_index&&e("#"+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()},o.prototype.winnow_results_set_highlight=function(){var e,t;if(!this.result_highlight&&null!=(e=(t=this.is_multiple?[]:this.search_results.find(".result-selected.active-result")).length?t.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(e)},o.prototype.no_results=function(t){var n;return(n=e('<li class="no-results">'+this.results_none_found+' "<span></span>"</li>')).find("span").first().html(t),this.search_results.append(n)},o.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},o.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()},o.prototype.keyup_arrow=function(){var e;return this.results_showing||this.is_multiple?this.result_highlight?(e=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(e.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},o.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()).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},o.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},o.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()}},o.prototype.search_field_scale=function(){var t,n,r,o,i,a,s;if(this.is_multiple){for(i=0,r="position:absolute; left: -1000px; top: -1000px; display:none;",a=0,s=(o=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"]).length;a<s;a++)r+=(n=o[a])+":"+this.search_field.css(n)+";";return(t=e("<div></div>",{style:r})).text(this.search_field.val()),e("body").append(t),i=t.width()+25,t.remove(),this.f_width||(this.f_width=this.container.outerWidth()),i>this.f_width-10&&(i=this.f_width-10),this.search_field.css({width:i+"px"})}},o.prototype.generate_random_id=function(){var t;for(t="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();e("#"+t).length>0;)t+=this.generate_random_char();return t},o}(i),n.Chosen=t}.call(o.default)},6160:function(e,t,n){"use strict";var r,o,i,a=(r=n(1271))&&r.__esModule?r:{default:r};
/**
* --------------------------------------------------------------------
* jQuery customInput plugin
* Author: Maggie Costello Wachs maggie@filamentgroup.com, Scott Jehl, scott@filamentgroup.com
* Copyright (c) 2009 Filament Group
* licensed under MIT (filamentgroup.com/examples/mit-license.txt)
* --------------------------------------------------------------------
*/
o=a.default,i=o,o.fn.customInput=function(){return i(this).each((function(){if(i(this).is("[type=checkbox],[type=radio]")){var e=i(this),t=e.siblings('label[for="'+e.attr("id")+'"]:first');t.length||(t=e.closest('label[for="'+e.attr("id")+'"]:first')),e.add(t).wrapAll('<div class="custom-'+e.attr("type")+'"></div>'),t.hover((function(){i(this).addClass("hover")}),(function(){i(this).removeClass("hover")})),e.bind("updateState",(function(){e.is(":checked")?t.addClass("checked"):t.removeClass("checked checkedHover checkedFocus")})).trigger("updateState").click((function(){i('input[name="'+i(this).attr("name")+'"]').trigger("updateState")})).focus((function(){t.addClass("focus"),e.is(":checked")&&i(this).addClass("checkedFocus")})).blur((function(){t.removeClass("focus checkedFocus")}))}}))}},4221:function(e,t,n){"use strict";var r,o=(r=n(1271))&&r.__esModule?r:{default:r};
/*! http://mths.be/placeholder v2.0.7 by @mathias */
!function(){var e,t,n=o.default,r="placeholder"in document.createElement("input"),i="placeholder"in document.createElement("textarea"),a=n.fn,s=n.valHooks;function l(e,t){var r=this,o=n(r);if(r.value==o.attr("placeholder")&&o.hasClass("placeholder"))if(o.data("placeholder-password")){if(o=o.hide().next().show().attr("id",o.removeAttr("id").data("placeholder-id")),!0===e)return o[0].value=t;o.focus()}else r.value="",o.removeClass("placeholder"),r==document.activeElement&&r.select()}function u(){var e,t,r,o,i=this,a=n(i),s=this.id;if(""==i.value){if("password"==i.type){if(!a.data("placeholder-textinput")){try{e=a.clone().attr({type:"text"})}catch(i){e=n("<input>").attr(n.extend((t=this,r={},o=/^jQuery\d+$/,n.each(t.attributes,(function(e,t){t.specified&&!o.test(t.name)&&(r[t.name]=t.value)})),r),{type:"text"}))}e.removeAttr("name").data({"placeholder-password":!0,"placeholder-id":s}).bind("focus.placeholder",l),a.data({"placeholder-textinput":e,"placeholder-id":s}).before(e)}a=a.removeAttr("id").hide().prev().attr("id",s).show()}a.addClass("placeholder"),a[0].value=a.attr("placeholder")}else a.removeClass("placeholder")}r&&i?(t=a.placeholder=function(){return this}).input=t.textarea=!0:((t=a.placeholder=function(){return this.filter((r?"textarea":":input")+"[placeholder]").not(".placeholder").bind({"focus.placeholder":l,"blur.placeholder":u}).data("placeholder-enabled",!0).trigger("blur.placeholder"),this}).input=r,t.textarea=i,e={get:function(e){var t=n(e);return t.data("placeholder-enabled")&&t.hasClass("placeholder")?"":e.value},set:function(e,t){var r=n(e);return r.data("placeholder-enabled")?(""==t?(e.value=t,e!=document.activeElement&&u.call(e)):r.hasClass("placeholder")&&l.call(e,!0,t)||(e.value=t),r):e.value=t}},r||(s.input=e),i||(s.textarea=e),n((function(){n(document).delegate("form","submit.placeholder",(function(){var e=n(".placeholder",this).each(l);setTimeout((function(){e.each(u)}),10)}))})),n(window).bind("beforeunload.placeholder",(function(){n(".placeholder").each((function(){this.value=""}))})))}()},1357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(3430));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(7317)).default.decorate(r.default);t.default=i,e.exports=t.default},7317:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(7582)),o=s(n(4818)),i=s(n(5771)),a=s(n(2132));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u=o.default.clone(r.default.Events),c={constructor:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.default.call.apply(i.default,[this,e].concat(n)),this.module&&this.$el.attr("data-view",this.module.id)},empty:function(){return this.removeChildren()},compileTemplate:a.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",o.default.defaults({message:t,level:e},n)),this},confirm:function(e,t,n,r){var i;return i="object"===l(e)?e:2===arguments.length&&o.default.isFunction(t)?{title:"Okta",subtitle:e,ok:t}:{title:e,subtitle:t,ok:n,cancelFn:r},o.default.isFunction(i.ok)&&(i.ok=o.default.bind(i.ok,this)),o.default.isFunction(i.cancelFn)&&(i.cancelFn=o.default.bind(i.cancelFn,this)),this.broadcast("confirmation",i),this},alert:function(e){return o.default.isString(e)&&(e={subtitle:e}),this.confirm(o.default.extend({},e,{noCancelButton:!0})),this}},d=i.default.extend(c,{decorate:function(e){var t=e.extend({});return o.default.defaults(t.prototype,c),t}});t.default=d,e.exports=t.default},6564:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(6197)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}var l={click:function(e){e.preventDefault(),e.stopPropagation()}},u=a.default.extend({attributes:function(){var e=this.__getAttribute("attrs");return o.default.extend({"data-se":"button"},e)},tagName:"a",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:30},end:{line:1,column:38}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:67},end:{line:1,column:76}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"icon"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:54}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:54},end:{line:1,column:83}}}))?i:"")},useData:!0}),visible:!0,enabled:!0,enableWhen:{},showWhen:{},constructor:function(e){this.options=e||{};var t=this.getTemplateData();this.disabled=!1,a.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(){i.default.applyDoWhen(this,o.default.resultCtx(this,"enableWhen",this),this.toggle),i.default.applyDoWhen(this,o.default.resultCtx(this,"showWhen",this),this.toggleVisible)},render:function(){a.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},5480:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(5586)),i=s(n(4818)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:96},end:{line:1,column:104}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:133},end:{line:1,column:142}}}):i)},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="option-subtitle">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:192},end:{line:1,column:204}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="" class="icon-16 '+d(l(a=null!=(a=f(n,"className")||(null!=t?f(t,"className"):t))?a:u)===c?a.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):a)+'" data-se="'+d(l(a=null!=(a=f(n,"seleniumId")||(null!=t?f(t,"seleniumId"):t))?a:u)===c?a.call(s,{name:"seleniumId",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:64}}}):a)+'">'+(null!=(i=f(n,"if").call(s,null!=t?f(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}}}))?i:"")+(null!=(i=f(n,"if").call(s,null!=t?f(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}}}))?i:"")+(null!=(i=f(n,"if").call(s,null!=t?f(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}}}))?i:"")+"</a>"},useData:!0}),c=a.default.extend({tagName:"li",events:{click:function(e){e.preventDefault(),this.action&&this.action.call(this)}},constructor:function(){a.default.apply(this,arguments),this.$el.addClass("okta-dropdown-option option")},render:function(){return this.$el.html(u({icon:i.default.result(this,"icon"),className:i.default.result(this,"className")||"",title:i.default.result(this,"title"),subtitle:i.default.result(this,"subtitle"),seleniumId:i.default.result(this,"seleniumId")})),i.default.result(this,"disabled")&&this.disable(),this},disable:function(){this.$el.addClass("option-disabled"),this.$el.find("a").attr("tabindex","-1")}}),d=a.default.extend({events:{"click a.option-selected":function(e){e.preventDefault(),i.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,a.default.apply(this,arguments),this.className=e,this.$el.addClass("dropdown more-actions float-l"),i.default.each(i.default.result(this,"items"),(function(e){this.addOption(e,this.options)}),this)},template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"icon")||(null!=t?a(t,"icon"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"icon",hash:{},data:o,loc:{start:{line:1,column:176},end:{line:1,column:184}}}):i)+'"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="off-screen">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"screenReaderText")||(null!=t?a(t,"screenReaderText"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"screenReaderText",hash:{},data:o,loc:{start:{line:1,column:249},end:{line:1,column:269}}}):i)+"</span>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link-button '+d(l(a=null!=(a=f(n,"className")||(null!=t?f(t,"className"):t))?a:u)===c?a.call(s,{name:"className",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:44}}}):a)+' link-button-icon option-selected center" aria-expanded="false" aria-controls="okta-dropdown-options">'+(null!=(i=f(n,"if").call(s,null!=t?f(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}}}))?i:"")+(null!=(i=f(n,"if").call(s,null!=t?f(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}}}))?i:"")+'<span class="option-selected-text">'+d(l(a=null!=(a=f(n,"title")||(null!=t?f(t,"title"):t))?a:u)===c?a.call(s,{name:"title",hash:{},data:o,loc:{start:{line:1,column:318},end:{line:1,column:327}}}):a)+'</span><span class="icon-dm"></span></a><div id="okta-dropdown-options" class="options clearfix"><ul class="okta-dropdown-list options-wrap clearfix"></ul></div>'},useData:!0}),getTemplateData:function(){var e=[i.default.result(this,"className")||"",i.default.result(this,"disabled")?"dropdown-disabled":""];return{icon:i.default.result(this,"icon"),className:o.default.trim(e.join(" ")),title:i.default.result(this,"title"),screenReaderText:i.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},2265:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(9077)),a=s(n(7317));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){return o.default.resultCtx(e.options,t,e)||o.default.result(e,t)}function u(e){var t="infobox clearfix infobox-"+l(e,"type");switch(l(e,"size")){case"standard":t+="";break;case"slim":t+=" infobox-slim";break;case"compact":t+=" infobox-compact";break;case"large":t+=" infobox-md"}return l(e,"dismissible")&&(t+=" infobox-dismiss"),t}var c={"click .infobox-dismiss-link":function(e){var t=this;e.preventDefault(),this.$el.fadeOut(i.default.UNLOADING_FADE,(function(){t.trigger("dismissed"),t.remove()}))}},d=r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a data-se="dismiss-link" class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:81},end:{line:1,column:131}}}))+'" href="#"><span data-se="icon" class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 data-se="header">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:286},end:{line:1,column:295}}}):i)+"</h3>"},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="sub-header">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:347},end:{line:1,column:359}}}):i)+"</p>"},7:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<ul data-se="list" class="bullets">'+(null!=(i=a(n,"each").call(null!=t?t:e.nullContext||{},null!=t?a(t,"bullets"):t,{name:"each",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:420},end:{line:1,column:483}}}))?i:"")+"</ul>"},8:function(e,t,n,r,o){return'<li data-se="list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"dismissible"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:202}}}))?i:"")+'<span data-se="icon" class="icon '+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"icon")||(null!=t?l(t,"icon"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"icon",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:243}}}):a)+'"></span>'+(null!=(i=l(n,"if").call(s,null!=t?l(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:252},end:{line:1,column:307}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:307},end:{line:1,column:370}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"bullets"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:370},end:{line:1,column:495}}}))?i:"")},useData:!0}),f=a.default.extend({attributes:{"data-se":"callout"},content:null,size:"standard",type:"info",dismissible:!1,title:null,subtitle:null,bullets:null,constructor:function(){this.events=o.default.defaults(this.events||{},c),a.default.apply(this,arguments),this.$el.addClass(u(this)),this.template=d;var e=l(this,"content");e&&this.add(e)},getTemplateData:function(){var e=l(this,"type");switch("tip"===e&&(e="light-bulb"),l(this,"size")){case"slim":e="";break;case"large":e=[e,"-","24"].join("");break;default:e=[e,"-","16"].join("")}return{icon:e,title:l(this,"title"),subtitle:l(this,"subtitle"),bullets:l(this,"bullets"),dismissible:l(this,"dismissible")}}}),p={create:function(e){return new f(e)}};t.default=p,e.exports=t.default},5270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(4818)),i=s(n(7317)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u={level:"success",hide:!0,fade:400,delay:3e3,width:0,dismissable:!1},c=i.default.extend({className:"infobox infobox-confirm infobox-confirm-fixed",events:{"click .infobox-dismiss-link":function(e){e.preventDefault(),this.fadeOut()}},template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="infobox-dismiss-link" title="'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"component.dismiss"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:108}}}))+'" href="#"><span class="dismiss-icon"></span></a>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<h3>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:229}}}):i)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=f(n,"if").call(s,null!=t?f(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:164}}}))?i:"")+'<span class="icon '+d(l(a=null!=(a=f(n,"level")||(null!=t?f(t,"level"):t))?a:u)===c?a.call(s,{name:"level",hash:{},data:o,loc:{start:{line:1,column:182},end:{line:1,column:191}}}):a)+'-16"></span>'+(null!=(i=f(n,"if").call(s,null!=t?f(t,"title"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:203},end:{line:1,column:241}}}))?i:"")+"<p>"+d(l(a=null!=(a=f(n,"message")||(null!=t?f(t,"message"):t))?a:u)===c?a.call(s,{name:"message",hash:{},data:o,loc:{start:{line:1,column:244},end:{line:1,column:255}}}):a)+"</p>"},useData:!0}),initialize:function(){if(this.options=o.default.defaults({},this.options,u),!this.options.message)switch(this.options.level){case"success":this.options.message=a.default.localize("notification.default.message.success","courage");break;case"error":this.options.message=a.default.localize("notification.default.message.error","courage");break;case"warning":this.options.message=a.default.localize("notification.default.message.warning","courage")}this.$el.addClass("infobox-"+this.options.level),this.options.width&&this.$el.width(this.options.width)},getTemplateData:function(){return o.default.extend(o.default.pick(this.options,"level","message","title"),{dismissable:!1===this.options.hide||!0===this.options.dismissable})},postRender:function(){this.options.hide&&o.default.delay(o.default.bind(this.fadeOut,this),this.options.delay)},fadeOut:function(){this.$el.fadeOut(this.options.fade,o.default.bind(this.remove,this))}});t.default=c,e.exports=t.default},7133:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=y(n(6276)),o=y(n(5586)),i=y(n(4818)),a=y(n(1633)),s=y(n(7317)),l=y(n(2919)),u=y(n(967)),c=y(n(4459)),d=y(n(9661)),f=y(n(6637)),p=y(n(1522)),h=y(n(9388)),m=y(n(7187)),g=y(n(996)),v=y(n(5725));function y(e){return e&&e.__esModule?e:{default:e}}var b=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-title-bar" data-se="o-form-title-bar">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:75},end:{line:1,column:84}}}):i)+"</h2>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"title"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:192},end:{line:1,column:288}}}))?i:""},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:267},end:{line:1,column:276}}}):i)+"</h2>"},6:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="okta-form-subtitle o-form-explain" data-se="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:385},end:{line:1,column:397}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=l(n,"if").call(s,null!=t?l(t,"hasReadMode"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:96}}}))?i:"")+'<div data-se="o-form-content" class="o-form-content '+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"layout")||(null!=t?l(t,"layout"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"layout",hash:{},data:o,loc:{start:{line:1,column:148},end:{line:1,column:158}}}):a)+' clearfix">'+(null!=(i=l(n,"unless").call(s,null!=t?l(t,"hasReadMode"):t,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:169},end:{line:1,column:299}}}))?i:"")+(null!=(i=l(n,"if").call(s,null!=t?l(t,"subtitle"):t,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:299},end:{line:1,column:408}}}))?i:"")+'<div class="o-form-error-container" data-se="o-form-error-container"></div><div class="o-form-fieldset-container" data-se="o-form-fieldset-container"></div></div>'},useData:!0}),_=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 class="o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i)+"</h2>"},useData:!0}),w="auto"===(0,o.default)("<div>").css({"pointer-events":"auto"})[0].style.pointerEvents;function k(e){if(!w&&this.$el.hasClass("o-form-saving")){var t=(0,o.default)(e.currentTarget);t.css("display","none");var n=document.elementFromPoint(e.clientX,e.clientY);return t.css("display","block"),e.target=n,(0,o.default)(n).trigger(e),!1}}var x={submit:function(e){e.preventDefault(),this.__save()}};i.default.each(["click","dblclick","mousedown","mouseup"],(function(e){x[e+" .o-form-input"]=k}));var S=function(e,t){e||(e="");var n=[];return i.default.isString(e)&&(n=e.split(" ")),(n=i.default.union(n,t)).join(" ")},E=s.default.extend({constructor:function(e){e||(e={}),this.options=e,e.settings?this.settings=e.settings:this.settings=e.settings=new v.default,this.id=i.default.uniqueId("form"),this.tagName="form",i.default.defaults(this.events,x),i.default.defaults(this.attributes,function(e){e||(e={});var t=e&&e.collection||{};return{method:"POST",action:i.default.result(e,"urlRoot")||i.default.result(t,"url")||window.location.pathname,"data-se":"o-form",slot:"content"}}(e.model)),this.__buttons=[],this.__errorFields={},this.__saveModelState(e.model);var t=i.default.result(this,"step");if(t){if(!this.save){var n=i.default.result(this,"totalSteps");this.save=n&&t!==n?a.default.localize("oform.button.next","courage"):a.default.localize("oform.button.finish","courage")}this.className=i.default.result(this,"className")+" wizard"}this.className=i.default.result(this,"className")+" o-form",this.__toolbar=this.__createToolbar(e),s.default.call(this,e),i.default.each(i.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",i.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",i.default.throttle(this.__cancel,100,{trailing:!1})),this.listenTo(this.model,"form:previous",i.default.throttle(this.__previous,100,{trailing:!1})),this.__save=i.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 r=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)}))})),i.default.isUndefined(r)&&(r=!0)),r){var o=this.getAttribute("customSavingState",{});this.listenTo(this.model,S(o.start||"",["request"]),this.__setSavingState),this.listenTo(this.model,S(o.stop||"",["error","sync"]),this.__clearSavingState)}},__createToolbar:function(e){var t=!0===this.getAttribute("danger")?"button-error":"button-primary",n=i.default.result(this,"step"),r=new u.default(i.default.extend({save:this.save||a.default.localize("oform.save","courage"),saveId:this.saveId,saveClassName:t,cancel:this.cancel||a.default.localize("oform.cancel","courage"),noCancelButton:this.noCancelButton||!1,noSubmitButton:this.noSubmitButton||!1,buttonOrder:this.buttonOrder,hasPrevStep:n&&n>1},e||this.options));return i.default.each(this.__buttons,(function(e){r.addButton.apply(r,e)})),r},className:"",attributes:{},events:{},inputs:[],template:null,read:!1,readOnly:!1,noButtonBar:!1,noCancelButton:!1,noSubmitButton:!1,buttonOrder:["previous","save","cancel"],save:null,cancel:null,danger:!1,layout:"",step:void 0,totalSteps:void 0,title:null,subtitle:null,autoSave:!1,scrollOnError:!0,showErrors:!0,resizeSelector:".o-form-content",getAttribute:function(e,t){var n=i.default.resultCtx(this.options,e,this);return i.default.isUndefined(n)&&(n=i.default.result(this,e)),i.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=l.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,s.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,t=this.model.get("__edit__");this.model.clear({silent:!0}),e=this.model.sanitizeAttributes?this.model.sanitizeAttributes(this.__originalModel):i.default.clone(this.__originalModel),this.model.set(e,{silent:!0}),this.trigger("cancel",this.model),this.model.trigger("cache:clear"),t&&(this.model.set("__edit__",!1,{silent:!0}),this.model.trigger("change:__edit__",this.model,!1)),this.clearErrors()},isValid:function(){var e,t=this;function n(e){return i.default.reduce(e,(function(e,n){return i.default.extend(e,t.model.validateField(n))}),{})}return i.default.isUndefined(this.validate)?this.model.isValid():(i.default.isFunction(this.validate)?e=this.validate():i.default.isArray(this.validate)?e=n(this.validate):"local"===this.validate&&(e=n(this.getInputs().map((function(e){return e.options.name})))),!!i.default.isEmpty(e)||(this.model.trigger("invalid",this.model,e),!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:i.default.identity,_handleErrorScroll:function(){if(this.getAttribute("scrollOnError")){var e=(0,o.default)("#"+this.id+" .o-form-error-container");if(e.length){var t,n=e.scrollParent();n[0]===document?(n=(0,o.default)("html, body"),t=e.offset().top):t=n.scrollTop()+e.offset().top-n.offset().top,n.animate({scrollTop:t},400)}}},__showErrors:function(e,t,n){if(this.trigger("error",e),this.getAttribute("showErrors")){var r,o=d.default.getResponseJSON(t),s=d.default.parseFieldErrors(t);i.default.size(s)?i.default.each(s,(function(e,t){this.model.trigger("form:field-error",this.__errorFields[t]||t,i.default.map(e,(function(e){return/^model\.validation/.test(e)?a.default.localize(e,"courage"):e})))}),this):r=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}(o=this.parseErrorMessage(o)),n&&(this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(c.default,".o-form-error-container",{options:{errorSummary:r}})),this._handleErrorScroll(),this.model.trigger("form:resize")}},clearErrors:function(){this.$(".o-form-error-container").removeClass("o-form-has-errors"),this.model.trigger("form:clear-errors"),this.model.trigger("form:resize")},toggle:function(){return this.model.set("__edit__",!this.hasReadMode()||!this.model.get("__edit__")),this},__addLayoutItem:function(e){h.default.supports(e)?this.addInput(e):this.__addNonInputLayoutItem(e)},__addNonInputLayoutItem:function(e){var t=i.default.omit(e,"type");switch(e.type){case"sectionTitle":this.addSectionTitle(e.title,i.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>'),f.default.applyShowWhen(this.last(),e&&e.showWhen),f.default.applyToggleWhen(this.last(),e&&e.toggleWhen),this},addSectionTitle:function(e,t){return this.add(_({title:e})),f.default.applyShowWhen(this.last(),t&&t.showWhen),f.default.applyToggleWhen(this.last(),t&&t.toggleWhen),this},addInput:function(e){e=i.default.clone(e),f.default.validateInput(e,this.model);var t=f.default.generateInputOptions(e,this,this.__createInput).reverse();i.default.isEmpty(this.getInputs().toArray())&&i.default.extend(t[0],{validateOnlyIfDirty:!0});var n=i.default.map(t,this.__createInput,this);i.default.each(t,(function(e){e.errorField&&(this.__errorFields[e.errorField]=e.name)}),this);var r={inputId:i.default.last(n).options.inputId,input:n,multi:t.length>1?t.length:void 0};i.default.extend(r,i.default.omit(this.options,"input"),i.default.omit(e,"input"));var o=this.__createWrapper(r);!1!==r.label&&o.add(this.__createLabel(r)),o.add(this._createContainer(r)),o.type=r.type||r.input.type||"custom";var a=[o].concat(i.default.rest(arguments));return this.add.apply(this,a)},__createInput:function(e){return e=i.default.pick(e,f.default.INPUT_OPTIONS),h.default.create(e)},__createWrapper:function(e){return e=i.default.pick(e,f.default.WRAPPER_OPTIONS),new g.default(e)},__createLabel:function(e){return e=i.default.pick(e,f.default.LABEL_OPTIONS),new m.default(e)},_createContainer:function(e){return e=i.default.pick(e,f.default.CONTAINER_OPTIONS),new p.default(e)},__saveModelState:function(e){this.__originalModel=o.default.extend(!0,{},e.attributes)},add:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return void 0===t[1]&&(t[1]="> div.o-form-content > .o-form-fieldset-container"),s.default.prototype.add.apply(this,t)},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(!i.default.isNumber(e))return t.height();t.css("max-height",e)},getInputs:function(){return(0,i.default)(this.filter((function(e){return e instanceof g.default})))}});t.default=E,e.exports=t.default},1648:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=d(n(5586)),i=d(n(4818)),a=d(n(1937)),s=d(n(1633)),l=d(n(7317)),u=d(n(2265)),c=d(n(2514));function d(e){return e&&e.__esModule?e:{default:e}}var f={tagName:"span",attributes:function(){return{"data-se":"o-form-input-"+this.getNameString()}},defaultPlaceholder:"",constructor:function(e){delete(e=i.default.defaults(e||{},{inputId:e.id||i.default.uniqueId("input"),placeholder:this.defaultPlaceholder,inlineValidation:!0,validateOnlyIfDirty:!1})).id;var t=this;i.default.each({enable:"removeClass",disable:"addClass"},(function(e,n){t[n]=i.default.wrap(t[n],(function(n){n.apply(t,arguments),t.$el[e]("o-form-disabled")}))})),l.default.call(this,e),!0!==i.default.result(e,"readOnly")&&!0===i.default.result(e,"read")&&this.listenTo(this.model,"change:__edit__",this.render),i.default.isFunction(this.focus)&&(this.focus=i.default.debounce(i.default.bind(this.focus,this),50)),i.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(){i.default.result(this.options,"inlineValidation")&&this.$el.on("focusout",":input",i.default.bind(this.validate,this))},toModelValue:function(){var e=this.val();return i.default.isFunction(this.to)&&(e=this.to.call(this,e)),i.default.isFunction(this.options.to)&&(e=this.options.to.call(this,e)),e},__getDependencyCalloutBtn:function(e){var t=this,n=i.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(l.default.extend({children:[a.default.create(n)]}))},getCalloutParent:function(){return this.$('input[value="'+this.getModelValue()+'"]').parent()},__getCalloutMsgContainer:function(e){return l.default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"msg")||(null!=t?a(t,"msg"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"msg",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:36}}}):i)+"</span>"},useData:!0}),getTemplateData:function(){return{msg:e}}})},showCallout:function(e,t){var n=i.default.clone(e);n.className="dependency-callout",n.btn&&(n.content=this.__getDependencyCalloutBtn(n.btn),delete n.btn);var r=u.default.create(n);t||r.add(this.__getCalloutMsgContainer(s.default.localize("dependency.callout.msg","courage"))),this.getCalloutParent().append(r.render().el),"success"===n.type&&i.default.delay((function(){r.$el.fadeOut(800)}),1e3)},removeCallout:function(){this.$el.find(".dependency-callout").remove()},__evaluateCalloutObject:function(e,t){return e?{title:s.default.localize("dependency.action.completed","courage"),size:"large",type:"success"}:{title:s.default.localize("dependency.action.required","courage",[t]),size:"large",type:"warning"}},__handleDependency:function(e,t){var n=this,r=i.default.isFunction(t)?t(e):i.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&&i.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,hasIMESupport:!1,update:function(e){var t,n;if(!this._isEdited&&i.default.result(this.options,"validateOnlyIfDirty")&&(this._isEdited=!0,this.addInlineValidation()),this.model.set(this.options.name,this.toModelValue()),this.options.deps&&this.__showInputDependencies(),this.hasIMESupport&&null!==(t=window)&&void 0!==t&&null!==(n=t.okta)&&void 0!==n&&n.enableIMESupport){if(this.isComposing)return;e&&c.default.isEnter(e)&&this.model.trigger("form:save")}},isEditMode:function(){return!i.default.result(this.options,"readOnly")&&(!0!==i.default.result(this.options,"read")||!0===this.model.get("__edit__"))},render:function(){this.preRender();var e=this.options.params;return this.options.params=i.default.resultCtx(this.options,"params",this),this.isEditMode()?(this.editMode(),i.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()&&i.default.isFunction(this.model.validateField)){var e=this.model.validateField(this.options.name);e&&i.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=i.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=i.default.resultCtx(this.options,"readModeString",this);return e||this.toStringValue()},getModelValue:function(){var e=this.model.get(this.options.name);return i.default.isFunction(this.from)&&(e=this.from.call(this,e)),i.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]),(Number.isInteger(e)||"boolean"==typeof e)&&(e=String(e)),e||this.defaultValue()},resize:function(){this.model.trigger("form:resize")},disable:function(){this.$(":input").prop("disabled",!0)},enable:function(){this.$(":input").prop("disabled",!1)},changeType:function(e){this.$(":input").prop("type",e),this.options.type=e},getNameString:function(){return i.default.isArray(this.options.name)?this.options.name.join("-"):this.options.name},getParams:function(e){var t=e||this.options||{};return i.default.clone(i.default.resultCtx(t,"params",this)||{})},getParam:function(e,t){var n=i.default.resultCtx(this.getParams(),e,this);return i.default.isUndefined(n)?t:n},getParamOrAttribute:function(e){return this.getParam(e)||i.default.result(this,e)},__markError:function(){this.$el.addClass("o-form-has-errors")},__clearError:function(){this.$el.removeClass("o-form-has-errors")}},p=l.default.extend(f);t.default=p,e.exports=t.default},2919:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(7317)),o=i(n(6637));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.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,className:"disable-in-read-only"}))},toggle:function(){this.removeChildren(),this.addButton()}});t.default=a,e.exports=t.default},967:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(4818)),o=a(n(7317)),i=a(n(6637));function a(e){return e&&e.__esModule?e:{default:e}}var s={className:function(){return"o-form-button-bar"},buttonOrder:["previous","save","cancel"],initialize:function(e){var t=this,n={previous:{type:"previous"},save:{type:"save",text:r.default.resultCtx(e,"save",this),id:r.default.resultCtx(e,"saveId",this),className:r.default.resultCtx(e,"saveClassName",this)},cancel:{type:"cancel",text:r.default.resultCtx(e,"cancel",this)}};this.__getButtonOrder(e).forEach((function(e){t.addButton(n[e])}))},addButton:function(e,t){return this.add(i.default.createButton(e),t)},__getButtonOrder:function(e){var t=r.default.resultCtx(e,"buttonOrder",this,this.buttonOrder),n=[];return e.noSubmitButton&&n.push("save"),e.noCancelButton&&n.push("cancel"),e.hasPrevStep||n.push("previous"),r.default.without.apply(r.default,[t].concat(n))}},l=o.default.extend(s);t.default=l,e.exports=t.default},1826:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(5586)),o=s(n(4818)),i=s(n(6883)),a=s(n(1633));function s(e){return e&&e.__esModule?e:{default:e}}var l="name",u="_enum_";function c(e){return f(e)?o.default.reduce(e,(function(e,t,n){return e[m(n)]=t.title,e}),{}):{}}function d(e){return o.default.all(e,r.default.isPlainObject)?f(e)?e:function(e){var t=o.default.partial(o.default.has,o.default,l);if(o.default.all(e,t))return o.default.chain(e).filter((function(e){return r.default.isPlainObject(e)&&o.default.has(e,l)})).map((function(e){return{const:e,title:e.name}})).value();return p(e)}(e):p(e)}function f(e){return o.default.isArray(e)&&o.default.all(e,(function(e){return o.default.has(e,"const")&&o.default.has(e,"title")}))}function p(e){return o.default.map(e,(function(e){return{const:e,title:h(e)}}))}function h(e){return o.default.isObject(e)?JSON.stringify(e):o.default.isNumber(e)?e+"":e}function m(e){return"".concat(u).concat(e)}function g(e){var t=o.default.findIndex(this.options.params.enumOneOf,(function(t){return o.default.isObject(e)?o.default.isEqual(t.const,e):t.const===e}));return t>-1?m(t):e}function v(e){if(!o.default.isString(e)||0!==e.indexOf(u))return e;var t=e.replace(u,""),n=this.options.params&&o.default.isArray(this.options.params.enumOneOf)?this.options.params.enumOneOf[t]:null;return o.default.has(n,"const")?n.const:n}function y(e){return o.default.map(e,v.bind(this))}function b(e){return o.default.map(e,g.bind(this))}var _={getEnumInputOptions:function(e){var t=d(e.enumValues),n={name:e.name,label:e.title,readOnly:e.readOnly,customExplain:e.explain,params:{enumOneOf:t},options:c(t)};return i.default.isArrayDataType(e.displayType)?(n.type="checkboxset",n.to=y,n.from=b):(n.type="select",n.to=v,n.from=g),n.input=null,n},getDropdownOptions:function(e){return o.default.isArray(e)?c(d(e)):{}},convertToOneOf:d,isConstraintValueMatchType:function(e,t){switch(t){case i.default.STRING:return function(e){return o.default.isString(e)&&""!==r.default.trim(e)}(e);case i.default.NUMBER:return function(e){return o.default.isNumber(e)||o.default.isNumber(a.default.parseFloat(r.default.trim(e)))}(e);case i.default.INTEGER:return function(e){var t=o.default.isNumber(e)?e:a.default.parseInt(r.default.trim(e));return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t}(e);case i.default.OBJECT:return function(e){if(o.default.isObject(e)&&!o.default.isArray(e))return!0;var t=a.default.parseObject(r.default.trim(e));return o.default.isObject(t)&&!o.default.isArray(t)}(e)}}};t.default=_,e.exports=t.default},4459:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(6276));function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(7317)).default.extend({template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"errorSummary")||(null!=t?a(t,"errorSummary"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"errorSummary",hash:{},data:o,loc:{start:{line:1,column:130},end:{line:1,column:146}}}):i)+"</p>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.errorbanner.title"},data:o,loc:{start:{line:1,column:161},end:{line:1,column:217}}}))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span>'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"errorSummary"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o,loc:{start:{line:1,column:107},end:{line:1,column:228}}}))?i:"")+"</div>"},useData:!0}),modelEvents:{"form:clear-errors":"remove"}});t.default=i,e.exports=t.default},9661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(1633));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^([\S]+): (.+)$/,s={getResponseJSON:function(e){try{return e.responseJSON||JSON.parse(e.responseText)}catch(e){}},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 r.default.map(t&&t.errorCauses||[],(function(e){return(""+e.errorSummary).replace(a,"$2")}))},parseFieldErrors:function(e){var t=this.getResponseJSON(e),n={};return t?r.default.each(t.errorCauses||[],(function(e){var t=[];if(t=e.property&&e.errorSummary?this.parseErrorCauseObject(e):e.location&&e.errorSummary?[e.location,e.errorSummary]:this.parseErrorSummary(e&&e.errorSummary||"")){var r=t[0],o=t[1];n[r]||(n[r]=[]),n[r].push(o)}}),this):r.default.isObject(e)&&r.default.size(e)&&r.default.each(e,(function(e,t){n[t]=[e]})),r.default.size(n)?n:void 0}};t.default=s,e.exports=t.default},6637:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(4818)),o=u(n(2514)),i=u(n(8311)),a=u(n(1633)),s=u(n(6197)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var f=["model","id","inputId","type","label","sublabel","tooltip","name","group"],p=["wide","multi","input","label-top","explain","explain-top","customExplain","model","name","type","autoRender","multirowError"],h=["model","name","label-top","readOnly","events","initialize","showWhen","bindings","render","className","data-se","toggleWhen","group"],m=["model","name","inputId","type","input","placeholder","label","readOnly","read","disabled","readModeString","options","deps","from","to","autoRender","inlineValidation","validateOnlyIfDirty","ariaLabel","params","autoComplete","sortByKey"],g=r.default.uniq(r.default.union(f,p,h,m,["errorField"])),v=["• ","• • ","• • • ","• • • •"," • • •"," • •"," •"," "," "," "];function y(e){if(e&&!e.__edit__)return r.default.extend({__edit__:r.default.constant(!0)},e)}var b={LABEL_OPTIONS:f,CONTAINER_OPTIONS:p,WRAPPER_OPTIONS:h,INPUT_OPTIONS:m,generateInputOptions:function e(t,n,o){t=r.default.clone(t),r.default.contains(["list","group"],t.type)&&(t.params=r.default.defaults({create:o,inputs:r.default.map(r.default.isArray(t.input)?t.input:[t.input],(function(t){return r.default.first(e(t,n,o))}))},t.params||{}),delete t.input);var i=r.default.isArray(t.input)?r.default.clone(t.input):[t];return r.default.map(i,(function(e){var o=r.default.defaults({model:n.model},e,r.default.omit(t,"input","inputs"),n.options,{id:r.default.uniqueId("input"),readOnly:n.isReadOnly(),read:n.hasReadMode()});return n.isReadOnly()&&(o.read=o.readOnly=!0),o}))},changeEventString:function(e){return"change:"+e.join(" change:")},createReadFormButton:function(e){var t,n,o;return"cancel"===e.type?(n=o=a.default.localize("oform.cancel","courage"),t=function(){this.model.trigger("form:cancel")}):(o=(n=a.default.localize("oform.edit","courage"))+" "+e.formTitle,t=function(){this.model.set("__edit__",!0)}),l.default.extend({tagName:"a",className:e.className,attributes:{href:"#","aria-label":o},template:function(){return r.default.escape(n)},events:{click:function(e){e.preventDefault(),t.call(this)}}})},createButton:function(e){switch((e=r.default.clone(e)).type){case"save":r.default.defaults(e,{className:"button-primary"});break;case"cancel":r.default.defaults(e,{className:"button-clear",text:a.default.localize("oform.cancel","courage"),action:function(){this.model.trigger("form:cancel")}});break;case"previous":r.default.defaults(e,{text:a.default.localize("oform.previous","courage"),action:function(){this.model.trigger("form:previous")}})}return function(e){var t,n,i;return e=r.default.pick(e||{},"action","id","className","text","type"),l.default.extend({tagName:"input",className:"button",events:{click:function(){e.action&&!this.disabled()&&e.action.call(this)},keyup:function(t){o.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 o=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(){o.model.set("__pending__",!0)})),this.$el.mouseup((function(){o.model.set("__pending__",!1)})),this.listenTo(this.model,"form:set-saving-state",(function(){this.disable(),"save"===e.type&&(t=setTimeout(r.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(){i=0,n=setInterval(r.default.bind(this.__showLoadingText,this),200)},__showLoadingText:function(){this.$el.val(v[i++%v.length])}})}(e)},validateInput:function e(t,n){if(t||(t={}),"label"!==t.type){if("button"===t.type)return t.title||t.icon||i.default.warn('A button input must have a "title" and/or an "icon" parameter',t),void(t.click||t.href||i.default.warn('A button input must have a "click" and/or an "href" parameter',t));if(t.name||t.input||i.default.warn('Missing "name" or "input" parameters',t),r.default.isArray(t.name)&&r.default.isArray(t.input))throw new Error('Not allowed to have both "name" and "input" defined as array.');if("list"!==t.type&&t.name&&n&&n.allows){var o=[];r.default.isArray(t.name)?o=t.name:o.push(t.name),r.default.each(o,(function(e){if(!n.allows(e))throw new Error("field not allowed: "+t.name)}))}r.default.isArray(t.input)&&"list"!==t.type&&r.default.each(t.input,(function(t){e(t,n)}));var a=r.default.keys(t),s=r.default.intersection(a,g);if(r.default.size(s)!==r.default.size(t)){var l=r.default.clone(g);i.default.warn("Invalid input parameters",r.default.without.apply(r.default,[a].concat(c(l))),t)}}else t.label||i.default.warn('A label input must have a "label" parameter',t)},applyShowWhen:function(e,t){s.default.applyDoWhen(e,y(t),(function(t,n){n.animate?e.$el["slide"+(t?"Down":"Up")](200,function(t){return function(){e.$el.toggle(t),e.model.trigger("form:resize")}}(t)):e.$el.toggle(t)}))},applyToggleWhen:function(e,t){s.default.applyDoWhen(e,y(t),(function(t,n){e.$el.toggle(t),e.model.trigger("form:resize"),n.animate&&e.render()}))}};t.default=b,e.exports=t.default},1522:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=u(n(4818)),i=u(n(8311)),a=u(n(4691)),s=u(n(1633)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}var d=a.default.isABaseView,f=l.default.extend({attributes:function(){return{"data-se":"o-form-input-container"}},className:function(){var e="o-form-input";(this.options.wide&&(e+=" o-form-wide"),o.default.contains([1,2,3,4],this.options.multi))&&(e+=" o-form-multi-input-"+this.options.multi,o.default.isArray(this.options.input)&&o.default.find(this.options.input,(function(e){return o.default.contains(["text+select","select+text"],e.options.type)}))&&(e+=" o-form-multi-input-group-"+this.options.multi));return e},_getNames:function(){var e=o.default.isArray(this.options.name)?this.options.name:[this.options.name];return"group"===this.options.type?e.push.apply(e,o.default.pluck(this.options.input[0].options.params.inputs,"name")):o.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&&(o.default.isArray(this.options.input)?o.default.each(this.options.input,(function(t){e.push(t.options.name)})):e.push(this.options.input.options.name)),o.default.uniq(o.default.compact(e))},_getInputElement:function(){var e=Array.isArray(this.options.input)?o.default.last(this.options.input):this.options.input,t=e&&e.options&&e.options.inputId,n=t?this.$("#"+t):null;return n&&n.length?n:null},constructor:function(){l.default.apply(this,arguments);var e=this.options["explain-top"]&&this.options["label-top"];this.options.input&&(o.default.isArray(this.options.input)?o.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){o.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),o.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 i.default.warn("Deprecated - use explain instead of customExplain"),void this.add(this.options.customExplain);t=e.explain,o.default.isFunction(t)&&!d(t)&&(t=o.default.resultCtx(this.options,"explain",this)),t&&(d(t)?(this.template=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<p class="o-form-explain"></p>'},useData:!0}),this.add(t," > .o-form-explain")):this.template=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:37}}}):i)+"</p>"},useData:!0}))},__setError:function(e,t){this.__errorState=!0,this.$el.addClass("o-form-has-errors");var n=o.default.uniqueId("input-container-error"),r=this.__getHTMLForError(o.default.flatten(e),n),i=this.$(".o-form-explain").not(".o-form-input-error").first();i.length&&!t?i.before(r):this.$el.append(r);var a=this._getInputElement()||this.$el;a.attr("aria-describedby",n),a.attr("aria-invalid",!0)},__getHTMLForError:function(e,t){var n=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p id="'+u(c(i=null!=(i=d(n,"errorId")||(null!=t?d(t,"errorId"):t))?i:s)===l?i.call(a,{name:"errorId",hash:{},data:o,loc:{start:{line:1,column:7},end:{line:1,column:18}}}):i)+'" 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(c(i=null!=(i=d(n,"iconLabel")||(null!=t?d(t,"iconLabel"):t))?i:s)===l?i.call(a,{name:"iconLabel",hash:{},data:o,loc:{start:{line:1,column:162},end:{line:1,column:175}}}):i)+'"></span>'+u(c(i=null!=(i=d(n,"text")||(null!=t?d(t,"text"):t))?i:s)===l?i.call(a,{name:"text",hash:{},data:o,loc:{start:{line:1,column:184},end:{line:1,column:192}}}):i)+"</p>"},useData:!0}),o=s.default.localize("oform.error.icon.ariaLabel","courage");if(this.options.multirowError){var i="";return e.forEach((function(e){i+=n({errorId:t,iconLabel:o,text:e})})),i}return n({errorId:t,iconLabel:o,text:e.join(", ")})},__clearError:function(){var e=this;if(this.__errorState){this.$(".o-form-input-error").remove();var t=this._getInputElement()||this.$el;t.attr("aria-describedby",null),t.attr("aria-invalid",null),this.$el.removeClass("o-form-has-errors"),this.__errorState=!1,o.default.defer((function(){e.model.trigger("form:resize")}))}},focus:function(){return this.each((function(e){if(e.focus)return e.focus()})),this}});t.default=f,e.exports=t.default},9388:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(4818)),o=i(n(5946));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return o.default.isBaseInput(e)&&e.prototype?new e(r.default.omit(t,"input")):e}var s={create:function(e){if((e=r.default.clone(e)).input)return a(e.input,e);var t=o.default.get(e);if(!t)throw new Error("unknown input: "+e.type);return a(t,e)},supports:function(e){return!!e.input||!!o.default.get(e)}};t.default=s,e.exports=t.default},7187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818));n(3506);var i=a(n(7317));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}var l=i.default.extend({className:"okta-form-label o-form-label",attributes:{"data-se":"o-form-label"},constructor:function(e){o.default.defaults(e,{inputId:e.id}),delete e.id,i.default.apply(this,arguments)},template:r.default.template({1:function(e,t,n,r,o){return"<legend>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<label for="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"inputId")||(null!=t?a(t,"inputId"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:61},end:{line:1,column:72}}}):i)+'"></label>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:116},end:{line:1,column:125}}}):i)},7:function(e,t,n,r,o){var i,a=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'<label for="'+c(s(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:167},end:{line:1,column:178}}}):i)+'">'+c(s(i=null!=(i=d(n,"label")||(null!=t?d(t,"label"):t))?i:l)===u?i.call(a,{name:"label",hash:{},data:o,loc:{start:{line:1,column:180},end:{line:1,column:189}}}):i)+" </label>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-explain">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"sublabel")||(null!=t?a(t,"sublabel"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"sublabel",hash:{},data:o,loc:{start:{line:1,column:256},end:{line:1,column:268}}}):i)+"</span>"},11:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="o-form-tooltip icon-16 icon-only form-help-16" title="'+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"tooltip"):t)?a(i,"text"):i,t))+'"></span>'},13:function(e,t,n,r,o){return"</legend>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"group"):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:28}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isLabelView"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:28},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_isRadioOrCheckbox"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:89},end:{line:1,column:132}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"_standardLabel"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:132},end:{line:1,column:210}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"sublabel"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:210},end:{line:1,column:282}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"tooltip"):t,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:282},end:{line:1,column:397}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"group"):t,{name:"if",hash:{},fn:e.program(13,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:397},end:{line:1,column:426}}}))?i:"")},useData:!0}),getTemplateData:function(){var e={label:""};return o.default.each(["inputId","label","sublabel","tooltip","group"],(function(t){e[t]=o.default.resultCtx(this.options,t,this)}),this),this._isLabelView(e.label)?e._isLabelView=!0:o.default.contains(["radio","checkbox"],this.options.type)||!e.label?e._isRadioOrCheckbox=!0:e._standardLabel=!0,e.tooltip&&o.default.isString(e.tooltip)&&(e.tooltip={text:e.tooltip}),e},_isLabelView:function(e){return!o.default.isUndefined(e)&&e instanceof i.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(o.default.extend({style:{classes:"qtip-custom qtip-shadow"},position:{my:window.okta&&"dstheme"===window.okta.theme?"bottom center":"bottom left",at:"top center"},hide:{fixed:!0},show:{delay:0}},e.tooltip.options))}});t.default=l,e.exports=t.default},5946:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(4818))&&r.__esModule?r:{default:r};var i={};function a(e){return o.default.isFunction(e)?o.default.isFunction(e.prototype.editMode)&&o.default.isFunction(e.prototype.readMode):o.default.isObject(e)&&o.default.isFunction(e.editMode)&&o.default.isFunction(e.readMode)}var s={isBaseInput:a,register:function(e,t){i[e]=t},get:function(e){var t=i[e.type];return t&&(a(t)?t:t(e))},unregister:function(e){delete i[e]}};t.default=s,e.exports=t.default},996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(4818)),o=a(n(7317)),i=a(n(6637));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){e.apply(this,r.default.map(t.split(/\s+/),(function(e){return this.model.get(e)}),this))}function l(e,t){r.default.isFunction(e)&&e.call(t)}var u=o.default.extend({tagName:function(){return this.options.group?"fieldset":"div"},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 r.default.result(this,"inputWrapperClassName","")+" "+r.default.result(this,"optionsClassName")}),o.default.apply(this,arguments),r.default.each(e.events||{},(function(e,t){this.listenTo(this.model,t,e)}),this),r.default.each(e.bindings||{},(function(e,t){this.listenTo(this.model,i.default.changeEventString(t.split(/\s+/)),r.default.bind(s,this,e,t))}),this),i.default.applyShowWhen(this,e.showWhen),i.default.applyToggleWhen(this,e.toggleWhen),l(e.initialize,this)},postRender:function(){r.default.each(this.options.bindings||{},s,this),l(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},1767:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(4818)),o=l(n(1633)),i=l(n(4125)),a=l(n(7544)),s=l(n(1826));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=o.default.parseFloat(e);return""===e?null:t}function c(e){return r.default.object(e,e)}function d(e){var t=e.get("items");return t?t.objectName:e.get("objectName")}function f(e,t,n){var o,i=e.get("name"),a=n.__nestedProperty__,s=t[i],l=n.get(i);a&&e.set("__fieldNamePrefix__",a);var u=t[d(e)];s&&l&&(s=r.default.union(s,l)),u&&u.length?o=u:s&&s.length&&(o=s),e.set("__possibleValues__",o)}function p(e,t,n){return e.each((function(e){f(e,t,n)})),e}function h(e,t){return e.filter((function(e){return function(e,t){var n=d(e),o=t[n];return!n||!(0,r.default)(o).isEmpty()}(e,t)}))}var m={createInputOptions:function(e){var t=function(e){var t={},n=e.get("name"),o=e.get("__displayType__"),i=e.get("__possibleValues__"),a=e.get("__fieldNamePrefix__");if(a&&(t.name=a+n,t.errorField=n),e.isEnumType()){var l={displayType:o,title:e.get("title"),enumValues:e.getEnumValues()};t=r.default.extend({},s.default.getEnumInputOptions(l),t)}else(function(e){return e&&e.indexOf("array")>=0})(o)&&i&&(t.type="checkboxset",t.input=null,t.options=c(i));return t}(e),n=function(e){var t=e.get("__displayType__"),n=e.get("__possibleValues__"),s=e.get("name"),l={type:"text",name:s,label:e.get("title")||s};switch(t){case"arrayofstring":l.input=a.default,l.params={itemType:"string"};break;case"arrayofnumber":l.input=a.default,l.params={itemType:"number"};break;case"arrayofinteger":l.input=a.default,l.params={itemType:"integer"};break;case"arrayofobject":l.input=a.default,l.params={itemType:e.get("items").type};break;case"arrayofref-id":l.input=a.default,l.params={itemType:e.get("items").format};break;case"boolean":l.input=i.default;break;case"integer":case"number":l.to=u;break;case"reference":l.type="select",l.options=c(n);break;case"image":l.readOnly=!0,l.from=function(e){return r.default.isEmpty(e)?"":o.default.localize("user.profile.image.image_set","courage")};break;case"password":l.type="password";break;case"date":l.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: ".concat(t))}return l}(e);return t.params&&n.params&&(t.params=r.default.defaults(t.params,n.params)),r.default.defaults(t,n)},hasValidSchemaProps:function(e,t){return!r.default.isEmpty(e)&&!!h(e,t).length},prepareSchema:function(e,t,n){return e.reset(h(e,t)),p(e,t,n)},augmentSchemaProps:p,augmentSchemaProp:f};t.default=m,e.exports=t.default},4125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(7613))&&r.__esModule?r:{default:r};var i={undefined:"undefined",true:"true",false:"false"},a=function(e){return e?"true":!1===e?"false":"undefined"},s=function(e){switch(e){case"undefined":default:return null;case"true":return!0;case"false":return!1}},l=o.default.extend({initialize:function(){this.options.options=i,this.options.from=a,this.options.to=s}});t.default=l,e.exports=t.default},3696:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818)),i=a(n(2514));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}n(6160);var l=a(n(1648)).default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="checkbox" name="'+c(s(i=null!=(i=d(n,"name")||(null!=t?d(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):i)+'" id="'+c(s(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):i)+'"/><label for="'+c(s(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):i)+'" data-se-for-name="'+c(s(i=null!=(i=d(n,"name")||(null!=t?d(t,"name"):t))?i:l)===u?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):i)+'">'+c(s(i=null!=(i=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?i:l)===u?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:110},end:{line:1,column:125}}}):i)+"</label>"},useData:!0}),events:{"change :checkbox":"update",keyup:function(e){e.preventDefault(),i.default.isSpaceBar(e)?this.$(":checkbox").click():i.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=o.default.resultCtx(this.options,"placeholder",this);return""===e?e=o.default.resultCtx(this.options,"label",this):!1===e&&(e=""),this.$el.html(this.template(o.default.extend(o.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=l,e.exports=t.default},400:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=u(n(4818)),i=u(n(6883)),a=u(n(1633)),s=u(n(9077)),l=u(n(7317));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}var d=function(e){return function(e){return/^[aeiou]/.test(e)}(e)?"an":"a"},f=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=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="'+u(c(i=null!=(i=d(n,"key")||(null!=t?d(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:125},end:{line:1,column:132}}}):i)+'" id="'+u(c(i=null!=(i=d(n,"key")||(null!=t?d(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:138},end:{line:1,column:145}}}):i)+'" value="'+u(c(i=null!=(i=d(n,"value")||(null!=t?d(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:154},end:{line:1,column:163}}}):i)+'" placeholder="'+u(c(i=null!=(i=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?i:s)===l?i.call(a,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:178},end:{line:1,column:193}}}):i)+'"/></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>'+u(c(i=null!=(i=d(n,"errorExplain")||(null!=t?d(t,"errorExplain"):t))?i:s)===l?i.call(a,{name:"errorExplain",hash:{},data:o,loc:{start:{line:1,column:408},end:{line:1,column:424}}}):i)+"</p>"},useData:!0}),p="o-form-has-errors",h="updateArray",m=l.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(o.default.extend(this.options,{placeholder:this.getPlaceholderText(),errorExplain:this.getErrorExplainText()})),this.update=o.default.debounce(this.update,this.options.debounceDelay||s.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(h,null),this.$el.slideUp((function(){l.default.prototype.remove.call(t,e)}))},update:function(){var e=this.$("input").val(),t=o.default.object([i.default.DATATYPE.number,i.default.DATATYPE.integer],[a.default.parseFloat,this.parseInt]);o.default.has(t,this.options.itemType)&&(e=t[this.options.itemType](e),o.default.isNumber(e)?this.clearInvalid():this.markInvalid()),this.trigger(h,e)},markInvalid:function(){this.$el.addClass(p)},clearInvalid:function(){this.$el.removeClass(p)},getPlaceholderText:function(){var e=["Enter"];return e.push(d(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},getErrorExplainText:function(){var e=["Value must be"];return e.push(d(this.options.itemType)),e.push(this.options.itemType.toLowerCase()),e.join(" ")},parseInt:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){if(/^-?\d+$/.test(e)){var t=parseInt(e,10);return o.default.isNaN(t)?e:t}return e}))});t.default=m,e.exports=t.default},3679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(4818)),o=s(n(1937)),i=s(n(7317)),a=s(n(1648));function s(e){return e&&e.__esModule?e:{default:e}}var l=a.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:r.default.noop});var u=i.default.extend({getParams:a.default.prototype.getParams,getParam:a.default.prototype.getParam,className:function(){var e,t;return this.getParam("noBaseClasses")?"":(e="text"===this.getParam("display")?"o-form-input-group-subtle":"o-form-input-group",t=this.getParam("inputs"),r.default.filter(t||[],(function(e){return!r.default.contains(["label","button","select"],e.type)})).length>1&&(e+=" o-form-input-group-2"),e)},initialize:function(){r.default.each(this.getParam("inputs"),(function(e){switch(e.type){case"label":this.add(l,{options:e});break;case"button":this.add((t=e,o.default.create(r.default.defaults({getReadModeString:r.default.constant(" "),focus:r.default.noop},r.default.pick(t,"click","title","href","icon")))));break;default:e=r.default.defaults({model:this.model,params:r.default.extend({autoWidth:!0},e.params||{})},e),this.add(this.getParams().create(e))}var t}),this)},focus:function(){this.first().focus()}}),c=a.default.extend({constructor:function(e){this.inputGroupView=new u(e),a.default.apply(this,arguments)},editMode:function(){this.inputGroupView.remove(),this.inputGroupView=new u(this.options),this.$el.html(this.inputGroupView.render().el)},readMode:function(){this.getParam("useChildInputsReadMode")?this.editMode():a.default.prototype.readMode.apply(this,arguments)},toStringValue:function(){var e=this.inputGroupView.map((function(e){return e.getReadModeString()}));return e.length&&r.default.every(e)?e.join(" "):" "},focus:function(){this.inputGroupView.focus()}},{LabelInput:l,InputGroupView:u});t.default=c,e.exports=t.default},7514:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=a(n(4818)),i=a(n(6565));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<span class="password-toggle"><span class="eyeicon visibility-16 button-show"></span><span class="eyeicon visibility-off-16 button-hide"></span></span>'},useData:!0}),l=i.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")),i.default.prototype.postRender.apply(this,arguments)},__showPasswordToggle:function(){return this.options.params&&this.options.params.showPasswordToggle},__showPassword:function(){var e=this;this.$("input").attr("spellcheck",!1),i.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(){i.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},3452:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=c(n(5586)),i=c(n(4818)),a=c(n(2514)),s=c(n(4691)),l=c(n(7317));n(6160);var u=c(n(1648));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}var f=s.default.isABaseView,p=l.default.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<input type="radio" name="'+u(d(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===l?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:34}}}):i)+'" data-se-name="'+u(d(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===l?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:50},end:{line:1,column:62}}}):i)+'" value="'+u(d(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:80}}}):i)+'" id="'+u(d(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===l?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:86},end:{line:1,column:98}}}):i)+'"><label for="'+u(d(i=null!=(i=c(n,"optionId")||(null!=t?c(t,"optionId"):t))?i:s)===l?i.call(a,{name:"optionId",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:124}}}):i)+'" data-se-for-name="'+u(d(i=null!=(i=c(n,"realName")||(null!=t?c(t,"realName"):t))?i:s)===l?i.call(a,{name:"realName",hash:{},data:o,loc:{start:{line:1,column:144},end:{line:1,column:156}}}):i)+'" class="radio-label">'+u(d(i=null!=(i=c(n,"label")||(null!=t?c(t,"label"):t))?i:s)===l?i.call(a,{name:"label",hash:{},data:o,loc:{start:{line:1,column:178},end:{line:1,column:187}}}):i)+"</label>"},useData:!0}),initialize:function(e){var t;t=e.explain,i.default.isFunction(t)&&!f(t)&&(t=i.default.resultCtx(this.options,"explain",this)),t&&(f(t)?(this.add('<p class="o-form-explain"></p>',".radio-label"),this.add(t,".o-form-explain")):this.add(l.default.extend({className:"o-form-explain",tagName:"p",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"explain")||(null!=t?a(t,"explain"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"explain",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)},useData:!0})}),".radio-label"))}}),h=u.default.extend({events:{"change :radio":"update",keyup:function(e){a.default.isSpaceBar(e)?(0,o.default)(e.target).click():a.default.isEnter(e)&&this.model.trigger("form:save")}},editMode:function(){var e=[];this.$el.empty(),i.default.each(this.options.options,(function(t,n){var r={optionId:i.default.uniqueId("option"),name:this.options.inputId,realName:this.options.name,value:n};i.default.isObject(t)||(t={label:t}),i.default.extend(r,t),e.push(new p(r).render().el)}),this),this.$el.append(e);var t=this.getModelValue();return t&&this.$(":radio[value="+t+"]").prop("checked",!0),this.$("input").customInput(),this.model.trigger("form:resize"),!0===this.getParam("inline")&&this.$("div.custom-radio").addClass("inline"),this},readMode:function(){return this.editMode(),this.$(":radio").prop("disabled",!0),this},val:function(){return this.$(":radio:checked").val()},focus:function(){return this.$("label:eq(0)").focus()}});t.default=h,e.exports=t.default},7613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=c(n(5586)),i=c(n(4818)),a=c(n(2514));n(1169);var s=c(n(1648)),l=c(n(4691)),u=c(n(1633));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}var f=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<select id="'+u(d(i=null!=(i=c(n,"inputId")||(null!=t?c(t,"inputId"):t))?i:s)===l?i.call(a,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:23}}}):i)+'" name="'+u(d(i=null!=(i=c(n,"name")||(null!=t?c(t,"name"):t))?i:s)===l?i.call(a,{name:"name",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):i)+'"></select>'},useData:!0}),p=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<option value="'+u(d(i=null!=(i=c(n,"key")||(null!=t?c(t,"key"):t))?i:s)===l?i.call(a,{name:"key",hash:{},data:o,loc:{start:{line:1,column:15},end:{line:1,column:22}}}):i)+'">'+u(d(i=null!=(i=c(n,"value")||(null!=t?c(t,"value"):t))?i:s)===l?i.call(a,{name:"value",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:33}}}):i)+"</option>"},useData:!0}),h=l.default.isSafari;function m(e){return this.params.autoWidth?e.call(this):i.default.defer(i.default.bind(e,this))}function g(e,t,n){var r=n.offset();e.css({left:r.left,top:r.top});var i=(0,o.default)(window),a=t.outerHeight(),s=a+t.offset().top-i.scrollTop(),l=i.height()-20,u=Math.min(a+l-s,240);t.css("max-height",u)}function v(e,t){var n=e.next(".chzn-container"),r=n.clone(),a=n.find(".chzn-results"),s=n.find(".chzn-search input[type=text]");s.on("keyup",(function(){!function(e,t,n){var r=n.find(".active-result.highlighted");if(t.find("#"+e.attr("id")+"_txt").attr("aria-activedescendant",r.attr("id")),n.find("[aria-selected=true]").attr("aria-selected","false"),r.attr("aria-selected","true"),h()){var i=u.default.localize("oform.selectInput.country","courage",[r.text()]),a=e.attr("id");""!==i&&(0,o.default)("#".concat(a,"_aria_div_id")).text(i)}var s=n.find("li.no-results");s.length&&s.attr("role","alert")}(e,n,a)})),n.addClass("closed"),r.css("visibility","hidden"),r.removeAttr("id"),r.find("li").removeAttr("id");var l={left:n.css("left"),top:n.css("top"),position:n.css("position"),float:n.css("float"),"z-index":n.css("z-index")};a.hide();var c=i.default.debounce((function(){g(n,a,r)}),10);e.off(".fixChosen"),e.on("liszt:showing_dropdown.fixChosen",(function(){n.width(n.width()),e.after(r),n.css({position:"absolute",float:"none","z-index":5e4,top:-999999}),(0,o.default)("body").append(n),(0,o.default)(".chzn-search > :text").prop("placeholder",t),a.show(),g(n,a,r),e.parents().scroll(c),(0,o.default)(window).on("resize scroll",c)})),e.on("liszt:showing_dropdown",(function(){n.removeClass("closed")})),e.on("liszt:hiding_dropdown.fixChosen remove.fixChosen",(function(){e.parents().off("scroll",c),(0,o.default)(window).off("resize scroll",c),n.css(l),a.hide(),n.addClass("closed"),a.css("max-height",240),r.remove(),e.after(n)})),e.on("liszt:hiding_dropdown.fixChosen",(function(){s.focus()}))}var y=s.default.extend({className:"o-form-select",events:{"change select":"update","keyup .chzn-search > :text":function(e){a.default.isEsc(e)&&(this.$(".chzn-search > :text").val(""),e.stopPropagation())}},constructor:function(){this.template=f,this.option=this.option||p,s.default.apply(this,arguments),this.params=this.options.params||{}},editMode:function(){this.$el.html(f(this.options)),this.$select=this.$("select"),this.appendOptions();var e=this.getModelValue();return e?this.$select.val(e):this.$("option:first-child").prop("selected",!0),this.$el.addClass("o-form-control"),!1!==this.params.chosen&&this.__applyChosen(),this},appendOptions:function(){var e=this;if(this.getOptions()){var t=this.getOptions(),n=Object.keys(t);this.applySortByKey(n),n.forEach((function(n){e.$select.append(e.option({key:n,value:t[n]}))}))}},applySortByKey:function(e){var t=this.options.sortByKey;t&&(t instanceof Function&&e.sort(t),"asc"===t&&e.sort(),"desc"===t&&(e.sort(),e.reverse()))},__applyChosen:function(e){var t=this.options.wide?"100%":this.params.width||"62%";this.params.autoWidth&&(t=function(e){e.$select.hide();var t=(0,o.default)(e.$select[0]).hide();(0,o.default)("body").append(t);var n=e.params.width=1.2*t.width()+"px";return e.$el.append(t.show()),n}(this)),m.call(this,(function(){var n=this.getParam("searchThreshold",10);i.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});var r=this.options&&this.options.options&&Object.keys(this.options.options).length>n;this.accessibilityUpdate(r,this.params),v(this.$select,this.searchPlaceholder),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 i.default.isEmpty(n)||(t=n[e]),i.default.isUndefined(t)&&(t=this.defaultValue()),t||""},getOptions:function(){var e=this.options.options;return i.default.isFunction(e)&&(e=e.call(this)),i.default.isObject(e)?e:{}},remove:function(){return this.$select&&this.$select.trigger("remove"),s.default.prototype.remove.apply(this,arguments)},createAriaLiveNode:function(e){var t=this.$select.next(".chzn-container");(0,o.default)("<div></div>").attr("role","log").attr("aria-live","polite").attr("id",e).attr("aria-relevant","additions").attr("aria-atomic","false").attr("class","off-screen").insertAfter(t)},accessibilityUpdate:function(e,t){var n=this.$select.attr("id")+"_txt",r=this.$select.attr("id")+"_aria_div_id",o=this.$select.attr("id")+"_ul";if(h()&&this.createAriaLiveNode(r),this.$("ul[class=chzn-results]").attr("role","listbox").attr("id",o),e?this.$("input[type=text]").attr("id",n).attr("aria-autocomplete","list").attr("aria-activedescendant","").attr("role","combobox").attr("aria-expanded","true").attr("aria-controls",o):this.$("input[type=text]").attr("id",n).attr("role","listbox"),t&&t.aria&&t.aria.label){var i=t.aria.label.trim();this.$("input[type=text]").attr("id",n).attr("aria-label",i),this.$("ul[class=chzn-results]").attr("aria-label",i)}else{var a=this.$el.parent().prev(".o-form-label").find("label").text().trim();this.$("input[type=text]").attr("id",n).attr("aria-label",a),this.$("ul[class=chzn-results]").attr("aria-label",a)}this.$(".chzn-results .active-result").attr("role","option").attr("aria-selected","false")}});t.default=y,e.exports=t.default},6565:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=s(n(5586));n(3506);var i=s(n(2514));n(4221);var a=s(n(1648));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u="okta-form-input-field input-fix";var c=a.default.extend({template:r.default.template({1:function(e,t,n,r,o){return'<span class="input-tooltip icon form-help-16"></span>'},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon input-icon '+e.escapeExpression(e.lambda(null!=(i=null!=t?a(t,"params"):t)?a(i,"icon"):i,t))+'"></span>'},5:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"autoComplete")||(null!=t?a(t,"autoComplete"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"autoComplete",hash:{},data:o,loc:{start:{line:1,column:333},end:{line:1,column:349}}}):i)},7:function(e,t,n,r,o){return"off"},9:function(e,t,n,r,o){return'<span class="input-icon-divider"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=f(n,"if").call(s,null!=(i=null!=t?f(t,"params"):t)?f(i,"innerTooltip"):i,{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}}}))?i:"")+(null!=(i=f(n,"if").call(s,null!=(i=null!=t?f(t,"params"):t)?f(i,"icon"):i,{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}}}))?i:"")+'<input type="'+d(l(a=null!=(a=f(n,"type")||(null!=t?f(t,"type"):t))?a:u)===c?a.call(s,{name:"type",hash:{},data:o,loc:{start:{line:1,column:179},end:{line:1,column:187}}}):a)+'" placeholder="'+d(l(a=null!=(a=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?a:u)===c?a.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:202},end:{line:1,column:217}}}):a)+'" name="'+d(l(a=null!=(a=f(n,"name")||(null!=t?f(t,"name"):t))?a:u)===c?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:225},end:{line:1,column:233}}}):a)+'" id="'+d(l(a=null!=(a=f(n,"inputId")||(null!=t?f(t,"inputId"):t))?a:u)===c?a.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:239},end:{line:1,column:250}}}):a)+'" value="'+d(l(a=null!=(a=f(n,"value")||(null!=t?f(t,"value"):t))?a:u)===c?a.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:259},end:{line:1,column:268}}}):a)+'" aria-label="'+d(l(a=null!=(a=f(n,"placeholder")||(null!=t?f(t,"placeholder"):t))?a:u)===c?a.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:282},end:{line:1,column:297}}}):a)+'" autocomplete="'+(null!=(i=f(n,"if").call(s,null!=t?f(t,"autoComplete"):t,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.program(7,o,0),data:o,loc:{start:{line:1,column:313},end:{line:1,column:367}}}))?i:"")+'" />'+(null!=(i=f(n,"if").call(s,null!=(i=null!=t?f(t,"params"):t)?f(i,"iconDivider"):i,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:371},end:{line:1,column:444}}}))?i:"")},useData:!0}),events:{"input input":"update","change input":"update","keydown input":"update","compositionend input":function(){this.isComposing=!1},"compositionstart input":function(){this.isComposing=!0},"keyup input":function(e){!i.default.isEnter(e)||window.okta&&window.okta.enableIMESupport?i.default.isEsc(e)&&this.model.trigger("form:cancel"):this.model.trigger("form:save")}},hasIMESupport:!0,constructor:function(){a.default.apply(this,arguments),this.$el.addClass("o-form-control")},editMode:function(){this.$el.addClass(u),a.default.prototype.editMode.apply(this,arguments),this.$("input").placeholder()},readMode:function(){a.default.prototype.readMode.apply(this,arguments),"password"===this.options.type&&this.$el.text("********"),this.$el.removeClass(u)},val:function(){var e=this.$('input[type="'+this.options.type+'"]').val();return"password"!==this.options.type&&(e=o.default.trim(e)),e},focus:function(){return this.$("input").focus()},postRender:function(){var e,t=this.options.params;if(t&&t.innerTooltip){var n=function(e){var t=e.title,n=e.text;return t&&n&&t!==n}(e=t.innerTooltip)?e:{text:e.text||e};this.$(".input-tooltip").qtip({content:n,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,o.default)("body")}})}}});t.default=c,e.exports=t.default},7544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=l(n(4818)),i=l(n(6883)),a=l(n(1648)),s=l(n(400));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"array-input",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="array-inputs-button link-button">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"courage",code:"oform.add.another"},data:o,loc:{start:{line:1,column:52},end:{line:1,column:102}}}))+"</a>"},useData:!0}),params:{itemType:"string"},events:{"click .array-inputs-button":function(e){e.preventDefault(),this.isEditMode()&&this.addNewElement()}},initialize:function(e){e||(e={}),this.params=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([i.default.DATATYPE.number,i.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 s.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},9663:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={extend:function(){}},e.exports=t.default},2048:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"$",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"Backbone",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"BaseModel",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"Collection",{enumerable:!0,get:function(){return r.Collection}}),Object.defineProperty(t,"Controller",{enumerable:!0,get:function(){return r.Controller}}),Object.defineProperty(t,"Form",{enumerable:!0,get:function(){return r.Form}}),Object.defineProperty(t,"FrameworkView",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Handlebars",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"ListView",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Model",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"Router",{enumerable:!0,get:function(){return r.Router}}),Object.defineProperty(t,"View",{enumerable:!0,get:function(){return r.View}}),Object.defineProperty(t,"_",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"createButton",{enumerable:!0,get:function(){return r.createButton}}),Object.defineProperty(t,"createCallout",{enumerable:!0,get:function(){return r.createCallout}}),Object.defineProperty(t,"internal",{enumerable:!0,get:function(){return r.internal}}),Object.defineProperty(t,"isModelPropertySchema",{enumerable:!0,get:function(){return i.isModelPropertySchema}}),Object.defineProperty(t,"loc",{enumerable:!0,get:function(){return r.loc}}),Object.defineProperty(t,"registerInput",{enumerable:!0,get:function(){return r.registerInput}});var r=n(2402),o=p(n(6276));n(3378),n(7827),n(5631),n(4329),n(7169),n(2259);var i=n(6401),a=p(n(7582)),s=p(n(5586)),l=p(n(4818)),u=p(n(9458)),c=p(n(8967)),d=p(n(5771)),f=p(n(1357));function p(e){return e&&e.__esModule?e:{default:e}}},2597:function(e,t,n){"use strict";var r,o=(r=n(5586))&&r.__esModule?r:{default:r};o.default.fn.scrollParent=function(e){var t=this.css("position"),n="absolute"===t,r=e?/(auto|scroll|hidden)/:/(auto|scroll)/,i=this.parents().filter((function(){var e=(0,o.default)(this);return(!n||"static"!==e.css("position"))&&r.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==t&&i.length?i:(0,o.default)(this[0].ownerDocument||document)}},6316:function(e){function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function 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}function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)
/**
* 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;for(var n in 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={},e.keyCodes)e.keyCodesObj[e.keyCodes[n]]=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.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,o=(e.pt1=(new Date).getTime())-r,i=e.pt1;(1==e.recording||e.spKeyCodesObj[n]&&1==e.spKeyRecording)&&(t.shiftKey&&!e.isMobile()||(e.wfk[n]=1,e.skt[n]=o,e.sti[n]=i)),1==e.diagramRecording&&(e.dwfk[n]=1,e.dskt[n]=o,e.dsti[n]=i,e.dlastDownKey=n)}}},e.keyPress=function(t){(e.recording||e.diagramRecording)&&(e.isTarget(t.target.id)&&1==e.diagramRecording&&(e.drkc[e.dlastDownKey]=t.charCode))},e.keyUp=function(t){if((e.recording||e.diagramRecording)&&e.isTarget(t.target.id)){var n=(new Date).getTime(),r=t.keyCode;if(1==e.recording||e.spKeyCodesObj[r]&&1==e.spKeyRecording){if((!t.shiftKey||e.isMobile())&&1==e.wfk[r]){var o=n-e.sti[r],i=[r,e.skt[r],o,e.prevKeyCode,n,t.target.id];e.history.add(i),e.prevKeyCode=r}e.wfk[r]=0}if(1==e.diagramRecording){if(null!=e.drkc[r]&&0!=e.drkc[r]&&1==e.dwfk[r]){o=n-e.dsti[r];var a=[r,e.dskt[r],o,e.drkc[r],n,t.target.id];e.history.addDiagram(a)}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)){var n=(e.lastMouseDownTime=(new Date).getTime())-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 o=t.target.value.substr(t.target.selectionStart-1||0,1);n=o.toUpperCase().charCodeAt(0),e.ACLastCharCode=o.charCodeAt(0),e.ACLastKeyCode=o.toUpperCase().charCodeAt(0)}e.ACInputLengths.lastLength[r]=t.target.value.length;var i=[n,e.ACSeekTime,e.ACPressTime,e.ACPreviousKeyCode,e.ACLastTime];if(e.history.add(i),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 o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}return e.lastTarget=t,e.lastTargetFound=r,r}return e.lastTarget=t,e.lastTargetFound=!0,!0},e.document.addEventListener?(e.document.addEventListener("keydown",e.keyDown),e.document.addEventListener("keyup",e.keyUp),e.document.addEventListener("keypress",e.keyPress),e.document.addEventListener("mousemove",e.mouseMove),e.document.addEventListener("mousedown",e.mouseDown),e.document.addEventListener("mouseup",e.mouseUp),e.document.addEventListener("scroll",e.mouseScroll)):e.document.attachEvent&&(e.document.attachEvent("onkeydown",e.keyDown),e.document.attachEvent("onkeyup",e.keyUp),e.document.attachEvent("onkeypress",e.keyPress),e.document.attachEvent("onmousemove",e.mouseMove),e.document.attachEvent("onmousedown",e.mouseDown),e.document.attachEvent("onmouseup",e.mouseUp),e.document.attachEvent("onscroll",e.mouseScroll)),(e.mouse={}).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(t,r){var o=0,i=t.length;for(n=1;n<i-1;n++){var a=t[n]-t[n-1],s=r[n]-r[n-1];o+=e.mouse.getDistance(a,s)}return o},e.mouse.getAngle=function(e,t){var n=t<0;return e>=0?n?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:n?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 t=e.mouse.times.length;if(!(t<3)){var r=e.mouse.times[t-1]-e.mouse.times[0],o=e.mouse.xPositions[t-1]-e.mouse.xPositions[0],i=e.mouse.yPositions[t-1]-e.mouse.yPositions[0],a=Math.round(e.mouse.getDistance(o,i)),s=Math.round(e.mouse.getTotalDistance(e.mouse.xPositions,e.mouse.yPositions)),l=Math.round(100*s/a),u=[1,r,a,Math.round(100*a/r),e.mouse.getAngle(o,i),l];for(n in u)if(isNaN(u[n]))return;e.mouse.history.add(u),e.lastMouseStop=!1}},e.mouse.recordScrollAction=function(){var t=e.mouse.scrollTimes.length;if(!(t<2)){var r=e.mouse.scrollTimes[t-1]-e.mouse.scrollTimes[0],o=e.mouse.scrollTopArr[t-1]-e.mouse.scrollTopArr[0],i=[2,r,o,Math.round(100*o/r)];for(n in i)if(isNaN(i[n])&&!isFinite(i[n]))return;e.mouse.history.add(i)}},e.mouse.history.add=function(t){this.stack.push(t),this.stack.length>e.maxMouseHistoryLength&&this.stack.shift()},e.mouse.history.getDiagram=function(){var t=this.stack.join("|");return[String(e.isMobile())+","+String(e.version),t].join("|")},e.mouse.clearLastMove=function(){e.mouse.times=[],e.mouse.xPositions=[],e.mouse.yPositions=[]},e.mouse.checkMove=function(){clearInterval(e.moveInterval),1==e.mouse.started&&(e.mouse.started=!1,e.mouse.recordMoveAction(),e.mouse.clearLastMove())},e.mouse.clearLastScroll=function(){e.mouse.scrollTimes=[],e.mouse.scrollTopArr=[]},e.mouse.checkScroll=function(){clearInterval(e.scrollInterval),1==e.mouse.scrollStarted&&(e.mouse.scrollStarted=!1,e.mouse.recordScrollAction(),e.mouse.clearLastScroll())},e.addTarget=function(t){var n=e.targetIds.length,r=!1;if(n>0){for(var o=0;o<n;o++)if(e.targetIds[o]==t){r=!0;break}r||e.targetIds.push(t)}else e.targetIds.push(t)},e.removeTarget=function(t){var n=e.targetIds.length;if(n>0)for(var r=0;r<n;r++)if(e.targetIds[r]==t){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"!==r(t))return e.get();switch(t.type){case 0:return e.get(t.length,t.targetId);case 1:var n=null!=t.text?t.text:t.length;return e.history.getDiagram(t.extended,n,t.textId,t.targetId,t.caseSensitive);case 2:n=null!=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(n,r){var o=e.history.stack.length;null!=n&&0!=n||(n=e.defaultHistoryLength),n>o&&(n=o);var i={},a=t(e.history.get(n,"",r),2);i.arr=a[0],targetLength=a[1],null!=r&&""!=r&&(n=targetLength);var s=e.zl,l=n,u=e.math.fo(e.history.get(n,"seek",r)),c=e.math.fo(e.history.get(n,"press",r)),d=Math.round(e.math.avg(c)),f=Math.round(e.math.avg(u)),p=Math.round(e.math.sd(c)),h=Math.round(e.math.sd(u)),m=f+d,g=e.math.rd((d+s)/(m+s),4),v=e.math.rd((1-g)/g,4),y=e.math.rd((p+s)/(d+s),4),b=e.math.rd((h+s)/(d+s),4),_=Math.round(6e4/(m+s));for(var w in 0==l&&(_=0),i.arr){var k=i.arr[w][1].length,x=0,S=0,E=0,T=0,O=0,C=0;switch(i.arr[w][0].length){case 0:break;case 1:x=e.math.rd((i.arr[w][0][0]+s)/(f+s),4);break;default:var A=e.math.fo(i.arr[w][0]);x=e.math.rd((e.math.avg(A)+s)/(f+s),4),T=e.math.rd((e.math.sd(A)+s)/(h+s),4)}switch(i.arr[w][1].length){case 0:break;case 1:S=e.math.rd((i.arr[w][1][0]+s)/(d+s),4);break;default:var A=e.math.fo(i.arr[w][1]);S=e.math.rd((e.math.avg(A)+s)/(d+s),4),O=e.math.rd((e.math.sd(A)+s)/(p+s),4)}switch(i.arr[w][2].length){case 0:break;case 1:E=e.math.rd((i.arr[w][2][0]+s)/(f+s),4);break;default:A=e.math.fo(i.arr[w][2]);E=e.math.rd((e.math.avg(A)+s)/(f+s),4),C=e.math.rd((e.math.sd(A)+s)/(h+s),4)}delete i.arr[w][2],delete i.arr[w][1],delete i.arr[w][0],i.arr[w][0]=k,i.arr[w][1]=x,i.arr[w][2]=S,i.arr[w][3]=E,i.arr[w][4]=T,i.arr[w][5]=O,i.arr[w][6]=C}e.apu(A=[],l),e.apu(A,_),e.apu(A,m),e.apu(A,g),e.apu(A,v),e.apu(A,y),e.apu(A,b),e.apu(A,d),e.apu(A,f),e.apu(A,p),e.apu(A,h);for(var P=0;P<=6;P++)for(w=0;w<44;w++){var R=e.keyCodes[w],M=i.arr[R][P];0==M&&P>0&&(M=1),e.apu(A,M)}return e.apu(A,e.isMobile()),e.apu(A,e.version),e.apu(A,e.flags),A.push(e.history.getSpecialKeys()),A.join(",")},e.apu=function(e,t){"NaN"==String(t)&&(t=0),e.push(t)},(e.math={}).rd=function(e,t){return Number(e.toFixed(t))},e.math.avg=function(e){var t=e.length;if(t>0){for(var n=0,r=0;r<t;r++)n+=e[r];return this.rd(n/t,4)}return 0},e.math.sd=function(e){var t=e.length;if(t<2)return 0;for(var n=0,r=this.avg(e),o=0;o<t;o++)n+=(e[o]-r)*(e[o]-r);return Math.sqrt(n/t)},e.math.fo=function(e){if(e.length>1){var t=e.concat(),n=e.length;t.sort((function(e,t){return e-t}));var r=this.sd(t),o=t[Math.ceil(e.length/2)],i=o+2*r,a=o-2*r;n<20&&(a=0);for(var s=[],l=0;l<n;l++){var u=t[l];u<i&&u>a&&s.push(u)}return s}return e},e.math.fnv1aHash=function(e){if(null==e&&"string"!=typeof e)return 0;var t,n,r=1914395348;for(t=0,n=(e=e.toLowerCase()).length;t<n;t++)r^=e.charCodeAt(t),r+=(r<<1)+(r<<4)+(r<<7)+(r<<8)+(r<<24);return r>>>0},(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,o,i,a){a=null!=a?a:null==n||""==n;var s=[],l=1==t?1:0,u=this.stackDiagram;if(null!=i&&""!=i&&u.length>0){if(u=e.sliceStackByTargetId(u,i),null==n||""==n)null!=(f=e.document.getElementById(i))&&(n=f.value)}else{var c=e.targetIds.length;if((null==n||""==n)&&c>0){n="";for(var d=0;d<c;d++){var f;null!=(f=e.document.getElementById(e.targetIds[d]))&&(n+=f.value)}}}var p=0,h=u.length,m=h;"string"==typeof n?m=n.length:"number"==typeof n&&n<h&&(m=n);var g=0;if(null!=o?g=isNaN(parseInt(o))?e.math.fnv1aHash(o):parseInt(o):"string"==typeof n&&(g=e.math.fnv1aHash(n)),s.push([e.isMobile(),e.version,e.flags,l,m,g,e.history.getSpecialKeys()]),null!=n&&n.length>0&&"string"==typeof n){var v,y,b=n.toLowerCase(),_=n.toUpperCase(),w=[],k=0;for(d=0;d<n.length;d++){var x=n.charCodeAt(d);a||(y=(v=_.charCodeAt(d))!=x?v:b.charCodeAt(d));for(var S=k,E=h,T=!1;0==T;){for(var O=S;O<E;O++){if((L=(j=u[O])[3])==x||!a&&L==y){if(T=!0,O==k)k++,w=[];else{w.push(O);var C=w.length;C>1&&w[C-1]==w[C-2]+1&&(k=O+1,w=[])}var A=j[0],P=j[1],R=j[2];t?s.push([L,P,R,A]):s.push([P,R]);break}}if(0==T)if(0!=S)S=0,E=k;else if(T=!0,e.replaceMissingKeys){if(p++,"object"!==r(e.savedMissingAvgValues)||e.savedMissingAvgValues.historyLength!=h){var M=e.math.fo(e.history.get(0,"seek")),I=e.math.fo(e.history.get(0,"press"));P=Math.round(e.math.avg(M)),R=Math.round(e.math.avg(I));e.savedMissingAvgValues={seekTime:P,pressTime:R,historyLength:h}}else P=e.savedMissingAvgValues.seekTime,R=e.savedMissingAvgValues.pressTime;t?s.push([x,P,R,x,1]):s.push([P,R,1]);break}}if(e.replaceMissingKeysPerc<100*p/m)return null}}else{var N=0;"number"==typeof n&&(N=h-n),N<0&&(N=0);for(d=N;d<h;d++){var j;A=(j=u[d])[0],P=j[1],R=j[2];if(t){var L=j[3];s.push([L,P,R,A])}else s.push([P,R])}}return s.join("|")},e.sliceStackByTargetId=function(e,t){var r=e.length,o=[];for(n=0;n<r;n++){var i=e[n];i[5]==t&&o.push(i)}return o},e.history.get=function(t,n,r){var o=this.stack;null!=r&&""!=r&&o.length>0&&(o=e.sliceStackByTargetId(o,r));var i=o.length;switch(0!=t&&null!=t||(t=e.defaultHistoryLength),t>i&&(t=i),n){case"seek":var a=[];for(u=1;u<=t;u++){(f=o[i-u][1])<=e.maxSeekTime&&a.push(f)}return a;case"press":var s=[];for(u=1;u<=t;u++){(p=o[i-u][2])<=e.maxPressTime&&s.push(p)}return s;default:var l={};for(var u in e.keyCodes)l[e.keyCodes[u]]=[[],[],[]];for(u=1;u<=t;u++){var c=o[i-u],d=c[0],f=c[1],p=c[2],h=c[3];e.keyCodesObj[d]&&(f<=e.maxSeekTime&&(l[d][0].push(f),0!=h&&e.keyCodesObj[h]&&l[h][2].push(f)),p<=e.maxPressTime&&l[d][1].push(p))}return[l,t]}},e.history.getSpecialKeys=function(){var t=[],n=this.stack.length,r={};for(var o in e.spKeyCodes)r[e.spKeyCodes[o]]=[[]];for(o=1;o<=n;o++){var i=this.stack[n-o];if(e.spKeyCodesObj[i[0]]){var a=i[0],s=i[2];s<=e.maxPressTime&&r[a][0].push(s)}}for(var o in e.spKeyCodes){var l=(i=e.math.fo(r[e.spKeyCodes[o]][0])).length;t.push(l),l>1?(t.push(Math.round(e.math.avg(i))),t.push(Math.round(e.math.sd(i)))):1==l?t.push([i[0],-1]):t.push([-1,-1])}var u=e.clickTimes.length;t.push(u),u>1?(t.push(Math.round(e.math.avg(e.clickTimes))),t.push(Math.round(e.math.sd(e.clickTimes)))):1==u?t.push(e.clickTimes[0],-1):t.push([-1,-1]);var c=e.stopTimes.length;return t.push(c),c>1?(t.push(Math.round(e.math.avg(e.stopTimes))),t.push(Math.round(e.math.sd(e.stopTimes)))):1==c?t.push(e.stopTimes[0],-1):t.push([-1,-1]),t},e.getQuality=function(t){var n=t.split(",");for(a=0;a<n.length;a++)n[a]=Number(n[a]);n[0];var r=rec=avgAcc=0,o=e.math.avg(n),i=n.slice(11,55);for(var a in i)rec+=Number(i[a]>0),r+=Number(i[a]>4),avgAcc+=Number(i[a]>o);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,o=t.slice(11,55);for(var i in o)r+=Number(o[i]);return r/n},e.getLength=function(e){return Number(e.split(",")[1])},e.isMobile=function(){if(null!=e.mobile)return e.mobile;var t,n=0;return t=navigator.userAgent||navigator.vendor||window.opera,(/(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(t)||/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(t.substr(0,4)))&&(n=1),e.mobile=n,n},e.getTextId=function(t){return e.math.fnv1aHash(t)}}},2877:function(e){
/**
* Duo Web SDK v2
* Copyright 2019, Duo Security
*/
e.exports=function(){var e,t,n,r,o,i,a=/^(?:AUTH|ENROLL)+\|[A-Za-z0-9\+\/=]+\|[A-Za-z0-9\+\/=]+$/,s=/^ERR\|[\w\s\.\(\)]+$/,l=/^DUO_OPEN_WINDOW\|/,u=["duo.com","duosecurity.com","duomobile.s3-us-west-1.amazonaws.com"];function c(){e="",t="sig_response",n=void 0,r=void 0,o=void 0,i=void 0}function d(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 f(e){return e.replace(/([a-z])([A-Z])/,"$1-$2").toLowerCase()}function p(e,t){return"dataset"in e?e.dataset[t]:e.getAttribute("data-"+f(t))}function h(e,t,n,r){"addEventListener"in window?e.addEventListener(t,r,!1):e.attachEvent(n,r)}function m(e,t,n,r){"removeEventListener"in window?e.removeEventListener(t,r,!1):e.detachEvent(n,r)}function g(e){h(document,"DOMContentLoaded","onreadystatechange",e)}function v(e){m(document,"DOMContentLoaded","onreadystatechange",e)}function y(e){h(window,"message","onmessage",e)}function b(e){m(window,"message","onmessage",e)}function _(e){if(e){0===e.indexOf("ERR|")&&d(e.split("|")[1]),-1!==e.indexOf(":")&&2===e.split(":").length||d("Duo was given a bad token. This might indicate a configuration problem with one of Duo's client libraries.");var t=e.split(":");return r=t[0],o=t[1],{sigRequest:e,duoSig:t[0],appSig:t[1]}}}function w(e){return Boolean(e.origin==="https://"+n&&"string"==typeof e.data&&(e.data.match(a)||e.data.match(s)||e.data.match(l)))}function k(r){c(),r&&(r.host&&(n=r.host),r.sig_request&&_(r.sig_request),r.post_action&&(e=r.post_action),r.post_argument&&(t=r.post_argument),"function"==typeof r.submit_callback&&r.submit_callback);var o=x(r);o?M(o,r.iframeAttributes||{}):R(r),v(k)}function x(e){var t;return e.iframe&&e.iframeContainer?d("Passing both `iframe` and `iframeContainer` arguments at the same time is not allowed."):e.iframe?T(t=S(e.iframe)):e.iframeContainer?O(t=S(e.iframeContainer)):t=document.getElementById("duo_iframe"),t}function S(e){return e.tagName?e:"string"==typeof e?document.getElementById(e):null}function E(e){return e&&e.tagName&&"iframe"===e.tagName.toLowerCase()}function T(e){e&&!E(e)&&d("`iframe` only accepts an iframe element or the id of an iframe. To use a non-iframe element, use the `iframeContainer` argument.")}function O(e){e&&E(e)&&d("`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 C(){return["https://",n,"/frame/web/v1/auth?tx=",r,"&parent=",encodeURIComponent(document.location.href),"&v=2.8"].join("")}function A(e){if(w(e))if(e.data.match(l)){var t=e.data.substring("DUO_OPEN_WINDOW|".length);P(t)&&window.open(t,"_self")}else I(e.data),b(A)}function P(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<u.length;n++)if(t.hostname.endsWith("."+u[n])||t.hostname===u[n])return!0;return!1}function R(e){g((function t(){var n=x(e);n||d('This page does not contain an iframe for Duo to use. Add an element like <iframe id="duo_iframe"></iframe> to this page.'),M(n,e.iframeAttributes||{}),v(t)}))}function M(a,s){if(n||(n=p(a,"host"))||d("No API hostname is given for Duo to use. Be sure to pass a `host` parameter to Duo.init, or through the `data-host` attribute on the iframe element."),r&&o||(_(p(a,"sigRequest")),r&&o||d("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=p(a,"postAction")||e),"sig_response"===t&&(t=p(a,"postArgument")||t),E(a))(i=a).src=C();else{for(;a.firstChild;)a.removeChild(a.firstChild);for(var l in i=document.createElement("iframe"),s.src=C(),s)i.setAttribute(l,s[l]);a.appendChild(i)}y(A)}function I(t){e(t+":"+o)}return c(),{init:k,_onReady:g,_parseSigRequest:_,_isDuoMessage:w,_doPostBack:I}}()},7472:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8177)),o=i(n(5115));function i(e){return e&&e.__esModule?e:{default:e}}var a={};function s(e,t,n){var o=r.default.defer();return e.animate({"text-indent":1},{duration:200,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","scale("+r+", "+r+")")},always:function(){o.resolve(e)}}),o.promise}function l(e,t,n){var o=r.default.defer();return e.animate({"text-indent":1},{duration:150,easing:"swing",step:function(r,o){o.start=t,o.end=n,e.css("transform","rotate("+r+"deg)")},always:function(){o.resolve(e)}}),o.promise}a.swapPages=function(e){var t=r.default.defer(),n=e.$parent,i=e.$oldRoot,a=e.$newRoot,s=e.success,l=e.ctx,u="transition-from-right";return e.dir&&e.dir===o.default.DIRECTION_BACK&&(u="transition-from-left"),a.addClass(u),n.append(a),n.addClass("animation-container-overflow"),a.animate({left:"0px",top:"0px",opacity:1},200,(function(){n.removeClass("animation-container-overflow"),a.removeClass(u),a.removeAttr("style"),s.call(l),t.resolve()})),i.animate({height:a.height(),opacity:0},160),t.promise},a.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)},a.explode=function(e){return s(e,0,1)},a.implode=function(e){return s(e,1,0)},a.radialProgressBar=function(e){var t=e.$el,n=e.swap,r=t.children();return l(r,0,180).then((function(){t.css({clip:"auto"})})).then((function(){var e=r.eq(0);return n(),l(e,180,360)})).then((function(){t.css({clip:"rect(0px, 96px, 96px, 48px)"}),r.css({transform:"rotate(0deg)","text-indent":"1px"})}))};var u=a;t.default=u,e.exports=t.default},6141:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(5115))&&r.__esModule?r:{default:r};var i={};i.lighten=function(e,t){t=t||0,e=e.substr(1);for(var n="#",r=0;r<3;r++){var o=parseInt(e.substr(2*r,2),16);n+=("00"+(o=Math.round(Math.min(Math.max(0,o+o*t),255)).toString(16))).substr(o.length)}return n},i.addStyle=function(e,t){var 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(i.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 ")}(e),r=document.getElementById(o.default.WIDGET_CONTAINER_ID),a=document.createElement("style");a.id=o.default.WIDGET_CONFIG_COLORS_ID,a.type="text/css",t&&(a.nonce=t),a.appendChild(document.createTextNode(n)),r.appendChild(a)},i.isLoaded=function(){return!!document.getElementById(o.default.WIDGET_CONFIG_COLORS_ID)};var a=i;t.default=a,e.exports=t.default},9256:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048).internal.util.Cookie,o="ln",i={getCookieUsername:function(){return r.getCookie(o)},setUsernameCookie:function(e){r.setCookie(o,e,{expires:365,path:"/"})},removeUsernameCookie:function(){r.removeCookie(o,{path:"/"})}},a=i;t.default=a,e.exports=t.default},2646:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(938)),i=a(n(479));function a(e){return e&&e.__esModule?e:{default:e}}var s={getCountries:function(){var e=r._.omit(o.default.country,"HM","BV","TF"),t=r._.map(e,(function(e,t){return{name:e,code:t}}));t=r._.sortBy(t,"name");var n={};return r._.each(t,(function(e){n[e.code]=e.name})),n},getCountryCode:function(){var e=r._.omit(o.default.country,"HM","BV","TF"),t=r._.map(e,(function(e,t){return{name:e,code:t}}));t=r._.sortBy(t,"name");var n={};return r._.each(t,(function(e){n[e.code]=(0,r.loc)("country.option.label","login",[e.name,e.code])})),n},getCallingCodeForCountry:function(e){return i.default[e]}},l=s;t.default=l,e.exports=t.default},4813:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={getStringHash:function(e){for(var t=5381,n=e.length;n;)t=33*t^e.charCodeAt(--n);return t>>>0},base64UrlSafeToBase64:function(e){return e.replace(new RegExp("_","g"),"/").replace(new RegExp("-","g"),"+")},binToStr:function(e){return btoa(new Uint8Array(e).reduce((function(e,t){return e+String.fromCharCode(t)}),""))},strToBin:function(e){return Uint8Array.from(atob(this.base64UrlSafeToBase64(e)),(function(e){return e.charCodeAt(0)}))}},r=n;t.default=r,e.exports=t.default},5115:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={API_RATE_LIMIT:3e4,WIDGET_LOGIN_CONTAINER_ID:"okta-login-container",WIDGET_CONTAINER_ID:"okta-sign-in",WIDGET_CONFIG_COLORS_ID:"okta-sign-in-config-colors",DIRECTION_BACK:"DIRECTION_BACK",RECOVERY_TYPE_PASSWORD:"PASSWORD",RECOVERY_TYPE_UNLOCK:"UNLOCK",RECOVERY_FACTOR_TYPE_SMS:"SMS",RECOVERY_FACTOR_TYPE_EMAIL:"EMAIL",RECOVERY_FACTOR_TYPE_CALL:"CALL",IOS:"ios",ANDROID:"android",ODA:"oda",MDM:"mdm",SUCCESS:"SUCCESS",FORGOT_PASSWORD_EMAIL_SENT:"FORGOT_PASSWORD_EMAIL_SENT",UNLOCK_ACCOUNT_EMAIL_SENT:"UNLOCK_ACCOUNT_EMAIL_SENT",CONFIG_ERROR:"CONFIG_ERROR",UNSUPPORTED_BROWSER_ERROR:"UNSUPPORTED_BROWSER_ERROR",OAUTH_ERROR:"OAUTH_ERROR",AUTH_STOP_POLL_INITIATION_ERROR:"AUTH_STOP_POLL_INITIATION_ERROR",U2F_ERROR:"U2F_ERROR",WEB_AUTHN_ERROR:"WEB_AUTHN_ERROR",WEBAUTHN_ABORT_ERROR:"WEBAUTHN_ABORT_ERROR",CONFIGURED_FLOW_ERROR:"CONFIGURED_FLOW_ERROR",ALL_OPTIONAL_NONE_ENROLLED:"ALL_OPTIONAL_NONE_ENROLLED",ALL_OPTIONAL_SOME_ENROLLED:"ALL_OPTIONAL_SOME_ENROLLED",HAS_REQUIRED_NONE_ENROLLED:"HAS_REQUIRED_NONE_ENROLLED",HAS_REQUIRED_SOME_REQUIRED_ENROLLED:"HAS_REQUIRED_SOME_REQUIRED_ENROLLED",HAS_REQUIRED_ALL_REQUIRED_ENROLLED:"HAS_REQUIRED_ALL_REQUIRED_ENROLLED",PRIMARY_AUTH:"PRIMARY_AUTH",FORGOT_PASSWORD:"FORGOT_PASSWORD",UNLOCK_ACCOUNT:"UNLOCK_ACCOUNT",SESSION_SSO:"SESSION_SSO",SESSION_STEP_UP:"SESSION_STEP_UP",ACTIVATION_EMAIL_SENT:"ACTIVATION_EMAIL_SENT",REGISTRATION_COMPLETE:"REGISTRATION_COMPLETE",REGISTRATION_FAILED:"REGISTRATION_FAILED",IDP_DISCOVERY:"IDP_DISCOVERY",OKTA_VERIFY_APPLE_APP_STORE_URL:"https://apps.apple.com/us/app/okta-verify/id490179405",OKTA_VERIFY_GOOGLE_PLAY_STORE_URL:"https://play.google.com/store/apps/details?id=com.okta.android.auth",LOOPBACK_CHALLENGE:"LOOPBACK",CUSTOM_URI_CHALLENGE:"CUSTOM_URI",UNIVERSAL_LINK_CHALLENGE:"UNIVERSAL_LINK",APP_LINK_CHALLENGE:"APP_LINK"},e.exports=t.default},6594:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={INVALID_TOKEN_EXCEPTION:"E0000011"},e.exports=t.default},9057:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4319))&&r.__esModule?r:{default:r};var a={},s={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}},l=function(e,t){var n={complexity:[],history:[],age:[]};n.complexity=function(e,t){if(e.complexity){var n=t.complexity,r=function(e){var t=e.excludeAttributes;return e.excludeFirstName=o._.contains(t,"firstName"),e.excludeLastName=o._.contains(t,"lastName"),o._.omit(e,"excludeAttributes")}(e.complexity),i=o._.map(r,(function(e,t){if(!(e<=0)){var r=n[t];return r.args?(0,o.loc)(r.i18n,"login",[e]):(0,o.loc)(r.i18n,"login")}}));return o._.compact(i)}return[]}(e,t);var r=function(e,t){return e.age&&e.age.historyCount>0?(0,o.loc)(t.history.i18n,"login",[e.age.historyCount]):null}(e,t);r&&n.history.push(r);var a=function(e,t){return e.age&&e.age.minAgeMinutes>0?function(e){var n;switch(e.unit){case"DAY":n=t.age.days.i18n;break;case"HOUR":n=t.age.hours.i18n;break;case"MINUTE":n=t.age.minutes.i18n}return(0,o.loc)(n,"login",[e.time])}(i.default.getTimeInHighestRelevantUnit(e.age.minAgeMinutes,"MINUTE")):null}(e,t);return a&&n.age.push(a),n};a.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":a.getFactorNameForFactorType.call(this,t)},a.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},a.isOktaVerify=function(e,t){return"OKTA"===e&&("token:software:totp"===t||"push"===t)},a.getFactorLabel=function(e,t){var n=s[a.getFactorName.apply(this,[e,t])].label;return(0,o.loc)(n,"login")},a.getFactorDescription=function(e,t){var n=s[a.getFactorName.apply(this,[e,t])].description;if(o._.isFunction(n)){var r=this.settings.get("brandName"),i=n(r);return r?(0,o.loc)(i,"login",[r]):(0,o.loc)(i,"login")}return(0,o.loc)(n,"login")},a.getFactorIconClassName=function(e,t){return s[a.getFactorName.apply(this,[e,t])].iconClassName},a.getFactorSortOrder=function(e,t){return s[a.getFactorName.apply(this,[e,t])].sortOrder},a.getRememberDeviceValue=function(e){return e&&e.get("rememberDeviceByDefault")},a.getSecurityQuestionLabel=function(e){var t=(0,o.loc)("security."+e.question);return t.indexOf("L10N_ERROR")<0?t:e.questionText},a.removeRequirementsFromError=function(e,t){var n=this.getPasswordComplexityDescription(t);return e.errorCauses&&e.errorCauses.length>0&&o._.isString(e.errorCauses[0].errorSummary)&&(e.errorCauses[0].errorSummary=e.errorCauses[0].errorSummary.replace(n,"").trim()),e},a.getPasswordComplexityDescriptionForHtmlList=function(e){var t=l(e,{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"}}});return o._.union(t.complexity,t.history,t.age)},a.getPasswordComplexityDescription=function(e){var t=[],n=l(e,{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"}}}),r=n.complexity;return r.length>0&&(r=o._.reduce(r,(function(e,t){return e?e+(0,o.loc)("password.complexity.list.element","login",[t]):t})),t.push((0,o.loc)("password.complexity.requirements","login",[r]))),t.push(n.history[0]),t.push(n.age[0]),o._.compact(t).join(" ")},a.getCardinalityText=function(e,t,n){if(n){if(e)return 1===n.enrolled?"":(0,o.loc)("enroll.choices.cardinality.setup","login",[n.enrolled]);if(t&&n.maximum>1)return(0,o.loc)("enroll.choices.cardinality.setup.remaining","login",[n.enrolled,n.minimum])}return""},a.findFactorInFactorsArray=function(e,t,n){var r=e.findWhere({provider:t,factorType:n});return void 0===r&&(r=e.findWhere({factorType:n})),r};var u=a;t.default=u,e.exports=t.default},1521:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o={getU2fEnrollErrorMessageKeyByCode:function(e){switch(e){default:case 1:return"u2f.error.other";case 2:case 3:return"u2f.error.badRequest";case 4:return"u2f.error.unsupported";case 5:return"u2f.error.timeout"}},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"}},getU2fEnrollErrorMessageByCode:function(e){return(0,r.loc)(o.getU2fEnrollErrorMessageKeyByCode(e),"login")},getU2fVerifyErrorMessageByCode:function(e,t){return(0,r.loc)(o.getU2fVerifyErrorMessageKeyByCode(e,t),"login")},getU2fVersion:function(){return"U2F_V2"},isU2fAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"u2f")}},i=o;t.default=i,e.exports=t.default},9113:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */r=function(){return e};var e={},t=Object.prototype,o=t.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},s=a.iterator||"@@iterator",l=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var o=t&&t.prototype instanceof h?t:h,a=Object.create(o.prototype),s=new O(r||[]);return i(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p={};function h(){}function m(){}function g(){}var v={};c(v,s,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&o.call(b,s)&&(v=b);var _=g.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function r(i,a,s,l){var u=f(e[i],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==n(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,s,l)}),(function(e){r("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,l)}))}l(u.arg)}var a;i(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return a=a?a.then(o,o):o()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var t=e[s];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(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:A}}function A(){return{value:void 0,done:!0}}return m.prototype=g,i(_,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:m,configurable:!0}),m.displayName=c(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),c(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,u,"Generator"),c(_,s,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(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&&o.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 a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},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),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function o(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function s(e){o(a,r,i,s,l,"next",e)}function l(e){o(a,r,i,s,l,"throw",e)}s(void 0)}))}}function a(e){return s.apply(this,arguments)}function s(){return(s=i(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=0;case 1:if(!(n<t.length)){e.next=7;break}return e.next=4,t[n]();case 4:n++,e.next=1;break;case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function l(){return(l=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.before&&t.before.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,a(t.before);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function u(){return(u=i(r().mark((function e(t){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t&&t.after&&t.after.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,a(t.after);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.executeHookFunctions=a,t.executeHooksAfter=function(e){return u.apply(this,arguments)},t.executeHooksBefore=function(e){return l.apply(this,arguments)},t.mergeHook=function(e,t,n){var r=e[t]=e[t]||{before:[],after:[]};n.before&&(r.before=r.before.concat(n.before));n.after&&(r.after=r.after.concat(n.after))}},4087:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={SUPPORTED_SOCIAL_IDPS:["facebook","google","linkedin","microsoft","apple","github","gitlab","yahoo","line","paypal","paypal_sandbox","salesforce","amazon","yahoojp","discord","adobe","orcid","spotify","xero","quickbooks"]};t.default=n,e.exports=t.default},9164:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(938)),o=i(n(5091));function i(e){return e&&e.__esModule?e:{default:e}}var a={loadLanguage:function(e,t){var n=e.get("languageCode")||t.get("languageCode")||o.default.defaultLanguage,i=t.get("i18n"),a=t.get("assets.baseUrl"),s=t.get("assets.rewrite"),l=t.get("supportedLanguages"),u=setTimeout((function(){e.trigger("loading",!0)}),200);return r.default.loadLanguage(n,i,{baseUrl:a,rewrite:s},l).then((function(){clearTimeout(u),e.trigger("loading",!1)}))}};t.default=a,e.exports=t.default},1806:function(e,t){"use strict";function n(e,t){"error"===e&&window.console[e].apply(window.console,t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={trace:function(){return n("trace",arguments)},dir:function(){return n("dir",arguments)},time:function(){return n("time",arguments)},timeEnd:function(){return n("timeEnd",arguments)},group:function(){return n("group",arguments)},groupEnd:function(){return n("groupEnd",arguments)},assert:function(){return n("assert",arguments)},log:function(){return n("log",arguments)},info:function(){return n("info",arguments)},warn:function(){return n("warn",arguments)},error:function(){return n("error",arguments)},deprecate:function(e){return n("warn",["[okta-signin-widget] DEPRECATED:",e])}};t.default=r,e.exports=t.default},2534:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=n(3707),a=s(n(7516));function s(e){return e&&e.__esModule?e:{default:e}}var l={},u=["responseType","scopes","state","nonce","idp","idpScope","display","prompt","maxAge","loginHint"];l.AUTH_PARAMS=u,l.getTokens=function(e,t,n){function s(t){e.callGlobalSuccess(o.default.SUCCESS,t)}function l(t){var r=(0,i.getTypedOAuthError)(t);r.is("terminal")?(n.model.appState.set("flashError",r),n.model.appState.trigger("navigate","signin/error")):r.is("inline")&&(n.model.trigger("error",n.model,{responseJSON:{errorSummary:r.errorDetails.errorSummary}}),n.model.appState.trigger("removeLoading")),r.is("terminal")||a.default.triggerAfterError(n,r,e),r instanceof i.NonRecoverableError&&e.callGlobalError(r)}var c=e.getAuthClient(),d=c.isAuthorizationCodeFlow()&&!c.isPKCE(),f=e.toJSON({verbose:!0}),p={};r._.extend(p,r._.pick(f,"clientId","redirectUri"),r._.pick(f.authParams,u),t),p.popupTitle=(0,r.loc)("socialauth.popup.title","login"),p.timeout=f.oAuthTimeout,"always"===f.redirect||d?c.token.getWithRedirect(p).catch(l):p.sessionToken?c.token.getWithoutPrompt(p).then(s).catch(l):c.token.getWithPopup(p).then(s).catch(l)};var c=l;t.default=c,e.exports=t.default},4319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8112)),o=i(n(6204));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===a(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l={MILLISECOND:"milliseconds",SECOND:"seconds",MINUTE:"minutes",HOUR:"hours",DAY:"days"},u=Object.keys(l),c={getTimeInHighestRelevantUnit:function(e,t){var n,i=l[t]||t;try{var a=(0,r.default)(Object.assign({days:0,hours:0,minutes:0,seconds:0,milliseconds:0},s({},i,e)));n=(0,o.default)(a)}catch(e){n={}}var c,d,f,p,h=Object.keys(n).reduce((function(e,t){return 0!==n[t]&&(e[t]=n[t]),e}),{});return 1===Object.keys(h).length?Object.keys(h).forEach((function(e){d=h[e],c=e})):(d=e,c=i),{time:d,unit:(f=c,p=u.filter((function(e){return l[e]===f})),1===p.length?p[0]:f)}}};t.default=c,e.exports=t.default},7516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(1806)),a=s(n(5331));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u={},c=function(e,t){var n=document.createElement("input");return n.name=e,n.value=decodeURIComponent(t),n.type="hidden",n},d=function(){var e=document.createElement("input");return e.type="submit",e},f=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=e.split("#"),r=n[1],o=(n[0]||"").split("?"),i=o[1],a=o[0];r&&(a+="#"+r);var s=document.createElement("form");if(s.method=t,s.style.display="none",s.action=a,i&&i.length){var l=i.split("&");l.forEach((function(e){var t=e.split("="),n=c(t[0],t[1]);s.appendChild(n)}))}return s.appendChild(d()),s};function p(e){for(var t=[e],n=e.split("-");n.pop()&&n.length>0;)t.push(n.join("-"));return t}u.transformErrorXHR=function(e){if(0===e.status&&r._.isEmpty(e.responseJSON))return e.responseJSON={errorSummary:(0,r.loc)("error.network.connection","login")},e;if(!e.responseJSON){if(!e.responseText)return e.responseJSON={errorSummary:(0,r.loc)("error.unsupported.response","login")},e;if("string"==typeof e.responseText)try{e.responseJSON=JSON.parse(e.responseText)}catch(t){return e.responseJSON={errorSummary:(0,r.loc)("error.unsupported.response","login")},e}else"object"===l(e.responseText)&&(e.responseJSON=e.responseText)}if(e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&(e.responseJSON.errorSummary=e.responseJSON.errorCauses[0].errorSummary),!r._.isEmpty(e.responseJSON)){var t=(0,r.loc)("errors."+e.responseJSON.errorCode,"login");-1===t.indexOf("L10N_ERROR[")&&(e.responseJSON.errorSummary=t,e.responseJSON&&e.responseJSON.errorCauses&&e.responseJSON.errorCauses.length&&delete e.responseJSON.errorCauses)}return e},u.toLower=function(e){return r._.map(e,(function(e){return e.toLowerCase()}))},u.expandLanguages=function(e){return r._.chain(e).map(p).flatten().uniq().value()},u.callAfterTimeout=function(e,t){return setTimeout(e,t)},u.debugMessage=function(e){i.default.warn("\n".concat(e.replace(/^(\s)+/gm,"")))},u.logConsoleError=function(e){i.default.error(e)},u.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=r._.isFunction(e.className)?e.className():e.className,o=r._.pick(t,"name","message","statusCode","xhr");e.trigger("afterError",{controller:n},o),i.default.warn("controller: "+n+", error: "+o)},u.redirect=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e?a.default.isAndroid()&&!n?u.redirectWithFormGet(e):t.location.href=e:i.default.error("Cannot redirect to empty URL: (".concat(e,")"))},u.redirectWithFormGet=function(e){u.redirectWithForm(e,"get")},u.redirectWithForm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"post";if(e){var n=document.getElementById(o.default.WIDGET_CONTAINER_ID);if(n){var r=f(e,t);n.appendChild(r),r.querySelector('input[type="submit"]').click()}else i.default.error("Cannot find okta-sign-in container append to which a form")}else i.default.error("Cannot redirect to empty URL: (".concat(e,")"))},u.createInputExplain=function(e,t,n,o,i){var a=o?(0,r.loc)(e,n,o):(0,r.loc)(e,n);return a!==(i?(0,r.loc)(t,n,i):(0,r.loc)(t,n))&&a},u.isV1StateToken=function(e){return!!(e&&r._.isString(e)&&e.startsWith("00"))};var h=u;t.default=h,e.exports=t.default},479:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={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"},e.exports=t.default},504:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(8177)),o=i(n(1521));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return new r.default(e)}var s={makeCredential:function(e,t,n){return t=t.map((function(e){return{type:"FIDO_2_0",algorithm:e.algorithm}})),a(window.msCredentials.makeCredential(e,t,n).then((function(e){return Object.freeze({credential:{id:e.id},publicKey:JSON.parse(e.publicKey),attestation:e.attestation})})))},getAssertion:function(e,t){var n={accept:t.map((function(e){return{type:"FIDO_2_0",id:e.id}}))};return a(window.msCredentials.getAssertion(e,n).then((function(e){var t=e.signature;return Object.freeze({credential:{id:e.id},clientData:t.clientData,authenticatorData:t.authnrData,signature:t.signature})})))},isAvailable:function(){return Object.prototype.hasOwnProperty.call(window,"msCredentials")},isNewApiAvailable:function(){return navigator&&navigator.credentials&&navigator.credentials.create},isWebauthnOrU2fAvailable:function(){return this.isNewApiAvailable()||o.default.isU2fAvailable()}};t.default=s,e.exports=t.default},1791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=b(n(5722)),i=b(n(9721)),a=b(n(938)),s=b(n(1806)),l=b(n(8052)),u=b(n(6962)),c=b(n(9118)),d=b(n(7472)),f=b(n(5331)),p=b(n(6141)),h=b(n(5115)),m=n(2183),g=b(n(9201)),v=b(n(7516)),y=b(n(9164));function b(e){return e&&e.__esModule?e:{default:e}}var _=r.Router.extend({Events:r.Backbone.Events,initialize:function(e){e.globalSuccessFn||(e.globalSuccessFn=function(){}),e.globalErrorFn||(e.globalErrorFn=function(e){s.default.error(e)}),this.settings=new i.default(r._.omit(e,"el"),{parse:!0}),e.el||this.settings.callGlobalError(new m.ConfigError((0,r.loc)("error.required.el"))),(0,r.$)("body > div").on("click",(function(){})),this.appState=new o.default({baseUrl:this.settings.get("baseUrl"),settings:this.settings},{parse:!0});var t=new l.default({appState:this.appState});(0,r.$)(e.el).append(t.render().$el),this.el="#".concat(h.default.WIDGET_CONTAINER_ID),this.header=new u.default({el:this.el,appState:this.appState,settings:this.settings}),this.hide(),this.listenTo(this.appState,"change:transactionError",(function(e,t){g.default.routeAfterAuthStatusChangeError(this,t)})),this.listenTo(this.appState,"change:transaction",(function(e,t){g.default.routeAfterAuthStatusChange(this,t.data)})),this.listenTo(this.appState,"navigate",(function(e){this.navigate(e,{trigger:!0})}))},execute:function(e,t){var n=this.settings.get("recoveryToken");if(n)return this.settings.unset("recoveryToken"),void this.navigate(g.default.createRecoveryUrl(n),{trigger:!0});var o=this.settings.get("stateToken");if(o)return this.settings.unset("stateToken"),void this.navigate(g.default.createRefreshUrl(o),{trigger:!0});var i,a,s=this.appState.get("transaction");s&&s.data||(i=this,a=e,r._.find(i.stateLessRouteHandlers,(function(e){return a===i[e]})))?e.apply(this,t):this.settings.getAuthClient().tx.exists()?this.navigate(g.default.createRefreshUrl(),{trigger:!0}):this.navigate("",{trigger:!0})},navigate:function(e,t){return this.settings.get("features.router")?r.Router.prototype.navigate.apply(this,arguments):t&&t.trigger?r.Backbone.history.loadUrl(e):void 0},render:function(e,t){var n=this;t||(t={});var o=t.Beacon,i=r._.extend({settings:this.settings,appState:this.appState},r._.omit(t,"Beacon"));if(this.header.rendered()||(this.el=this.header.render().getContentEl()),!a.default.isLoaded(this.appState.get("languageCode")))return y.default.loadLanguage(this.appState,this.settings).then(r._.bind(this.render,this,e,t));if(this.settings.get("colors.brand")&&!p.default.isLoaded()){var s={brand:this.settings.get("colors.brand")},l=this.settings.get("cspNonce");p.default.addStyle(s,l)}var u=this.controller;return this.controller=new e(i),this.listenTo(this.controller,"all",this.trigger),this.controller.fetchInitialData().then((function(){return function(e,t){return!!e&&(e!==c.default||t.get("features.securityImage"))}(o,n.settings)||(o=null),n.header.setBeacon(o,i),n.show(),n.controller.render(),u?d.default.swapPages({$parent:n.el,$oldRoot:u.$el,$newRoot:n.controller.$el,dir:u.state.get("navigateDir"),ctx:n,success:function(){var e,t=this.appState.get("flashError"),n=this.controller.model;(u.remove(),u.$el.remove(),this.controller.postRenderAnimation(),t)&&(e=t.is&&t.is("terminal")?t.errorDetails.errorSummary:(0,r.loc)(this.settings.get("features.mfaOnlyFlow")?"error.mfa.only.expired.session":"error.expired.session"),n.trigger("error",n,{responseJSON:{errorSummary:e}}),this.appState.unset("flashError"),v.default.triggerAfterError(this.controller,t))}}):(n.el.append(n.controller.el),void n.controller.postRenderAnimation())})).catch((function(){u&&(u.remove(),u.$el.remove())}))},start:function(){var e=this,t=!1;window.addEventListener&&this.settings.get("features.router")&&(window.addEventListener("popstate",(function(t){e.controller.back&&(t.preventDefault(),t.stopImmediatePropagation(),e.controller.back())})),t=f.default.supportsPushState()),r.Router.prototype.start.call(this,{pushState:t})},hide:function(){this.header.$el.hide()},show:function(){this.header.$el.show()},remove:function(){this.controller&&this.controller.remove(),this.header.$el.remove(),a.default.remove(),r.Backbone.history.stop()}});t.default=_,e.exports=t.default},8745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=i.default.extend({className:"account-unlocked",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:r._.partial(r.loc,"account.unlock.unlocked.title","login"),subtitle:r._.partial(r.loc,"account.unlock.unlocked.desc","login"),noButtonBar:!0,attributes:{"data-se":"account-unlocked"},formChildren:function(){return[a.default.Button({title:(0,r.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",o.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}}});t.default=l,e.exports=t.default},69:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6777)),o=a(n(1920)),i=a(n(2669));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.default.extend({className:"activate-totp",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:o.default,Footer:i.default});t.default=s,e.exports=t.default},9176:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(4506)),s=l(n(9528));function l(e){return e&&e.__esModule?e:{default:e}}var u={props:{scopes:["array",!0]},save:function(){return this.doTransaction((function(e){return e.consent({consent:{scopes:r._.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");r._.isFunction(t)&&t()}))}},c=r.View.extend({className:"consent-title detail-row",template:s.default,getTemplateData:function(){var e=this.options.appState;return{appName:e.escape("targetLabel"),customLogo:e.get("targetLogo")&&e.get("targetLogo").href,defaultLogo:e.get("defaultAppLogo"),clientURI:e.get("targetClientURI")&&e.get("targetClientURI").href,issuer:e.get("issuer")}}}),d={noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:r._.partial(r.loc,"consent.required.consentButton","login"),cancel:r._.partial(r.loc,"consent.required.cancelButton","login"),formChildren:[i.default.View({View:c}),i.default.View({View:a.default})]},f=o.default.extend({Model:u,Form:d,className:"admin-consent-required",initialize:function(){var e=this;this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",(function(){e.model.cancel()}))}});t.default=f,e.exports=t.default},3230:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7651)),s=u(n(54)),l=u(n(2669));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"barcode-push",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",initialize:function(){this.listenTo(this.model,"error errors:clear",(function(){this.clearErrors()}))},formChildren:[a.default.View({View:s.default})]},Footer:l.default,initialize:function(){this.pollForEnrollment().catch((function(){}))},pollForEnrollment:function(){return this.model.doTransaction((function(e){return e.poll(6e3)}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=c,e.exports=t.default},3793:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(9057)),i=c(n(6777)),a=c(n(7651)),s=c(n(9201)),l=c(n(54)),u=c(n(2669));function c(e){return e&&e.__esModule?e:{default:e}}var d=i.default.extend({className:"barcode-totp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},save:r._.partial(r.loc,"oform.next","login"),noCancelButton:!0,attributes:{"data-se":"step-scan"},className:"barcode-scan",formChildren:[a.default.View({View:l.default})]},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e=s.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)}))}});t.default=d,e.exports=t.default},3227:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(5115)),a=f(n(6777)),s=f(n(7651)),l=f(n(2013)),u=f(n(1745)),c=f(n(4941)),d=f(n(9528));function f(e){return e&&e.__esModule?e:{default:e}}var p=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"customLogo")||(null!=t?u(t,"customLogo"):t))?i:s)?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"defaultLogo")||(null!=t?u(t,"defaultLogo"):t))?i:s)?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:624},end:{line:1,column:634}}}):i)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?i:"")+'<h1><span class="title-text">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{$2:"<p>$2</p>",$1:"<b class='no-translate'>$1</b>",arguments:"appName",bundle:"login",code:"granular.consent.scopes.title"},data:o,loc:{start:{line:1,column:445},end:{line:1,column:577}}}))+"</span>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:584},end:{line:1,column:654}}}))?i:"")+"</h1>"},useData:!0}),h=function(e){return s.default.View({View:o.View.extend({className:"consent-title detail-row",template:e,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}}})})},m=s.default.View({View:o.View.extend({className:"consent-description detail-row",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"consent.required.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+"</p>"},useData:!0})})}),g=s.default.View({View:o.View.extend({className:"consent-description",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"granular.consent.scopes.description"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:69}}}))+"</p>"},useData:!0})})}),v=function(e){return"optional"in e.get("scopes")[0]},y=a.default.extend({className:"consent-required",initialize:function(){var e=this;this.model.set("expiresAt",this.options.appState.get("expiresAt")),this.model.set("scopes",this.options.appState.get("scopes")),this.listenTo(this.form,"cancel",o._.bind(this.model.cancel,this.model));var t=new c.default;(0,o.$)("#".concat(i.default.WIDGET_LOGIN_CONTAINER_ID)).prepend(t.render().$el),v(this.options.appState)&&(this.$el.addClass("granular-consent").removeClass("consent-required"),this.form.cancel=o._.partial(o.loc,"oform.cancel","login"),o._.forEach(this.options.appState.get("scopes"),(function(t){e.model.set(t.name,!0)})))},postRender:function(){a.default.prototype.postRender.apply(this,arguments),this.$(".o-form-button-bar .button-primary").removeClass("button-primary")},Model:{props:{expiresAt:["string",!0],scopes:["array",!0]},save:function(){return this.doTransaction((function(e){var t=this,n=o._.pluck(this.get("scopes"),"name"),r={expiresAt:this.get("expiresAt")};return v(this)?r.optedScopes=o._.reduce(n,(function(e,n){return e[n]=t.get(n),e}),{}):r.scopes=n,e.consent({consent:r})}))},cancel:function(){var e=this;return this.doTransaction((function(e){return e.cancel()})).then((function(){var t=e.settings.get("consent.cancel");o._.isFunction(t)&&t()}))}},Form:{noCancelButton:!1,buttonOrder:["cancel","save"],autoSave:!0,save:o._.partial(o.loc,"consent.required.consentButton","login"),cancel:o._.partial(o.loc,"consent.required.cancelButton","login"),formChildren:function(){return v(this.options.appState)?[h(p),g].concat((e=this.options.appState.get("scopes"),t=e.slice().sort((function(e,t){return t.optional-e.optional})),o._.map(t,(function(e){var t=e.name,n=e.displayName,r=e.description,o=e.optional,i=e.isCustomized;return s.default.Input({name:t,input:u.default,placeholder:n,label:!1,modelType:"boolean",required:!0,options:{description:r,optional:o,isCustomized:i}})})))):[h(d.default),s.default.View({View:new l.default({model:this.model})}),m];var e,t}},Footer:o.View.extend({className:"consent-footer",template:r.default.template({1:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="terms-of-service" href="'+u("function"==typeof(a=null!=(a=c(n,"termsOfService")||(null!=t?c(t,"termsOfService"):t))?a:l)?a.call(s,{name:"termsOfService",hash:{},data:o,loc:{start:{line:1,column:56},end:{line:1,column:74}}}):a)+'" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"consent.required.termsOfService"},data:o,loc:{start:{line:1,column:92},end:{line:1,column:154}}}))+"</a>"+(null!=(i=c(n,"if").call(s,null!=t?c(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:158},end:{line:1,column:194}}}))?i:"")},2:function(e,t,n,r,o){return" • "},4:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a class="privacy-policy" href="'+l("function"==typeof(i=null!=(i=u(n,"privacyPolicy")||(null!=t?u(t,"privacyPolicy"):t))?i:s)?i.call(a,{name:"privacyPolicy",hash:{},data:o,loc:{start:{line:1,column:254},end:{line:1,column:271}}}):i)+'" target="_blank">'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"consent.required.privacyPolicy"},data:o,loc:{start:{line:1,column:289},end:{line:1,column:350}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"termsOfService"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:201}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"privacyPolicy"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:201},end:{line:1,column:361}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options.appState;return{termsOfService:e.get("targetTermsOfService")&&e.get("targetTermsOfService").href,privacyPolicy:e.get("targetPrivacyPolicy")&&e.get("targetPrivacyPolicy").href}}})});t.default=y,e.exports=t.default},6782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(6777)),i=s(n(7651)),a=s(n(1952));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.util.Util,u=o.default.extend({className:"custom-password-expired",Model:{},Form:{noButtonBar:!0,title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,r.loc)("password.expiring.title","login",[t]):e&&0===t?(0,r.loc)("password.expiring.today","login"):e?(0,r.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,r.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon")){var e=this.settings.get("brandName")?(0,r.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expiring.subtitle.generic","login");return e+" "+(0,r.loc)("password.expired.custom.subtitle","login")}return(0,r.loc)("password.expired.custom.subtitle","login")},formChildren:function(){return[i.default.Button({title:r._.partial(r.loc,"password.expired.custom.submit","login",[this.options.appState.get("passwordExpiredWebsiteName")]),className:"button button-primary button-wide",attributes:{"data-se":"custom-button"},click:function(){l.redirect(this.options.appState.get("passwordExpiredLinkUrl"))}})]}},Footer:a.default});t.default=u,e.exports=t.default},2580:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(7651)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"api.authn.error.PASSCODE_INVALID"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),c=i.default.extend({className:"device-code-activate",Model:function(){var e,t;return{props:{userCode:["string",!0,null===(e=this.options)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.get("userCode")],stateToken:"string"},save:function(){var e=this;return this.doTransaction((function(t){return t.deviceActivate({userCode:e.get("userCode")})}))}}},Form:{noCancelButton:!0,autoSave:!0,save:function(){return(0,o.loc)("oform.next","login")},title:function(){return(0,o.loc)("device.code.activate.title","login")},subtitle:function(){return(0,o.loc)("device.code.activate.subtitle","login")},formChildren:function(){return"INVALID_USER_CODE"===this.options.appState.get("deviceActivationStatus")&&this.add(u,".o-form-error-container"),[a.default.Input({label:(0,o.loc)("device.code.activate.label","login"),"label-top":!0,name:"userCode",input:s.default,inputId:"user-code",type:"text",inlineValidation:!1})]},events:{'keyup input[name="userCode"]':function(e){e.preventDefault(),this.addHyphen(e)}},addHyphen:function(e){var t=e.target.value;t&&4===t.length&&!["Backspace","Delete","-"].includes(e.key)&&(e.target.value=t.concat("-"))}}});t.default=c,e.exports=t.default},5841:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l="DEVICE_ACTIVATED",u="DEVICE_NOT_ACTIVATED_CONSENT_DENIED",c="DEVICE_NOT_ACTIVATED",d=[u,c],f=i.default.extend({className:"device-code-terminal",postRender:function(){i.default.prototype.postRender.apply(this,arguments);var e=this.options.appState.get("deviceActivationStatus")===l?"success-24-green":"error-24-red";this.$(".o-form-head").before('<div class="device-code-terminal--icon-container"><span class="device-code-terminal--icon '+e+'"></span></div>')},Model:{},Form:{noCancelButton:!0,noButtonBar:!0,title:function(){var e=this.options.appState.get("deviceActivationStatus");return e===l?(0,o.loc)("device.code.activated.success.title","login"):o._.contains(d,e)?(0,o.loc)("device.code.activated.error.title","login"):void 0},subtitle:function(){var e=this.options.appState.get("deviceActivationStatus");return e===l?(0,o.loc)("idx.device.activated","login"):e===u?(0,o.loc)("idx.device.not.activated.consent.denied","login"):e===c?(0,o.loc)("idx.device.not.activated.internal.error","login"):void 0},formChildren:function(){return[a.default.View({View:o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="/activate" class="button button-primary text-align-c retry-button" data-se="try-again">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oie.try.again"},data:o,loc:{start:{line:1,column:121},end:{line:1,column:165}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"isDeviceCodeError"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:176}}}))?i:""},useData:!0}),getTemplateData:function(){return{isDeviceCodeError:o._.contains(d,this.options.appState.get("deviceActivationStatus"))}}})})]}}});t.default=f,e.exports=t.default},1251:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(710)),i=l(n(709)),a=l(n(7651)),s=l(n(3739));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.internal.util.Util,c=o.default.extend({Model:{local:{provider:"string",factorType:"string"},save:function(){var e=this;return this.manageTransaction((function(){var t=e.appState.get("enrollCustomFactorRedirectUrl");null!==t&&u.redirect(t)}))}},Form:function(){var e=new i.default.Model(this.options.appState.get("factor"),this.toJSON()).get("vendorName");return{autoSave:!0,title:e,subtitle:(0,r.loc)("enroll.customFactor.subtitle","login",[e]),save:(0,r.loc)("enroll.customFactor.save","login"),formChildren:function(){var e=[];return this.options.appState.get("isFactorResultFailed")&&e.push(a.default.View({View:new s.default({message:this.options.appState.get("factorResultErrorMessage")})},{selector:".o-form-error-container"})),e}}}});t.default=c,e.exports=t.default},6252:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(6777)),a=u(n(7651)),s=u(n(5501)),l=u(n(2669));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"enroll-activate-email",Model:{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)}))}},Form:function(){return{title:o._.partial(o.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o._.partial(o.loc,"oform.verify","login"),formChildren:[a.default.View({View:o.View.extend({className:"enroll-activate-email-content",attributes:{"data-se":"enroll-activate-email-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:function(){var e=this.options.appState.get("factor"),t=e&&e.profile?e.profile.email:"";return{factorEmail:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i)+"</span>"},useData:!0})({email:t})}}})}),a.default.View({View:s.default}),a.default.Input({label:(0,o.loc)("email.code.label","login"),"label-top":!0,name:"passCode",type:"text",wide:!0})]}},Footer:l.default});t.default=c,e.exports=t.default},6200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(6276)),o=n(2048),i=p(n(2646)),a=p(n(5115)),s=p(n(6777)),l=p(n(7651)),u=p(n(7516)),c=p(n(2669)),d=p(n(5157)),f=p(n(4049));function p(e){return e&&e.__esModule?e:{default:e}}var h=o.internal.util.Keys,m=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})}),g={factorId:function(e){return!o._.isUndefined(e)}};function v(e){return"call"===e}function y(e){return v(e)?"enroll-call":"enroll-sms"}function b(e){h.isEnter(e)&&(e.stopPropagation(),e.preventDefault(),"keyup"===e.type&&e.data&&e.data.model&&e.data.model.sendCode())}var _=s.default.extend({className:function(){return y(this.options.factorType)},Model:function(){return{props:{phoneNumber:["string",!0],phoneExtension:["string",!1],lastEnrolledPhoneNumber:"string",passCode:["string",!0],factorId:"string"},local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],hasExistingPhones:"boolean",trapEnrollment:"boolean",ableToResend:"boolean",factorType:"string",skipPhoneValidation:"boolean"},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return t?e+t:""}},enrolled:{deps:["lastEnrolledPhoneNumber","fullPhoneNumber"],fn:function(e,t){return e===t}}},limitResending:function(){this.set({ableToResend:!1}),o._.delay(o._.bind(this.set,this),a.default.API_RATE_LIMIT,{ableToResend:!0})},sendCode:function(){var e=this,t=this.get("fullPhoneNumber"),n=this.get("phoneExtension");if(e.trigger("errors:clear"),t.length)return this.doTransaction((function(r){var i="MFA_ENROLL"===r.status||"FACTOR_ENROLL"===r.status,a={phoneNumber:t,updatePhone:!i||e.get("hasExistingPhones")};v(e.get("factorType"))&&(a.phoneExtension=n),e.get("skipPhoneValidation")&&(a.validatePhone=!1);var s=function(t){return o._.findWhere(t.factors,{factorType:e.get("factorType"),provider:"OKTA"}).enroll({profile:a}).catch((function(t){throw"E0000098"===t.errorCode&&(e.set("skipPhoneValidation",!0),t.xhr.responseJSON.errorSummary=(0,o.loc)("enroll.sms.try_again","login")),t}))};return i?s(r):(e.set("trapEnrollment",!0),r.prev().then(s).then((function(t){return e.set("trapEnrollment",!1),t})))}),!0).then((function(){e.set("lastEnrolledPhoneNumber",t),e.limitResending()})).catch((function(){e.set("trapEnrollment",!1)}));e.trigger("invalid",e,{phoneNumber:"model.validation.field.blank"})},resendCode:function(){return this.trigger("errors:clear"),this.limitResending(),this.doTransaction((function(e){return e.resend(this.get("factorType"))}))},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:function(){var e=this.options.factorType,t=v(e),n=(0,o.loc)(t?"enroll.call.setup":"enroll.sms.setup","login"),r=(0,o.loc)(t?"mfa.call":"mfa.sendCode","login"),a=(0,o.loc)(t?"mfa.redial":"mfa.resendCode","login"),s=(0,o.loc)(t?"mfa.calling":"mfa.sent","login"),c=t?"enroll-call-phone":"enroll-sms-phone",p=t?"call-request-button":"sms-request-button",h=[l.default.Input({name:"countryCode",type:"select",wide:!0,options:i.default.getCountries()}),l.default.Input({label:(0,o.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:c,name:"phoneNumber",input:d.default,type:"text",render:function(){this.$('input[name="phoneNumber"]').off("keydown keyup",b).keydown(b).keyup({model:this.model},b)}})];return t&&h.push(l.default.Input({label:(0,o.loc)("mfa.phoneNumber.ext.placeholder","login"),"label-top":!0,className:"enroll-call-extension",name:"phoneExtension",input:f.default,type:"text"})),h.push(l.default.Button({title:r,attributes:{"data-se":p},className:"button button-primary js-enroll-phone margin-top-30 "+p,click:function(){this.model.sendCode()}}),l.default.Button({title:a,attributes:{"data-se":p},className:"button js-enroll-phone margin-top-30 "+p,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=a,this.enable()):(this.options.title=s,this.disable()),this.render()}))}}),l.default.Divider({showWhen:g}),l.default.Input({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:u.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:f.default,type:"tel",showWhen:g}),l.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("mfa.challenge.verify","login"),showWhen:g})),{title:n,noButtonBar:!0,autoSave:!0,className:y(e),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(e,n){n?this.showWarning((0,o.loc)(t?"factor.call.time.warning":"factor.sms.time.warning","login")):this.clearWarnings()})),this.listenTo(this.model,"error errors:clear",(function(){this.clearWarnings(),this.clearErrors()})),this.listenTo(this.model,"change:enrolled",(function(){this.$(".js-enroll-phone").toggle()}))},formChildren:h}},Footer:c.default,trapAuthResponse:function(){return this.options.appState.get("isMfaEnrollActivate")?(this.model.set("factorId",this.options.appState.get("activatedFactorId")),!0):!(!this.options.appState.get("isMfaEnroll")||!this.model.get("trapEnrollment"))||void 0},initialize:function(){v(this.options.factorType)?this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhonesForCall")):this.model.set("hasExistingPhones",this.options.appState.get("hasExistingPhones")),this.model.set("factorType",this.options.factorType)}});t.default=_,e.exports=t.default},5292:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(4098)),a=d(n(2702)),s=d(n(1150)),l=d(n(5115)),u=d(n(6777)),c=d(n(9201));function d(e){return e&&e.__esModule?e:{default:e}}var f=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<span>"+(null!=(i="function"==typeof(a=null!=(a=s(n,"subtitle")||(null!=t?s(t,"subtitle"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:6},end:{line:1,column:20}}}):a)?i:"")+"</span>"},useData:!0}),p=u.default.extend({className:"enroll-choices",state:{pageType:null},Model:{},Form:{noCancelButton:!0,title:o._.partial(o.loc,"enroll.choices.title","login"),noButtonBar:function(){return this.state.get("pageType")===l.default.ALL_OPTIONAL_NONE_ENROLLED},subtitle:" ",getSubtitle:function(){switch(this.state.get("pageType")){case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.optional","login");case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:var e=this.options.appState.get("gracePeriodRemainingDays");return Number.isInteger(e)&&e>=0?this.getGracePeriodSubtitle(e):this.getDefaultSubtitle();default:return this.getDefaultSubtitle()}},getDefaultSubtitle:function(){return this.settings.get("brandName")?(0,o.loc)("enroll.choices.description.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.choices.description.generic","login")},getGracePeriodSubtitle:function(e){return e>=1?(0,o.loc)("enroll.choices.description.gracePeriod.bold","login",[e]):(0,o.loc)("enroll.choices.description.gracePeriod.oneDay.bold","login")},save:function(){switch(this.state.get("pageType")){case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.submit.finish","login");case l.default.HAS_REQUIRED_NONE_ENROLLED:return(0,o.loc)("enroll.choices.submit.configure","login");case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:return(0,o.loc)("enroll.choices.submit.next","login");default:return""}},initialize:function(e){this.listenTo(this,"save",(function(){var t;switch(this.state.get("pageType")){case l.default.HAS_REQUIRED_NONE_ENROLLED:case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t=e.appState.get("factors").getFirstUnenrolledRequiredFactor(),e.appState.trigger("navigate",c.default.createEnrollFactorUrl(t.get("provider"),t.get("factorType")));break;default:return this.model.doTransaction((function(e){return e.skip()}))}}))},preRender:function(){this.add(f({subtitle:this.getSubtitle()}),"p.okta-form-subtitle");var e=this.options.appState.get("factors");switch(this.state.get("pageType")){case l.default.HAS_REQUIRED_NONE_ENROLLED:case l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:this.add(new s.default({minimize:!0,collection:new o.Collection(e.where({required:!0})),appState:this.options.appState}));break;case l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:case l.default.ALL_OPTIONAL_SOME_ENROLLED:case l.default.ALL_OPTIONAL_NONE_ENROLLED:var t,n=e.where({enrolled:!0}),r=e.filter((function(e){return!e.get("enrolled")||e.get("additionalEnrollment")}));n.length>0&&(t=(0,o.loc)("enroll.choices.list.optional","login"),this.add(new i.default({listTitle:(0,o.loc)("enroll.choices.list.enrolled","login"),minimize:!0,collection:new o.Collection(n),appState:this.options.appState}))),this.add(new i.default({listTitle:t,collection:new o.Collection(r),appState:this.options.appState,showInlineSetupButton:!0}))}}},initialize:function(e){var t,n,r=0,o=0,i=0,s=0;e.appState.get("factors").each((function(e){var t=e.get("required"),n=e.get("enrolled"),a=e.get("additionalEnrollment");t&&n?r++:t&&!n?o++:!t&&n?i++:t||n||s++,n&&a&&s++})),(t=r>0||o>0)&&0===r?n=l.default.HAS_REQUIRED_NONE_ENROLLED:t&&o>0?n=l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED:t&&s>0?n=l.default.HAS_REQUIRED_ALL_REQUIRED_ENROLLED:0===i&&s>0?n=l.default.ALL_OPTIONAL_NONE_ENROLLED:s>0?n=l.default.ALL_OPTIONAL_SOME_ENROLLED:this.model.doTransaction((function(e){return e.skip()})),this.state.set("pageType",n),this.options.appState.get("skipLink")&&n===l.default.HAS_REQUIRED_SOME_REQUIRED_ENROLLED&&this.add(new a.default(this.toJSON()))}});t.default=p,e.exports=t.default},710:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(6777)),i=a(n(2669));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.internal.util.Util,l=o.default.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&&s.redirect(r)})).catch((function(e){throw e}))}))}},Form:function(){var e=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName");return{autoSave:!0,title:e,subtitle:(0,r.loc)("enroll.customFactor.subtitle","login",[e]),save:(0,r.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:i.default});t.default=l,e.exports=t.default},1638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(2877)),i=l(n(8177)),a=l(n(6777)),s=l(n(2669));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"enroll-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string"},getInitOptions:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"web",provider:"DUO"}).enroll()}))},activate:function(e){var t=this.get("postAction"),n=this.get("factorId"),o=this,a={id:n,stateToken:this.get("stateToken"),sig_response:e};return(0,i.default)(r.$.post(t,a)).then((function(){return o.doTransaction((function(e){return e.poll()}))})).catch((function(e){o.trigger("error",o,e.xhr)}))}},Form:{autoSave:!0,noButtonBar:!0,title:r._.partial(r.loc,"enroll.duo.title","login"),postRender:function(){this.add('<iframe frameborder="0" title="'+this.title()+'"></iframe>'),o.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:r._.bind(this.model.activate,this.model)})}},Footer:s.default,fetchInitialData:function(){var e=this;return this.model.getInitOptions(this.options.appState).then((function(t){var n=t.data;if(!(n&&n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.activation))throw new Error("Response does not have duo activation options");var r=n._embedded.factor,o=r._embedded.activation;e.model.set({host:o.host,signature:o.signature,postAction:o._links.complete.href,factorId:r.id,stateToken:n.stateToken})}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return!0}});t.default=u,e.exports=t.default},5306:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(7651)),s=l(n(2669));function l(e){return e&&e.__esModule?e:{default:e}}var u={local:{factorType:"string",provider:"string"},save:function(){this.trigger("save");var e=this.pick("factorType","provider");return this.doTransaction((function(t){return o._.findWhere(t.factors,e).enroll()}))}},c=i.default.extend({className:"enroll-email",Model:u,Form:function(){return{title:o._.partial(o.loc,"email.enroll.title","login"),noButtonBar:!1,autoSave:!0,save:o._.partial(o.loc,"email.button.send","login"),formChildren:[a.default.View({View:o.View.extend({attributes:{"data-se":"enroll-email-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"email.enroll.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:55}}}))},useData:!0})})})]}},Footer:s.default,initialize:function(){this.model.set(o._.pick(this.options,"factorType","provider"))}});t.default=c,e.exports=t.default},6912:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(2669)),s=l(n(3739));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-hotp",Model:function(){return{local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=this.options.appState.get("factors").findWhere({provider:this.model.get("__provider__"),factorType:this.model.get("__factorType__")});return(0,r.loc)("enroll.totp.title","login",[e.get("factorLabel")])},noButtonBar:!0,attributes:{"data-se":"restrict-enroll"},formChildren:function(){return[i.default.View({View:new s.default({message:(0,r.loc)("enroll.hotp.restricted","login")})})]}},Footer:a.default});t.default=u,e.exports=t.default},1602:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(6777)),i=u(n(7651)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return"RSA"===e}function d(e){return c(e)?"enroll-rsa":"enroll-onprem"}var f=o.default.extend({className:function(){return d(this.options.provider)},Model:function(){var e=this.options.provider,t=this.options.appState.get("factors").findWhere(r._.pick(this.options,"provider","factorType")).get("profile");return{props:{credentialId:["string",!0,t&&t.credentialId?t.credentialId:""],passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(t){return r._.findWhere(t.factors,{factorType:"token",provider:e}).enroll({passCode:this.get("passCode"),profile:{credentialId:this.get("credentialId")}})}))}}},Form:function(){var e=this.options.provider,t=this.options.appState.get("factors").findWhere(r._.pick(this.options,"provider","factorType")).get("vendorName");return{title:c(e)?(0,r.loc)("factor.totpHard.rsaSecurId","login"):t,noButtonBar:!0,autoSave:!0,className:d(e),initialize:function(){var e=this;this.listenTo(this.model,"error",(function(t,n){n&&409===n.status&&(e.$(".o-form-input-name-passCode input").val(""),e.$(".o-form-input-name-passCode input").trigger("change"),e.$(".o-form-input-name-passCode input").focus())}))},formChildren:[i.default.Input({label:(0,r.loc)("enroll.onprem.username.placeholder","login",[t]),"label-top":!0,explain:a.default.createInputExplain("enroll.onprem.username.tooltip","enroll.onprem.username.placeholder","login",[t],[t]),"explain-top":!0,name:"credentialId",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.onprem.passcode.placeholder","login",[t]),"label-top":!0,explain:a.default.createInputExplain("enroll.onprem.passcode.tooltip","enroll.onprem.passcode.placeholder","login",[t],[t]),"explain-top":!0,name:"passCode",input:l.default,type:"password"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("mfa.challenge.verify","login")})]}},Footer:s.default});t.default=f,e.exports=t.default},4668:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(3486)),a=l(n(2669)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-password",Model:{props:{password:["string",!0],confirmPassword:["string",!0]},validate:function(){return i.default.validateFieldsMatch(this,"password","confirmPassword",(0,r.loc)("password.enroll.error.match","login"))},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"password",provider:"OKTA"}).enroll({profile:{password:this.get("password")}})}))}},Form:{autoSave:!0,title:r._.partial(r.loc,"enroll.password.setup","login"),inputs:function(){return[{label:(0,r.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"password",input:s.default,type:"password"},{label:(0,r.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"confirmPassword",input:s.default,type:"password"}]}},Footer:a.default});t.default=u,e.exports=t.default},541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.extend({className:"enroll-question",Model:{props:{question:"string",answer:["string",!0]},local:{securityQuestions:"object"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).enroll({profile:{question:this.get("question"),answer:this.get("answer")}})}))}},Form:{autoSave:!0,title:r._.partial(r.loc,"enroll.securityQuestion.setup","login"),inputs:function(){return[{label:!1,"label-top":!0,name:"question",type:"select",wide:!0,options:function(){return this.model.get("securityQuestions")},params:{searchThreshold:25}},{label:(0,r.loc)("mfa.challenge.answer.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("mfa.challenge.answer.tooltip","mfa.challenge.answer.placeholder","login"),"explain-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:l.default,type:"text"}]}},Footer:s.default,fetchInitialData:function(){var e=this;return this.model.manageTransaction((function(e){return r._.findWhere(e.factors,{factorType:"question",provider:"OKTA"}).questions()})).then((function(t){var n={};r._.each(t,(function(e){n[e.question]=o.default.getSecurityQuestionLabel(e)})),e.model.set("securityQuestions",n)}))}});t.default=c,e.exports=t.default},9674:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(6777)),i=u(n(7651)),a=u(n(7516)),s=u(n(2669)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.default.extend({className:"enroll-symantec",Model:{props:{credentialId:["string",!0],passCode:["string",!0],nextPassCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"token",provider:"SYMANTEC"}).enroll({passCode:this.get("passCode"),nextPassCode:this.get("nextPassCode"),profile:{credentialId:this.get("credentialId")}})}))}},Form:{title:r._.partial(r.loc,"factor.totpHard.symantecVip","login"),subtitle:r._.partial(r.loc,"enroll.symantecVip.subtitle","login"),noButtonBar:!0,autoSave:!0,className:"enroll-symantec",formChildren:function(){return[i.default.Input({label:(0,r.loc)("enroll.symantecVip.credentialId.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.credentialId.tooltip","enroll.symantecVip.credentialId.placeholder","login"),"explain-top":!0,name:"credentialId",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.symantecVip.passcode1.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.passcode1.tooltip","enroll.symantecVip.passcode1.placeholder","login"),"explain-top":!0,name:"passCode",input:l.default,type:"text"}),i.default.Input({label:(0,r.loc)("enroll.symantecVip.passcode2.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("enroll.symantecVip.passcode2.tooltip","enroll.symantecVip.passcode2.placeholder","login"),"explain-top":!0,name:"nextPassCode",input:l.default,type:"text"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("mfa.challenge.verify","login")})]}},Footer:s.default});t.default=c,e.exports=t.default},3728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(9057)),a=c(n(6777)),s=c(n(7651)),l=c(n(2269)),u=c(n(2669));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}var f={__deviceType__:function(e){return void 0!==e}},p=o.View.extend({attributes:{"data-se":"app-download-instructions"},className:"app-download-instructions",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="app-logo '+e.escapeExpression(d(a=null!=(a=c(n,"appIcon")||(null!=t?c(t,"appIcon"):t))?a:l)===u?a.call(s,{name:"appIcon",hash:{},data:o,loc:{start:{line:1,column:22},end:{line:1,column:33}}}):a)+'"></span><p class="instructions">'+(null!=(i=d(a=null!=(a=c(n,"appStoreLinkText")||(null!=t?c(t,"appStoreLinkText"):t))?a:l)===u?a.call(s,{name:"appStoreLinkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:88}}}):a)?i:"")+"</p>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:__deviceType__",this.render)},postRender:function(){var e=this.$el.find(".instructions a");e.length&&(e[0].setAttribute("target","_blank"),e[0].setAttribute("rel","noreferer noopener"))},getTemplateData:function(){var e,t,n,r=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return n=l.default.STORE[this.model.get("__deviceType__")],"GOOGLE"===this.model.get("__provider__")?(e=l.default.GOOGLE[this.model.get("__deviceType__")],t="google-auth-38"):(e=l.default.OKTA[this.model.get("__deviceType__")],t="okta-verify-download-icon"),{appStoreLinkText:(0,o.loc)("enroll.totp.downloadApp","login",[e,r,n]),appIcon:t}}}),h=a.default.extend({className:"enroll-totp",Model:function(){return{local:{__deviceType__:"string",__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:this.get("__factorType__"),provider:this.get("__provider__")}).enroll()}))}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},noButtonBar:!0,attributes:{"data-se":"step-device-type"},formChildren:function(){var e={APPLE:(0,o.loc)("iphone","login"),ANDROID:(0,o.loc)("android","login")};return[s.default.Input({name:"__deviceType__",type:"radio",options:e,group:!0,label:o._.partial(o.loc,"enroll.totp.selectDevice","login")}),s.default.Divider({showWhen:f}),s.default.View({View:p,showWhen:f}),s.default.Button({title:(0,o.loc)("oform.next","login"),attributes:{"data-type":"save"},className:"button button-primary default-custom-button",click:function(){this.model.save()},showWhen:f})]}},Footer:u.default});t.default=h,e.exports=t.default},9890:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(8177));n(2292);var a=n(2183),s=f(n(1521)),l=f(n(6777)),u=f(n(7651)),c=f(n(2669)),d=f(n(3739));function f(e){return e&&e.__esModule?e:{default:e}}var p=l.default.extend({className:"enroll-u2f",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"}).enroll()}))},activate:function(){return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.doTransaction((function(e){var t=e.factor.activation,n=t.appId,r=[{version:s.default.getU2fVersion(),challenge:t.nonce}],o=this,l=i.default.defer();return u2f.register(n,r,[],(function(t){o.trigger("errors:clear"),t.errorCode&&0!==t.errorCode?l.reject(new a.U2FError({xhr:{responseJSON:{errorSummary:s.default.getU2fEnrollErrorMessageByCode(t.errorCode)}}})):l.resolve(e.activate({registrationData:t.registrationData,version:t.version,challenge:t.challenge,clientData:t.clientData}))})),l.promise}))}},Form:{title:o._.partial(o.loc,"enroll.u2f.title","login"),save:o._.partial(o.loc,"enroll.u2f.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-u2f-form",noButtonBar:function(){return!s.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(s.default.isU2fAvailable())e.push(u.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-instructions"><ol><li>'+(null!=(i=(l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general2"},data:o,loc:{start:{line:1,column:38},end:{line:1,column:90}}}))?i:"")+"</li><li>"+e.escapeExpression((l(n,"i18n")||t&&l(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.general3"},data:o,loc:{start:{line:1,column:99},end:{line:1,column:149}}}))+"</li></ol></div>"},useData:!0})})})),e.push(u.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-enroll-text hide"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:91}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"enroll.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:98},end:{line:1,column:161}}}))+'</p><div data-se="u2f-devices" class="u2f-devices-images"><div class="u2f-usb"></div><div class="u2f-bluetooth"></div></div><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(u.default.View({View:new d.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".u2f-instructions").addClass("hide"),this.$(".u2f-enroll-text").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".u2f-instructions").removeClass("hide"),this.$(".u2f-enroll-text").addClass("hide"),this.$(".o-form-button-bar").show()}},Footer:c.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=p,e.exports=t.default},6817:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(1390)),o=s(n(3123)),i=s(n(1766)),a=s(n(7562));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.default.extend({className:"enroll-user",initialize:function(e){this.options=e||{},this.model=new r.default(this.options)},fetchInitialData:function(){return this.options.appState.get("isUnauthenticated")?this.model.getEnrollFormData():o.default.prototype.fetchInitialData.call()},trapAuthResponse:function(){if(this.options.appState.get("isProfileRequired"))return!0},postRender:function(){var e=new i.default(this.toJSON());this.add(e),this.add(new a.default(this.toJSON())),this.addListeners()}});t.default=l,e.exports=t.default},7878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(6276)),o=n(2048),i=h(n(8177)),a=h(n(5331)),s=h(n(4813)),l=n(2183),u=h(n(6777)),c=h(n(7651)),d=h(n(504)),f=h(n(2669)),p=h(n(3739));function h(e){return e&&e.__esModule?e:{default:e}}function m(e){return null==e?null:JSON.stringify(e)}var g=u.default.extend({className:"enroll-webauthn",Model:{local:{__enrolled__:"boolean"},save:function(){return this.trigger("request"),this.get("__enrolled__")?this.activate():this.doTransaction((function(e){return o._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()}))},activate:function(){var e=this;return this.set("__enrolled__",!0),this.trigger("errors:clear"),this.appState.on("backToFactors",(function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)})),this.doTransaction((function(e){var t,n,r=e.factor.activation,a=this;if(d.default.isNewApiAvailable()){var u=o._.extend({},r,{challenge:s.default.strToBin(r.challenge),user:{id:s.default.strToBin(r.user.id),name:r.user.name,displayName:r.user.displayName},excludeCredentials:(t=r.excludeCredentials,n=[],o._.each(t,(function(e){n.push({type:"public-key",id:s.default.strToBin(e.id)})})),n)});return"undefined"!=typeof AbortController&&(a.webauthnAbortController=new AbortController),new i.default(navigator.credentials.create({publicKey:u,signal:a.webauthnAbortController&&a.webauthnAbortController.signal})).then((function(t){return e.activate({attestation:s.default.binToStr(t.response.attestationObject),clientData:s.default.binToStr(t.response.clientDataJSON),transports:m(t.response.getTransports()),clientExtensions:m(t.getClientExtensionResults())})})).catch((function(e){throw a.trigger("errors:clear"),a.webauthnAbortController?new l.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new l.WebauthnAbortError})).finally((function(){a.webauthnAbortController=null}))}}))}},Form:{title:o._.partial(o.loc,"enroll.webauthn.biometric.title","login"),save:o._.partial(o.loc,"enroll.webauthn.save","login"),noCancelButton:!0,hasSavingState:!1,autoSave:!0,className:"enroll-webauthn-form",noButtonBar:function(){return!d.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(d.default.isNewApiAvailable())e.push(c.default.View({View:o.View.extend({className:"webauthn-enroll-text",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-edge-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions.edge"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:249}}}))?i:"")+"</p></div>"},3:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-restrictions-text"><p>'+(null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.instructions.noSupportForBiometric"},data:o,loc:{start:{line:1,column:340},end:{line:1,column:423}}}))?i:"")+"</p></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-enroll-instructions"><p>'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:45},end:{line:1,column:114}}}))+"</p></div>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"isEdge"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:124},end:{line:1,column:266}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"onlySupportsSecurityKey"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:266},end:{line:1,column:440}}}))?i:"")+'<div data-se="webauthn-waiting" class="okta-waiting-spinner hide"></div>'},useData:!0}),getTemplateData:function(){return{isEdge:a.default.isEdge(),onlySupportsSecurityKey:(a.default.isFirefox()||a.default.isSafari())&&a.default.isMac()}}})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new p.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()}},Footer:f.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=g,e.exports=t.default},8305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(6777)),i=c(n(7651)),a=c(n(504)),s=c(n(2669)),l=c(n(3739)),u=c(n(7068));function c(e){return e&&e.__esModule?e:{default:e}}var d=o.default.extend({className:"enroll-windows-hello",Model:{local:{__isEnrolled__:"boolean"},save:function(){if(a.default.isAvailable())return this.trigger("request"),this.get("__isEnrolled__")?this.activate():this.doTransaction((function(e){return this._enroll(e)}))},_enroll:function(e){return r._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"}).enroll()},activate:function(){return this.set("__isEnrolled__",!0),this.doTransaction((function(e){var t=e.factor.activation,n=e.user,r=this,o={rpDisplayName:t.rpDisplayName,userDisplayName:n.profile.displayName,accountName:n.profile.login,userId:n.id},i=[{algorithm:t.algorithm}],s=t.nonce;return a.default.makeCredential(o,i,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 r.trigger("abort",t.message),e}throw t}))}))}},Form:{autoSave:!0,hasSavingState:!1,title:r._.partial(r.loc,"enroll.windowsHello.title","login"),subtitle:function(){return a.default.isAvailable()?(0,r.loc)("enroll.windowsHello.subtitle","login"):""},save:r._.partial(r.loc,"enroll.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return a.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment"}:{}},noButtonBar:function(){return!a.default.isAvailable()},formChildren:function(){var e=[];return a.default.isAvailable()||e.push(i.default.View({View:new l.default({message:(0,r.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(i.default.View({View:new u.default({model:this.model,visible:!1})})),e},_startEnrollment:function(){this.subtitle=(0,r.loc)("enroll.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){var t;if(this.subtitle=(0,r.loc)("enroll.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),"NotSupportedError"===e)t=(0,r.loc)("enroll.windowsHello.error.notConfiguredHtml","login");if(this._resetErrorMessage(),t){var n=new l.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render(),this.$(".o-form-button-bar").removeClass("hide")},_resetErrorMessage:function(){this._errorMessageView&&this._errorMessageView.remove(),this._errorMessageView=void 0,this.clearErrors()}},Footer:s.default,trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate"))return this.model.activate(),!0}});t.default=d,e.exports=t.default},6595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(2669)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"enroll-yubikey",Model:{props:{passCode:["string",!0],factorId:"string"},save:function(){return this.doTransaction((function(e){return r._.findWhere(e.factors,{factorType:"token:hardware",provider:"YUBICO"}).enroll({passCode:this.get("passCode")})}))}},Form:{title:r._.partial(r.loc,"enroll.yubikey.title","login"),subtitle:r._.partial(r.loc,"enroll.yubikey.subtitle","login"),noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),autoSave:!0,className:"enroll-yubikey",formChildren:[i.default.View({View:'<div class="yubikey-demo" data-type="yubikey-example"></div>'}),i.default.Input({name:"passCode",input:s.default,type:"password"})]},Footer:a.default});t.default=u,e.exports=t.default},9160:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(2646)),a=u(n(6777)),s=u(n(7651)),l=u(n(9201));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=l.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),this.options.appState.get("activatedFactorType"),"manual");this.options.appState.trigger("navigate",e)}}),d={title:o._.partial(o.loc,"enroll.totp.enrollViaEmail.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-email-activation-link"},formChildren:[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaEmail.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:64}}}))+'</p><p class="email-address">'+l("function"==typeof(i=null!=(i=u(n,"email")||(null!=t?u(t,"email"):t))?i:s)?i.call(a,{name:"email",hash:{},data:o,loc:{start:{line:1,column:93},end:{line:1,column:102}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{email:this.options.appState.get("userEmail")}}})})]},f={title:o._.partial(o.loc,"enroll.totp.enrollViaSms.title","login"),noButtonBar:!0,attributes:{"data-se":"sent-sms-activation-link"},formChildren:[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.enrollViaSms.msg"},data:o,loc:{start:{line:1,column:3},end:{line:1,column:62}}}))+'</p><p class="phone-number">'+l("function"==typeof(i=null!=(i=u(n,"phoneNumber")||(null!=t?u(t,"phoneNumber"):t))?i:s)?i.call(a,{name:"phoneNumber",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:105}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{phoneNumber:this.model.get("fullPhoneNumber")}}})})]},p=a.default.extend({className:"enroll-activation-link-sent",Model:function(){return{local:{countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:["string",!1,this.options.appState.get("userPhoneNumber")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:function(){var e=this.options.appState.get("factorActivationType");switch(e){case"SMS":return f;case"EMAIL":return d;default:throw new Error("Unknown activation option: "+e)}},Footer:c,initialize:function(){this.pollForEnrollment()},remove:function(){return a.default.prototype.remove.apply(this,arguments)},pollForEnrollment:function(){return this.model.doTransaction((function(e){return e.poll(6e3)}))},trapAuthResponse:function(){if(this.options.appState.get("isWaitingForActivation"))return this.pollForEnrollment(),!0}});t.default=p,e.exports=t.default},7820:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(6777)),a=l(n(9201)),s=l(n(1920));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"oform.back"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:99}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()}},back:function(){var e=a.default.createActivateFactorUrl(this.options.appState.get("activatedFactorProvider"),"push","manual");this.options.appState.trigger("navigate",e)}}),c=i.default.extend({className:"activate-push",Model:function(){return{props:{factorId:["string",!0,this.options.appState.get("activatedFactorId")],passCode:["string",!0]},local:{__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},save:function(){return this.doTransaction((function(e){return e.activate({passCode:this.get("passCode")})}))}}},Form:s.default,Footer:u});t.default=c,e.exports=t.default},8625:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6777)),o=i(n(9607));function i(e){return e&&e.__esModule?e:{default:e}}var a=r.default.extend({className:"error-state",Model:{},Form:{noButtonBar:!0},Footer:o.default});t.default=a,e.exports=t.default},8246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(7068)),o=a(n(3123)),i=a(n(7516));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({className:"force-idp-discovery",View:r.default,Model:{},initialize:function(){var e=this,t=this.options,n=t.appState.get("lastAuthResponse"),r={resource:"okta:acct:",requestContext:n&&(null==n?void 0:n.stateToken)};t.appState.settings.getAuthClient().webfinger(r).then((function(n){if(null!=n&&n.links&&n.links[0]&&("OKTA"!==n.links[0].properties["okta:idp:type"]&&n.links[0].href))return void(n.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?i.default.redirectWithFormGet.bind(i.default):e.settings.get("redirectUtilFn"))(n.links[0].href);t.appState.trigger("navigate","")})).catch((function(){t.appState.trigger("navigate","")}))}});t.default=s,e.exports=t.default},6850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(5115)),a=f(n(6777)),s=f(n(7651)),l=f(n(7516)),u=f(n(3486)),c=f(n(3891)),d=f(n(4049));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:173}}}))+"</p></div>"},useData:!0})}),h=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:94},end:{line:1,column:131}}}))+"</a>"},3:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:220},end:{line:1,column:270}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"unless").call(a,null!=t?s(t,"hideBackToSignInForReset"):t,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:146}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:146},end:{line:1,column:281}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return{hideBackToSignInForReset:this.settings.get("features.hideBackToSignInForReset"),helpSupportNumber:this.settings.get("helpSupportNumber")}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=a.default.extend({className:"forgot-password",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return u.default.validateUsername(this)},save:function(){var e=this,t=this.settings.get("relayState");this.startTransaction((function(n){return n.forgotPassword({username:e.settings.transformUsername(e.get("username"),i.default.FORGOT_PASSWORD),factorType:e.get("factorType"),relayState:t})})).catch((function(){}))}},Form:{noButtonBar:!0,title:o._.partial(o.loc,"password.reset","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),a=[];return!(e||t||n)?this.add(p,".o-form-error-container"):(a.push(s.default.Input({label:(0,o.loc)("password.forgot.email.or.username.placeholder","login"),"label-top":!0,explain:l.default.createInputExplain("password.forgot.email.or.username.tooltip","password.forgot.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:d.default,inputId:"account-recovery-username",autoComplete:"username",type:"text",inlineValidation:!1})),(e||t)&&a.push(s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){return{mobileFactors:e&&t?(0,o.loc)("recovery.smsOrCall"):t?(0,o.loc)("recovery.call"):(0,o.loc)("recovery.sms")}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),a.push(this.createRecoveryFactorButton("sms-button","password.forgot.sendText",i.default.RECOVERY_FACTOR_TYPE_SMS,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),a.push(this.createRecoveryFactorButton("call-button","password.forgot.call",i.default.RECOVERY_FACTOR_TYPE_CALL,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),a.push(this.createRecoveryFactorButton("email-button","password.forgot.sendEmail",i.default.RECOVERY_FACTOR_TYPE_EMAIL,this)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_EMAIL))),a},initialize:function(){this.listenTo(this.state,"contactSupport",(function(){this.add(c.default,".o-form-error-container")})),this.listenTo(this,"save",(function(){this.options.appState.set("username",this.model.get("username")),this.model.save()}))},setDefaultFactorType:function(e){o._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return s.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,o.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h,initialize:function(){this.options.appState.unset("username")}});t.default=m,e.exports=t.default},990:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(8349)),o=f(n(3597)),i=f(n(7804)),a=f(n(3123)),s=f(n(7491)),l=f(n(3329)),u=f(n(6568)),c=f(n(9201)),d=f(n(7516));function f(e){return e&&e.__esModule?e:{default:e}}var p=r.default.extend({className:"idp-discovery",View:s.default,constructor:function(e){e.appState.unset("username");var t=e.settings.get("idpDiscovery.requestContext"),n=e.appState.get("lastAuthResponse"),r=n&&(null==n?void 0:n.stateToken);d.default.isV1StateToken(t)&&(t=r),this.model=new o.default({requestContext:t,settings:e.settings,appState:e.appState},{parse:!0}),a.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(l.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.setUsername()},initialize:function(){r.default.prototype.initialize.apply(this),this.listenTo(this.model,"goToPrimaryAuth",(function(){this.settings.set("username",this.model.get("username"));var e=this;this.settings.get("features.deviceFingerprinting")?u.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then((function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))})).catch((function(){e.options.appState.set("username",e.model.get("username"))})).finally((function(){e.doPrimaryAuth()})):e.doPrimaryAuth()}))},doPrimaryAuth:function(){if(this.settings.get("features.passwordlessAuth")){var e=new i.default({username:this.model.get("username"),multiOptionalFactorEnroll:this.options.settings.get("features.multiOptionalFactorEnroll"),settings:this.options.settings,appState:this.options.appState},{parse:!0});this.listenTo(e,"error",(function(e,t){this.toggleButtonState(!1),this.model.trigger("error",this.model,t)})),this.addModelListeners(e),e.save()}else{this.options.appState.set("disableUsername",!0);var t=c.default.createSigninUrl(this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.model.get("username"));this.options.appState.trigger("navigate",t)}}});t.default=p,e.exports=t.default},8343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(2646)),a=f(n(9057)),s=f(n(6777)),l=f(n(7651)),u=f(n(9201)),c=f(n(2329)),d=f(n(5157));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="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},p(e)}function h(e,t){var n=u.default.createActivateFactorUrl(e.options.appState.get("activatedFactorProvider"),e.options.appState.get("activatedFactorType"),t);e.options.appState.trigger("navigate",n)}function m(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 g(e,t){return e.model.doTransaction((function(n){return n.prev().then((function(e){return o._.findWhere(e.factors,{factorType:t,provider:"OKTA"}).enroll()})).then((function(t){var n,r,i,a=t.data;if(a&&a._embedded&&a._embedded.factor&&a._embedded.factor._embedded&&a._embedded.factor._embedded.activation){var s=a._embedded.factor;if(i=s._embedded.activation.sharedSecret,s._embedded.activation._links&&s._embedded.activation._links.send){var l=s._embedded.activation._links.send,u=o._.findWhere(l,{name:"sms"});n=u?u.href:null;var c=o._.findWhere(l,{name:"email"});r=c?c.href:null}}return e.model.set({SMS:n,EMAIL:r,sharedSecret:i}),t}))}))}var v=s.default.extend({className:"enroll-manual-push",Model:function(){return{local:{activationType:["string",!0,this.options.appState.get("factorActivationType")||"SMS"],countryCode:["string",!1,this.options.appState.get("userCountryCode")],phoneNumber:"string",SMS:["string",!1,this.options.appState.get("textActivationLinkUrl")],EMAIL:["string",!1,this.options.appState.get("emailActivationLinkUrl")],sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]},derived:{countryCallingCode:{deps:["countryCode"],fn:function(e){return"+"+i.default.getCallingCodeForCountry(e)}},fullPhoneNumber:{deps:["countryCallingCode","phoneNumber"],fn:function(e,t){return e+t}}}}},Form:{title:function(){var e=a.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},subtitle:o._.partial(o.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this,t=this.settings.get("brandName")?(0,o.loc)("enroll.totp.sharedSecretInstructions.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.totp.sharedSecretInstructions.generic","login");return[l.default.Input({name:"activationType",label:(0,o.loc)("mfa.setupOptions","login"),type:"select",wide:!0,options:{SMS:(0,o.loc)("enroll.totp.sendSms","login"),EMAIL:(0,o.loc)("enroll.totp.sendEmail","login"),MANUAL:(0,o.loc)("enroll.totp.setupManually","login")}}),l.default.Input({label:(0,o.loc)("mfa.country","login"),name:"countryCode",type:"select",wide:!0,options:i.default.getCountries(),showWhen:{activationType:"SMS"}}),l.default.Input({label:(0,o.loc)("mfa.phoneNumber.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"phoneNumber",input:d.default,type:"text",showWhen:{activationType:"SMS"}}),l.default.View({View:o.View.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+u(p(i=null!=(i=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?i:s)===l?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+u((c(n,"i18n")||t&&c(t,"i18n")||s).call(a,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:o,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+u(p(i=null!=(i=c(n,"sharedSecretKey")||(null!=t?c(t,"sharedSecretKey"):t))?i:s)===l?i.call(a,{name:"sharedSecretKey",hash:{},data:o,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):i)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:t,sharedSecretKey:this.model.get("sharedSecret")}}}),showWhen:{activationType:"MANUAL"}}),l.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div data-type="next-button-wrap"></div>'},useData:!0})}),showWhen:{activationType:"MANUAL"}}),l.default.Button({title:(0,o.loc)("oform.next","login"),className:"button button-primary button-wide button-next",attributes:{"data-se":"next-button"},click:function(){m(e),h(e,"passcode")}},'[data-type="next-button-wrap"]'),l.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("oform.send","login"),showWhen:{activationType:function(e){return"SMS"===e||"EMAIL"===e}}})]}},Footer:c.default,initialize:function(){this.setInitialModel(),this.listenTo(this.form,"save",(function(){var e=this;this.model.doTransaction((function(t){var n=this.get("activationType").toLowerCase(),r={};return"sms"===n&&(r.profile={phoneNumber:this.get("fullPhoneNumber")}),t.factor.activation.send(n,r).then((function(t){return m(e),o._.defer((function(){h(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")?g(this,"token:software:totp"):"push"!==this.options.appState.get("activatedFactorType")&&g(this,"push")}))},setInitialModel:function(){"SMS"===this.options.appState.get("factorActivationType")&&this.model.set({countryCode:this.options.appState.get("userCountryCode")||"US",phoneNumber:this.options.appState.get("userPhoneNumber")})},trapAuthResponse:function(){if(this.options.appState.get("isMfaEnrollActivate")||this.options.appState.get("isMfaEnroll"))return!0}});t.default=v,e.exports=t.default},2410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(9057)),a=c(n(6777)),s=c(n(7651)),l=c(n(9201)),u=c(n(1652));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}var f=a.default.extend({className:"enroll-manual-totp",Model:function(){return{local:{sharedSecret:["string",!1,this.options.appState.get("sharedSecret")],__factorType__:["string",!1,this.options.factorType],__provider__:["string",!1,this.options.provider]}}},Form:{title:function(){var e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,o.loc)("enroll.totp.title","login",[e])},subtitle:o._.partial(o.loc,"enroll.totp.cannotScanBarcode","login"),noButtonBar:!0,attributes:{"data-se":"step-manual-setup"},formChildren:function(){var e=this.settings.get("brandName")?(0,o.loc)("enroll.totp.manualSetupInstructions.specific","login",[this.settings.get("brandName")]):(0,o.loc)("enroll.totp.manualSetupInstructions.generic","login");return[s.default.View({View:o.View.extend({className:"secret-key-instructions",attributes:{"data-se":"secret-key-instructions"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<section aria-live="assertive"><p class="okta-form-subtitle o-form-explain text-align-c">'+u(d(i=null!=(i=c(n,"instructions")||(null!=t?c(t,"instructions"):t))?i:s)===l?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p><p class="shared-key margin-top-10" tabindex=0 aria-label="'+u((c(n,"i18n")||t&&c(t,"i18n")||s).call(a,{name:"i18n",hash:{arguments:"sharedSecretKey",bundle:"login",code:"enroll.totp.sharedSecretInstructions.aria.secretKey"},data:o,loc:{start:{line:1,column:168},end:{line:1,column:278}}}))+'">'+u(d(i=null!=(i=c(n,"sharedSecretKey")||(null!=t?c(t,"sharedSecretKey"):t))?i:s)===l?i.call(a,{name:"sharedSecretKey",hash:{},data:o,loc:{start:{line:1,column:280},end:{line:1,column:299}}}):i)+"</p></section>"},useData:!0}),initialize:function(){this.listenTo(this.model,"change:sharedSecret",this.render)},getTemplateData:function(){return{instructions:e,sharedSecretKey:this.model.get("sharedSecret")}}})}),s.default.Toolbar({noCancelButton:!0,save:(0,o.loc)("oform.next","login")})]}},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e=l.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"activate");this.options.appState.trigger("navigate",e)}))}});t.default=f,e.exports=t.default},5875:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=m(n(3123)),i=m(n(3776)),a=m(n(2521)),s=m(n(4376)),l=m(n(4729)),u=m(n(3190)),c=m(n(8873)),d=m(n(2991)),f=m(n(6101)),p=m(n(5293)),h=m(n(100));function m(e){return e&&e.__esModule?e:{default:e}}var g=r.internal.views.forms.inputs.CheckBox,v=o.default.extend({className:"mfa-verify",initialize:function(e){var t,n=e.factorType;switch(n){case"question":t=c.default;break;case"email":t=this.options.appState.get("isIdxStateToken")?i.default:d.default;break;case"sms":case"call":t=s.default;break;case"token":case"token:software:totp":case"token:hotp":t=f.default;break;case"token:hardware":t=p.default;break;case"push":t=u.default;break;case"password":t=l.default;break;default:throw new Error("Unrecognized factor type")}if(this.model=this.findModel(n,e),!this.model)throw new Error("Unrecognized factor/provider");this.addListeners(),this.add(new t(this.toJSON())),"push"===n&&this.model.get("isOktaFactor")&&(this.model.get("backupFactor")&&(this.inlineTotpForm=this.add(a.default,{options:{model:this.model.get("backupFactor")}}).last()),this.settings.get("features.autoPush")&&(this.autoPushCheckBox=this.add(g,{options:{model:this.model,name:"autoPush",placeholder:(0,r.loc)("autoPush","login"),label:!1,"label-top":!1,className:"margin-btm-0"}}).last()),this.options.appState.get("allowRememberDevice")&&(this.rememberDeviceCheckbox=this.add(g,{options:{model:this.model,name:"rememberDevice",placeholder:this.options.appState.get("rememberDeviceLabel"),label:!1,"label-top":!0,className:"margin-btm-0"}}).last()),this.model.get("backupFactor")&&this.listenTo(this.model,"change:rememberDevice",(function(e,t){e.get("backupFactor").set("rememberDevice",t)}))),this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",(function(e,t){t||"SUCCESS"===this.options.appState.get("lastAuthResponse").status?(this.autoPushCheckBox&&this.autoPushCheckBox.$el.hide(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.hide(),this.inlineTotpForm&&this.inlineTotpForm.$el.hide()):(this.autoPushCheckBox&&this.autoPushCheckBox.$el.show(),this.rememberDeviceCheckbox&&this.rememberDeviceCheckbox.$el.show(),this.inlineTotpForm&&this.inlineTotpForm.$el.show())})),this.add(new h.default(this.toJSON()))},findModel:function(e,t){var n=t.appState.get("factors"),r=t.provider,o=t.factorIndex;return r?n.hasMultipleFactorsOfSameType(e)&&o?n.getFactorByTypeAndIndex(e,o):n.findWhere({provider:r,factorType:e}):n.findWhere({factorType:e,isFactorTypeVerification:!0})},trapAuthResponse:function(){return!!(this.options.appState.get("isMfaRequired")&&this.options.appState.get("trapMfaRequiredResponse")||this.options.appState.get("isMfaChallenge"))&&(this.options.appState.set("trapMfaRequiredResponse",!1),!0)},back:function(){}});t.default=v,e.exports=t.default},620:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=f(n(9057)),i=f(n(6777)),a=f(n(7651)),s=f(n(7516)),l=f(n(3486)),u=f(n(1952)),c=f(n(8592)),d=f(n(4049));function f(e){return e&&e.__esModule?e:{default:e}}var p=i.default.extend({className:"password-expired",Model:{props:{oldPassword:["string",!0],newPassword:["string",!0],confirmPassword:["string",!0]},validate:function(){return l.default.validatePasswordMatch(this)},save:function(){return this.trigger("save"),this.doTransaction((function(e){return e.changePassword({oldPassword:this.get("oldPassword"),newPassword:this.get("newPassword")})}))}},Form:{save:r._.partial(r.loc,"password.expired.submit","login"),title:function(){var e=this.options.appState.get("isPwdExpiringSoon"),t=this.options.appState.get("passwordExpireDays");return e&&t>0?(0,r.loc)("password.expiring.title","login",[t]):e&&0===t?(0,r.loc)("password.expiring.today","login"):e?(0,r.loc)("password.expiring.soon","login"):this.settings.get("brandName")?(0,r.loc)("password.expired.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expired.title.generic","login")},subtitle:function(){if(this.options.appState.get("isPwdExpiringSoon"))return this.settings.get("brandName")?(0,r.loc)("password.expiring.subtitle.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.expiring.subtitle.generic","login");var e=this.options.appState.get("policy");return e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList")?o.default.getPasswordComplexityDescription(e):void 0},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=o.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(a.default.View({View:new c.default({policy:this.options.appState.get("policy")})})),e=e.concat([a.default.Input({"label-top":!0,label:(0,r.loc)("password.oldPassword.placeholder","login"),explain:s.default.createInputExplain("password.oldPassword.tooltip","password.oldPassword.placeholder","login"),"explain-top":!0,name:"oldPassword",input:d.default,type:"password"}),a.default.Divider(),a.default.Input({className:"margin-btm-5","label-top":!0,label:(0,r.loc)("password.newPassword.placeholder","login"),explain:s.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:d.default,type:"password"}),a.default.Input({"label-top":!0,label:(0,r.loc)("password.confirmPassword.placeholder","login"),explain:s.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:d.default,type:"password"})])}},Footer:u.default,initialize:function(){this.listenTo(this.form,"save",(function(){var e={username:this.options.appState.get("userEmail"),password:this.model.get("newPassword")};this.settings.processCreds(e).then(r._.bind(this.model.save,this.model))}))}});t.default=p,e.exports=t.default},1160:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=f(n(9057)),i=f(n(6777)),a=f(n(7651)),s=f(n(7516)),l=f(n(3486)),u=f(n(9197)),c=f(n(8592)),d=f(n(4049));function f(e){return e&&e.__esModule?e:{default:e}}var p=r.internal.views.forms.inputs.CheckBox,h=i.default.extend({className:"password-reset",Model:{props:{newPassword:["string",!0],confirmPassword:["string",!0],revokeSessions:["boolean",!1]},validate:function(){return l.default.validatePasswordMatch(this)},save:function(){this.trigger("save");var e=this;return this.doTransaction((function(t){var n={newPassword:e.get("newPassword")};return e.settings.get("features.showSessionRevocation")&&(n.revokeSessions=e.get("revokeSessions")),t.resetPassword(n)}))}},Form:{save:r._.partial(r.loc,"password.reset","login"),title:function(){return this.settings.get("brandName")?(0,r.loc)("password.reset.title.specific","login",[this.settings.get("brandName")]):(0,r.loc)("password.reset.title.generic","login")},subtitle:function(){var e=this.options.appState.get("policy");if(e&&!this.settings.get("features.showPasswordRequirementsAsHtmlList"))return o.default.getPasswordComplexityDescription(e)},parseErrorMessage:function(e){var t=this.options.appState.get("policy");return t&&this.settings.get("features.showPasswordRequirementsAsHtmlList")&&(e=o.default.removeRequirementsFromError(e,t)),e},formChildren:function(){var e=[];return this.settings.get("features.showPasswordRequirementsAsHtmlList")&&e.push(a.default.View({View:new c.default({policy:this.options.appState.get("policy")})})),e=e.concat([a.default.Input({className:"margin-btm-5",label:(0,r.loc)("password.newPassword.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("password.newPassword.tooltip","password.newPassword.placeholder","login"),"explain-top":!0,name:"newPassword",input:d.default,type:"password",autoComplete:"new-password"}),a.default.Input({label:(0,r.loc)("password.confirmPassword.placeholder","login"),"label-top":!0,explain:s.default.createInputExplain("password.confirmPassword.tooltip","password.confirmPassword.placeholder","login"),"explain-top":!0,name:"confirmPassword",input:d.default,type:"password",autoComplete:"new-password"})]),this.settings.get("features.showSessionRevocation")&&(e=e.concat([a.default.Input({placeholder:(0,r.loc)("password.reset.revokeSessions","login"),name:"revokeSessions",input:p,type:"checkbox"})])),e}},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(r._.bind(this.model.save,this.model))})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(u.default)}});t.default=h,e.exports=t.default},8976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(6777)),i=a(n(7651));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.default.extend({className:"poll",Model:{save:function(){var e=this;return this.trigger("cancelRequest"),this.appState.get("transaction").cancel().then((function(){e.options.appState.trigger("navigate","")})).catch((function(){e._stopCountDown()}))}},Form:{autoSave:!0,hasSavingState:!1,title:function(){return this.title},className:"poll-controller",noCancelButton:!0,save:(0,r.loc)("oform.cancel","login"),modelEvents:{cancelRequest:"_stopCountDown"},formChildren:[i.default.View({View:'<div > <div data-se="poll-waiting" class="hide okta-waiting-spinner"></div> </div>'})],_checkStatus:function(){var e=this;this.transactionObject.poll().then((function(t){if(t.data&&"POLL"!==t.status)e.options.appState.set("transaction",t);else{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(e){this.title=(0,r.loc)("polling.title","login",[e]),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()}});t.default=s,e.exports=t.default},8349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=f(n(7804)),i=f(n(3123)),a=f(n(6568)),s=f(n(3329)),l=f(n(9862)),u=f(n(2881)),c=f(n(7501)),d=f(n(7562));function f(e){return e&&e.__esModule?e:{default:e}}var p=i.default.extend({className:"primary-auth",state:{enabled:!0},View:l.default,constructor:function(e){e.appState.unset("username"),this.model=new o.default({multiOptionalFactorEnroll:e.settings.get("features.multiOptionalFactorEnroll"),settings:e.settings,appState:e.appState},{parse:!0}),i.default.apply(this,arguments),this.addListeners(),e.settings.get("hasConfiguredButtons")&&this.add(s.default,{prepend:e.settings.get("socialAuthPositionTop"),options:{currentController:this}}),this.addFooter(e),this.options.appState.get("disableUsername")&&this.addFooterWithBackLink(this.options),this.setUsername()},addFooter:function(e){this.add(new u.default(this.toJSON({appState:e.appState}))),(e.settings.get("features.registration")||e.appState.get("isIdxStateToken"))&&this.add(new c.default({settings:this.settings,appState:e.appState}))},addFooterWithBackLink:function(e){this.$el.find(".footer-back-link").length||this.add(new d.default(this.toJSON({appState:e.appState,className:"auth-footer footer-back-link"})))},setUsername:function(){var e=this.model.get("username");e&&this.options.appState.set("username",e)},setUsernameFromIdpDiscovery:function(){var e=this.options.username;e&&(this.model.set("username",e),this.options.appState.set("disableUsername",!0))},events:{"focusout input[name=username]":function(){if(this.shouldComputeDeviceFingerprint()&&this.model.get("username")){var e=this;this.options.appState.trigger("loading",!0),a.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el).then((function(t){e.options.appState.set("deviceFingerprint",t),e.options.appState.set("username",e.model.get("username"))})).catch((function(){e.options.appState.set("username",e.model.get("username"))})).finally((function(){e.options.appState.trigger("loading",!1)}))}else this.options.appState.set("username",this.model.get("username"))},"focusin input":function(e){(0,r.$)(e.target.parentElement).addClass("focused-input")},"focusout input":function(e){(0,r.$)(e.target.parentElement).removeClass("focused-input")}},initialize:function(){this.options.appState.unset("deviceFingerprint"),this.settings.get("features.prefillUsernameFromIdpDiscovery")&&this.setUsernameFromIdpDiscovery(),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.options.appState.get("disableUsername")&&(this.state.set("disableUsername",!0),this.addFooterWithBackLink(this.options))})),this.listenTo(this.state,"togglePrimaryAuthButton",(function(e){this.toggleButtonState(e)}))},shouldComputeDeviceFingerprint:function(){return this.settings.get("features.securityImage")&&this.settings.get("features.deviceFingerprinting")&&this.settings.get("features.useDeviceFingerprintForSecurityImage")}});t.default=p,e.exports=t.default},2284:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(5115)),a=l(n(6777)),s=l(n(7651));function l(e){return e&&e.__esModule?e:{default:e}}var u=a.default.extend({className:"password-reset-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:o._.partial(o.loc,"password.forgot.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,o.loc)("password.forgot.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"pwd-reset-email-sent"},formChildren:function(){var e=[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="accessibility-text" role="status">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"alert")||(null!=t?a(t,"alert"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"alert",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:56}}}):i)+"</span>"},useData:!0}),getTemplateData:function(){return{alert:(0,o.loc)("password.forgot.emailSent.title","login")}}})})];return this.settings.get("features.hideBackToSignInForReset")||e.push(s.default.Button({title:(0,o.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",i.default.DIRECTION_BACK),e.options.appState.trigger("navigate","")}))}})),e}},initialize:function(e){this.settings.callGlobalSuccess(i.default.FORGOT_PASSWORD_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=u,e.exports=t.default},7910:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=c(n(6276)),o=n(2048),i=c(n(5115)),a=c(n(6777)),s=c(n(7651)),l=c(n(9197)),u=c(n(4049));function c(e){return e&&e.__esModule?e:{default:e}}var d=a.default.extend({className:"recovery-challenge",Model:{props:{passCode:["string",!0]},local:{ableToResend:"boolean"},resendCode:function(){return this.limitResending(),this.doTransaction((function(e){return e.resend()}))},limitResending:function(){this.set({ableToResend:!1}),o._.delay(o._.bind(this.set,this),i.default.API_RATE_LIMIT,{ableToResend:!0})},save:function(){return this.doTransaction((function(e){return e.verify({passCode:this.get("passCode")})}))}},Form:{autoSave:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),title:function(){return this.options.appState.get("factorType")===i.default.RECOVERY_FACTOR_TYPE_CALL?(0,o.loc)("recoveryChallenge.call.title","login"):(0,o.loc)("recoveryChallenge.sms.title","login")},className:"recovery-challenge",initialize:function(){this.listenTo(this.model,"error",(function(){this.clearErrors()}))},formChildren:function(){return[s.default.Button({title:(0,o.loc)("mfa.resendCode","login"),attributes:{"data-se":"resend-button"},className:"button sms-request-button margin-top-30",click:function(){this.model.resendCode()},initialize:function(){this.listenTo(this.model,"change:ableToResend",(function(e,t){t?(this.options.title=(0,o.loc)("mfa.resendCode","login"),this.enable(),this.render()):(this.options.title=(0,o.loc)("mfa.sent","login"),this.disable(),this.render())}))}}),s.default.Input({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"enroll-sms-phone",name:"passCode",input:u.default,type:"text"})]}},events:{"click .send-email-link":function(e){e.preventDefault();var t=this.model.settings,n=this.options.appState.get("username"),r=this.options.appState.get("recoveryType");this.model.startTransaction((function(e){switch(r){case i.default.RECOVERY_TYPE_PASSWORD:return e.forgotPassword({username:t.transformUsername(n,i.default.FORGOT_PASSWORD),factorType:i.default.RECOVERY_FACTOR_TYPE_EMAIL});case i.default.RECOVERY_TYPE_UNLOCK:return e.unlockAccount({username:t.transformUsername(n,i.default.UNLOCK_ACCOUNT),factorType:i.default.RECOVERY_FACTOR_TYPE_EMAIL});default:return}})).catch((function(){}))}},initialize:function(){var e;switch(this.options.appState.get("recoveryType")){case i.default.RECOVERY_TYPE_PASSWORD:e=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.forgot.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:63}}}))},useData:!0});break;case i.default.RECOVERY_TYPE_UNLOCK:e=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.code.notReceived"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:62}}}))},useData:!0})}e&&this.settings.get("features.emailRecovery")&&this.add(o.View.extend({className:"link send-email-link",tagName:"a",attributes:{href:"#","data-se":"send-email-link"},template:e})),this.settings.get("features.hideBackToSignInForReset")||this.addFooter(l.default)},postRender:function(){this.model.limitResending()}});t.default=d,e.exports=t.default},7877:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(6777))&&r.__esModule?r:{default:r}).default.extend({className:"recovery-loading",Model:{},Form:{noButtonBar:!0},initialize:function(e){var t=this;return this.model.startTransaction((function(t){return t.verifyRecoveryToken({recoveryToken:e.token})})).catch((function(){t.options.appState.trigger("loading",!1),t.options.appState.trigger("removeLoading")}))},preRender:function(){this.options.appState.trigger("loading",!0)},trapAuthResponse:function(){return this.options.appState.trigger("loading",!1),!1}});t.default=o,e.exports=t.default},410:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(6777)),i=l(n(7651)),a=l(n(9197)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({className:"recovery-question",Model:{props:{answer:["string",!0],showAnswer:"boolean"},save:function(){return this.doTransaction((function(e){return e.answer({answer:this.get("answer")})}))}},Form:{autoSave:!0,save:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,r.loc)("password.forgot.question.submit","login");case"UNLOCK":return(0,r.loc)("account.unlock.question.submit","login");default:return(0,r.loc)("mfa.challenge.verify","login")}},title:function(){switch(this.options.appState.get("recoveryType")){case"PASSWORD":return(0,r.loc)("password.forgot.question.title","login");case"UNLOCK":return(0,r.loc)("account.unlock.question.title","login");default:return""}},formChildren:function(){return[i.default.Input({label:this.options.appState.get("recoveryQuestion"),placeholder:(0,r.loc)("mfa.challenge.answer.placeholder","login"),name:"answer",input:s.default,type:"password",initialize:function(){this.listenTo(this.model,"change:showAnswer",(function(){var e=this.model.get("showAnswer")?"text":"password";this.getInputs()[0].changeType(e)}))}}),i.default.Input({label:!1,"label-top":!0,placeholder:(0,r.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(a.default)}});t.default=u,e.exports=t.default},6829:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6777))&&r.__esModule?r:{default:r};var i=o.default.extend({className:"refresh-auth-state",Model:{},Form:{noButtonBar:!0},preRender:function(){var e=this.options.appState,t=this.options.token;this.model.startTransaction((function(n){return e.trigger("loading",!0),t?n.tx.introspect({stateToken:t}):n.tx.exists()?n.tx.resume():void e.trigger("navigate","")}))},remove:function(){return this.options.appState.trigger("loading",!1),o.default.prototype.remove.apply(this,arguments)}});t.default=i,e.exports=t.default},2012:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(5115)),a=l(n(6777)),s=l(n(7651));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="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},u(e)}var c=a.default.extend({events:{"click .back-btn":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")},className:"registration-complete",Model:function(){},initialize:function(){this.settings.callGlobalSuccess(i.default.ACTIVATION_EMAIL_SENT,{username:this.options.appState.get("username")})},Form:{noButtonBar:!0,formChildren:function(){return[s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",c=e.escapeExpression,d=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">'+c(u(i=null!=(i=d(n,"title")||(null!=t?d(t,"title"):t))?i:s)===l?i.call(a,{name:"title",hash:{},data:o,loc:{start:{line:1,column:103},end:{line:1,column:112}}}):i)+'</h2><div class="desc">'+c(u(i=null!=(i=d(n,"desc")||(null!=t?d(t,"desc"):t))?i:s)===l?i.call(a,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i)+'</div></div><a href="#" class="back-btn" data-se="back-link">'+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:204},end:{line:1,column:241}}}))+"</a>"},useData:!0}),getTemplateData:function(){return{desc:(0,o.loc)("registration.complete.confirm.text","login"),title:(0,o.loc)("registration.complete.title","login")}}})})]}}});t.default=c,e.exports=t.default},8315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=h(n(6276)),o=n(2048),i=h(n(5112)),a=h(n(8749)),s=h(n(8177)),l=h(n(3123)),u=h(n(5115)),c=n(2183),d=h(n(2937)),f=h(n(7516)),p=h(n(9260));function h(e){return e&&e.__esModule?e:{default:e}}var m=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",u.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),g=l.default.extend({className:"registration",initialize:function(){var e=new(a.default.extend({settings:this.options.settings,url:this.options.settings.get("baseUrl")+"/api/v1/registration/form"}));this.state.set("schema",e)},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(u.default.REGISTRATION_COMPLETE,{activationToken:this.model.get("activationToken")}),new i.default({settings:e.model.appState.settings}).loginWithActivationToken(this.model.get("activationToken")).then((function(t){e.model.trigger("setTransaction",t)}))}else this.model.appState.set("username",this.model.get("email")),this.model.appState.trigger("navigate","signin/register-complete")},registerUser:function(e){var t=this,n=this;Object.keys(e).forEach((function(t){return(o._.isNull(e[t])||o._.isUndefined(e[t])||""===e[t])&&delete e[t]})),this.model.attributes=e,o.Backbone.Model.prototype.save.call(this.model).then((function(){n.model.trigger("startSaving");var e=n.model.get("activationToken"),t=e||n.model.get("email");n.settings.postRegistrationSubmit(t,(function(){n.doPostSubmit()}),(function(e){n.showErrors(e)}))})).fail((function(e){var n=e.responseJSON;if(n&&n.errorCauses.length){var r=n.errorCode,o=n.errorCauses[0],i=o.errorSummary,a=o.reason,s=o.location;"E0000001"===r&&"UNIQUE_CONSTRAINT"===a&&t.renderIsNotUniqueError(n),t.renderLegacyLocationErrorIfNeeded(s,i),f.default.triggerAfterError(t,new c.RegistrationError(i))}}))},renderIsNotUniqueError:function(e){var t=e.errorCauses[0].location,n=(0,o.loc)("registration.error.userName.notUniqueWithinOrg","login",[t]);this.$el.find(".okta-form-infobox-error p").text(n)},renderLegacyLocationErrorIfNeeded:function(e,t){e&&/^data\.userProfile.*/.test(e)&&this.$el.find(".okta-form-infobox-error p").text(t)},createRegistrationModel:function(e){var t=this,n=o.Model.extend({url:t.getRegistrationApiUrl()+"/register",settings:this.settings,appState:this.options.appState,props:e,local:{activationToken:"string"},toJSON:function(){var e=o.Model.prototype.toJSON.apply(this,arguments);return{userProfile:e,relayState:this.settings.get("relayState")}},parse:function(e){return this.set("activationToken",e.activationToken),delete e.activationToken,e},save:function(){this.settings.preRegistrationSubmit(this.attributes,(function(e){t.registerUser(e)}),(function(e){t.showErrors(e)}))}});return new n},showErrors:function(e,t){"parseRegistrationSchema"===e.callback&&e.errorCauses&&(e.errorSummary=o._.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;f.default.triggerAfterError(this,new c.RegistrationError(n)),t&&this.$el.find(".button-primary").hide()},fetchInitialData:function(){var e=this;return e.state.get("schema").on("parseComplete",(function(t){var n=t.properties.createModelProperties();e.settings.set("defaultPolicyId",t.properties.defaultPolicyId),e.model=e.createRegistrationModel(n);var i=new(o.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:(0,o.loc)("registration.form.title","login"),save:(0,o.loc)("registration.form.submit","login"),modelEvents:{invalid:"modifyErrors"},hasSavingState:!0,customSavingState:{start:"startSaving",stop:"stopSaving"},modifyErrors:function(e,t){for(var n in t)"model.validation.field.string.minLength"===t[n]?t[n]=(0,o.loc)("registration.model.validation.field.string.too.short","login",[e.props[n].minLength]):"model.validation.field.string.maxLength"===t[n]&&(t[n]=(0,o.loc)("registration.model.validation.field.string.too.long","login",[e.props[n].maxLength+1]))}}))(e.toJSON());if(e.add(i),e.footer=new e.Footer(e.toJSON()),e.add(e.footer),e.addListeners(),t.error)e.showErrors(t.error,!0);else{t.properties.each((function(e){var t=d.default.createInputOptions(e),n=e.get("subSchemas"),r=e.get("name");i.addInput(t),"password"===r&&n&&i.add(p.default.extend({id:"subschemas-"+r,subSchemas:n}))}));var a=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i)+"</span>"},useData:!0})({label:(0,o.loc)("registration.required.fields.label","login")});i.add(a)}})),(0,s.default)(this.state.get("schema").fetch())},Footer:m});t.default=g,e.exports=t.default},4562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=f(n(6276)),o=n(2048),i=f(n(5115)),a=f(n(6777)),s=f(n(7651)),l=f(n(7516)),u=f(n(3486)),c=f(n(3891)),d=f(n(4049));function f(e){return e&&e.__esModule?e:{default:e}}var p=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-form-infobox-error infobox infobox-error" role="alert"><span class="icon error-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"account.unlock.noFactorsEnabled"},data:o,loc:{start:{line:1,column:110},end:{line:1,column:172}}}))+"</p></div>"},useData:!0})}),h=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-contact-support">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.noAccessToEmail"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:223}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:95}}}))+"</a>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"helpSupportNumber"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:99},end:{line:1,column:234}}}))?i:"")},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-contact-support":function(e){e.preventDefault(),this.state.trigger("contactSupport"),this.$(".js-contact-support").hide()}},getTemplateData:function(){return this.settings.pick("helpSupportNumber")},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}}),m=a.default.extend({className:"account-unlock",Model:{props:{username:["string",!0],factorType:["string",!0]},validate:function(){return u.default.validateUsername(this)},save:function(){var e=this;return this.startTransaction((function(t){return t.unlockAccount({username:e.settings.transformUsername(e.get("username"),i.default.UNLOCK_ACCOUNT),factorType:e.get("factorType")})})).catch((function(){}))}},Form:{noButtonBar:!0,title:o._.partial(o.loc,"account.unlock.title","login"),formChildren:function(){var e=this.settings.get("features.smsRecovery"),t=this.settings.get("features.callRecovery"),n=this.settings.get("features.emailRecovery"),a=[],u=this;return!(e||t||n)?this.add(p,".o-form-error-container"):(a.push(s.default.Input({label:(0,o.loc)("account.unlock.email.or.username.placeholder","login"),"label-top":!0,explain:l.default.createInputExplain("account.unlock.email.or.username.tooltip","account.unlock.email.or.username.placeholder","login"),"explain-top":!0,name:"username",input:d.default,inputId:"account-recovery-username",type:"text",inlineValidation:!1})),(e||t)&&a.push(s.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="mobile-recovery-hint">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"mobileFactors",bundle:"login",code:"recovery.mobile.hint"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:109}}}))+"</p>"},useData:!0}),getTemplateData:function(){return{mobileFactors:e&&t?(0,o.loc)("recovery.smsOrCall"):t?(0,o.loc)("recovery.call"):(0,o.loc)("recovery.sms")}}})})),e&&(this.$el.addClass("forgot-password-sms-enabled"),a.push(this.createRecoveryFactorButton("sms-button","account.unlock.sendText",i.default.RECOVERY_FACTOR_TYPE_SMS,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_SMS)),t&&(this.$el.addClass("forgot-password-call-enabled"),a.push(this.createRecoveryFactorButton("call-button","account.unlock.voiceCall",i.default.RECOVERY_FACTOR_TYPE_CALL,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_CALL)),n&&(this.$el.addClass("forgot-password-email-enabled"),a.push(this.createRecoveryFactorButton("email-button","account.unlock.sendEmail",i.default.RECOVERY_FACTOR_TYPE_EMAIL,u)),this.setDefaultFactorType(i.default.RECOVERY_FACTOR_TYPE_EMAIL))),a},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(c.default,".o-form-error-container")}))},setDefaultFactorType:function(e){o._.isEmpty(this.model.get("factorType"))&&this.model.set("factorType",e)},createRecoveryFactorButton:function(e,t,n,r){return s.default.Button({attributes:{"data-se":e},className:"button button-primary button-wide "+e,title:(0,o.loc)(t,"login"),click:function(){r.clearErrors(),this.model.isValid()&&(this.model.set("factorType",n),r.trigger("save",this.model))}})}},Footer:h});t.default=m,e.exports=t.default},6835:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(5115)),i=s(n(6777)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=i.default.extend({className:"account-unlock-email-sent",Model:function(){return{local:{userFullName:["string",!1,this.options.appState.get("userFullName")]}}},Form:{title:r._.partial(r.loc,"account.unlock.emailSent.title","login"),subtitle:function(){var e=this.options.appState.get("username");return(0,r.loc)("account.unlock.emailSent.desc","login",[e])},noButtonBar:!0,attributes:{"data-se":"unlock-email-sent"},formChildren:function(){return[a.default.Button({title:(0,r.loc)("goback","login"),className:"button button-primary button-wide",attributes:{"data-se":"back-button"},click:function(){this.state.set("navigateDir",o.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}})]}},initialize:function(e){this.settings.callGlobalSuccess(o.default.UNLOCK_ACCOUNT_EMAIL_SENT,{username:e.appState.get("username")})}});t.default=l,e.exports=t.default},8263:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(9057)),i=u(n(6777)),a=u(n(7651)),s=u(n(3739)),l=u(n(100));function u(e){return e&&e.__esModule?e:{default:e}}var c=r.internal.util.Util,d=i.default.extend({className:"verify-custom-factor custom-factor-form",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=o.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e),this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.appState.get("lastFailedChallengeFactorData")&&(this.set("provider","CUSTOM"),this.set("factorType","claims_provider"),this.save())},save:function(){var e=this,t=!!this.get("rememberDevice");return this.manageTransaction((function(n,o){var i={rememberDevice:t};return r._.findWhere(n.factors,{provider:e.get("provider"),factorType:e.get("factorType")}).verify(i).then((function(t){o(t);var n=e.appState.get("verifyCustomFactorRedirectUrl");null!==n&&c.redirect(n)})).catch((function(e){throw e}))}))}},Form:function(){var e=this,t=this.options.appState.get("factors").findWhere({provider:this.options.provider,factorType:this.options.factorType}).get("vendorName"),n=(0,r.loc)("mfa.challenge.verify","login"),o=this.options.appState.get("lastFailedChallengeFactorData"),i=(0,r.loc)("verify.customFactor.subtitle","login",[t]);return this.settings.get("features.skipIdpFactorVerificationBtn")&&!o&&(i=(0,r.loc)("verify.customFactor.subtitle.redirect","login",[t]),this.listenTo(this.model,"error",(function(){i=(0,r.loc)("verify.customFactor.subtitle","login",[t]),e.$(".o-form-explain").text(i)}))),{autoSave:!0,title:t,save:n,subtitle: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 this.settings.get("features.skipIdpFactorVerificationBtn")&&!t&&e.push(a.default.View({View:'<div data-se="custom-factor-waiting" class="okta-waiting-spinner"></div>'})),t&&e.push(a.default.View({View:new s.default({message:t.errorMessage})},{selector:".o-form-error-container"})),e}}},postRender:function(){this.settings.get("features.skipIdpFactorVerificationBtn")&&!this.options.appState.get("lastFailedChallengeFactorData")&&(this.$(".o-form-button-bar").hide(),this.$(".okta-waiting-spinner").show())},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},initialize:function(){var e=this;this.model.set("provider",this.options.provider),this.model.set("factorType",this.options.factorType),this.settings.get("features.skipIdpFactorVerificationBtn")&&this.listenTo(this.model,"error",(function(){e.$(".okta-waiting-spinner").hide(),e.$(".o-form-button-bar").show()})),this.addFooter(l.default)}});t.default=d,e.exports=t.default},8187:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(2877)),i=u(n(8177)),a=u(n(9057)),s=u(n(6777)),l=u(n(100));function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.extend({className:"mfa-verify-duo duo-form",Model:{props:{host:"string",signature:"string",postAction:"string",factorId:"string",stateToken:"string",rememberDevice:"boolean"},initialize:function(){var e=a.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},getInitOptions:function(){var e=!!this.get("rememberDevice");return this.doTransaction((function(t){var n={rememberDevice:e};return r._.findWhere(t.factors,{provider:"DUO",factorType:"web"}).verify(n).catch((function(e){throw e}))}),!0)},verify:function(e){var t=this.get("postAction"),n=this.get("factorId"),o=this,a={id:n,stateToken:this.get("stateToken"),sig_response:e},s=this.get("rememberDevice");return(0,i.default)(r.$.post(t,a)).then((function(){return o.doTransaction((function(e){var t;return s&&(t={rememberDevice:s}),e.poll(t)}))})).catch((function(e){o.trigger("error",o,e.xhr)}))}},Form:{autoSave:!0,noButtonBar:!0,title:r._.partial(r.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"}),o.default.init({host:this.model.get("host"),sig_request:this.model.get("signature"),iframe:this.$("iframe").get(0),post_action:r._.bind(this.model.verify,this.model)})}},fetchInitialData:function(){var e=this;return this.model.getInitOptions().then((function(t){var n=t.data;if(!(n._embedded&&n._embedded.factor&&n._embedded.factor._embedded&&n._embedded.factor._embedded.verification))throw new Error("Response does not have duo verification options");var r=n._embedded.factor._embedded.verification;e.model.set({host:r.host,signature:r.signature,postAction:r._links.complete.href,factorId:n._embedded.factor.id,stateToken:n.stateToken})}))},trapAuthResponse:function(){if(this.options.appState.get("isMfaChallenge"))return!0},back:function(){},Footer:l.default});t.default=c,e.exports=t.default},989:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=u(n(6276)),i=n(2048),a=u(n(6777)),s=u(n(7651)),l=u(n(7562));function u(e){return e&&e.__esModule?e:{default:e}}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new O(r||[]);return o(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p={};function h(){}function m(){}function g(){}var v={};u(v,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=g.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return m.prototype=g,o(_,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:m,configurable:!0}),m.displayName=u(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),u(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},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),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}var f,p,h=i.internal.util.Util,m=a.default.extend({className:"piv-cac-card",Model:{save:(f=c().mark((function e(){var t,n,r,o;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.trigger("request"),t=this,n=this.settings.get("piv"),r={fromURI:this.settings.get("relayState"),isCustomDomain:n.isCustomDomain,customDomain:n.customDomain},e.prev=4,e.next=7,this.getCert(n.certAuthUrl);case 7:return e.next=9,this.postCert(n.certAuthUrl,r);case 9:o=e.sent,h.redirect(o.redirectUrl),e.next=17;break;case 13:e.prev=13,e.t0=e.catch(4),i._.isEmpty(e.t0.responseJSON)&&!e.t0.responseText&&(e.t0.responseJSON={errorSummary:(0,i.loc)("piv.cac.error","login")}),t.trigger("error",t,e.t0);case 17:case"end":return e.stop()}}),e,this,[[4,13]])})),p=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=f.apply(e,t);function i(e){d(o,n,r,i,a,"next",e)}function a(e){d(o,n,r,i,a,"throw",e)}i(void 0)}))},function(){return p.apply(this,arguments)}),getCert:function(e){return i.$.get({url:e,xhrFields:{withCredentials:!0},beforeSend:function(){}})},postCert:function(e,t){return i.$.post({url:e,xhrFields:{withCredentials:!0},data:JSON.stringify(t),contentType:"text/plain",beforeSend:function(){}})}},Form:{autoSave:!0,hasSavingState:!1,title:i._.partial(i.loc,"piv.cac.title","login"),className:"piv-cac-card",noCancelButton:!0,save:i._.partial(i.loc,"retry","login"),modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:[s.default.View({View:i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="piv-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"piv.cac.card.insert"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:82}}}))+'</p><div data-se="piv-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})})],_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$(".o-form-button-bar").show()},postRender:function(){var e=this;i._.defer((function(){e.model.save()}))}},back:function(){},Footer:l.default});t.default=m,e.exports=t.default},2290:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=p(n(6276)),o=n(2048),i=p(n(8177));n(2292);var a=n(2183),s=p(n(9057)),l=p(n(1521)),u=p(n(6777)),c=p(n(7651)),d=p(n(3739)),f=p(n(100));function p(e){return e&&e.__esModule?e:{default:e}}var h=u.default.extend({className:"mfa-verify verify-u2f",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=s.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",e)},save:function(){return this.trigger("request"),this.doTransaction((function(e){var t;t=e.factorTypes?o._.findWhere(e.factorTypes,{factorType:"u2f"}):o._.findWhere(e.factors,{factorType:"u2f",provider:"FIDO"});var n=this;return t.verify().then((function(e){var r,s,u;if(e.factors){var c=e.factors;s=c[0].profile.appId,u=e.challenge.nonce,r=function(e){var t=[];return o._.each(e,(function(e){t.push({version:e.profile.version,keyHandle:e.profile.credentialId})})),t}(c)}else{var d=e.factor;s=d.profile.appId,u=d.challenge.nonce,r=[{version:l.default.getU2fVersion(),keyHandle:d.profile.credentialId}]}n.trigger("request");var f=i.default.defer();return u2f.sign(s,u,r,(function(e){if(n.trigger("errors:clear"),!e.errorCode||0===e.errorCode){var r=!!n.get("rememberDevice");return t.verify({clientData:e.clientData,signatureData:e.signatureData,rememberDevice:r}).then(f.resolve)}var o=1===n.options.appState.get("factors").length;f.reject(new a.U2FError({xhr:{responseJSON:{errorSummary:l.default.getU2fVerifyErrorMessageByCode(e.errorCode,o)}}}))})),f.promise}))})).catch((function(){}))}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"factor.u2f","login"),className:"verify-u2f-form",noCancelButton:!0,save:o._.partial(o.loc,"verify.u2f.retry","login"),noButtonBar:function(){return!l.default.isU2fAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(l.default.isU2fAvailable())e.push(c.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="u2f-verify-text"><p>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructions"},data:o,loc:{start:{line:1,column:32},end:{line:1,column:86}}}))+"</p><p>"+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"verify.u2f.instructionsBluetooth"},data:o,loc:{start:{line:1,column:93},end:{line:1,column:156}}}))+'</p><div data-se="u2f-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="u2f.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="u2f.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new d.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(c.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},postRender:function(){var e=this;o._.defer((function(){l.default.isU2fAvailable()?e.model.save():e.$('[data-se="u2f-waiting"]').addClass("hide")}))},_startEnrollment:function(){this.$(".okta-waiting-spinner").removeClass("hide"),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").addClass("hide"),this.$(".o-form-button-bar").show()}},back:function(){},Footer:f.default});t.default=h,e.exports=t.default},9015:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=m(n(6276)),o=n(2048),i=m(n(8177)),a=m(n(4813)),s=n(2183),l=m(n(9057)),u=m(n(6777)),c=m(n(7651)),d=m(n(504)),f=m(n(5331)),p=m(n(3739)),h=m(n(100));function m(e){return e&&e.__esModule?e:{default:e}}function g(e){var t=[];return o._.each(e,(function(e){t.push({type:"public-key",id:a.default.strToBin(e.profile.credentialId)})})),t}var v=u.default.extend({className:"mfa-verify verify-webauthn",Model:{props:{rememberDevice:"boolean"},initialize:function(){var e=this,t=l.default.getRememberDeviceValue(this.appState);this.set("rememberDevice",t),this.appState.on("factorSwitched signOut",(function(){e.webauthnAbortController&&(e.webauthnAbortController.abort(),e.webauthnAbortController=null)}))},save:function(){return this.trigger("request"),this.doTransaction((function(e){var t;t=e.factorTypes?o._.findWhere(e.factorTypes,{factorType:"webauthn"}):o._.findWhere(e.factors,{factorType:"webauthn",provider:"FIDO"});var n=this;return t.verify().then((function(e){var r,l;if(e.factors){var u=e.factors;l=e.challenge,r=g(u)}else{var c=e.factor;l=c.challenge,r=g([c])}n.trigger("request");var d=o._.extend({},l,{allowCredentials:r,challenge:a.default.strToBin(l.challenge)});return"undefined"!=typeof AbortController&&(n.webauthnAbortController=new AbortController),new i.default(navigator.credentials.get({publicKey:d,signal:n.webauthnAbortController&&n.webauthnAbortController.signal})).then((function(e){var r=!!n.get("rememberDevice");return t.verify({clientData:a.default.binToStr(e.response.clientDataJSON),authenticatorData:a.default.binToStr(e.response.authenticatorData),signatureData:a.default.binToStr(e.response.signature),rememberDevice:r})})).catch((function(e){throw n.trigger("errors:clear"),n.webauthnAbortController?new s.WebAuthnError({xhr:{responseJSON:{errorSummary:e.message}}}):new s.WebauthnAbortError})).finally((function(){n.webauthnAbortController=null}))}))})).catch((function(){}))}},Form:{autoSave:!0,hasSavingState:!1,title:o._.partial(o.loc,"factor.webauthn.biometric","login"),className:"verify-webauthn-form",noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),noButtonBar:function(){return!d.default.isNewApiAvailable()},modelEvents:{request:"_startEnrollment",error:"_stopEnrollment"},formChildren:function(){var e=[];if(d.default.isNewApiAvailable())e.push(c.default.View({View:o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="webauthn-verify-text"><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"verify.webauthn.biometric.instructions"},data:o,loc:{start:{line:1,column:37},end:{line:1,column:106}}}))+'</p><div data-se="webauthn-waiting" class="okta-waiting-spinner"></div></div>'},useData:!0})})}));else{var t="webauthn.biometric.error.factorNotSupported";1===this.options.appState.get("factors").length&&(t="webauthn.biometric.error.factorNotSupported.oneFactor"),e.push(c.default.View({View:new p.default({message:(0,o.loc)(t,"login")})},{selector:".o-form-error-container"}))}return this.options.appState.get("allowRememberDevice")&&e.push(c.default.Input({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})),e},_startEnrollment:function(){this.$(".okta-waiting-spinner").show(),this.$(".o-form-button-bar").hide()},_stopEnrollment:function(){this.$(".okta-waiting-spinner").hide(),this.$('.o-form-button-bar [type="submit"]')[0].value=(0,o.loc)("verify.u2f.retry","login"),this.$(".o-form-button-bar").show()}},postRender:function(){var e=this;o._.defer((function(){d.default.isNewApiAvailable()&&!f.default.isSafari()&&e.model.save()}))},back:function(){},Footer:h.default});t.default=v,e.exports=t.default},9115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=c(n(6777)),i=c(n(7651)),a=c(n(504)),s=c(n(3739)),l=c(n(100)),u=c(n(7068));function c(e){return e&&e.__esModule?e:{default:e}}var d=o.default.extend({className:"mfa-verify verify-windows-hello",Model:{local:{__autoTriggered__:"boolean"},save:function(){if(a.default.isAvailable()){this.trigger("request");var e=this;return this.doTransaction((function(t){var n=r._.findWhere(t.factors,{factorType:"webauthn",provider:"FIDO"});return n.verify().then((function(r){var o=r.factor;return a.default.getAssertion(o.challenge.nonce,[{id:o.profile.credentialId}]).then((function(e){return n.verify({authenticatorData:e.authenticatorData,clientData:e.clientData,signatureData:e.signature})})).then((function(t){return e.trigger("sync"),e.trigger("signIn"),t})).catch((function(n){switch(n.message){case"AbortError":case"NotFoundError":case"NotSupportedError":return e.trigger("abort",n.message),t}throw n}))}))}))}}},Form:{autoSave:!0,hasSavingState:!1,title:r._.partial(r.loc,"factor.windowsHello","login"),subtitle:function(){return a.default.isAvailable()?(0,r.loc)("verify.windowsHello.subtitle","login"):""},save:r._.partial(r.loc,"verify.windowsHello.save","login"),customSavingState:{stop:"abort"},modelEvents:function(){return a.default.isAvailable()?{request:"_startEnrollment",error:"_stopEnrollment",abort:"_stopEnrollment",signIn:"_successEnrollment"}:{}},noButtonBar:function(){return!a.default.isAvailable()},formChildren:function(){var e=[];return a.default.isAvailable()||e.push(i.default.View({View:new s.default({message:(0,r.loc)("enroll.windowsHello.error.notWindows","login")})},{selector:".o-form-error-container"})),e.push(i.default.View({View:new u.default({model:this.model,visible:!1})})),e},postRender:function(){1!==this.options.appState.get("factors").length||this.model.get("__autoTriggered__")||(this.model.set("__autoTriggered__",!0),this.model.save())},_startEnrollment:function(){this.subtitle=(0,r.loc)("verify.windowsHello.subtitle.loading","login"),this.model.trigger("spinner:show"),this._resetErrorMessage(),this.render(),this.$(".o-form-button-bar").addClass("hide")},_stopEnrollment:function(e){var t;switch(this.subtitle=(0,r.loc)("verify.windowsHello.subtitle","login"),this.model.trigger("spinner:hide"),this.$(".o-form-button-bar").removeClass("hide"),e){case"NotFoundError":t=this.options.appState.get("factors").length>1?(0,r.loc)("verify.windowsHello.error.notFound.selectAnother","login"):(0,r.loc)("verify.windowsHello.error.notFound","login");break;case"NotSupportedError":t=(0,r.loc)("enroll.windowsHello.error.notConfiguredHtml","login")}if(this._resetErrorMessage(),t){var n=new s.default({message:t});this.$(".o-form-error-container").addClass("o-form-has-errors"),this.add(n,{selector:".o-form-error-container"}),this._errorMessageView=this.last()}this.render()},_successEnrollment:function(){this.subtitle=this.settings.get("brandName")?(0,r.loc)("verify.windowsHello.subtitle.signingIn.specific","login",[this.settings.get("brandName")]):(0,r.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:l.default});t.default=d,e.exports=t.default},5722:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(709)),a=u(n(8177)),s=u(n(5331)),l=n(2183);function u(e){return e&&e.__esModule?e:{default:e}}function c(e){return c="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},c(e)}var d="/img/security/default.png",f="/img/security/unknown-device.png",p=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return u(c(i=null!=(i=d(n,"baseUrl")||(null!=t?d(t,"baseUrl"):t))?i:s)===l?i.call(a,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)+"/login/getimage?username="+u(c(i=null!=(i=d(n,"username")||(null!=t?d(t,"username"):t))?i:s)===l?i.call(a,{name:"username",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:48}}}):i)},useData:!0});var h=o.Model.extend({initialize:function(){if(this.settings.get("features.securityImage")){var e=this;this.listenTo(this,"change:username",(function(t,n){(function(e,t,n){if(o._.isEmpty(t)||o._.isUndefined(t))return(0,a.default)({securityImage:d,securityImageDescription:""});t=encodeURIComponent(t);var r={url:p({baseUrl:e,username:t}),dataType:"json"};return n&&(r.headers={"X-Device-Fingerprint":n}),(0,a.default)(o.$.ajax(r)).then((function(e){return"/img/security/unknown.png"===e.pwdImg?{securityImage:f,securityImageDescription:""}:{securityImage:e.pwdImg,securityImageDescription:e.imageDescription||""}}))})(this.get("baseUrl"),n,this.get("deviceFingerprint")).then((function(e){t.set("securityImage",e.securityImage),t.set("securityImageDescription",e.securityImageDescription),t.unset("deviceFingerprint")})).fail((function(t){if(!s.default.corsIsNotEnabled(t))throw t;e.settings.callGlobalError(new l.UnsupportedBrowserError((0,o.loc)("error.enabled.cors")))})).done()}))}},local:{baseUrl:"string",lastAuthResponse:["object",!0,{}],transaction:"object",transactionError:"object",username:"string",factors:"object",policy:"object",securityImage:["string",!0,d],securityImageDescription:["string",!0,""],userCountryCode:"string",userPhoneNumber:"string",factorActivationType:"string",flashError:"object",beaconType:"string",deviceFingerprint:"string",typingPattern:"string",languageCode:["string",!0],disableUsername:["boolean",!1,!1],trapMfaRequiredResponse:["boolean",!1,!1],lastFailedChallengeFactorData:["object",!1]},setAuthResponse:function(e){var t=this;if(e._embedded&&e._embedded.policy&&this.set("policy",e._embedded.policy),e._embedded&&e._embedded.factors){var n=e._embedded.factors;e._embedded.factorTypes&&(n=function(e,t){var n=[],r=[];return o._.each(t,(function(t){var i=t.factorType;if(!o._.contains(n,i)){var a=o._.findWhere(e,{factorType:i});a?(n.push(i),r.push(a)):r.push(t)}})),r}(e._embedded.factorTypes,n));var r=o._.map(n,(function(e){return e.settings=t.settings,e.appState=t,e}));this.set("factors",new i.default.Collection(r,{parse:!0}))}this.set("lastAuthResponse",e)},clearLastAuthResponse:function(){this.set("lastAuthResponse",{})},setLastFailedChallengeFactorData:function(){this.set("lastFailedChallengeFactorData",{factor:this.get("factor"),errorMessage:this.get("factorResultErrorMessage")})},clearLastFailedChallengeFactorData:function(){this.unset("lastFailedChallengeFactorData")},getUser:function(){return this.get("user")},derived:{isSuccessResponse:{deps:["lastAuthResponse"],fn:function(e){return"SUCCESS"===e.status}},isMfaRequired:{deps:["lastAuthResponse"],fn:function(e){return"MFA_REQUIRED"===e.status||"FACTOR_REQUIRED"===e.status}},isProfileRequired:{deps:["lastAuthResponse"],fn:function(e){return"PROFILE_REQUIRED"===e.status}},isMfaEnroll:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL"===e.status||"FACTOR_ENROLL"===e.status}},isMfaChallenge:{deps:["lastAuthResponse"],fn:function(e){return"MFA_CHALLENGE"===e.status||"FACTOR_CHALLENGE"===e.status}},isSMSPasswordRecovery:{deps:["lastAuthResponse"],fn:function(e){var t=e.status,n=e.factorType,r=e.recoveryType;return"RECOVERY_CHALLENGE"===t&&"sms"===(null==n?void 0:n.toLowerCase())&&"password"===(null==r?void 0:r.toLowerCase())}},isUnauthenticated:{deps:["lastAuthResponse"],fn:function(e){return"UNAUTHENTICATED"===e.status}},isMfaRejected:{deps:["lastAuthResponse"],fn:function(e){return"REJECTED"===e.factorResult}},isMfaTimeout:{deps:["lastAuthResponse"],fn:function(e){return"TIMEOUT"===e.factorResult}},isMfaEnrollActivate:{deps:["lastAuthResponse"],fn:function(e){return"MFA_ENROLL_ACTIVATE"===e.status||"FACTOR_ENROLL_ACTIVATE"===e.status}},isWaitingForActivation:{deps:["isMfaEnrollActivate","lastAuthResponse"],fn:function(e,t){return e&&"WAITING"===t.factorResult}},isWaitingForNumberChallenge:{deps:["lastAuthResponse","isMfaChallenge"],fn:function(e,t){return!!(t&&e&&"WAITING"===e.factorResult&&e._embedded&&e._embedded.factor&&e._embedded.factor._embedded&&e._embedded.factor._embedded.challenge)}},hasMultipleFactorsAvailable:{deps:["factors","isMfaRequired","isMfaChallenge","isUnauthenticated"],fn:function(e,t,n,r){return!!(t||n||r)&&(e&&e.length>1)}},promptForFactorInUnauthenticated:{deps:["lastAuthResponse","factors"],fn:function(e,t){return"UNAUTHENTICATED"===e.status&&(t&&t.length>0)}},userId:{deps:["lastAuthResponse"],fn:function(e){return e._embedded&&e._embedded.user?e._embedded.user.id:null}},isIdxStateToken:{deps:["lastAuthResponse"],fn:function(e){return e&&o._.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=o._.findWhere(e,{name:"sms"});return t?t.href:null}},emailActivationLinkUrl:{deps:["activationSendLinks"],fn:function(e){var t=o._.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?(t=e.gracePeriod.endDate,n=new Date(t).getTime(),Math.floor((n-(new Date).getTime())/864e5)):null;var t,n}},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||o._.isEmpty(e.firstName)?t:o._.isEmpty(e.lastName)?e.firstName:e.firstName+" "+e.lastName.charAt(0)+"."}},userEmail:{deps:["userProfile"],fn:function(e){return e&&e.login?e.login:null}},userFullName:{deps:["userProfile"],fn:function(e){return e&&(e.firstName||e.lastName)?e.firstName+" "+e.lastName:""}},defaultAppLogo:{deps:["baseUrl"],fn:function(e){return e+"/img/logos/default.png"}},expiresAt:{deps:["lastAuthResponse"],fn:function(e){return e.expiresAt}},target:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.target:null}},targetLabel:{deps:["target"],fn:function(e){return e?e.label:null}},targetLogo:{deps:["target"],fn:function(e){return e&&e._links?e._links.logo:null}},targetTermsOfService:{deps:["target"],fn:function(e){return e&&e._links?e._links["terms-of-service"]:null}},targetPrivacyPolicy:{deps:["target"],fn:function(e){return e&&e._links?e._links["privacy-policy"]:null}},targetClientURI:{deps:["target"],fn:function(e){return e&&e._links?e._links["client-uri"]:null}},scopes:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.scopes:null}},issuer:{deps:["lastAuthResponse"],fn:function(e){var t,n,r;return null==e||null===(t=e._embedded)||void 0===t||null===(n=t.authentication)||void 0===n||null===(r=n.issuer)||void 0===r?void 0:r.uri}},hasExistingPhones:{deps:["lastAuthResponse"],fn:function(e){if(!e._embedded||!e._embedded.factors)return!1;var t=e._embedded.factors,n=o._.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=o._.findWhere(t,{factorType:"call",provider:"OKTA"});return!(!n||!n._embedded)&&!!n._embedded.phones.length}},isUndefinedUser:{deps:["securityImage"],fn:function(e){return e===d}},isNewUser:{deps:["securityImage"],fn:function(e){return e===f}},allowRememberDevice:{deps:["policy"],fn:function(e){return e&&e.allowRememberDevice}},rememberDeviceLabel:{deps:["policy"],fn:function(e){if(e&&e.rememberDeviceLifetimeInMinutes>0){var t=function(e){if(e>60&&e<=1440){var t=e/60;return(0,o.loc)("hours","login",[t])}if(e>1440){var n=e/1440;return(0,o.loc)("days","login",[n])}return 1===e?(0,o.loc)("minutes.oneMinute","login"):(0,o.loc)("minutes","login",[e])}(e.rememberDeviceLifetimeInMinutes);return(0,o.loc)("rememberDevice.timebased","login",[t])}return e&&0===e.rememberDeviceLifetimeInMinutes?(0,o.loc)("rememberDevice.devicebased","login"):(0,o.loc)("rememberDevice","login")}},rememberDeviceByDefault:{deps:["policy"],fn:function(e){return e&&e.rememberDeviceByDefault}},factorsPolicyInfo:{deps:["policy"],fn:function(e){return e&&e.factorsPolicyInfo?e.factorsPolicyInfo:null}},verifyCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"redirect"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},enrollCustomFactorRedirectUrl:{deps:["lastAuthResponse"],fn:function(e){return e._links&&e._links.next&&"activate"===e._links.next.name&&e._links.next.href?e._links.next.href:null}},isFactorResultFailed:{deps:["lastAuthResponse"],fn:function(e){return"FAILED"===e.factorResult}},factorResultErrorMessage:{deps:["lastAuthResponse","isFactorResultFailed"],fn:function(e,t){return t?e.factorResultMessage||(0,o.loc)("oform.error.unexpected","login"):null}},deviceActivationStatus:{deps:["lastAuthResponse"],fn:function(e){return e._embedded?e._embedded.deviceActivationStatus:null}},usingDeviceFlow:{deps:["lastAuthResponse"],fn:function(e){return!(!e._embedded||!e._embedded.usingDeviceFlow)}},userCode:{deps:["lastAuthResponse"],fn:function(e){var t;return null==e||null===(t=e._embedded)||void 0===t?void 0:t.userCode}}},parse:function(e){return this.settings=e.settings,o._.extend(o._.omit(e,"settings"),{languageCode:this.settings.get("languageCode"),userCountryCode:this.settings.get("countryCode")})}});t.default=h,e.exports=t.default},3402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(8177)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=["OAuthError","AuthSdkError","AuthPollStopError","AuthApiError"],l=r.Model.extend({doTransaction:function(e,t){var n=this;return e.call(this,this.appState.get("transaction")).then((function(e){return n.trigger("setTransaction",e),e})).catch((function(e){if("AuthPollStopError"!==e.name&&e.name!==i.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==i.default.WEBAUTHN_ABORT_ERROR&&(n.trigger("error",n,e.xhr),n.trigger("setTransactionError",e),t||-1===r._.indexOf(s,e.name)))throw e}))},manageTransaction:function(e){var t=this,n=e.call(this,this.appState.get("transaction"),r._.bind(this.setTransaction,this));return o.default.isPromiseAlike(n)?n.catch((function(e){"AuthPollStopError"!==e.name&&e.name!==i.default.AUTH_STOP_POLL_INITIATION_ERROR&&e.name!==i.default.WEBAUTHN_ABORT_ERROR&&(t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e))})):o.default.resolve(n)},startTransaction:function(e){var t=this,n=e.call(this,this.settings.getAuthClient());return o.default.isPromiseAlike(n)?n.then((function(e){return t.trigger("setTransaction",e),e})).catch((function(e){throw t.trigger("error",t,e.xhr),t.trigger("setTransactionError",e),e})):o.default.resolve(n)},setTransaction:function(e){this.appState.set("transaction",e)}});t.default=l,e.exports=t.default},1390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(3402))&&r.__esModule?r:{default:r};var a=i.default.extend({initialize:function(e){this.options=e||{},this.appState=this.options.appState},constructPostData:function(e){var t={registration:{profile:e}};return this.appState.get("policy").registration.createNewAccount&&(t.registration.createNewAccount=!0),t},getEnrollFormData:function(){return this.manageTransaction((function(e,t){return e.enroll().then((function(e){t(e)}))}))},save:function(){var e=i.default.prototype.toJSON.apply(this,arguments);if(e=o._.omit(e,["appState","settings","createNewAccount"]),!o._.isEmpty(e))return this.manageTransaction((function(t,n){t.enroll(this.constructPostData(e)).then((function(e){n(e)}))}));var t={errorSummary:(0,o.loc)("oform.errorbanner.title","login")};this.trigger("error",this,{responseJSON:t})}});t.default=a,e.exports=t.default},709:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=u(n(8177)),i=n(2183),a=u(n(9057)),s=u(n(7516)),l=u(n(3402));function u(e){return e&&e.__esModule?e:{default:e}}var c=l.default.extend({extraProperties:!0,flat:!1,props:{id:"string",factorType:{type:"string",values:["sms","call","email","token","token:software:totp","token:hotp","token:hardware","question","push","u2f","password","assertion:saml2","assertion:oidc","claims_provider","webauthn"]},provider:{type:"string",values:["OKTA","RSA","DEL_OATH","SYMANTEC","GOOGLE","YUBICO","FIDO","CUSTOM","GENERIC_SAML","GENERIC_OIDC"]},enrollment:{type:"string",values:["OPTIONAL","REQUIRED"]},status:{type:"string",values:["NOT_SETUP","ACTIVE"]},profile:["object"],vendorName:"string",policy:["object"],profiles:["object"]},local:{answer:"string",password:"string",backupFactor:"object",showAnswer:"boolean",rememberDevice:"boolean",autoPush:["boolean",!0,!1]},derived:{isOktaFactor:{deps:["provider"],fn:function(e){return"OKTA"===e}},factorName:{deps:["provider","factorType"],fn:a.default.getFactorName},factorLabel:{deps:["provider","factorType","vendorName"],fn:function(e,t,n){return r._.contains(["DEL_OATH","GENERIC_SAML","GENERIC_OIDC","CUSTOM"],e)?n:a.default.getFactorLabel.apply(this,[e,t])}},factorDescription:{deps:["provider","factorType"],fn:a.default.getFactorDescription},sortOrder:{deps:["provider","factorType"],fn:a.default.getFactorSortOrder},iconClassName:{deps:["provider","factorType"],fn:a.default.getFactorIconClassName},securityQuestion:{deps:["profile","factorType"],fn:function(e,t){return"question"!==t?null:e&&a.default.getSecurityQuestionLabel(e)}},phoneNumber:{deps:["profile","factorType"],fn:function(e,t){return r._.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],o=n._embedded.enrolledFactors.length,i=r._.findWhere(n._embedded.features,{type:"adoption"});return!(!i||!i.cardinality)&&{enrolled:o,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&&r._.contains(["push","sms","call","email"],t)}},isAnswerRequired:{deps:["factorType"],fn:function(e){return r._.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=a.default.getRememberDeviceValue(this.appState),this.setCustomHotpVendorName(e),r._.omit(e,["settings","appState"])},validate:function(){return this.get("isAnswerRequired")&&!this.get("answer")?{answer:(0,r.loc)("model.validation.field.blank")}:"password"!==this.get("factorType")||this.get("password")?void 0:{password:(0,r.loc)("error.password.required")}},needsPasscode:function(){return!(this.options.appState.get("isIdxStateToken")&&"email"===this.get("factorType"))},resend:function(){return this.trigger("form:clear-errors"),this.manageTransaction((function(e){var t=e.data._links.resend[0];return e.resend(t.name)}))},save:function(){var e=!!this.get("rememberDevice"),t=this;return this.manageTransaction((function(n,r){var a,l={rememberDevice:e};if("question"===this.get("factorType")?l.answer=this.get("answer"):"password"===this.get("factorType")?l.password=this.get("password"):this.needsPasscode()&&(l.passCode=this.get("answer")),this.pushFactorHasAutoPush()&&(l.autoPush=this.get("autoPush")),"MFA_REQUIRED"===n.status||"FACTOR_REQUIRED"===n.status||this.appState.get("promptForFactorInUnauthenticated"))a=this._findFactor(n).verify(l);else if(this.get("canUseResend")&&!this.get("answer")&&n.resend){var u=n.data._links.resend[0];a=n.resend(u.name)}else a=n.verify(l);return this.trigger("save"),a.then((function(e){var n={delay:4e3,transactionCallBack:function(e){t.options.appState.set("lastAuthResponse",e)}};if(r(e),"MFA_CHALLENGE"===e.status&&e.poll||"FACTOR_CHALLENGE"===e.status&&e.poll){var a=o.default.defer(),l=s.default.callAfterTimeout(a.resolve,4e3);return t.listenToOnce(t.options.appState,"factorSwitched",(function(){clearTimeout(l),a.reject(new i.AuthStopPollInitiationError)})),a.promise.then((function(){return t.stopListening(t.options.appState,"factorSwitched"),t.pushFactorHasAutoPush()&&(n.autoPush=function(){return t.get("autoPush")},n.rememberDevice=function(){return t.get("rememberDevice")}),e.poll(n).then((function(e){t.options.appState.set("lastAuthResponse",e.data),r(e)}))}))}}))}))},_findFactor:function(e){var t;return e.factorTypes&&(t=r._.findWhere(e.factorTypes,{factorType:this.get("factorType")})),t||(t=r._.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}}),d=r.Collection.extend({model:c,comparator:"sortOrder",parse:function(e){this.lastUsedFactor=e[0];var t,n=r._.findWhere(e,{provider:"OKTA",factorType:"push"});if(t=r._.where(e,{factorType:"push"}).length>1?r._.findWhere(e,{factorType:"token:software:totp"}):r._.findWhere(e,{provider:"OKTA",factorType:"token:software:totp"}),!n||!t)return e;var o=t===e[0],i=r._.reduce(e,(function(e,r){var o="OKTA"===r.provider,i=o&&"token:software:totp"===r.factorType,a=o&&"push"===r.factorType,s="ACTIVE"!==r.status,l=i&&(s||"ACTIVE"===n.status),u=a&&s&&"ACTIVE"===t.status;return l||u||(a&&(r.backupFactor=new c(t,{parse:!0})),e.push(r)),e}),[]);return o&&(this.lastUsedFactor=n),i},getDefaultFactor:function(){var e=r._.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]}}),f={Model:c,Collection:d};t.default=f,e.exports=t.default},3597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(7804)),i=l(n(9256)),a=l(n(5115)),s=l(n(7516));function l(e){return e&&e.__esModule?e:{default:e}}var u=o.default.extend({props:function(){var e=i.default.getCookieUsername(),t=this.getUsernameAndRemember(e);return{username:["string",!0,t.username],lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember]}},local:{},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),a.default.IDP_DISCOVERY),n=this.get("remember"),o=this.get("lastUsername"),l="okta:acct:"+t,u=this.get("requestContext");this.setUsernameCookie(t,n,o),this.trigger("save"),this.appState.trigger("loading",!0);var c={resource:l,requestContext:u};this.appState.settings.getAuthClient().webfinger(c).then((function(t){if(t&&t.links&&t.links[0])if("OKTA"===t.links[0].properties["okta:idp:type"])e.trigger("goToPrimaryAuth");else if(t.links[0].href){(t.links[0].href.includes("OKTA_INVALID_SESSION_REPOST%3Dtrue")?s.default.redirectWithFormGet.bind(s.default):e.settings.get("redirectUtilFn"))(t.links[0].href)}})).catch((function(){var t={errorSummary:(0,r.loc)("oform.error.webfinger","login")};e.trigger("error",e,{responseJSON:t}),e.appState.trigger("removeLoading"),i.default.removeUsernameCookie()})).finally((function(){e.appState.trigger("loading",!1)}))}});t.default=u,e.exports=t.default},5112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048);var i=((r=n(3402))&&r.__esModule?r:{default:r}).default.extend({constructor:function(e){this.settings=e&&e.settings,o.Model.apply(this,arguments)},loginWithActivationToken:function(e){return this.startTransaction((function(t){return t.signInWithCredentials({token:e})}))}});t.default=i,e.exports=t.default},7804:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(9256)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=a(n(3402)).default.extend({props:function(){var e=o.default.getCookieUsername(),t=this.getUsernameAndRemember(e),n={username:{type:"string",validate:function(e){if(r._.isEmpty(e))return(0,r.loc)("error.username.required","login")},value:t.username},lastUsername:["string",!1,e],context:["object",!1],remember:["boolean",!0,t.remember],multiOptionalFactorEnroll:["boolean",!0]};return this.settings&&this.settings.get("features.passwordlessAuth")||(n.password={type:"string",validate:function(e){if(r._.isEmpty(e))return(0,r.loc)("error.password.required","login")}}),n},getUsernameAndRemember:function(e){var t,n=this.settings&&this.settings.get("username"),r=this.settings&&this.settings.get("features.rememberMe"),o=!1;return n?(t=n,o=r&&t===e):r&&e&&(t=e,o=!0),{username:t,remember:o}},constructor:function(e){this.settings=e&&e.settings,this.appState=e&&e.appState,r.Model.apply(this,arguments),this.listenTo(this,"change:username",(function(e,t){this.set({remember:t===this.get("lastUsername")})}))},parse:function(e){return r._.omit(e,["settings","appState"])},save:function(){var e=this,t=this.settings.transformUsername(this.get("username"),i.default.PRIMARY_AUTH),n=this.get("remember"),a=this.get("lastUsername");this.setUsernameCookie(t,n,a),this.trigger("save"),this.appState.trigger("loading",!0);var s,l=this.getSignInArgs(t);if(this.appState.get("isUnauthenticated")){var u=this.appState.settings.getAuthClient();s=this.appState.get("isIdxStateToken")?this.doTransaction((function(e){return this.doPrimaryAuth(u,l,e.login)})):this.doTransaction((function(e){return this.doPrimaryAuth(u,l,e.authenticate)}),!0)}else s=this.startTransaction((function(e){return this.doPrimaryAuth(e,l,r._.bind(e.signInWithCredentials,e))}));return s.catch((function(){e.appState.trigger("removeLoading"),o.default.removeUsernameCookie()})).finally((function(){e.appState.trigger("loading",!1)}))},getSignInArgs:function(e){var t=this.get("multiOptionalFactorEnroll"),n={};return this.settings.get("features.passwordlessAuth")||(n.password=this.get("password")),this.appState.get("isIdxStateToken")?n.identifier=e:(n.username=e,n.options={warnBeforePasswordExpired:!0,multiOptionalFactorEnroll:t}),n},setUsernameCookie:function(e,t,n){this.settings.get("features.rememberMe")&&(t||n!==e?t&&o.default.setUsernameCookie(e):o.default.removeUsernameCookie())},doPrimaryAuth:function(e,t,n){var r=this.settings.get("features.deviceFingerprinting"),o=this.settings.get("features.trackTypingPattern");r&&this.appState.get("deviceFingerprint")&&e.http.setRequestHeader("X-Device-Fingerprint",this.appState.get("deviceFingerprint")),o&&this.appState.get("typingPattern")&&e.http.setRequestHeader("X-Typing-Pattern",this.appState.get("typingPattern"));var i=this;return n(t).finally((function(){r&&(e.http.setRequestHeader("X-Device-Fingerprint",void 0),i.appState.unset("deviceFingerprint")),o&&(e.http.setRequestHeader("X-Typing-Pattern",void 0),i.appState.unset("typingPattern"))}))}});t.default=s,e.exports=t.default},2384:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.internal.models.BaseSchema.Model.extend({expand:["schema"],setFieldPlaceholder:function(e){return r._.each(e,(function(e){e.title=e.label})),e},initialize:function(e){var t=e.profileSchemaAttributes;if(t=this.setFieldPlaceholder(t)){for(var n={properties:{}},r=0;r<t.length;r++){var o=t[r];n.properties[o.name]=o}this.parse.apply(this,[{schema:n}])}}});t.default=o,e.exports=t.default},8749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.internal.models,i=o.BaseSchema,a=o.SchemaProperty,s=a.Collection.extend({createModelProperties:function(){var e=a.Collection.prototype.createModelProperties.apply(this);return r._.each(e,(function(e,t){e.required=!!this.get(t).get("required")}),this),e}}),l=i.Model.extend({expand:["schema"],constructor:function(){this.properties=new s,r.BaseModel.apply(this,arguments)},parse:function(e){var t=this,n=this;this.settings.parseRegistrationSchema(e,(function(e){e.profileSchema&&(e.schema=e.profileSchema,i.Model.prototype.parse.apply(n,[e]),e=function(e){var n=e.schema.required;r._.isArray(n)&&r._.each(n,(function(e){var t=this.properties.get(e);t&&t.set("required",!0)}),t);var o=e.schema.fieldOrder;return r._.isArray(o)&&(r._.each(o,(function(e,t){var n=this.properties.get(e);n&&n.set("sortOrder",t)}),t),t.properties.comparator="sortOrder",t.properties.sort()),t.properties.defaultPolicyId=e.policyId,e}(e)),n.trigger("parseComplete",{properties:n.properties})}),(function(e){n.trigger("parseComplete",{properties:n.properties,error:e})}))}});t.default=l,e.exports=t.default},3123:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(8177))&&r.__esModule?r:{default:r};var a=o.Controller.extend({addListeners:function(){this.listenTo(this.model,"save",(function(){var e,t=(e=this,o._.find(e.getChildren(),(function(e){return e instanceof o.Form})));t.disableSubmitButton&&!t.disableSubmitButton()||this.toggleButtonState(!0)})),this.listenTo(this.model,"error",(function(){this.toggleButtonState(!1)})),this.addModelListeners(this.model)},addModelListeners:function(e){var t=this,n=function(e){t.options.appState.set("transaction",e)},r=function(e){t.options.appState.set("transactionError",e)};this.listenTo(e,"setTransaction",n),this.listenTo(e,"setTransactionError",r);var o=e.get("backupFactor");o&&(this.listenTo(o,"setTransaction",n),this.listenTo(o,"setTransactionError",r))},fetchInitialData:function(){return(0,i.default)()},trapAuthResponse:function(){return!1},toJSON:function(){var e=o.Controller.prototype.toJSON.apply(this,arguments);return o._.extend(o._.pick(this.options,"appState"),e)},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})}});t.default=a,e.exports=t.default},6568:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(8177))&&r.__esModule?r:{default:r};var a={getUserAgent:function(){return navigator.userAgent},isMessageFromCorrectSource:function(e,t){return t.source===e[0].contentWindow},generateDeviceFingerprint:function(e,t){var n=this.getUserAgent();if(!n)return i.default.reject("user agent is not defined");if(function(e){return e.match(/windows phone|iemobile|wpdesktop/i)}(n))return i.default.reject("device fingerprint is not supported on Windows phones");var r,a,s=i.default.defer(),l=this;function u(){r.off(),r.remove(),window.removeEventListener("message",d,!1)}function c(e){u(),s.reject(e)}function d(t){if(l.isMessageFromCorrectSource(r,t))if(clearTimeout(a),t&&t.data&&t.origin===e)try{var n=JSON.parse(t.data);n&&"FingerprintServiceReady"===n.type?function(t){var n=r[0].contentWindow;n&&n.postMessage(JSON.stringify(t),e)}({type:"GetFingerprint"}):n&&"FingerprintAvailable"===n.type?(u(),s.resolve(n.fingerprint)):c("no data")}catch(e){}else c("no data")}return window.addEventListener("message",d,!1),r=(0,o.$)("<iframe>",{style:"display: none;",src:e+"/auth/services/devicefingerprint"}),t.append(r),a=setTimeout((function(){c("service not available")}),2e3),s.promise}};t.default=a,e.exports=t.default},6777:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(3402)),i=s(n(3123)),a=s(n(7651));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.views.forms.components.Toolbar,u=r.internal.views.forms.helpers.FormUtil,c=r.Form.extend({layout:"o-form-theme",noCancelButton:!0,constructor:function(e){r.Form.call(this,e),r._.each(r._.result(this,"formChildren")||[],(function(e){switch(e.type){case a.default.INPUT:this.addInput(r._.extend({label:!1,"label-top":!0},e.viewOptions));break;case a.default.BUTTON:this.add((0,r.createButton)(r._.extend({model:this.model},e.viewOptions)),e.addOptions),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case a.default.DIVIDER:this.addDivider(e.viewOptions);break;case a.default.TOOLBAR:this.add(l,{options:e.viewOptions}),u.applyShowWhen(this.last(),e.viewOptions&&e.viewOptions.showWhen);break;case a.default.VIEW:this.add(e.viewOptions.View,e.addOptions),u.applyShowWhen(this.last(),e.viewOptions.showWhen);break;default:throw new Error("Unrecognized child type: "+e.type)}}),this)}}),d=i.default.extend({constructor:function(){var e=this.initialize;if(this.initialize=function(){},i.default.apply(this,arguments),this.Model&&this.Form){var t=o.default.extend(r._.extend({parse:function(e){return this.settings=e.settings,this.appState=e.appState,r._.omit(e,["settings","appState"])}},r._.result(this,"Model")));this.model=new t({settings:this.settings,appState:this.options.appState},{parse:!0});var n=c.extend(r._.result(this,"Form",this));this.form=new n(this.toJSON()),this.add(this.form)}this.Footer&&this.addFooter(this.Footer),this.addListeners(),e.apply(this,arguments)},addFooter:function(e,t){this.footer=new e(r._.extend(this.toJSON(),t||{})),this.add(this.footer)},toJSON:function(){var e=i.default.prototype.toJSON.apply(this,arguments);return r._.extend(r._.pick(this.options,"appState"),e)},back:function(){this.footer&&this.footer.back&&this.footer.back()}});t.default=d,e.exports=t.default},7651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n="INPUT",r="BUTTON",o="DIVIDER",i="TOOLBAR",a="VIEW";function s(e){return function(t,n){return{type:e,viewOptions:t,addOptions:n}}}var l={Input:s(n),Button:s(r),Divider:s(o),Toolbar:s(i),View:s(a),INPUT:n,BUTTON:r,DIVIDER:o,TOOLBAR:i,VIEW:a};t.default=l,e.exports=t.default},2937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.internal.views.forms.helpers.SchemaFormFactory,s=function(e){var t=e.split(""),n=[],r=[",",".","-","_","#","@"],i="";return o._.each(t,(function(e){-1===r.indexOf(e)?i+=e:(i.length>=3&&n.push(o._.clone(i)),i="")})),i.length>=3&&n.push(o._.clone(i)),n.filter(Boolean)},l=function(e,t){if(!e)return!1;e=e.toLowerCase(),t=t.toLowerCase();for(var n=s(e),r=0;r<n.length;r++){var o=n[r];if(-1!==t.indexOf(o))return!0}return!1},u=function(e,t,n,r){var i=t.get(e);o._.isString(i)&&n.each((function(n,a){var s=(0,o.$)("#subschemas-"+e+" .subschema-"+a);i?s.children("p").removeClass("default-schema"):s.children("p").addClass("default-schema"),s.children("p").removeAttr("role").removeAttr("aria-live"),s.removeClass("subschema-satisfied subschema-unsatisfied subschema-error"),!function(e,t,n){var r=e.get("minLength"),i=e.get("maxLength"),a=e.get("format");if(o._.isNumber(r)&&t.length<r)return!1;if(o._.isNumber(i)&&t.length>i)return!1;var s=t;if(o._.isString(a)){if("^[#/userName]"===a||"^[#/firstName]"===a||"^[#/lastName]"===a){var u=a.split("^[#/")[1].split("]")[0],c=n.get(u);return"userName"===u&&(c=n.has("userName")?n.get("userName"):n.get("email")),!l(c,s)}if(!new RegExp(a).test(t))return!1}return!0}(n,i,t)?r&&(s.find("p span").removeClass("confirm-16"),s.find("p span").addClass("error error-16-small"),s.addClass("subschema-error subschema-unsatisfied"),s.find("p").attr("role","alert").attr("aria-live","polite")):(s.addClass("subschema-satisfied"),s.find("p span").removeClass("error error-16-small"),s.find("p span").addClass("confirm-16"))}))},c={createInputOptions:function(e){var t=a.createInputOptions(e);if("select"===t.type)t=o._.extend(t,{label:e.get("title")});else{var n=e.get("title");e.get("required")&&(n+=" *"),t=o._.extend(t,{label:!1,"label-top":!0,placeholder:n})}var r=e.get("name");switch(r){case"userName":t.input=i.default,t.params={icon:"person-16-gray"};break;case"password":t.type="password",t.input=i.default,t.params={icon:"remote-lock-16"}}var s=e.get("subSchemas");return s&&(t.events={input:function(){u(r,this.model,s,!0)},focusout:function(){u(r,this.model,s,!0)},"change:userName":function(){u(r,this.model,s,!0)},"change:firstName":function(){u(r,this.model,s,!0)},"change:lastName":function(){u(r,this.model,s,!0)},"change:email":function(){u(r,this.model,s,!0)}}),t},getUsernameParts:s,passwordContainsFormField:l};t.default=c,e.exports=t.default},9201:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(6276)),o=n(2048),i=d(n(5331)),a=d(n(5115)),s=d(n(6594)),l=n(2183),u=d(n(2534)),c=d(n(7516));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return f="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},f(e)}var p={},h=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u(f(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(f(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)},useData:!0}),m=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+u(f(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(f(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)+"/"+u(f(i=null!=(i=c(n,"factorIndex")||(null!=t?c(t,"factorIndex"):t))?i:s)===l?i.call(a,{name:"factorIndex",hash:{},data:o,loc:{start:{line:1,column:42},end:{line:1,column:57}}}):i)},useData:!0}),g=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/verify/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"factorType")||(null!=t?a(t,"factorType"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:28}}}):i)},useData:!0}),v=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/enroll/"+u(f(i=null!=(i=c(n,"provider")||(null!=t?c(t,"provider"):t))?i:s)===l?i.call(a,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:14},end:{line:1,column:26}}}):i)+"/"+u(f(i=null!=(i=c(n,"factorType")||(null!=t?c(t,"factorType"):t))?i:s)===l?i.call(a,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:27},end:{line:1,column:41}}}):i)},useData:!0}),y=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"step")||(null!=t?a(t,"step"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"step",hash:{},data:o,loc:{start:{line:1,column:63},end:{line:1,column:71}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,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"signin/enroll-activate/"+c(f(a=null!=(a=d(n,"provider")||(null!=t?d(t,"provider"):t))?a:l)===u?a.call(s,{name:"provider",hash:{},data:o,loc:{start:{line:1,column:23},end:{line:1,column:35}}}):a)+"/"+c(f(a=null!=(a=d(n,"factorType")||(null!=t?d(t,"factorType"):t))?a:l)===u?a.call(s,{name:"factorType",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:50}}}):a)+(null!=(i=d(n,"if").call(s,null!=t?d(t,"step"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:50},end:{line:1,column:78}}}))?i:"")},useData:!0}),b=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/recovery/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"recoveryToken")||(null!=t?a(t,"recoveryToken"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"recoveryToken",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:33}}}):i)},useData:!0}),_=r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"token")||(null!=t?a(t,"token"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"token",hash:{},data:o,loc:{start:{line:1,column:39},end:{line:1,column:48}}}):i)},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/refresh-auth-state"+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"token"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:25},end:{line:1,column:55}}}))?i:"")},useData:!0}),w=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"signin/okta/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"username")||(null!=t?a(t,"username"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"username",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:24}}}):i)},useData:!0}),k=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(f(a=null!=(a=c(n,"baseUrl")||(null!=t?c(t,"baseUrl"):t))?a:l)===u?a.call(s,{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):a)+"/login/sessionCookieRedirect?checkAccountSetupComplete=true&token="+(null!=(i=f(a=null!=(a=c(n,"token")||(null!=t?c(t,"token"):t))?a:l)===u?a.call(s,{name:"token",hash:{},data:o,loc:{start:{line:1,column:77},end:{line:1,column:88}}}):a)?i:"")+"&redirectUrl="+(null!=(i=f(a=null!=(a=c(n,"redirectUrl")||(null!=t?c(t,"redirectUrl"):t))?a:l)===u?a.call(s,{name:"redirectUrl",hash:{},data:o,loc:{start:{line:1,column:101},end:{line:1,column:118}}}):a)?i:"")},useData:!0}),x=["DEVICE_ACTIVATED","DEVICE_NOT_ACTIVATED_CONSENT_DENIED","DEVICE_NOT_ACTIVATED"];p.isHostBackgroundChromeTab=function(){return!!(navigator.userAgent.match(/Android/)&&navigator.userAgent.match(/Chrome/)&&document.hidden)},p.isDocumentVisible=function(){return"visible"===document.visibilityState},p.createVerifyUrl=function(e,t,n){return e&&n?m({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),factorIndex:encodeURIComponent(n)}):e?h({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)}):g({factorType:encodeURIComponent(t)})},p.createEnrollFactorUrl=function(e,t){return v({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t)})},p.createActivateFactorUrl=function(e,t,n){return y({provider:encodeURIComponent(e.toLowerCase()),factorType:encodeURIComponent(t),step:!!n&&encodeURIComponent(n)})},p.createRecoveryUrl=function(e){return b({recoveryToken:encodeURIComponent(e)})},p.createRefreshUrl=function(e){var t=e?encodeURIComponent(e):null;return _({token:t})},p.createSigninUrl=function(e){return e?w({username:encodeURIComponent(e)}):"signin"},p.routeAfterAuthStatusChangeError=function(e,t){if(t){if(!t.xhr||!i.default.corsIsNotEnabled(t.xhr))return t.errorCode===s.default.INVALID_TOKEN_EXCEPTION?(e.appState.set("flashError",t),e.controller.state.set("navigateDir",a.default.DIRECTION_BACK),void(e.settings.get("features.mfaOnlyFlow")?e.navigate("signin/error",{trigger:!0}):e.navigate("",{trigger:!0}))):void c.default.triggerAfterError(e.controller,t);e.settings.callGlobalError(new l.UnsupportedBrowserError((0,o.loc)("error.enabled.cors")))}},p.routeAfterAuthStatusChange=function(e,t){t&&t.status?(e.appState.setAuthResponse(t),e.controller&&e.controller.trapAuthResponse(t)||p.handleResponseStatus(e,t)):e.appState.clearLastAuthResponse()},p.handleResponseStatus=function(e,t){switch(t.status){case"SUCCESS":return void function(e,t){var n,r,i,s,d;if(t.recoveryType===a.default.RECOVERY_TYPE_UNLOCK)return void e.navigate("signin/account-unlocked",{trigger:!0});if(o._.contains(x,null===(n=t._embedded)||void 0===n?void 0:n.deviceActivationStatus))return void e.navigate("signin/device-activate-complete",{trigger:!0});if(e.settings.get("oauth2Enabled"))return void u.default.getTokens(e.settings,{sessionToken:t.sessionToken},e.controller);var f={user:t._embedded.user,type:t.type||a.default.SESSION_SSO};t.relayState&&(f.relayState=t.relayState);var h=e.settings.get("redirectUtilFn"),m=(null==t||null===(r=t._links)||void 0===r||null===(i=r.original)||void 0===i?void 0:i.href)||(null==t||null===(s=t._links)||void 0===s||null===(d=s.next)||void 0===d?void 0:d.href);if(t.type===a.default.SESSION_STEP_UP){var g,v,y=null==t||null===(g=t._links)||void 0===g||null===(v=g.next)||void 0===v?void 0:v.href;f.stepUp={url:y,finish:function(){h(y)}}}else m?f.next=function(){h(m)}:f.type=a.default.SESSION_SSO,t.sessionToken&&(f.session={token:t.sessionToken,setCookieAndRedirect:function(n){if(n&&c.default.debugMessage('\n Passing a "redirectUri" to "setCookieAndRedirect" is strongly discouraged.\n It is recommended to set a "redirectUri" option in the config object passed to the widget constructor.\n '),!(n=n||e.settings.get("redirectUri")))throw new l.ConfigError('"redirectUri" is required');h(k({baseUrl:e.settings.get("baseUrl"),token:encodeURIComponent(t.sessionToken),redirectUrl:encodeURIComponent(n)}))}});p.isHostBackgroundChromeTab()?document.addEventListener("visibilitychange",(function t(){p.isDocumentVisible()&&(document.removeEventListener("visibilitychange",t),e.settings.callGlobalSuccess(a.default.SUCCESS,f))})):e.settings.callGlobalSuccess(a.default.SUCCESS,f)}(e,t);case"ADMIN_CONSENT_REQUIRED":return void e.navigate("signin/admin-consent",{trigger:!0});case"CONSENT_REQUIRED":return void e.navigate("signin/consent",{trigger:!0});case"DEVICE_ACTIVATE":return void e.navigate("signin/device-activate",{trigger:!0});case"FACTOR_REQUIRED":case"FACTOR_CHALLENGE":case"MFA_REQUIRED":var n=e.appState.get("lastFailedChallengeFactorData");n&&n.factor&&(e.appState.get("factors").lastUsedFactor=n.factor);var r=e.appState.get("factors").getDefaultFactor(),i=p.createVerifyUrl(r.get("provider"),r.get("factorType"));return e.navigate(i,{trigger:!0}),void e.appState.clearLastFailedChallengeFactorData();case"POLL":return void e.navigate("signin/poll",{trigger:!0});case"MFA_CHALLENGE":return e.appState.get("isFactorResultFailed")&&e.appState.setLastFailedChallengeFactorData(),void e.appState.get("transaction").prev().then((function(t){e.appState.set("transaction",t)}));case"MFA_ENROLL":case"FACTOR_ENROLL":return void e.navigate("signin/enroll",{trigger:!0});case"MFA_ENROLL_ACTIVATE":case"FACTOR_ENROLL_ACTIVATE":var s=p.createActivateFactorUrl(e.appState.get("activatedFactorProvider"),e.appState.get("activatedFactorType"));return void e.navigate(s,{trigger:!0});case"PASSWORD_WARN":case"PASSWORD_EXPIRED":return void(e.settings.get("features.customExpiredPassword")&&!e.appState.get("isPwdManagedByOkta")?e.navigate("signin/custom-password-expired",{trigger:!0}):e.navigate("signin/password-expired",{trigger:!0}));case"RECOVERY_CHALLENGE":var d=t.factorType.toLowerCase()===a.default.RECOVERY_FACTOR_TYPE_EMAIL.toLowerCase(),f=t.recoveryType===a.default.RECOVERY_TYPE_PASSWORD,h=t.recoveryType===a.default.RECOVERY_TYPE_UNLOCK;return void(f&&d?e.navigate("signin/recovery-emailed",{trigger:!0}):h&&d?e.navigate("signin/unlock-emailed",{trigger:!0}):e.navigate("signin/recovery-challenge",{trigger:!0}));case"RECOVERY":return void e.navigate("signin/recovery-question",{trigger:!0});case"PASSWORD_RESET":return void e.navigate("signin/password-reset",{trigger:!0});case"LOCKED_OUT":if(e.settings.get("features.selfServiceUnlock"))e.navigate("signin/unlock",{trigger:!0});else{var m=(0,o.loc)("error.auth.lockedOut","login"),g={responseJSON:{errorCauses:[],errorSummary:m,errorCode:"E0000119"}},v={name:"AuthApiError",message:m,xhr:g};e.controller.model.appState.trigger("removeLoading"),e.controller.model.trigger("error",e.controller.model,g),c.default.triggerAfterError(e.controller,v)}return;case"PROFILE_REQUIRED":return void e.navigate("signin/enroll-user",{trigger:!0});case"UNAUTHENTICATED":if(e.appState.get("promptForFactorInUnauthenticated")){var y=e.appState.get("factors").getDefaultFactor(),b=p.createVerifyUrl(y.get("provider"),y.get("factorType"));return void e.navigate(b,{trigger:!0})}return e.appState.get("usingDeviceFlow")?void e.navigate("signin/idp-discovery-check",{trigger:!0}):void e.navigate("",{trigger:!0});default:throw new Error("Unknown status: "+t.status)}};var S=p;t.default=S,e.exports=t.default},2269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={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"}},e.exports=t.default},8690:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o,i=(r=n(6316))&&r.__esModule?r:{default:r};var a={track:function(e){try{(o=new i.default).addTarget(e),o.start()}catch(e){}},getTypingPattern:function(){try{return o.getTypingPattern({type:1})}catch(e){return null}}};t.default=a,e.exports=t.default},3486:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o={validateUsername:function(e){var t=e.get("username");if(t&&t.length>256)return{username:(0,r.loc)("model.validation.field.username","login")}},validateFieldsMatch:function(e,t,n,r){if(e.get(t)!==e.get(n)){var o={};return o[n]=r,o}},validatePasswordMatch:function(e){return o.validateFieldsMatch(e,"newPassword","confirmPassword",(0,r.loc)("password.error.match","login"))}},i=o;t.default=i,e.exports=t.default},5501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({className:"hide resend-email-infobox",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox infobox-warning" aria-live="polite"><span class="icon warning-16"></span><p><span>'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.code.not.received"},data:o,loc:{start:{line:1,column:102},end:{line:1,column:156}}}))+'</span><a href="#" class="resend-email-btn">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"email.button.resend"},data:o,loc:{start:{line:1,column:200},end:{line:1,column:250}}}))+"</a></p></div>"},useData:!0}),events:{"click .resend-email-btn":"resendEmail"},postRender:function(){this.showResendCallout()},showResendCallout:function(){var e=this;o._.delay((function(){e.$el.removeClass("hide")}),i.default.API_RATE_LIMIT)},hideResendCallout:function(){this.$el.addClass("hide")},resendEmail:function(e){e.preventDefault(),this.hideResendCallout(),this.model.resend().finally(this.showResendCallout.bind(this))}});t.default=s,e.exports=t.default},9597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);n(3506);var a=i.View.extend({className:"scope-item",template:o.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16" />'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="scope-item-text no-translate">'+e.escapeExpression("function"==typeof(a=null!=(a=l(n,"name")||(null!=t?l(t,"name"):t))?a:e.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:48}}}):a)+"</p>"+(null!=(i=l(n,"if").call(s,null!=t?l(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:52},end:{line:1,column:131}}}))?i:"")},useData:!0}),postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:i._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom left",target:"mouse"}})}});t.default=a,e.exports=t.default},4506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9597));function a(e){return e&&e.__esModule?e:{default:e}}var s={groups:"user",myAccount:"user",users:"user",apps:"resource",authenticators:"resource",authorizationServers:"resource",clients:"resource",domains:"resource",factors:"resource",idps:"resource",linkedObjects:"resource",policies:"resource",templates:"resource",eventHooks:"hook",inlineHooks:"hook",events:"system",logs:"system",orgs:"system",roles:"system",schemas:"system",sessions:"system",trustedOrigins:"system"},l=function(e){var t=e.name,n=(void 0===t?"":t).split(".")[1];return s[n]||"system"},u=o.View.extend({className:"scope-group",events:{click:"expandScopes"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="scope-group--header"><h3>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"groupName")||(null!=t?a(t,"groupName"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"groupName",hash:{},data:o,loc:{start:{line:1,column:37},end:{line:1,column:50}}}):i)+'</h3><span class="scope-group--toggle"><svg class="caret" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="path" fill-rule="evenodd" clip-rule="evenodd" d="M5.99967 4.66663L10.2663 8.66663L11.333 7.66663L5.99967 2.66663L0.666342 7.73636L1.73301 8.66663L5.99967 4.66663Z" fill="#A0A7AC"></path></svg></span></div>'},useData:!0}),expandScopes:function(){this.$el.toggleClass("scope-group--is-expanded"),this.$(".caret").toggleClass("caret--is-rotated")},preRender:function(){var e=this;o._.chain(this.options.scopes).sortBy((function(e){return e.name})).each((function(t){var n=t.name,r=t.displayName,o=t.description;e.add(i.default,{options:{name:r||n,description:o}})}))}}),c=o.View.extend({className:"scope-list detail-row",postRender:function(){var e=this,t=this.model.get("scopes"),n=o._.groupBy(t,l),r={user:(0,o.loc)("admin.consent.group.user.group","login"),resource:(0,o.loc)("admin.consent.group.resource.policy","login"),hook:(0,o.loc)("admin.consent.group.hook","login"),system:(0,o.loc)("admin.consent.group.system","login")};o._.each(r,(function(t,r){var o=n[r];Array.isArray(o)&&e.add(u,{options:{groupName:t,scopes:o}})}))}});t.default=c,e.exports=t.default},1745:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="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},a(e)}var s=i.internal.views.forms.inputs.CheckBox.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="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(i=null!=(i=d(n,"name")||(null!=t?d(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:29},end:{line:1,column:37}}}):i)+'" id="'+c(a(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:43},end:{line:1,column:54}}}):i)+'"/><label for="'+c(a(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:69},end:{line:1,column:80}}}):i)+'" data-se-for-name="'+c(a(i=null!=(i=d(n,"name")||(null!=t?d(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:100},end:{line:1,column:108}}}):i)+'"><b>'+c(a(i=null!=(i=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?i:l)===u?i.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:113},end:{line:1,column:128}}}):i)+"</b><p>"+c(a(i=null!=(i=d(n,"desc")||(null!=t?d(t,"desc"):t))?i:l)===u?i.call(s,{name:"desc",hash:{},data:o,loc:{start:{line:1,column:135},end:{line:1,column:143}}}):i)+"</p></label>"},useData:!0}),enable:function(){this.options.options.optional&&this.$(":input").prop("disabled",!1)},editMode:function(){if(this.$el.html(this.template(i._.extend(i._.omit(this.options,"placeholder"),{placeholder:this.options.placeholder||this.options.name,desc:this.options.options.description}))),this.$(":checkbox").prop("checked",this.getModelValue()||!1),this.$("input").customInput(),this.model.trigger("form:resize"),!this.options.options.optional){var e=this.$("input").get(0);this.$(e.parentElement).addClass("o-form-read-mode"),this.$(":checkbox").prop("disabled",!0)}return("openid"===this.options.name||this.options.options.isCustomized)&&(this.$("label > b").addClass("no-translate"),this.options.options.isCustomized&&this.$("label > p").addClass("no-translate")),this}});t.default=s,e.exports=t.default},9655:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="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},a(e)}n(3506);var s=i.View.extend({className:"scope-item",template:o.default.template({1:function(e,t,n,r,o){return'<span class="scope-item-tooltip icon form-help-16"></span>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="'+d(a(s=null!=(s=f(n,"classNames")||(null!=t?f(t,"classNames"):t))?s:u)===c?s.call(l,{name:"classNames",hash:{},data:o,loc:{start:{line:1,column:12},end:{line:1,column:26}}}):s)+'"><p>'+d(a(s=null!=(s=f(n,"name")||(null!=t?f(t,"name"):t))?s:u)===c?s.call(l,{name:"name",hash:{},data:o,loc:{start:{line:1,column:31},end:{line:1,column:39}}}):s)+"</p></div>"+(null!=(i=f(n,"if").call(l,null!=t?f(t,"description"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:49},end:{line:1,column:133}}}))?i:"")},useData:!0}),getTemplateData:function(){var e=this.options,t=e.name,n=e.description,r=e.isCustomized,o="scope-item-text";return{classNames:"openid"===t||r?"".concat(o," no-translate"):o,name:t,description:n}},postRender:function(){this.$(".scope-item-tooltip").qtip({content:{text:i._.escape(this.options.description)},style:{classes:"okta-tooltip qtip-custom qtip-shadow"},position:{my:"bottom right",target:"mouse"}})}});t.default=s,e.exports=t.default},2013:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(9655))&&r.__esModule?r:{default:r};var a=o.View.extend({className:"scope-list detail-row",postRender:function(){var e=this;this.model.get("scopes").forEach((function(t){e.add(i.default,{options:{name:t.displayName||t.name,description:t.description,isCustomized:t.isCustomized}})}))}});t.default=a,e.exports=t.default},4098:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(9057)),a=s(n(9201));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="factor-cardinality">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"cardinalityText")||(null!=t?a(t,"cardinalityText"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"cardinalityText",hash:{},data:o,loc:{start:{line:1,column:33},end:{line:1,column:52}}}):i)+"</span>"},useData:!0}),c=o.View.extend({tagName:"li",className:"enroll-factor-row clearfix",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"<p>"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"factorDescription")||(null!=t?a(t,"factorDescription"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"factorDescription",hash:{},data:o,loc:{start:{line:1,column:235},end:{line:1,column:256}}}):i)+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="enroll-factor-icon-container"><div class="factor-icon enroll-factor-icon '+d(l(a=null!=(a=f(n,"iconClassName")||(null!=t?f(t,"iconClassName"):t))?a:u)===c?a.call(s,{name:"iconClassName",hash:{},data:o,loc:{start:{line:1,column:85},end:{line:1,column:102}}}):a)+'"></div></div><div class="enroll-factor-description"><h3 class="enroll-factor-label">'+d(l(a=null!=(a=f(n,"factorLabel")||(null!=t?f(t,"factorLabel"):t))?a:u)===c?a.call(s,{name:"factorLabel",hash:{},data:o,loc:{start:{line:1,column:187},end:{line:1,column:202}}}):a)+"</h3>"+(null!=(i=f(n,"if").call(s,null!=t?f(t,"factorDescription"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:207},end:{line:1,column:267}}}))?i:"")+'<div class="enroll-factor-button"></div></div>'},useData:!0}),attributes:function(){return{"data-se":this.model.get("factorName")}},children:function(){var e=[],t=this.model.get("enrolled"),n=this.model.get("required"),r=this.model.get("cardinality");if(this.options.showInlineSetupButton)return[[(0,o.createButton)({className:"button",title:this.getSetupButtonText(),click:function(){this.options.appState.trigger("navigate",a.default.createEnrollFactorUrl(this.model.get("provider"),this.model.get("factorType")))}}),".enroll-factor-button"]];t?e.push(['<span class="icon success-16-green"></span>',".enroll-factor-label"]):n&&e.push(['<span class="icon success-16-gray"></span>',".enroll-factor-label"]);var s=i.default.getCardinalityText(t,n,r);return s&&e.push([u({cardinalityText:s}),".enroll-factor-description"]),e},minimize:function(){this.$el.addClass("enroll-factor-row-min")},maximize:function(){this.$el.removeClass("enroll-factor-row-min")},getSetupButtonText:function(){return this.model.get("additionalEnrollment")?(0,o.loc)("enroll.choices.setup.another","login"):(0,o.loc)("enroll.choices.setup","login")}}),d=o.ListView.extend({className:"enroll-factor-list",item:c,itemSelector:".list-content",template:r.default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h3 class="list-title">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"listTitle")||(null!=t?a(t,"listTitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"listTitle",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):i)+"</h3>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"listTitle"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:65}}}))?i:"")+'<ul class="list-content"></ul>'},useData:!0}),getTemplateData:function(){var e=o.ListView.prototype.getTemplateData.call(this);return o._.extend(e,this),e},postRender:function(){this.options.minimize&&this.invoke("minimize")}});t.default=d,e.exports=t.default},2702:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link goto js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"enroll.choices.setup.skip"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:114}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction((function(e){return e.skip()}))}}});t.default=i,e.exports=t.default},1150:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4098))&&r.__esModule?r:{default:r};var a=i.default.extend({listTitle:o._.partial(o.loc,"enroll.choices.list.setup","login"),className:function(){return i.default.prototype.className+" enroll-required-factor-list"},postRender:function(){var e;i.default.prototype.postRender.apply(this,arguments),e=this.options.appState.get("factors").getFirstUnenrolledRequiredFactor(),this.find((function(t){return t.model===e})).maximize()}});t.default=a,e.exports=t.default},54:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(9057)),a=s(n(9201));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u=o.View.extend({className:"scan-instructions clearfix",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=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>'+c(l(i=null!=(i=d(n,"instructions")||(null!=t?d(t,"instructions"):t))?i:s)===u?i.call(a,{name:"instructions",hash:{},data:o,loc:{start:{line:1,column:89},end:{line:1,column:105}}}):i)+'</p></div></div><div class="scan-instructions-qrcode-wrapper"><div class="qrcode-wrap"><img data-se="qrcode" alt="'+c(l(i=null!=(i=d(n,"altQRCode")||(null!=t?d(t,"altQRCode"):t))?i:s)===u?i.call(a,{name:"altQRCode",hash:{},data:o,loc:{start:{line:1,column:219},end:{line:1,column:232}}}):i)+'" class="qrcode-image" src="'+c(l(i=null!=(i=d(n,"qrcode")||(null!=t?d(t,"qrcode"):t))?i:s)===u?i.call(a,{name:"qrcode",hash:{},data:o,loc:{start:{line:1,column:260},end:{line:1,column:270}}}):i)+'"><div data-se="qrcode-success" class="qrcode-success"></div><div data-se="qrcode-error" class="qrcode-error"></div></div><a href="#" data-type="manual-setup" data-se="manual-setup" class="link manual-setup" aria-label="'+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.aria.cannotScan"},data:o,loc:{start:{line:1,column:490},end:{line:1,column:549}}}))+'">'+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.cannotScan"},data:o,loc:{start:{line:1,column:551},end:{line:1,column:604}}}))+'</a><a href="#" data-type="refresh-qrcode" data-se="refresh-qrcode" class="link refresh-qrcode">'+c((d(n,"i18n")||t&&d(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"enroll.totp.refreshBarcode"},data:o,loc:{start:{line:1,column:700},end:{line:1,column:757}}}))+"</a></div>"},useData:!0}),events:{'click [data-type="manual-setup"]':function(e){var t=this;e.preventDefault();var n=a.default.createActivateFactorUrl(this.model.get("__provider__"),this.model.get("__factorType__"),"manual");"push"===this.model.get("__factorType__")?this.model.doTransaction((function(e){return e.prev().then((function(e){return o._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()}))})).then((function(){t.options.appState.trigger("navigate",n)})):this.options.appState.trigger("navigate",n)},'click [data-type="refresh-qrcode"]':function(e){e.preventDefault(),this.model.trigger("errors:clear");var t=this;this.model.doTransaction((function(e){return this.appState.get("isWaitingForActivation")?e.poll():e.activate()})).then((function(e){var n=e.data;"MFA_ENROLL_ACTIVATE"!==n.status&&"FACTOR_ENROLL_ACTIVATE"!==n.status||"WAITING"!==n.factorResult||o._.defer(o._.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 e=i.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return{instructions:"GOOGLE"===this.model.get("__provider__")?(0,o.loc)("enroll.totp.setupGoogleAuthApp","login",[e]):(0,o.loc)("enroll.totp.setupApp","login",[e]),qrcode:this.options.appState.get("qrcode"),altQRCode:(0,o.loc)("mfa.altQrCode","login")}}});t.default=u,e.exports=t.default},1920:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=l(n(9057)),i=l(n(7651)),a=l(n(7516)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u={title:function(){var e=o.default.getFactorLabel(this.model.get("__provider__"),this.model.get("__factorType__"));return(0,r.loc)("enroll.totp.title","login",[e])},subtitle:r._.partial(r.loc,"enroll.totp.enterCode","login"),autoSave:!0,noButtonBar:!0,attributes:{"data-se":"step-sendcode"},formChildren:function(){return[i.default.Input({label:(0,r.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,explain:a.default.createInputExplain("mfa.challenge.enterCode.tooltip","mfa.challenge.enterCode.placeholder","login"),"explain-top":!0,name:"passCode",input:s.default,type:"tel"}),i.default.Toolbar({noCancelButton:!0,save:(0,r.loc)("oform.verify","login")})]}};t.default=u,e.exports=t.default},2669:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.options.appState.trigger("backToFactors"),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s,e.exports=t.default},1652:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault(),this.model.startTransaction((function(e){return e.tx.resume()}))}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})):this.options.appState.trigger("navigate","signin/enroll")}});t.default=s,e.exports=t.default},2329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9201));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=i.default.createActivateFactorUrl(e.get("activatedFactorProvider"),e.get("activatedFactorType"));e.trigger("navigate",t)}var l=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,s=e.escapeExpression,l=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-back" data-se="back-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.backToFactors"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:106}}}))+'</a><a href="#" class="link help goto js-goto" data-se="goto-link">'+s((l(n,"i18n")||t&&l(t,"i18n")||a).call(i,{name:"i18n",hash:{bundle:"login",code:"mfa.scanBarcode"},data:o,loc:{start:{line:1,column:173},end:{line:1,column:219}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .js-back":function(e){e.preventDefault(),this.back()},"click .js-goto":function(e){e.preventDefault();var t=o._.partial(s,this.options.appState);this.options.appState.unset("factorActivationType"),this.model.doTransaction((function(e){return e.prev().then((function(e){return o._.findWhere(e.factors,{factorType:"push",provider:"OKTA"}).enroll()}))})).then(t)}},back:function(){var e=this;e.options.appState.unset("factorActivationType"),e.options.appState.get("prevLink")?this.model.doTransaction((function(e){return e.prev()})).then((function(){e.options.appState.trigger("navigate","signin/enroll")})):e.options.appState.trigger("navigate","signin/enroll")}});t.default=l,e.exports=t.default},5157:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="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},a(e)}var s=i.internal.views.forms.inputs.TextBox.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="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(a(i=null!=(i=d(n,"countryCallingCode")||(null!=t?d(t,"countryCallingCode"):t))?i:l)===u?i.call(s,{name:"countryCallingCode",hash:{},data:o,loc:{start:{line:1,column:57},end:{line:1,column:79}}}):i)+'</span><span class="okta-form-input-field input-fix o-form-control"><input type="'+c(a(i=null!=(i=d(n,"type")||(null!=t?d(t,"type"):t))?i:l)===u?i.call(s,{name:"type",hash:{},data:o,loc:{start:{line:1,column:160},end:{line:1,column:168}}}):i)+'" placeholder="'+c(a(i=null!=(i=d(n,"placeholder")||(null!=t?d(t,"placeholder"):t))?i:l)===u?i.call(s,{name:"placeholder",hash:{},data:o,loc:{start:{line:1,column:183},end:{line:1,column:198}}}):i)+'" name="'+c(a(i=null!=(i=d(n,"name")||(null!=t?d(t,"name"):t))?i:l)===u?i.call(s,{name:"name",hash:{},data:o,loc:{start:{line:1,column:206},end:{line:1,column:214}}}):i)+'" id="'+c(a(i=null!=(i=d(n,"inputId")||(null!=t?d(t,"inputId"):t))?i:l)===u?i.call(s,{name:"inputId",hash:{},data:o,loc:{start:{line:1,column:220},end:{line:1,column:231}}}):i)+'" value="'+c(a(i=null!=(i=d(n,"value")||(null!=t?d(t,"value"):t))?i:l)===u?i.call(s,{name:"value",hash:{},data:o,loc:{start:{line:1,column:240},end:{line:1,column:249}}}):i)+'" autocomplete="tel"></span>'},useData:!0}),initialize:function(){this.listenTo(this.model,"change:countryCallingCode",(function(){this.$(".o-form-label-inline").text(this.model.get("countryCallingCode"))}))},preRender:function(){this.options.countryCallingCode=this.model.get("countryCallingCode")},postRender:function(){var e=this;this.$el.removeClass("input-fix o-form-control"),i._.defer((function(){e.$el.parent().addClass("o-form-input-group")}))}});t.default=s,e.exports=t.default},1766:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(2384)),a=s(n(2937));function s(e){return e&&e.__esModule?e:{default:e}}var l=o.Form.extend({layout:"o-form-theme",autoSave:!0,noCancelButton:!0,title:function(){return(0,o.loc)("registration.form.title","login")},save:function(){return(0,o.loc)("registration.form.submit","login")},initialize:function(e){var t=this;this.options=e||{},this.schema=new i.default({profileSchemaAttributes:this.options.appState.get("policy").registration.profile}),this.schema.properties.each((function(e){var n=a.default.createInputOptions(e);t.addInput(n)}));var n=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="required-fields-label">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"label")||(null!=t?a(t,"label"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"label",hash:{},data:o,loc:{start:{line:1,column:36},end:{line:1,column:45}}}):i)+"</span>"},useData:!0})({label:(0,o.loc)("registration.required.fields.label","login")});this.add(n)}});t.default=l,e.exports=t.default},1952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.internal.util.Util,l=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help js-skip" data-se="skip-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"password.expiring.later"},data:o,loc:{start:{line:1,column:78},end:{line:1,column:132}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"passwordWarn"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:143}}}))?i:"")+'<a href="#" class="link help goto js-signout" data-se="signout-link">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"signout"},data:o,loc:{start:{line:1,column:212},end:{line:1,column:250}}}))+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{"click .js-signout":function(e){e.preventDefault();var t=this,n=t.settings.getAuthClient();this.model.doTransaction((function(e){return e.cancel()})).then((function(){return n.session.exists()})).then((function(e){if(e)return n.closeSession().catch((function(){}))})).then((function(){t.settings.get("backToSignInUri")?s.redirect(t.settings.get("backToSignInUri")):(t.state.set("navigateDir",i.default.DIRECTION_BACK),t.options.appState.trigger("navigate",""))}))},"click .js-skip":function(e){e.preventDefault(),this.model.doTransaction((function(e){return e.skip()}))}},getTemplateData:function(){return{passwordWarn:this.options.appState.get("isPwdExpiringSoon")}}});t.default=l,e.exports=t.default},3776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=a(n(8177)),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=r.Form.extend({layout:"o-form-theme",className:"factor-verify-magiclink",autoSave:!0,noCancelButton:!0,initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("email")||this.options.appState.get("lastAuthResponse")._embedded.user.profile.login;this.subtitle="("+t+")",this.add((0,r.createButton)({attributes:{"data-se":"email-send-code"},className:"button email-request-button",title:(0,r.loc)("mfa.sendEmail","login"),click:function(){var t=this;e.clearErrors(),this.disable(),this.options.title=(0,r.loc)("mfa.sent","login"),this.render(),this.model.save().then((function(){return o.default.delay(i.default.API_RATE_LIMIT)})).then((function(){t.options.title=(0,r.loc)("mfa.resendEmail","login"),t.enable(),t.render()}))}}))}});t.default=s,e.exports=t.default},7491:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048);var i=((r=n(9862))&&r.__esModule?r:{default:r}).default.extend({className:"idp-discovery-form",save:function(){return(0,o.loc)("oform.next","login")},saveId:"idp-discovery-submit",initialize:function(){this.listenTo(this,"save",o._.bind(this.model.save,this.model)),this.stateEnableChange()},inputs:function(){var e=[],t={className:"margin-btm-30",label:(0,o.loc)("primaryauth.username.placeholder","login"),inputId:"idp-discovery-username",disabled:!1};return e.push(o._.extend(this.getUsernameField(),t)),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},focus:function(){this.model.get("username")?this.getInputs().toArray()[1]&&this.getInputs().toArray()[1].focus():this.getInputs().first().focus()}});t.default=i,e.exports=t.default},3739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon error-24"></span><h4><strong>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"message")||(null!=t?s(t,"message"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:47},end:{line:1,column:60}}}):a)?i:"")+"</strong></h4>"},useData:!0}),s=i.View.extend({template:a,className:"okta-infobox-error infobox infobox-error infobox-md margin-btm-25",attributes:{"data-se":"o-form-error-html"},message:"",initialize:function(e){e&&e.message&&(this.message=e.message)},getTemplateData:function(){return{message:this.message}}});t.default=s,e.exports=t.default},2521:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({autoSave:!0,noButtonBar:!0,scrollOnError:!1,layout:"o-form-theme",className:"mfa-verify-totp-inline",attributes:{"data-se":"factor-inline-totp"},initialize:function(){var e=this;this.listenTo(this.model,"error",(function(){this.clearErrors()})),this.add((0,o.createButton)({className:"link",attributes:{"data-se":"inline-totp-add"},title:(0,o.loc)("mfa.challenge.orEnterCode","login"),click:function(){this.remove(),function(e){e.addDivider(),e.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top inline-input auth-passcode",name:"answer",input:i.default,type:"tel"}),e.add((0,o.createButton)({attributes:{"data-se":"inline-totp-verify"},className:"button inline-totp-verify margin-top-30",title:(0,o.loc)("mfa.challenge.verify","login"),click:function(){e.clearErrors(),e.isValid()&&e.model.manageTransaction((function(t,n){if("MFA_CHALLENGE"===t.status&&t.prev)return e.options.appState.set("trapMfaRequiredResponse",!0),t.prev().then((function(t){n(t),e.model.save()}));e.model.save()}))}})),e.at(1).focus()}(e)}}))}});t.default=a,e.exports=t.default},5182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"number-challenge-view",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p data-se="number-challenge-instruction">'+(null!=(i=(c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{arguments:"number",bundle:"login",code:"oktaverify.numberchallenge.instruction"},data:o,loc:{start:{line:1,column:42},end:{line:1,column:132}}}))?i:"")+'</p><div class="phone"><div class="phone--body"><div class="phone--screen"><span class="phone--number" data-se="challenge-number">'+u("function"==typeof(a=null!=(a=c(n,"number")||(null!=t?c(t,"number"):t))?a:l)?a.call(s,{name:"number",hash:{},data:o,loc:{start:{line:1,column:262},end:{line:1,column:272}}}):a)+'</span></div><div class="phone--home-button"></div></div></div><p>'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"oktaverify.numberchallenge.explain"},data:o,loc:{start:{line:1,column:338},end:{line:1,column:403}}}))+"</p>"},useData:!0}),initialize:function(){var e=this;this.listenTo(this.options.appState,"change:isWaitingForNumberChallenge",(function(){"SUCCESS"!==e.options.appState.get("lastAuthResponse").status&&e.render()}))},getTemplateData:function(){var e=this.options.appState.get("lastAuthResponse");return this.options.appState.get("isWaitingForNumberChallenge")?{number:e._embedded.factor._embedded.challenge.correctAnswer}:{number:null}}});t.default=i,e.exports=t.default},4376:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(6276)),o=n(2048),i=l(n(8177)),a=l(n(5115)),s=l(n(4049));function l(e){return e&&e.__esModule?e:{default:e}}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"("+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"subtitle")||(null!=t?a(t,"subtitle"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"subtitle",hash:{},data:o,loc:{start:{line:1,column:1},end:{line:1,column:13}}}):i)+")"},useData:!0}),c=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning login-timeout-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+(null!=(i="function"==typeof(a=null!=(a=s(n,"warning")||(null!=t?s(t,"warning"):t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:53}}}):a)?i:"")+"</p>"},useData:!0})});function d(e){switch(e){case"sms":return{buttonDataSe:"sms-send-code",buttonClassName:"sms-request-button",formSubmit:(0,o.loc)("mfa.sendCode","login"),formRetry:(0,o.loc)("mfa.resendCode","login"),formSubmitted:(0,o.loc)("mfa.sent","login"),subtitle:u({subtitle:this.model.get("phoneNumber")}),warning:(0,o.loc)("factor.sms.time.warning","login")};case"call":return{buttonDataSe:"make-call",buttonClassName:"call-request-button",formSubmit:(0,o.loc)("mfa.call","login"),formRetry:(0,o.loc)("mfa.redial","login"),formSubmitted:(0,o.loc)("mfa.calling","login"),subtitle:u({subtitle:this.model.get("phoneNumber")}),warning:(0,o.loc)("factor.call.time.warning","login")};case"email":return{buttonDataSe:"email-send-code",buttonClassName:"email-request-button",formSubmit:(0,o.loc)("mfa.sendEmail","login"),formRetry:(0,o.loc)("mfa.resendEmail","login"),formSubmitted:(0,o.loc)("mfa.sent","login"),subtitle:u({subtitle:this.model.get("email")})};default:return{buttonDataSe:"",buttonClassName:"",formSubmit:"",formRetry:"",formSubmitted:""}}}var f=o.Form.extend({className:"mfa-verify-passcode",autoSave:!0,noCancelButton:!0,save:o._.partial(o.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(c,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},initialize:function(){var e=this;this.title=this.model.get("factorLabel");var t=this.model.get("factorType"),n=d.call(this,t),r=n.warning;this.$el.attr("data-se","factor-"+t),this.subtitle=n.subtitle,this.listenTo(this.model,"error",(function(){this.clearErrors()})),this.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:s.default,type:"tel"}),this.add((0,o.createButton)({attributes:{"data-se":n.buttonDataSe},className:"button "+n.buttonClassName,title:n.formSubmit,click:function(){var o=this;e.clearErrors(),this.disable(),e.clearWarnings(),this.options.title=n.formSubmitted,this.render(),this.model.set("answer",""),this.model.save().then((function(){return e.getInputs().first().render().focus(),i.default.delay(a.default.API_RATE_LIMIT)})).then((function(){o.options.title=n.formRetry,o.enable(),"call"!==t&&"sms"!==t||e.showWarning(r),o.render()}))}})),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=f,e.exports=t.default},4729:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.Form.extend({className:"mfa-verify-password",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-password"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:(0,r.loc)("mfa.challenge.password.placeholder","login"),"label-top":!0,className:"auth-passcode",name:"password",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o,e.exports=t.default},3190:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(7516)),a=s(n(5182));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}var u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(l(a=null!=(a=d(n,"factorName")||(null!=t?d(t,"factorName"):t))?a:u)===c?a.call(s,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):a)+" ("+(null!=(i=l(a=null!=(a=d(n,"deviceName")||(null!=t?d(t,"deviceName"):t))?a:u)===c?a.call(s,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):a)?i:"")+")"},useData:!0}),c=o.View.extend({className:"okta-form-infobox-warning infobox infobox-warning",attributes:{"aria-live":"polite"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="icon warning-16"></span><p>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"warning")||(null!=t?a(t,"warning"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"warning",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:51}}}):i)+"</p>"},useData:!0})}),d=o.Form.extend({className:"mfa-verify-push",autoSave:!0,noCancelButton:!0,save:o._.partial(o.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(a.default).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(e,t){this.setSubmitState(t),t&&this.showError((0,o.loc)("oktaverify.timeout","login"))})),this.listenTo(this.options.appState,"change:isMfaRequired",(function(e,t){t&&(this.clearErrors(),this.clearWarnings())})),this.title=u({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},setSubmitState:function(e){var t=this.$el.find(".button"),n=this.$el.find(".accessibility-text");this.enabled=e,e?(t.removeClass("link-button-disabled"),t.prop("value",(0,o.loc)("oktaverify.send","login")),t.prop("disabled",!1),n&&n.remove()):(t.addClass("link-button-disabled"),t.prop("value",(0,o.loc)("oktaverify.sent","login")),t.prop("disabled",!0),this.add("<span class='accessibility-text' role='alert'>".concat((0,o.loc)("oktaverify.sent","login"),"</span>")))},submit:function(e){void 0!==e&&e.preventDefault(),this.enabled&&(this.setSubmitState(!1),this.doSave())},postRender:function(){var e=this.options.appState.get("factorsPolicyInfo"),t=this.model.get("id");!!(this.settings.get("features.autoPush")&&e&&e[t])&&e[t].autoPushEnabled&&(this.model.set("autoPush",!0),o._.defer(o._.bind(this.submit,this)))},doSave:function(){var e,t=this;this.clearErrors(),this.clearWarnings(),this.model.isValid()&&(this.listenToOnce(this.model,"error",(function(){this.setSubmitState(!0),this.clearWarnings(),clearTimeout(e)})),this.trigger("save",this.model),e=i.default.callAfterTimeout((function(){t.options.appState.get("isWaitingForNumberChallenge")||t.showWarning((0,o.loc)("oktaverify.warning","login"))}),3e4))},showError:function(e){this.clearWarnings(),this.model.trigger("error",this.model,{responseJSON:{errorSummary:e}})},showWarning:function(e){this.clearWarnings(),this.add(c,".o-form-error-container",{options:{warning:e}})},clearWarnings:function(){this.$(".okta-form-infobox-warning").remove()},handleRejectStateChange:function(e,t){t&&(this.setSubmitState(t),this.setRejectedErrorMessage())},setRejectedErrorMessage:function(){"OKTA_VERIFY_UPGRADE_REQUIRED"===this.options.appState.get("lastAuthResponse").factorResultMessage?"IOS"===this.options.appState.get("factor").profile.platform?this.showError((0,o.loc)("oktaverify.rejected.upgradeRequired.ios","login")):this.showError((0,o.loc)("oktaverify.rejected.upgradeRequired.android","login")):this.showError((0,o.loc)("oktaverify.rejected","login"))}});t.default=d,e.exports=t.default},8873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=r.Form.extend({className:"mfa-verify-question",autoSave:!0,noCancelButton:!0,save:r._.partial(r.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-question"},initialize:function(){this.title=this.model.get("factorLabel"),this.addInput({label:this.model.get("securityQuestion"),"label-top":!0,placeholder:(0,r.loc)("mfa.challenge.answer.placeholder","login"),className:"auth-passcode",name:"answer",type:"password",params:{showPasswordToggle:!0}}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"})}});t.default=o,e.exports=t.default},2991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(5501)),a=s(n(4049));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){var e=this.model.get("email");return{factorEmail:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<span class="mask-email">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"email")||(null!=t?a(t,"email"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"email",hash:{},data:o,loc:{start:{line:1,column:25},end:{line:1,column:34}}}):i)+"</span>"},useData:!0})({email:e})}},u=o.Form.extend({layout:"o-form-theme",className:"mfa-verify-email",title:o._.partial(o.loc,"email.mfa.title","login"),noButtonBar:!1,autoSave:!0,noCancelButton:!0,attributes:{"data-se":"factor-email"},save:function(){return this.options.appState.get("isMfaChallenge")?(0,o.loc)("mfa.challenge.verify","login"):(0,o.loc)("email.button.send","login")},events:Object.assign({},o.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(){o.Form.prototype.initialize.apply(this,arguments),this.add(o.View.extend({attributes:{"data-se":"mfa-send-email-content"},className:"mfa-send-email-content",template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:78}}}))?i:""},useData:!0}),getTemplateData:l}))},renderChallengView:function(){this.removeChildren(),this.add(o.View.extend({className:"mfa-email-sent-content",attributes:{"data-se":"mfa-email-sent-content"},template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=(a(n,"i18n")||t&&a(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"factorEmail",bundle:"login",code:"email.mfa.email.sent.description"},data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:""},useData:!0}),getTemplateData:l})),this.add(i.default),this.addInput({label:(0,o.loc)("email.code.label","login"),"label-top":!0,name:"answer",input:a.default,wide:!0,type:"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),this.render()}}),c=u;t.default=c,e.exports=t.default},6101:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({className:"mfa-verify-totp",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-totp"},initialize:function(){var e=this,t=this.model.get("factorLabel"),n="RSA"===this.model.get("provider")||"DEL_OATH"===this.model.get("provider");this.title=t,this.model.get("isFactorTypeVerification")?this.subtitle=(0,o.loc)("mfa.challenge.totp.subtitle.multiple","login",[t]):this.subtitle=(0,o.loc)("mfa.challenge.title","login",[t]),this.addInput({label:(0,o.loc)("mfa.challenge.enterCode.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,type:n?"password":"tel"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,placeholder:this.options.appState.get("rememberDeviceLabel"),className:"margin-btm-0",name:"rememberDevice",type:"checkbox"}),"RSA"!==this.model.get("provider")&&"DEL_OATH"!==this.model.get("provider")||this.listenTo(this.model,"error",(function(t,n){n&&409===n.status&&(e.$(".auth-passcode input").val(""),e.$(".auth-passcode input").trigger("change"),e.$(".auth-passcode input").focus())}))}});t.default=a,e.exports=t.default},5293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(4049))&&r.__esModule?r:{default:r};var a=o.Form.extend({className:"mfa-verify-yubikey",autoSave:!0,noCancelButton:!0,save:o._.partial(o.loc,"mfa.challenge.verify","login"),scrollOnError:!1,layout:"o-form-theme",attributes:{"data-se":"factor-yubikey"},initialize:function(){var e=this.model.get("factorLabel");this.title=e,this.subtitle=(0,o.loc)("factor.totpHard.yubikey.description","login"),this.addInput({label:(0,o.loc)("factor.totpHard.yubikey.placeholder","login"),"label-top":!0,className:"o-form-fieldset o-form-label-top auth-passcode",name:"answer",input:i.default,inputId:"mfa-answer",type:"password"}),this.options.appState.get("allowRememberDevice")&&this.addInput({label:!1,"label-top":!0,className:"margin-btm-0",placeholder:this.options.appState.get("rememberDeviceLabel"),name:"rememberDevice",type:"checkbox"})}});t.default=a,e.exports=t.default},630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048),o=s(n(9057)),i=s(n(709)),a=s(n(9312));function s(e){return e&&e.__esModule?e:{default:e}}var l=r.internal.views.components.BaseDropDown;(0,r.$)(document).click((function(e){var t=(0,r.$)(e.target);t.closest(".option-selected").length>0&&t.closest(".dropdown").length>0||((0,r.$)(".dropdown .options").hide(),(0,r.$)(".dropdown a.option-selected").attr("aria-expanded",!1))}));var u=l.extend({className:"bg-helper icon-button",screenReaderText:function(){var e,t=this.options.appState.get("factors");return e=(t?o.default.findFactorInFactorsArray(t,this.options.provider,this.options.factorType):new i.default.Model(this.options.appState.get("factor"),this.toJSON())).get("factorLabel"),(0,r.loc)("mfa.factors.dropdown.sr.text","login",[e])},events:{"click a.option-selected":function(e){if(e.preventDefault(),r._.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(a.default.getDropdownOption("TITLE"));var e=this.options.appState.get("factors"),t=e.hasMultipleFactorsOfSameType("push");e.each((function(e){"token:software:totp"===e.get("factorType")&&t||(this.addOption(a.default.getDropdownOption(e.get("factorName")),{model:e}),this.listenTo(this.last(),"options:toggle",(function(){this.$(".options").hide(),this.$("a.option-selected").attr("aria-expanded",!1)})))}),this)}});t.default=u,e.exports=t.default},9312:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9201));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}var l=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression(s(a=null!=(a=d(n,"factorName")||(null!=t?d(t,"factorName"):t))?a:u)===c?a.call(l,{name:"factorName",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:14}}}):a)+" ("+(null!=(i=s(a=null!=(a=d(n,"deviceName")||(null!=t?d(t,"deviceName"):t))?a:u)===c?a.call(l,{name:"deviceName",hash:{},data:o,loc:{start:{line:1,column:16},end:{line:1,column:32}}}):a)?i:"")+")"},useData:!0}),u=function(e){var t,n=e.get("factorType"),r=this.options.appState.get("factors");r.hasMultipleFactorsOfSameType(n)&&(t=r.getFactorIndex(n,e.get("id")));var o=i.default.createVerifyUrl(e.get("provider"),n,t),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)}))},c={TITLE:{title:o._.partial(o.loc,"mfa.factors.dropdown.title","login"),className:"dropdown-list-title",disabled:!0},OKTA_VERIFY:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},OKTA_VERIFY_PUSH:{icon:"factor-icon mfa-okta-verify-30",className:"factor-option",title:function(){return l({factorName:this.model.get("factorLabel"),deviceName:this.model.get("deviceName")})},action:function(){u.call(this,this.model)}},GOOGLE_AUTH:{icon:"factor-icon mfa-google-auth-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_HOTP:{icon:"factor-icon mfa-hotp-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SYMANTEC_VIP:{icon:"factor-icon mfa-symantec-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},RSA_SECURID:{icon:"factor-icon mfa-rsa-30",className:"factor-option",title:o._.partial(o.loc,"factor.totpHard.rsaSecurId","login"),action:function(){u.call(this,this.model)}},ON_PREM:{icon:"factor-icon mfa-onprem-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO:{icon:"factor-icon mfa-duo-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},DUO_PUSH:{icon:"duo-push-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.push","login",["XXX-XXX-7890"])},DUO_SMS:{icon:"duo-sms-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.sms","login",["XXX-XXX-7890"])},DUO_CALL:{icon:"duo-call-16",className:"suboption factor-option",title:o._.partial(o.loc,"mfa.duoSecurity.call","login",["XXX-XXX-7890"])},YUBIKEY:{icon:"factor-icon mfa-yubikey-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},SMS:{icon:"factor-icon mfa-sms-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CALL:{icon:"factor-icon mfa-call-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},QUESTION:{icon:"factor-icon mfa-question-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},PASSWORD:{icon:"factor-icon mfa-password-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WINDOWS_HELLO:{icon:"factor-icon mfa-windows-hello-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},U2F:{icon:"factor-icon mfa-u2f-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},WEBAUTHN:{icon:"factor-icon mfa-webauthn-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},EMAIL:{icon:"factor-icon mfa-email-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_SAML:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},GENERIC_OIDC:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}},CUSTOM_CLAIMS:{icon:"factor-icon mfa-custom-factor-30",className:"factor-option",title:function(){return this.model.get("factorLabel")},action:function(){u.call(this,this.model)}}},d={getDropdownOption:function(e){return c[e]}};t.default=d,e.exports=t.default},3329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(2534));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.internal.util.Util,l=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="auth-divider"><span class="auth-divider-text">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"text")||(null!=t?a(t,"text"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"text",hash:{},data:o,loc:{start:{line:1,column:58},end:{line:1,column:66}}}):i)+"</span></div>"},useData:!0}),u=r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<h2 data-se="o-form-head" class="okta-form-title o-form-head">'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"title")||(null!=t?a(t,"title"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"title",hash:{},data:o,loc:{start:{line:1,column:62},end:{line:1,column:71}}}):i)+"</h2>"},useData:!0}),c=o.View.extend({className:"primary-auth-container",children:function(){var e=[],t=this.settings.get("configuredSocialIdps"),n=this.settings.get("piv"),r=this.settings.get("customButtons"),i=l({text:(0,o.loc)("socialauth.divider.text","login")});return this.settings.get("hasPivCard")&&e.push(this._createPivButton(n)),o._.each(t,(function(t){e.push(this._createSocialIdpButton(t))}),this),o._.each(r,(function(t){e.push(this._createCustomButton(t))}),this),this.settings.get("socialAuthPositionTop")?(e.unshift(u({title:(0,o.loc)("primaryauth.title","login")})),e.push(i)):e.unshift(i),e},_createSocialIdpButton:function(e){return(0,o.createButton)({attributes:{"data-se":e.dataAttr},className:e.className,title:function(){return e.text||(0,o.loc)(e.i18nKey)},click:function(t){if(t.preventDefault(),this.settings.get("oauth2Enabled"))i.default.getTokens(this.settings,{idp:e.id},this.options.currentController);else{var n,r=this.settings.get("baseUrl"),a=this.options.appState.get("lastAuthResponse");n=this.options.appState.get("usingDeviceFlow")?o.$.param({stateToken:null==a?void 0:a.stateToken}):o.$.param({fromURI:this.settings.get("relayState")});var l="".concat(r,"/sso/idps/").concat(e.id,"?").concat(n);s.redirect(l)}}})},_createPivButton:function(e){var t=e.className||"";return(0,o.createButton)({attributes:{"data-se":"piv-card-button"},className:t+" piv-button",title:e.text||(0,o.loc)("piv.cac.card","login"),click:function(e){e.preventDefault(),this.options.appState.trigger("navigate","signin/verify/piv")}})},_createCustomButton:function(e){return(0,o.createButton)({attributes:{"data-se":e.dataAttr},className:e.className+" default-custom-button",title:function(){return e.title||(0,o.loc)(e.i18nKey)},click:e.click})}});t.default=c,e.exports=t.default},9862:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=u(n(6568)),a=u(n(8690)),s=u(n(7516)),l=u(n(4049));function u(e){return e&&e.__esModule?e:{default:e}}function c(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */c=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new O(r||[]);return o(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p={};function h(){}function m(){}function g(){}var v={};u(v,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=g.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return m.prototype=g,o(_,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:m,configurable:!0}),m.displayName=u(g,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),u(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),u(_,l,"Generator"),u(_,a,(function(){return this})),u(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},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),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))}}var p=o.Form.extend({className:"primary-auth-form",noCancelButton:!0,attributes:{novalidate:"novalidate"},save:function(){return this.settings.get("features.passwordlessAuth")?(0,o.loc)("oform.next","login"):(0,o.loc)("primaryauth.submit","login")},saveId:"okta-signin-submit",layout:"o-form-theme",title:function(){var e=(0,o.loc)("primaryauth.title","login");return this.settings.get("socialAuthPositionTop")&&(e=""),e},initialize:function(){var e=this.settings.get("features.trackTypingPattern");this.listenTo(this,"save",f(c().mark((function t(){var n,r,o,s;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=this.options.appState,e&&(r=a.default.getTypingPattern(),n.set("typingPattern",r)),o={username:this.model.get("username")},this.settings.get("features.passwordlessAuth")||(o.password=this.model.get("password")),n.trigger("loading",!0),this.state.trigger("togglePrimaryAuthButton",!0),t.next=8,this.settings.processCreds(o);case 8:if(!this.settings.get("features.deviceFingerprinting")){t.next=18;break}return t.prev=9,t.next=12,i.default.generateDeviceFingerprint(this.settings.get("baseUrl"),this.$el);case 12:s=t.sent,n.set("deviceFingerprint",s),t.next=18;break;case 16:t.prev=16,t.t0=t.catch(9);case 18:this.model.save();case 19:case"end":return t.stop()}}),t,this,[[9,16]])})))),this.stateEnableChange(),this.stateUsernameChange()},stateEnableChange:function(){this.listenTo(this.state,"change:enabled",(function(e,t){t?this.enable():this.disable()}))},stateUsernameChange:function(){this.listenTo(this.state,"change:disableUsername",(function(e,t){t?this.$el.find("#okta-signin-username").attr("disabled",!0):this.$el.find("#okta-signin-username").removeAttr("disabled")}))},inputs:function(){var e=[];return e.push(this.getUsernameField()),this.settings.get("features.passwordlessAuth")||e.push(this.getPasswordField()),this.settings.get("features.rememberMe")&&e.push(this.getRemeberMeCheckbox()),e},getUsernameField:function(){var e=this;return{className:"margin-btm-5",label:(0,o.loc)("primaryauth.username.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.username.tooltip")&&s.default.createInputExplain("primaryauth.username.tooltip","primaryauth.username.placeholder","login")},"explain-top":!0,name:"username",input:l.default,inputId:"okta-signin-username",type:"text",disabled:this.options.appState.get("disableUsername"),autoComplete:"username",render:function(){var e=this;function t(){e.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$("input[name=".concat(this.options.name,"]")).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}}},getPasswordField:function(){var e=this,t={className:"margin-btm-30",label:(0,o.loc)("primaryauth.password.placeholder","login"),"label-top":!0,explain:function(){return!!e.isCustomized("primaryauth.password.tooltip")&&s.default.createInputExplain("primaryauth.password.tooltip","primaryauth.password.placeholder","login")},"explain-top":!0,name:"password",inputId:"okta-signin-password",validateOnlyIfDirty:!0,type:"password",autoComplete:"current-password",render:function(){var e=this;function t(){e.$(this).removeAttr("aria-invalid").off("focusout",t).off("change",t)}this.$("input[name=".concat(this.options.name,"]")).attr({"aria-invalid":"false","aria-required":"true"}).prop({required:!0}).focusout(t).change(t)}};return this.settings.get("features.showPasswordToggleOnSignInPage")&&(t.params={},t.params.showPasswordToggle=!0),t},isCustomized:function(e){var t=this.settings.get("language"),n=this.settings.get("i18n");return!!(n&&n[t]&&n[t][e])},getRemeberMeCheckbox:function(){return{label:!1,placeholder:(0,o.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")&&a.default.track("okta-signin-username")}});t.default=p,e.exports=t.default},9260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);var a=i.View.extend({index:"",message:"",class:function(){},className:function(){return"subschema-unsatisfied subschema-"+this.index},template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<p class="default-schema"><span class="icon icon-16"></span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"message")||(null!=t?a(t,"message"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"message",hash:{},data:o,loc:{start:{line:1,column:60},end:{line:1,column:71}}}):i)+"</p>"},useData:!0}),getTemplateData:function(){return{message:this.message}}}),s=i.View.extend({className:"subschema",children:function(){return this.subSchemas.map((function(e,t){var n=e.get("description");return a.extend({index:t,message:n})}))}});t.default=s,e.exports=t.default},8052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};var a=o.View.extend({tagName:"main",className:"auth-container main-container",id:i.default.WIDGET_CONTAINER_ID,attributes:{"data-se":"auth-container",tabindex:"-1"},initialize:function(e){this.listenTo(e.appState,"change:beaconType",(function(e,t){this.$el.toggleClass("can-remove-beacon","security"===t)}))}});t.default=a,e.exports=t.default},3891:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="infobox"><span class="icon info-16"></span><p>'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{arguments:"helpSupportNumber",bundle:"login",code:"contact.support"},data:o,loc:{start:{line:1,column:58},end:{line:1,column:134}}}))+"</p></div>"},useData:!0}),className:"contact-support",getTemplateData:function(){return this.settings.pick("helpSupportNumber")}});t.default=i,e.exports=t.default},9299:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=u(n(6276)),o=n(2048),i=u(n(709)),a=u(n(8177)),s=u(n(9057)),l=u(n(630));function u(e){return e&&e.__esModule?e:{default:e}}var c=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon auth-beacon-factor '+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"className")||(null!=t?a(t,"className"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"className",hash:{},data:o,loc:{start:{line:1,column:171},end:{line:1,column:184}}}):i)+'" data-se="factor-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div><div data-type="factor-types-dropdown" class="factors-dropdown-wrap"></div>'},useData:!0}),events:{"click .auth-beacon-factor":function(e){e.preventDefault(),e.stopPropagation();var t=this.$(".dropdown .options").toggle().is(":visible");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=this.options.appState.get("factors");return{className:(e?s.default.findFactorInFactorsArray(e,this.options.provider,this.options.factorType):new i.default.Model(this.options.appState.get("factor"))).get("iconClassName")||""}},postRender:function(){this.options.animate&&this.$(".auth-beacon-factor").fadeIn(200),this.options.appState.get("hasMultipleFactorsAvailable")&&this.add(l.default,'[data-type="factor-types-dropdown"]')},fadeOut:function(){var e=a.default.defer();return this.$(".auth-beacon-factor").fadeOut(200,(function(){e.resolve()})),e.promise},equals:function(e,t){return e&&this instanceof e&&t.provider===this.options.provider&&(t.factorType===this.options.factorType||s.default.isOktaVerify(t.provider,t.factorType)&&s.default.isOktaVerify(this.options.provider,this.options.factorType))}});t.default=c,e.exports=t.default},2881:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="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},a(e)}var s=i.internal.util.Util,l=i.View.extend({template:o.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="#" data-se="unlock" class="link js-unlock">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"unlockaccount"},data:o,loc:{start:{line:1,column:440},end:{line:1,column:484}}}))+"</a></li>"},3:function(e,t,n,r,o){var i,s,l=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,c="function",d=e.escapeExpression,f=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<li><a href="'+d(a(s=null!=(s=f(n,"href")||(null!=t?f(t,"href"):t))?s:u)===c?s.call(l,{name:"href",hash:{},data:o,loc:{start:{line:1,column:539},end:{line:1,column:547}}}):s)+'" class="link js-custom" rel="noopener noreferrer" '+(null!=(i=f(n,"if").call(l,null!=t?f(t,"target"):t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:598},end:{line:1,column:638}}}))?i:"")+">"+d(a(s=null!=(s=f(n,"text")||(null!=t?f(t,"text"):t))?s:u)===c?s.call(l,{name:"text",hash:{},data:o,loc:{start:{line:1,column:639},end:{line:1,column:647}}}):s)+"</a></li>"},4:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'target="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"target")||(null!=t?a(t,"target"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"target",hash:{},data:o,loc:{start:{line:1,column:620},end:{line:1,column:630}}}):i)+'"'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u=e.escapeExpression,c=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" data-se="needhelp" aria-expanded="false" aria-controls="help-links-container" class="link help js-help">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"needhelp"},data:o,loc:{start:{line:1,column:116},end:{line:1,column:155}}}))+'</a><ul class="help-links js-help-links" id="help-links-container"><li><a href="#" data-se="forgot-password" class="link js-forgot-password">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"forgotpassword"},data:o,loc:{start:{line:1,column:296},end:{line:1,column:341}}}))+"</a></li>"+(null!=(i=c(n,"if").call(s,null!=(i=null!=t?c(t,"features"):t)?c(i,"selfServiceUnlock"):i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:350},end:{line:1,column:500}}}))?i:"")+(null!=(i=c(n,"each").call(s,null!=(i=null!=t?c(t,"helpLinks"):t)?c(i,"custom"):i,{name:"each",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:500},end:{line:1,column:665}}}))?i:"")+'<li><a href="'+u("function"==typeof(a=null!=(a=c(n,"helpLinkUrl")||(null!=t?c(t,"helpLinkUrl"):t))?a:l)?a.call(s,{name:"helpLinkUrl",hash:{},data:o,loc:{start:{line:1,column:678},end:{line:1,column:693}}}):a)+'" data-se="help-link" class="link js-help-link" rel="noopener noreferrer" target="_blank">'+u((c(n,"i18n")||t&&c(t,"i18n")||l).call(s,{name:"i18n",hash:{bundle:"login",code:"help"},data:o,loc:{start:{line:1,column:783},end:{line:1,column:818}}}))+"</a></li></ul>"},useData:!0}),className:"auth-footer",initialize:function(){this.listenTo(this.state,"change:enabled",(function(e,t){this.$(".link").toggleClass("o-form-disabled",!t)}))},getTemplateData:function(){var e,t=this.settings.get("helpLinks.help");return e=t||o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return e.escapeExpression("function"==typeof(i=null!=(i=a(n,"baseUrl")||(null!=t?a(t,"baseUrl"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"baseUrl",hash:{},data:o,loc:{start:{line:1,column:0},end:{line:1,column:11}}}):i)+"/help/login"},useData:!0})({baseUrl:this.settings.get("baseUrl")}),i._.extend(this.settings.toJSON({verbose:!0}),{helpLinkUrl:e})},postRender:function(){this.$(".js-help-links").hide()},toggleLinks:function(e){var t=this;e.preventDefault(),this.$(".js-help-links").slideToggle(200,(function(){t.$(".js-help").attr("aria-expanded",t.$(".js-help-links").is(":visible"))}))},events:{"click .js-help":function(e){e.preventDefault(),this.state.get("enabled")&&this.toggleLinks(e)},"click .js-forgot-password":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.forgotPassword");t?s.redirect(t):this.options.appState.trigger("navigate","signin/forgot-password")}},"click .js-unlock":function(e){if(e.preventDefault(),this.state.get("enabled")){var t=this.settings.get("helpLinks.unlock");t?s.redirect(t):this.options.appState.trigger("navigate","signin/unlock")}}}});t.default=l,e.exports=t.default},100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(6276)),o=i(n(9197));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}var s=o.default.extend({template:r.default.template({1:function(e,t,n,r,o){var i,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'<a href="'+c(a(i=null!=(i=d(n,"factorPageCustomLinkHref")||(null!=t?d(t,"factorPageCustomLinkHref"):t))?i:l)===u?i.call(s,{name:"factorPageCustomLinkHref",hash:{},data:o,loc:{start:{line:1,column:40},end:{line:1,column:68}}}):i)+'" data-se="factor-page-custom-link" class="link js-factor-page-custom-link" rel="noopener noreferrer" target="_blank">'+c(a(i=null!=(i=d(n,"factorPageCustomLinkText")||(null!=t?d(t,"factorPageCustomLinkText"):t))?i:l)===u?i.call(s,{name:"factorPageCustomLinkText",hash:{},data:o,loc:{start:{line:1,column:186},end:{line:1,column:214}}}):i)+"</a>"},3:function(e,t,n,r,o){var i,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'<a href="#" class="link '+c(a(i=null!=(i=d(n,"linkClassName")||(null!=t?d(t,"linkClassName"):t))?i:l)===u?i.call(s,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:265},end:{line:1,column:282}}}):i)+'" data-se="signout-link">'+c(a(i=null!=(i=d(n,"linkText")||(null!=t?d(t,"linkText"):t))?i:l)===u?i.call(s,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:307},end:{line:1,column:319}}}):i)+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"hasFactorPageCustomLink"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:225}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"showLink"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:225},end:{line:1,column:330}}}))?i:"")},useData:!0}),className:"auth-footer clearfix",getTemplateData:function(){var e=o.default.prototype.getTemplateData.apply(this,arguments),t=this.settings.get("helpLinks.factorPage.href"),n=this.settings.get("helpLinks.factorPage.text"),r=!this.settings.get("features.hideSignOutLinkInMFA")&&!this.settings.get("features.mfaOnlyFlow");return Object.assign({},e,{hasFactorPageCustomLink:n&&t,factorPageCustomLinkHref:t,factorPageCustomLinkText:n,showLink:r})}});t.default=s,e.exports=t.default},7501:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r},i=n(2048);function a(e){return a="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},a(e)}var s=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,s=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,u="function",c=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="content-container"><span class="registration-label">'+c(a(i=null!=(i=d(n,"label")||(null!=t?d(t,"label"):t))?i:l)===u?i.call(s,{name:"label",hash:{},data:o,loc:{start:{line:1,column:64},end:{line:1,column:73}}}):i)+'</span><a title="'+c(a(i=null!=(i=d(n,"text")||(null!=t?d(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:90},end:{line:1,column:98}}}):i)+'" aria-label="'+c(a(i=null!=(i=d(n,"text")||(null!=t?d(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:112},end:{line:1,column:120}}}):i)+'" class="registration-link" href="#">'+c(a(i=null!=(i=d(n,"text")||(null!=t?d(t,"text"):t))?i:l)===u?i.call(s,{name:"text",hash:{},data:o,loc:{start:{line:1,column:157},end:{line:1,column:165}}}):i)+"</a></div>"},useData:!0}),className:"registration-container",events:{"click a.registration-link":"handleClickEvent"},handleClickEvent:function(e){e.preventDefault();var t=this.settings.get("registration.click");t?t():this.options.appState.get("isIdxStateToken")?this.options.appState.trigger("navigate","signin/enroll-user"):this.options.appState.trigger("navigate","signin/register")},getTemplateData:function(){return{label:(0,i.loc)("registration.signup.label","login"),text:(0,i.loc)("registration.signup.text","login")}}});t.default=s,e.exports=t.default},9197:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}function s(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 l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(e){return c="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},c(e)}var d=o.internal.util.Util,f=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l="function",u=e.escapeExpression,d=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link '+u(c(i=null!=(i=d(n,"linkClassName")||(null!=t?d(t,"linkClassName"):t))?i:s)===l?i.call(a,{name:"linkClassName",hash:{},data:o,loc:{start:{line:1,column:24},end:{line:1,column:41}}}):i)+'" data-se="signout-link">'+u(c(i=null!=(i=d(n,"linkText")||(null!=t?d(t,"linkText"):t))?i:s)===l?i.call(a,{name:"linkText",hash:{},data:o,loc:{start:{line:1,column:66},end:{line:1,column:78}}}):i)+"</a>"},useData:!0}),className:"auth-footer clearfix",events:{'click a[data-se="signout-link"]':"handleSignout"},handleSignout:function(e){var t=this;e.preventDefault();var n=this.options.appState;n.trigger("signOut");var r=n.get("isSMSPasswordRecovery");this.model.doTransaction((function(e){return e.cancel().then(p)})).then((function(){t.settings.get("backToSignInUri")&&!r?d.redirect(t.settings.get("backToSignInUri")):(t.state.set("navigateDir",i.default.DIRECTION_BACK),n.trigger("navigate",""))}))},getTemplateData:function(){return{linkClassName:o._.isUndefined(this.options.linkClassName)?"goto":this.options.linkClassName,linkText:this.options.linkText||(0,o.loc)("goback","login")}}});function p(e){return l(l({},e),{},{data:null})}t.default=f,e.exports=t.default},7562:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:50},end:{line:1,column:87}}}))+"</a>"},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")}});t.default=s,e.exports=t.default},9607:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(5115));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="#" class="link help" data-se="back-link">'+e.escapeExpression((i(n,"i18n")||t&&i(t,"i18n")||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},{name:"i18n",hash:{bundle:"login",code:"goback"},data:o,loc:{start:{line:1,column:66},end:{line:1,column:103}}}))+"</a>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"showLink"):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:114}}}))?i:""},useData:!0}),className:"auth-footer",events:{"click .help":function(e){e.preventDefault(),this.back()}},back:function(){this.state.set("navigateDir",i.default.DIRECTION_BACK),this.options.appState.trigger("navigate","")},getTemplateData:function(){var e=this.model.appState.get("flashError");return{showLink:e.is&&e.is("terminal")}}});t.default=s,e.exports=t.default},8163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"></div><div class="bg-helper auth-beacon auth-beacon-security" data-se="loading-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border js-auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=i,e.exports=t.default},2499:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(6276))&&r.__esModule?r:{default:r};var i=n(2048).View.extend({className:"piv-beacon",template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank auth-beacon"><div class="beacon-blank js-blank-beacon-border auth-beacon-border"></div></div><div class="bg-helper auth-beacon smartcard" data-se="piv-beacon"><div class="okta-sign-in-beacon-border auth-beacon-border"></div></div>'},useData:!0}),equals:function(e){return e&&this instanceof e}});t.default=i,e.exports=t.default},8592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(n(6276)),o=n(2048),i=a(n(9057));function a(e){return e&&e.__esModule?e:{default:e}}var s=o.View.extend({template:r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="password-requirements--header">'+e.escapeExpression((s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{bundle:"login",code:"password.complexity.requirements.header"},data:o,loc:{start:{line:1,column:63},end:{line:1,column:133}}}))+'</div><ul class="password-requirements--list">'+(null!=(i=s(n,"each").call(a,null!=t?s(t,"requirements"):t,{name:"each",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:179},end:{line:1,column:268}}}))?i:"")+"</ul>"},2:function(e,t,n,r,o){return'<li class="password-requirements--list-item">'+e.escapeExpression(e.lambda(t,t))+"</li>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"requirements"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:280}}}))?i:""},useData:!0}),attributes:{"data-se":"password-requirements-html"},allRequirements:[],initialize:function(e){var t=e.policy;t&&(this.allRequirements=i.default.getPasswordComplexityDescriptionForHtmlList(t))},getTemplateData:function(){return{requirements:this.allRequirements}}});t.default=s,e.exports=t.default},9118:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=s(n(6276)),i=n(2048),a=s(n(7472));function s(e){return e&&e.__esModule?e:{default:e}}function l(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */l=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function d(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),s=new O(r||[]);return o(a,"_invoke",{value:x(e,n,s)}),a}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=d;var p={};function h(){}function m(){}function g(){}var v={};c(v,a,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(C([])));b&&b!==t&&n.call(b,a)&&(v=b);var _=g.prototype=h.prototype=Object.create(v);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function i(o,a,s,l){var u=f(e[o],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){i("next",e,s,l)}),(function(e){i("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return i("throw",e,s,l)}))}l(u.arg)}var a;o(this,"_invoke",{value:function(e,n){function r(){return new t((function(t,r){i(e,n,t,r)}))}return a=a?a.then(r,r):r()}})}function x(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return A()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function S(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,p;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function C(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:A}}function A(){return{value:void 0,done:!0}}return m.prototype=g,o(_,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:m,configurable:!0}),m.displayName=c(g,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,c(e,u,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),c(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(d(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,u,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(T),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(s&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),p},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),T(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},e}function u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function c(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}function d(e,t){var n=t.get("securityImage"),r=t.get("securityImageDescription"),o=t.get("isUndefinedUser"),a=t.get("isNewUser"),s=!o&&!a;if(e.css("background-image",""),e.removeClass("new-user undefined-user"),a)e.addClass("new-user");else{if(!o)return s?(e.removeAttr("aria-describedby"),e.find(".accessibility-text").text(r),void e.css("background-image","url("+i._.escape(n)+")")):void 0;e.addClass("undefined-user")}}function f(e,t){(0,i.$)(window).on("resize.securityBeaconQtip",i._.debounce((function(){e.is(":visible")&&e.qtip("show")}),300)),e.qtip({prerender:!0,content:{text:(0,i.loc)("primaryauth.newUser.tooltip","login",[i._.escape(t)]),button:(0,i.loc)("primaryauth.newUser.tooltip.close","login")},style:{classes:"okta-security-image-tooltip security-image-qtip qtip-custom qtip-shadow qtip-rounded",tip:{height:12,width:16}},position:{my:"top center",at:"center",target:(0,i.$)(".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))}}}),setTimeout((function(){e.qtip("toggle",e.is(":visible"))}),0)}function p(e){e.qtip("destroy"),(0,i.$)(window).off("resize.securityBeaconQtip")}function h(e,t,n){return m.apply(this,arguments)}function m(){return(m=c(l().mark((function e(t,n,r){var o,i,s,u,c,h,m;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.find(".auth-beacon-security"),i=t.find(".js-auth-beacon-border"),s=!n.get("isUndefinedUser"),u=n.get("isNewUser"),c=t.find(".radial-progress-bar"),h=n.get("baseUrl").match(/https?:\/\/(.[^/]+)/)[1],m=200,r){e.next=11;break}return d(o,n),i.toggleClass("auth-beacon-border",s),e.abrupt("return");case 11:if(p(o),s){e.next=16;break}o.fadeOut(m,(function(){d(o,n),i.removeClass("auth-beacon-border"),o.fadeIn(m)})),e.next=21;break;case 16:return i.removeClass("auth-beacon-border"),e.next=19,a.default.radialProgressBar({$el:c,swap:function(){o.fadeOut(m,(function(){d(o,n),o.fadeIn(m)}))}});case 19:i.addClass("auth-beacon-border"),u&&f(o,h);case 21:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var g=i.View.extend({template:o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<div class="beacon-blank"><div 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=i._.partial(h,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")}});t.default=g,e.exports=t.default},4941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};var a=o.View.extend({tagName:"a",className:"skip-to-content-link",attributes:{href:"#".concat(i.default.WIDGET_CONTAINER_ID)},initialize:function(){this.$el.append((0,o.loc)("skip.to.main.content","login"))}});t.default=a,e.exports=t.default},7068:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048).View.extend({className:"okta-waiting-spinner",attributes:{"data-se":"o-form-okta-waiting-spinner"},modelEvents:{"spinner:show":"show","spinner:hide":"hide"},initialize:function(e){e&&!1===e.visible&&this.hide()},show:function(){this.$el.removeClass("hide")},hide:function(){this.$el.addClass("hide")}});t.default=r,e.exports=t.default},4049:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(2048);n(3506);var o,i=(o=n(5331))&&o.__esModule?o:{default:o};var a=r.internal.views.forms.inputs.TextBox,s=a.extend({postRender:function(){if("number"===this.options.type){var e=this.$("input");e.attr({pattern:"[0-9]*",inputmode:"numeric"})}a.prototype.postRender.apply(this,arguments)},focus:function(){if(!i.default.isIE())return a.prototype.focus.apply(this,arguments)}});t.default=s,e.exports=t.default},9528:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((r=n(6276))&&r.__esModule?r:{default:r}).default.template({1:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<a href="'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"clientURI")||(null!=t?a(t,"clientURI"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"clientURI",hash:{},data:o,loc:{start:{line:1,column:26},end:{line:1,column:39}}}):i)+'" class="client-logo-link" target="_blank">'},3:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo custom-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"customLogo")||(null!=t?u(t,"customLogo"):t))?i:s)?i.call(a,{name:"customLogo",hash:{},data:o,loc:{start:{line:1,column:149},end:{line:1,column:163}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:170},end:{line:1,column:216}}}))+'" aria-hidden="true" />'},5:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression,u=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<img class="client-logo default-logo" src="'+l("function"==typeof(i=null!=(i=u(n,"defaultLogo")||(null!=t?u(t,"defaultLogo"):t))?i:s)?i.call(a,{name:"defaultLogo",hash:{},data:o,loc:{start:{line:1,column:290},end:{line:1,column:305}}}):i)+'" alt="'+l((u(n,"i18n")||t&&u(t,"i18n")||s).call(a,{name:"i18n",hash:{bundle:"login",code:"common.logo.alt"},data:o,loc:{start:{line:1,column:312},end:{line:1,column:358}}}))+'" aria-hidden="true" />'},7:function(e,t,n,r,o){return"</a>"},9:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="issuer"><span>'+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"issuer")||(null!=t?a(t,"issuer"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"issuer",hash:{},data:o,loc:{start:{line:1,column:566},end:{line:1,column:576}}}):i)+"</span></div>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:0},end:{line:1,column:89}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"customLogo"):t,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.program(5,o,0),data:o,loc:{start:{line:1,column:89},end:{line:1,column:388}}}))?i:"")+(null!=(i=s(n,"if").call(a,null!=t?s(t,"clientURI"):t,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:388},end:{line:1,column:416}}}))?i:"")+'<h1><span class="title-text">'+(null!=(i=(s(n,"i18n")||t&&s(t,"i18n")||e.hooks.helperMissing).call(a,{name:"i18n",hash:{arguments:"appName",bundle:"login",code:"consent.required.text"},data:o,loc:{start:{line:1,column:445},end:{line:1,column:519}}}))?i:"")+"</span>"+(null!=(i=s(n,"if").call(a,null!=t?s(t,"issuer"):t,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:526},end:{line:1,column:596}}}))?i:"")+"</h1>"},useData:!0});t.default=o,e.exports=t.default},5613:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=o.$.extend(!0,{},e.authParams,o._.pick(t,a.default.AUTH_PARAMS)),r=Object.assign({},e,t),s=r.el,l=r.clientId,u=r.redirectUri,c=Object.assign({},{el:s,clientId:l,redirectUri:u,authParams:n});if(!c.el)throw new i.ConfigError('"el" is required');if(!c.clientId)throw new i.ConfigError('"clientId" is required');if(!c.redirectUri)throw new i.ConfigError('"redirectUri" is required');return c};var r,o=n(2048),i=n(2183),a=(r=n(2534))&&r.__esModule?r:{default:r};e.exports=t.default},3386:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,r,a,s,l){var u,c,d=new Promise((function(e,t){u=e,c=t})),f=o.$.extend(!0,{},t,n,{authClient:r,hooks:l,globalSuccessFn:function(e){a&&a(e),e&&e.status===i.default.SUCCESS&&u(e)},globalErrorFn:function(e){s&&s(e),c(e)}}),p=new e(f);return p.start(),{router:p,routerOptions:f,promise:d}};var r,o=n(2048),i=(r=n(5115))&&r.__esModule?r:{default:r};e.exports=t.default},2026:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OktaAuth=void 0;var r=n(1305),o=(0,r.createOAuthOptionsConstructor)(),i=(0,r.createOAuthStorageManager)(),a=(0,r.createTransactionManager)(),s=(0,r.createOktaAuthOAuth)(i,o,a),l=(0,r.mixinAuthn)(s);t.OktaAuth=l},9584:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(1402).OktaSignIn;t.default=r,e.exports=t.default},1402:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0});var o={OktaSignIn:!0};t.default=t.OktaSignIn=void 0;var i,a=n(2048),s=(i=n(1806))&&i.__esModule?i:{default:i},l=n(2183),u=n(2026),c=n(9195),d=n(2343),f=n(1474);function p(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function h(e,t){return h=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},h(e,t)}function m(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&h(e,t)}(i,e);var t,n,r,o=m(i);function i(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),!0!==(t=o.call(this,e)).options.useClassicEngine)throw s.default.error("This version of the Okta Signin Widget only supports classic engine. Set `useClassicEngine` to `true`."),new l.ConfigError((0,a.loc)("error.config"));return t}return t=i,n&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}((0,d.createOktaSignIn)(u.OktaAuth,c.routerClassFactory));t.OktaSignIn=y;var b=y;t.default=b},628:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2048),i=n(9113);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}(c,e);var t,n,r,o=u(c);function c(){return a(this,c),o.apply(this,arguments)}return t=c,(n=[{key:"mergeHook",value:function(e,t){var n=this.get("hooks")||{};(0,i.mergeHook)(n,e,t),this.set("hooks",n)}},{key:"getHook",value:function(e){return(this.get("hooks")||{})[e]}}])&&s(t.prototype,n),r&&s(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(o.Model);t.default=f,e.exports=t.default},9721:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=h(n(6276)),i=n(2048),a=h(n(5091)),s=h(n(8177)),l=h(n(5331)),u=n(2183),c=h(n(4087)),d=h(n(1806)),f=h(n(7516)),p=h(n(2646));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return y(this,n)}}function y(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}var _=i.internal.util.Util,w=o.default.template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return"https://global.oktacdn.com/okta-signin-widget/"+e.escapeExpression("function"==typeof(i=null!=(i=a(n,"version")||(null!=t?a(t,"version"):t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"version",hash:{},data:o,loc:{start:{line:1,column:46},end:{line:1,column:57}}}):i)},useData:!0}),k={authClient:["object",!1,void 0],baseUrl:["string",!0],recoveryToken:["string",!1,void 0],stateToken:["string",!1,void 0],username:["string",!1],relayState:["string",!1],signOutLink:["string",!1],backToSignInLink:["string",!1],redirect:{type:"string",values:["never","always","auto"],value:"auto"},flow:["string",!1,"default"],transformUsername:["function",!1],globalSuccessFn:"function",globalErrorFn:"function",processCreds:"function",hooks:"object",logo:"string",logoText:["string",!1],helpSupportNumber:"string",proxyIdxResponse:["object",!1],overrideExistingStateToken:["boolean",!1,!1],"features.router":["boolean",!0,!1],"features.securityImage":["boolean",!0,!1],"features.rememberMe":["boolean",!0,!0],"features.autoPush":["boolean",!0,!1],"features.smsRecovery":["boolean",!0,!1],"features.callRecovery":["boolean",!0,!1],"features.emailRecovery":["boolean",!1,!0],"features.webauthn":["boolean",!0,!1],"features.selfServiceUnlock":["boolean",!0,!1],"features.multiOptionalFactorEnroll":["boolean",!0,!1],"features.deviceFingerprinting":["boolean",!1,!1],"features.hideSignOutLinkInMFA":["boolean",!1,!1],"features.skipIdpFactorVerificationBtn":["boolean",!1,!1],"features.hideBackToSignInForReset":["boolean",!1,!1],"features.customExpiredPassword":["boolean",!0,!1],"features.registration":["boolean",!1,!1],"features.idpDiscovery":["boolean",!1,!1],"features.passwordlessAuth":["boolean",!1,!1],"features.showPasswordToggleOnSignInPage":["boolean",!1,!1],"features.trackTypingPattern":["boolean",!1,!1],"features.redirectByFormSubmit":["boolean",!1,!1],"features.useDeviceFingerprintForSecurityImage":["boolean",!1,!0],"features.showPasswordRequirementsAsHtmlList":["boolean",!1,!1],"features.mfaOnlyFlow":["boolean",!1,!1],"features.scrollOnError":["boolean",!1,!0],"features.showKeepMeSignedIn":["boolean",!1,!0],"features.showIdentifier":["boolean",!1,!0],"features.autoFocus":["boolean",!1,!0],"features.rememberMyUsernameOnOIE":["boolean",!1,!1],"features.showSessionRevocation":["boolean",!1,!1],defaultCountryCode:["string",!1,"US"],language:["any",!1],i18n:["object",!1],"assets.baseUrl":["string",!1],"assets.rewrite":{type:"function",value:i._.identity},"assets.languages":["array",!1],issuer:"string",clientId:"string",redirectUri:"string",state:"string",nonce:"string",scopes:"array",codeChallenge:"string",codeChallengeMethod:["string",!1],oAuthTimeout:["number",!1],authScheme:["string",!1,"OAUTH2"],idps:["array",!1,[]],idpDisplay:{type:"string",values:["PRIMARY","SECONDARY"],value:"SECONDARY"},"helpLinks.help":"string","helpLinks.forgotPassword":"string","helpLinks.unlock":"string","helpLinks.custom":"array","helpLinks.factorPage.href":"string","helpLinks.factorPage.text":"string",customButtons:["array",!1,[]],policyId:"string","registration.click":"function","registration.parseSchema":"function","registration.preSubmit":"function","registration.postSubmit":"function","consent.cancel":"function","idpDiscovery.requestContext":"string","colors.brand":"string",cspNonce:"string",brandName:"string",piv:["object",!1,{}],otp:"string",useClassicEngine:["boolean",!1,!1]},x={backToSignInUri:{deps:["backToSignInLink","signOutLink"],fn:function(e,t){return e||t}},showPasswordToggle:{deps:["features.showPasswordToggleOnSignInPage"],fn:function(){var e,t,n,r,o=null!==(e=null===(t=this.options)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.showPasswordToggleOnSignInPage)&&void 0!==e?e:null===(r=this.options)||void 0===r?void 0:r["features.showPasswordToggleOnSignInPage"];return null==o||o},cache:!0},redirectUtilFn:{deps:["features.redirectByFormSubmit"],fn:function(e){return e?f.default.redirectWithFormGet.bind(f.default):_.redirect.bind(_)},cache:!0},supportedLanguages:{deps:["i18n","language","assets.languages"],fn:function(e,t,n){var r=n||a.default.supportedLanguages;return i._.union(r,i._.keys(e),i._.isString(t)?[t]:[])},cache:!0},languageCode:{deps:["language","supportedLanguages"],fn:function(e,t){var n=l.default.getUserLanguages();n.forEach((function(e,t){"nl"===e?n[t]="nl-NL":"pt"===e&&(n[t]="pt-BR")}));var r=i._.clone(n),o=f.default.toLower(t);i._.isString(e)?r.unshift(e):i._.isFunction(e)&&r.unshift(e(t,n)),r.push(a.default.defaultLanguage);var s,u,c=f.default.toLower(f.default.expandLanguages(r));for(s=0;s<c.length;s++)if((u=o.indexOf(c[s]))>-1)return t[u]}},countryCode:{deps:["defaultCountryCode"],fn:function(e){var t=p.default.getCountries();return Object.keys(t).includes(e)?e:"US"}},mode:{deps:["codeChallenge"],fn:function(e){return e?"remediation":"relying-party"}},oauth2Enabled:{deps:["clientId","authScheme","authClient"],fn:function(e,t,n){return!e&&n&&(e=n.options.clientId),!!e&&"oauth2"===t.toLowerCase()},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 i._.map(e,(function(e){var t=i._.clone(e),n=t.type&&t.type.toLowerCase();return n&&i._.contains(c.default.SUPPORTED_SOCIAL_IDPS,n)||(n="general-idp",t.text=t.text||"{ Please provide a text value }"),t.className=["social-auth-button","social-auth-"+n+"-button ",t.className?t.className:""].join(" "),t.dataAttr="social-auth-"+n+"-button",t.i18nKey="socialauth."+n+".label",t}))},cache:!0},hasPivCard:{deps:["piv"],fn:function(e){return e&&e.certAuthUrl},cache:!0},socialAuthPositionTop:{deps:["configuredSocialIdps","hasPivCard","idpDisplay"],fn:function(e,t,n){return(!i._.isEmpty(e)||t)&&"PRIMARY"===n.toUpperCase()},cache:!0},hasConfiguredButtons:{deps:["configuredSocialIdps","customButtons","hasPivCard"],fn:function(e,t,n){return!i._.isEmpty(e)||!i._.isEmpty(t)||n},cache:!0}},S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(c,e);var t,n,r,o=v(c);function c(e,t){var n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var r=(n=o.call(this,e,t)).getAuthClient();return n.setAcceptLanguageHeader(r),n}return t=c,n=[{key:"get",value:function(e){return i.Model.prototype.get.call(this,e)}},{key:"preinitialize",value:function(){this.local=k,this.derived=x;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.Model.prototype.preinitialize.apply(this,t)}},{key:"initialize",value:function(e){var t=e=e||{},n=t.colors,r=t.authClient,o=e.baseUrl;if(!o){if(r)o=r.getIssuerOrigin();else{var a,s=e.authParams,c=e.issuer;o=null===(a=c=c||(null==s?void 0:s.issuer))||void 0===a?void 0:a.split("/oauth2/")[0]}this.set("baseUrl",o)}o?n&&i._.isString(n.brand)&&!n.brand.match(/^#[0-9A-Fa-f]{6}$/)?this.callGlobalError(new u.ConfigError((0,i.loc)("error.invalid.colors.brand"))):l.default.corsIsNotSupported()&&this.callGlobalError(new u.UnsupportedBrowserError((0,i.loc)("error.unsupported.cors"))):this.callGlobalError(new u.ConfigError((0,i.loc)("error.required.baseUrl")))}},{key:"setAcceptLanguageHeader",value:function(e){e&&e.http.setRequestHeader("Accept-Language",this.get("languageCode"))}},{key:"setAuthClient",value:function(e){this.set("authClient",e),this.setAcceptLanguageHeader(e)}},{key:"getAuthClient",value:function(){return this.get("authClient")}},{key:"set",value:function(){try{for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i.Model.prototype.set.apply(this,t)}catch(e){var r=e.message?e.message:e;this.callGlobalError(new u.ConfigError(r))}}},{key:"callGlobalSuccess",value:function(e,t){var n=i._.extend(t,{status:e});i._.defer(i._.partial(this.get("globalSuccessFn"),n))}},{key:"callGlobalError",value:function(e){var t=this.get("globalErrorFn")||this.options.globalErrorFn;if(!t)throw e;t(e)}},{key:"transformUsername",value:function(e,t){var n=this.get("transformUsername");return n&&i._.isFunction(n)?n(e,t):e}},{key:"processCreds",value:function(e){var t=this.get("processCreds");return s.default.Promise((function(n){i._.isFunction(t)?2===t.length?t(e,n):(t(e),n()):n()}))}},{key:"parseRegistrationSchema",value:function(e,t,n){var r=this.get("registration.parseSchema");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="parseSchema",n(e)})):t(e)}},{key:"preRegistrationSubmit",value:function(e,t,n){var r=this.get("registration.preSubmit");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="preSubmit",n(e)})):t(e)}},{key:"postRegistrationSubmit",value:function(e,t,n){var r=this.get("registration.postSubmit");i._.isFunction(r)?r(e,(function(e){t(e)}),(function(e){(e=e||{errorSummary:(0,i.loc)("registration.default.callbackhook.error")}).callback="postSubmit",n(e)})):t(e)}},{key:"parse",value:function(e){if(e.labels||e.country){d.default.deprecate('Use "i18n" instead of "labels" and "country"');var t=e.labels||{};i._.each(e.country,(function(e,n){t["country."+n]=e})),e.i18n={},i._.each(a.default.supportedLanguages,(function(n){e.i18n[n]=t})),delete e.labels,delete e.country}e.assets||(e.assets={});var n=e.assets.baseUrl;return n?"/"===n[n.length-1]&&(e.assets.baseUrl=n.substring(0,n.length-1)):e.assets.baseUrl=w({version:a.default.version}),e}},{key:"isDsTheme",value:function(){return!1}}],n&&m(t.prototype,n),r&&m(t,r),Object.defineProperty(t,"prototype",{writable:!1}),c}(i.Model);t.default=S,e.exports=t.default},9195:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.routerClassFactory=function(e){if(e.stateToken&&!o.default.isV1StateToken(e.stateToken)||e.proxyIdxResponse)throw new i.ConfigError("This version of the Sign-in Widget only supports Classic Engine");return r.default};var r=a(n(8952)),o=a(n(7516)),i=n(2183);function a(e){return e&&e.__esModule?e:{default:e}}},3002:function(){},9179:function(){},2425:function(){},2445:function(){},171:function(){},1474:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(9179);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===r[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}}))}));var o=n(3002);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var i=n(2425);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var a=n(2445);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var s=n(171);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var l=n(9369);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var u=n(6303);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=n(560);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var d=n(2662);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}))},6303:function(){},9369:function(){},560:function(){},2662:function(){},5331:function(e,t){"use strict";function n(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(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}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={},i="withCredentials"in new window.XMLHttpRequest,a=void 0!==window.XDomainRequest;o.corsIsNotSupported=function(){return!(i||a)},o.corsIsNotEnabled=function(e){return 0===e.status},o.localStorageIsNotSupported=function(){var e="test";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!1}catch(e){return!0}},o.supportsPushState=function(e){return!(!(e=e||window).history||!e.history.pushState)},o.isIE=function(){return/(msie|trident)/i.test(navigator.userAgent)},o.isFirefox=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},o.isEdge=function(){return navigator.userAgent.toLowerCase().indexOf("edge")>-1},o.isSafari=function(){return navigator.userAgent.toLowerCase().indexOf("safari")>-1&&-1===navigator.userAgent.toLowerCase().indexOf("chrome")},o.isMac=function(){return navigator.platform.toUpperCase().indexOf("MAC")>=0},o.isAndroid=function(){return/android/i.test(navigator.userAgent)&&!/windows phone/i.test(navigator.userAgent)},o.isIOS=function(){return/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream},o.getUserLanguages=function(){if(navigator.languages)return n(navigator.languages);var e=[];return["language","userLanguage","browserLanguage","systemLanguage"].forEach((function(t){navigator[t]&&e.push(navigator[t])})),e};var s=o;t.default=s,e.exports=t.default},938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=d(n(5091)),o=d(n(7297)),i=d(n(7451)),a=d(n(7579)),s=d(n(8177)),l=n(2048),u=d(n(5331)),c=d(n(1806));function d(e){return e&&e.__esModule?e:{default:e}}var f="osw.languages";function p(){var e=JSON.parse(localStorage.getItem(f));return e&&e.version===r.default.version||(e={version:r.default.version}),e}function h(e,t,n){var r=t.replace("-","_"),i=n.rewrite(encodeURI("/labels/json/".concat(e,"_").concat(r,".json")));return(0,o.default)(n.baseUrl+i,{method:"GET",headers:{Accept:"application/json","Content-Type":"text/plain"},mode:"no-cors"}).then((function(e){return e.text()})).then((function(e){return JSON.parse(e)}))}function m(e,t,n){if(e===r.default.defaultLanguage||!l._.contains(n,e))return(0,s.default)({});var o=!u.default.localStorageIsNotSupported();if(o){var i=p();if(i[e])return(0,s.default)(i[e])}return s.default.all([h("login",e,t),h("country",e,t)]).spread((function(t,n){return o&&function(e,t,n){var r=p();r[e]={login:t,country:n},localStorage.setItem(f,JSON.stringify(r))}(e,t,n),{login:t,country:n}})).catch((function(){return c.default.warn("Unable to load language: "+e),{}}))}var g={login:a.default,country:i.default,courage:a.default,currentLanguage:null,isLoaded:function(e){return this.currentLanguage===e},remove:function(){this.currentLanguage=null},loadLanguage:function(e,t,n,r){var o=this,s=function(e){if(!e)return{};var t={};return l._.each(l._.keys(e),(function(n){t[n.toLowerCase()]=e[n]})),l._.mapObject(t,(function(e){var t={login:{},country:{}};if(!l._.isObject(e))throw new Error('Invalid format for "i18n"');return l._.each(e,(function(e,n){var r=n.split(/^country\./);r.length>1?t.country[r[1]]=e:t.login[r[0]]=e})),t}))}(t),u=e.toLowerCase();return m(e,n,r).then((function(t){o.login=l._.extend({},a.default,t.login),o.country=l._.extend({},i.default,t.country),o.courage=l._.extend({},a.default,t.login),s[u]&&(l._.extend(o.login,s[u].login),l._.extend(o.country,s[u].country),l._.extend(o.courage,s[u].login)),o.currentLanguage=e}))}};t.default=g,e.exports=t.default},2183:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.WebauthnAbortError=t.WebAuthnError=t.UnsupportedBrowserError=t.U2FError=t.RegistrationError=t.OAuthError=t.ConfiguredFlowError=t.ConfigError=t.AuthStopPollInitiationError=void 0;var o,i=n(2048),a=(o=n(5115))&&o.__esModule?o:{default:o};function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&v(e,t)}function d(e){var t=g();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return p(e)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return m(e,arguments,y(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),v(r,e)},h(e)}function m(e,t,n){return m=g()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&v(o,n.prototype),o},m.apply(null,arguments)}function g(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function v(e,t){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},v(e,t)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var b=function(e){c(n,e);var t=d(n);function n(e){var r;return u(this,n),r=t.call(this,e),Object.setPrototypeOf(p(r),(this instanceof n?this.constructor:void 0).prototype),r}return l(n)}(h(Error)),_=function(e){c(n,e);var t=d(n);function n(e){var r;return u(this,n),(r=t.call(this,e||(0,i.loc)("error.config"))).name=a.default.CONFIG_ERROR,r}return l(n)}(b);t.ConfigError=_;var w=function(e){c(n,e);var t=d(n);function n(e){var r;return u(this,n),(r=t.call(this,e||(0,i.loc)("error.unsupported.browser"))).name=a.default.UNSUPPORTED_BROWSER_ERROR,r}return l(n)}(b);t.UnsupportedBrowserError=w;var k=function(e){c(n,e);var t=d(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.OAUTH_ERROR,e}return l(n)}(b);t.OAuthError=k;var x=function(e){c(n,e);var t=d(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.REGISTRATION_FAILED,e}return l(n)}(b);t.RegistrationError=x;var S=function(e){c(n,e);var t=d(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.AUTH_STOP_POLL_INITIATION_ERROR,e}return l(n)}(b);t.AuthStopPollInitiationError=S;var E=function(e){c(n,e);var t=d(n);function n(e){var r;return u(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.U2F_ERROR,r.xhr=e.xhr,r}return l(n)}(b);t.U2FError=E;var T=function(e){c(n,e);var t=d(n);function n(e){var r;return u(this,n),(r=t.call(this,e.xhr.responseJSON.errorSummary)).name=a.default.WEB_AUTHN_ERROR,r.xhr=e.xhr,r}return l(n)}(b);t.WebAuthnError=T;var O=function(e){c(n,e);var t=d(n);function n(){var e;u(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(e=t.call.apply(t,[this].concat(o))).name=a.default.WEBAUTHN_ABORT_ERROR,e}return l(n)}(b);t.WebauthnAbortError=O;var C=function(e){c(n,e);var t=d(n);function n(e,r){var o;return u(this,n),(o=t.call(this,e)).name=a.default.CONFIGURED_FLOW_ERROR,o.flowSetting=r,o}return l(n)}(b);t.ConfiguredFlowError=C},3707:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.UserNotAssignedError=t.TypedOAuthError=t.RecoverableError=t.NonRecoverableError=t.MfaRequiredError=t.JITProfileProvisioningError=t.ClockDriftError=void 0,t.getTypedOAuthError=function(e){switch(e.errorCode){case"access_denied":return new _(e);case"jit_failure_missing_fields":case"jit_failure_invalid_login_format":case"jit_failure_values_not_match_pattern":case"jit_failure_values_too_long":case"jit_failure_invalid_locale":return new w(e);case"login_required":if("The client specified not to prompt, but the client app requires re-authentication or MFA."===e.message)return new k(e);case"INTERNAL":if("The JWT was issued in the future"===e.message)return new b(e);default:return new v(e,Object)}};var o=n(2048),i=n(2183);function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&s(e,t)}function s(e,t){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},s(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(i=o.key,a=void 0,a=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(i,"string"),"symbol"===r(a)?a:String(a)),o)}var i,a}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=f((function e(){p(this,e),this.inline=!0})),m=f((function e(){p(this,e),this.terminal=!0})),g=function(e){a(n,e);var t=l(n);function n(e,r){var o;return p(this,n),(o=t.call(this,e.message)).errorType=new r,o.orginalError=e,o.errorDetails={errorSummary:o.getErrorSummary(),errorCode:e.errorCode,errorCauses:e.errorCauses},o}return f(n,[{key:"getErrorSummary",value:function(){return this.orginalError.errorSummary}},{key:"is",value:function(e){var t;return Boolean(null===(t=Object.getOwnPropertyDescriptor(this.errorType,e))||void 0===t?void 0:t.value)}}]),n}(i.OAuthError);t.TypedOAuthError=g;var v=function(e){a(n,e);var t=l(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n)}(g);t.RecoverableError=v;var y=function(e){a(n,e);var t=l(n);function n(){return p(this,n),t.apply(this,arguments)}return f(n)}(g);t.NonRecoverableError=y;var b=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,m)}return f(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.unsynced.clock","login")}}]),n}(v);t.ClockDriftError=b;var _=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return f(n)}(v);t.UserNotAssignedError=_;var w=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return f(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.jit_failure","login")}}]),n}(v);t.JITProfileProvisioningError=w;var k=function(e){a(n,e);var t=l(n);function n(e){return p(this,n),t.call(this,e,h)}return f(n,[{key:"getErrorSummary",value:function(){return(0,o.loc)("error.mfa.required","login")}}]),n}(y);t.MfaRequiredError=k},8952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=ue(n(8745)),o=ue(n(69)),i=ue(n(9176)),a=ue(n(3230)),s=ue(n(3793)),l=ue(n(3227)),u=ue(n(6782)),c=ue(n(2580)),d=ue(n(5841)),f=ue(n(1251)),p=ue(n(6252)),h=ue(n(6200)),m=ue(n(5292)),g=ue(n(710)),v=ue(n(1638)),y=ue(n(5306)),b=ue(n(6912)),_=ue(n(1602)),w=ue(n(4668)),k=ue(n(541)),x=ue(n(9674)),S=ue(n(3728)),E=ue(n(9890)),T=ue(n(6817)),O=ue(n(7878)),C=ue(n(8305)),A=ue(n(6595)),P=ue(n(9160)),R=ue(n(7820)),M=ue(n(6850)),I=ue(n(990)),N=ue(n(8246)),j=ue(n(8343)),L=ue(n(2410)),D=ue(n(5875)),U=ue(n(620)),F=ue(n(1160)),B=ue(n(8976)),V=ue(n(8349)),q=ue(n(2284)),H=ue(n(7910)),Z=ue(n(7877)),z=ue(n(410)),W=ue(n(6829)),$=ue(n(2012)),G=ue(n(8315)),K=ue(n(4562)),Y=ue(n(6835)),J=ue(n(8263)),Q=ue(n(8187)),X=ue(n(989)),ee=ue(n(2290)),te=ue(n(9015)),ne=ue(n(9115)),re=ue(n(8625)),oe=ue(n(1791)),ie=ue(n(9299)),ae=ue(n(2499)),se=ue(n(9118)),le=ue(n(5115));function ue(e){return e&&e.__esModule?e:{default:e}}var ce=oe.default.extend({routes:{"":"defaultAuth",signin:"primaryAuth","signin/okta/:username":"primaryAuth","signin/verify/duo/web":"verifyDuo","signin/verify/piv":"verifyPIV","signin/poll":"poll","signin/verify/fido/webauthn":"verifyWebauthn","signin/verify/webauthn":"verifyWebauthn","signin/verify/fido/u2f":"verifyU2F","signin/verify/u2f":"verifyU2F","signin/verify/generic_saml/assertion:saml2":"verifySAMLFactor","signin/verify/generic_oidc/assertion:oidc":"verifyOIDCFactor","signin/verify/custom/claims_provider":"verifyClaimsFactor","signin/verify/:factorType":"verifyNoProvider","signin/verify/:provider/:factorType(/:factorIndex)":"verify","signin/enroll":"enrollChoices","signin/enroll/duo/web":"enrollDuo","signin/enroll/okta/question":"enrollQuestion","signin/enroll/okta/password":"enrollPassword","signin/enroll/okta/sms":"enrollSms","signin/enroll/okta/call":"enrollCall","signin/enroll/okta/email":"enrollEmail","signin/enroll-activate/okta/sms":"enrollSms","signin/enroll-activate/okta/call":"enrollCall","signin/enroll/rsa/token":"enrollRsa","signin/enroll/del_oath/token":"enrollOnPrem","signin/enroll/symantec/token":"enrollSymantecVip","signin/enroll/yubico/token:hardware":"enrollYubikey","signin/enroll/fido/webauthn":"enrollWebauthn","signin/enroll/fido/u2f":"enrollU2F","signin/enroll/generic_saml/assertion:saml2":"enrollSAMLFactor","signin/enroll/generic_oidc/assertion:oidc":"enrollOIDCFactor","signin/enroll/custom/claims_provider":"enrollClaimsFactor","signin/enroll/custom/token:hotp":"enrollHotpFactor","signin/enroll/:provider/:factorType":"enrollTotpFactor","signin/enroll-activate/okta/email":"enrollActivateEmail","signin/enroll-activate/okta/push":"scanBarcodePushFactor","signin/enroll-activate/okta/push/manual":"manualSetupPushFactor","signin/enroll-activate/okta/push/sent":"activationLinkSent","signin/enroll-activate/okta/token:software:totp/passcode":"enterPasscodeInPushEnrollmentFlow","signin/enroll-activate/custom/claims_provider":"enrollActivateClaimsFactor","signin/enroll-activate/:provider/:factorType":"scanBarcodeTotpFactor","signin/enroll-activate/:provider/:factorType/activate":"activateTotpFactor","signin/enroll-activate/:provider/:factorType/manual":"manualSetupTotpFactor","signin/password-expired":"passwordExpired","signin/custom-password-expired":"customPasswordExpired","signin/forgot-password":"forgotPassword","signin/recovery-challenge":"recoveryChallenge","signin/recovery-emailed":"recoveryEmailSent","signin/recovery-question":"recoveryQuestion","signin/password-reset":"passwordReset","signin/reset-password/:token":"recoveryLoading","signin/user-unlock/:token":"recoveryLoading","signin/recovery/:token":"recoveryLoading","signin/unlock-emailed":"unlockEmailSent","signin/unlock":"unlockAccount","signin/account-unlocked":"accountUnlocked","signin/refresh-auth-state(/:token)":"refreshAuthState","signin/register":"register","signin/register-complete":"registerComplete","signin/error":"errorState","signin/consent":"consentRequired","signin/admin-consent":"adminConsentRequired","signin/enroll-user":"enrollUser","signin/device-activate-complete":"deviceActivateComplete","signin/device-activate":"deviceActivate","signin/idp-discovery-check":"idpDiscoveryCheck","*wildcard":"defaultAuth"},stateLessRouteHandlers:["defaultAuth","idpDiscovery","primaryAuth","forgotPassword","recoveryLoading","unlockAccount","refreshAuthState","register","registerComplete","errorState","verifyPIV"],defaultAuth:function(){window.location.hash!=="#".concat(le.default.WIDGET_CONTAINER_ID)?this.settings.get("features.idpDiscovery")?this.idpDiscovery():this.primaryAuth():document.getElementById(le.default.WIDGET_CONTAINER_ID).focus()},idpDiscoveryCheck:function(){this.render(N.default,{Beacon:se.default})},idpDiscovery:function(){this.render(I.default,{Beacon:se.default})},primaryAuth:function(e){this.render(V.default,{Beacon:se.default,username:e})},verifyDuo:function(){this.render(Q.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},verifyPIV:function(){this.render(X.default,{Beacon:ae.default})},poll:function(){this.render(B.default)},verifyWebauthn:function(){this.settings.get("features.webauthn")?this.render(te.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(ne.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},verifyU2F:function(){this.render(ee.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},verifySAMLFactor:function(){this.render(J.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},verifyOIDCFactor:function(){this.render(J.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},verifyClaimsFactor:function(){this.render(J.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},verify:function(e,t,n){this.render(D.default,{provider:e.toUpperCase(),factorType:t,factorIndex:n,Beacon:ie.default})},verifyNoProvider:function(e){this.render(D.default,{factorType:e,Beacon:ie.default})},enrollChoices:function(){this.render(m.default,{Beacon:se.default})},enrollDuo:function(){this.render(v.default,{provider:"DUO",factorType:"web",Beacon:ie.default})},enrollQuestion:function(){this.render(k.default,{provider:"OKTA",factorType:"question",Beacon:ie.default})},enrollPassword:function(){this.render(w.default,{provider:"OKTA",factorType:"password",Beacon:ie.default})},enrollSms:function(){this.render(h.default,{provider:"OKTA",factorType:"sms",Beacon:ie.default})},enrollCall:function(){this.render(h.default,{provider:"OKTA",factorType:"call",Beacon:ie.default})},enrollEmail:function(){this.render(y.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollActivateEmail:function(){this.render(p.default,{provider:"OKTA",factorType:"email",Beacon:ie.default})},enrollRsa:function(){this.render(_.default,{provider:"RSA",factorType:"token",Beacon:ie.default})},enrollOnPrem:function(){this.render(_.default,{provider:"DEL_OATH",factorType:"token",Beacon:ie.default})},enrollSymantecVip:function(){this.render(x.default,{provider:"SYMANTEC",factorType:"token",Beacon:ie.default})},enrollYubikey:function(){this.render(A.default,{provider:"YUBICO",factorType:"token:hardware",Beacon:ie.default})},enrollSAMLFactor:function(){this.render(g.default,{provider:"GENERIC_SAML",factorType:"assertion:saml2",Beacon:ie.default})},enrollOIDCFactor:function(){this.render(g.default,{provider:"GENERIC_OIDC",factorType:"assertion:oidc",Beacon:ie.default})},enrollClaimsFactor:function(){this.render(g.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollActivateClaimsFactor:function(){this.render(f.default,{provider:"CUSTOM",factorType:"claims_provider",Beacon:ie.default})},enrollTotpFactor:function(e,t){this.render(S.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},enrollHotpFactor:function(){this.render(b.default,{provider:"CUSTOM",factorType:"token:hotp",Beacon:ie.default})},enrollWebauthn:function(){this.settings.get("features.webauthn")?this.render(O.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default}):this.render(C.default,{provider:"FIDO",factorType:"webauthn",Beacon:ie.default})},enrollU2F:function(){this.render(E.default,{provider:"FIDO",factorType:"u2f",Beacon:ie.default})},scanBarcodeTotpFactor:function(e,t){this.render(s.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},scanBarcodePushFactor:function(){this.render(a.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activateTotpFactor:function(e,t){this.render(o.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupTotpFactor:function(e,t){this.render(L.default,{provider:e.toUpperCase(),factorType:t,Beacon:ie.default})},manualSetupPushFactor:function(){this.render(j.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},activationLinkSent:function(){this.render(P.default,{provider:"OKTA",factorType:"push",Beacon:ie.default})},enterPasscodeInPushEnrollmentFlow:function(){this.render(R.default,{provider:"OKTA",factorType:"token:software:totp",Beacon:ie.default})},passwordExpired:function(){this.render(U.default,{Beacon:se.default})},customPasswordExpired:function(){this.render(u.default,{Beacon:se.default})},forgotPassword:function(){this.render(M.default)},recoveryChallenge:function(){this.render(H.default,{Beacon:se.default})},recoveryEmailSent:function(){this.render(q.default,{Beacon:se.default})},unlockEmailSent:function(){this.render(Y.default,{Beacon:se.default})},recoveryQuestion:function(){this.render(z.default,{Beacon:se.default})},passwordReset:function(){this.render(F.default,{Beacon:se.default})},recoveryLoading:function(e){this.render(Z.default,{token:e,Beacon:se.default})},unlockAccount:function(){this.render(K.default)},accountUnlocked:function(){this.render(r.default,{Beacon:se.default})},refreshAuthState:function(e){this.render(W.default,{token:e,Beacon:se.default})},register:function(){this.render(G.default)},registerComplete:function(){this.render($.default)},errorState:function(){this.render(re.default,{Beacon:se.default})},consentRequired:function(){this.render(l.default)},adminConsentRequired:function(){this.render(i.default)},enrollUser:function(){this.render(T.default)},deviceActivate:function(){this.render(c.default)},deviceActivateComplete:function(){this.render(d.default)}});t.default=ce,e.exports=t.default},6962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=s(n(6276)),o=n(2048),i=s(n(7472)),a=s(n(8163));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){return l="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},l(e)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===l(i)?i:String(i)),r)}var o,i}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}var m="no-beacon",g="beacon-small beacon-loading";function v(e){return e&&e.equals(a.default)}function y(e){e.currentBeacon&&(e.currentBeacon.remove(),e.currentBeacon=null)}function b(e,t,n,r){e.add(t,{selector:n,options:r}),e.currentBeacon=e.first()}var _=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(h,e);var t,n,s,p=f(h);function h(){return u(this,h),p.apply(this,arguments)}return t=h,n=[{key:"preinitialize",value:function(){this.currentBeacon=null,this.template=r.default.template({1:function(e,t,n,r,o){var i,a=null!=t?t:e.nullContext||{},s=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'<h1><img src="'+c(l(i=null!=(i=d(n,"logo")||(null!=t?d(t,"logo"):t))?i:s)===u?i.call(a,{name:"logo",hash:{},data:o,loc:{start:{line:1,column:71},end:{line:1,column:79}}}):i)+'" class="auth-org-logo" alt="'+c(l(i=null!=(i=d(n,"logoText")||(null!=t?d(t,"logoText"):t))?i:s)===u?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:108},end:{line:1,column:120}}}):i)+' logo" aria-label="'+c(l(i=null!=(i=d(n,"logoText")||(null!=t?d(t,"logoText"):t))?i:s)===u?i.call(a,{name:"logoText",hash:{},data:o,loc:{start:{line:1,column:139},end:{line:1,column:151}}}):i)+' logo"></h1>'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i,a=e.lookupProperty||function(e,t){if(Object.prototype.hasOwnProperty.call(e,t))return e[t]};return'<div class="okta-sign-in-header auth-header">'+(null!=(i=a(n,"if").call(null!=t?t:e.nullContext||{},null!=t?a(t,"logo"):t,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o,loc:{start:{line:1,column:45},end:{line:1,column:170}}}))?i:"")+'<div data-type="beacon-container" class="beacon-container"></div></div><div class="auth-content"><div class="auth-content-inner"></div></div>'},useData:!0});for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o.View.prototype.preinitialize.apply(this,t)}},{key:"initialize",value:function(e){e.settings.get("features.securityImage")||(this.$el.addClass(m),this.listenTo(e.appState,"loading",this.setLoadingBeacon),this.listenTo(e.appState,"removeLoading",this.removeLoadingBeacon))}},{key:"setBeacon",value:function(e,t){var n=this,r='[data-type="beacon-container"]',o=this.$(r),a=function(e,t,n){return e||t?!e&&n.loading?"load":e&&v(e)?t?"swap":"unload":e&&e.equals(t,n)?"same":!e&&t?"add":e&&!t?"remove":e instanceof t?"fade":"swap":"none"}(this.currentBeacon,e,t);switch(a){case"none":return void this.$el.addClass(m);case"same":return;case"add":return this.$el.removeClass(m),b(this,e,r,t),i.default.explode(o);case"remove":return this.$el.addClass(m),i.default.implode(o).then((function(){y(n)})).done();case"fade":if(!this.currentBeacon.fadeOut)throw new Error('The current beacon is missing the "fadeOut" method');return t.animate=!0,this.currentBeacon.fadeOut().then((function(){y(n),b(n,e,r,t)})).done();case"swap":return i.default.swapBeacons({$el:o,swap:function(){var i=v(n.currentBeacon);y(n),i&&(o.removeClass(g),n.$el.removeClass(m)),b(n,e,r,t)}}).done();case"load":return o.addClass(g),b(this,e,r,t),i.default.explode(o);case"unload":return this.removeLoadingBeacon();default:throw new Error('the "'+a+'" is not recognized')}}},{key:"setLoadingBeacon",value:function(e){e&&!v(this.currentBeacon)&&this.setBeacon(a.default,{loading:!0})}},{key:"removeLoadingBeacon",value:function(){var e=this,t=this.$('[data-type="beacon-container"]');return i.default.implode(t).then((function(){y(e),t.removeClass(g)})).done()}},{key:"getTemplateData",value:function(){return this.settings.toJSON({verbose:!0})}},{key:"getContentEl",value:function(){return this.$(".auth-content-inner")}}],n&&c(t.prototype,n),s&&c(t,s),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.View);t.default=_,e.exports=t.default},2343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createOktaSignIn=function(e,t){return function(){function n(i){var s,l,c;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),o.default.debugMessage("\n The Okta Sign-In Widget is running in development mode.\n When you are ready to publish your app, embed the minified version to turn on production mode.\n See: https://developer.okta.com/code/javascript/okta_sign-in_widget#cdn\n "),i.stateToken)||(i.stateToken=null===(s=window)||void 0===s||null===(l=s.oktaData)||void 0===l||null===(c=l.signIn)||void 0===c?void 0:c.stateToken);if(this.options=i,this.authClient=(0,a.default)(e,i),!0!==i.useClassicEngine&&this.authClient.options.clientId&&!1===this.authClient.isPKCE())throw new r.ConfigError("OAuth2 with interaction code flow requires PKCE to be enabled on the authClient.");this.hooks=new u.default({hooks:i.hooks}),this.Router=t(i),this.Router.prototype.Events.listenTo.call(this,this.Router.prototype,"all",this.trigger),this.once("afterRender",(function(e){this.trigger("ready",e)}))}return function(e,t,n){t&&f(e.prototype,t);n&&f(e,n);Object.defineProperty(e,"prototype",{writable:!1})}(n,[{key:"renderEl",value:function(e,t,n){if(this.router)throw new Error("An instance of the widget has already been rendered. Call remove() first.");var r=(0,l.default)(this.Router,this.options,e,this.authClient,t,n,this.hooks);return this.router=r.router,r.promise}},{key:"hide",value:function(){this.router&&this.router.hide()}},{key:"show",value:function(){this.router&&this.router.show()}},{key:"remove",value:function(){this.router&&(this.router.remove(),this.router=void 0)}},{key:"showSignInToGetTokens",value:function(e){var t=Object.assign((0,s.default)(this.options,e),{redirect:"never"}),n=this.renderEl(t).then((function(e){return e.tokens})),o=this.router.settings.getAuthClient();if(o.isAuthorizationCodeFlow()&&!o.isPKCE())throw new r.ConfigError('"showSignInToGetTokens()" should not be used for authorization_code flow. Use "showSignInAndRedirect()" instead');return n}},{key:"showSignInAndRedirect",value:function(e){var t=Object.assign((0,s.default)(this.options,e),{redirect:"always"});return this.renderEl(t).then((function(){}))}},{key:"showSignIn",value:function(e){var t=Object.assign((0,s.default)(this.options,e));return this.renderEl(t)}},{key:"before",value:function(e,t){this.hooks.mergeHook(e,{before:[t]})}},{key:"after",value:function(e,t){this.hooks.mergeHook(e,{after:[t]})}},{key:"getUser",value:function(){var e,t;return null===(e=this.router)||void 0===e||null===(t=e.appState)||void 0===t?void 0:t.getUser()}},{key:"on",value:function(e,t){if(p.includes(e)){var n=t;t=function(){try{for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];n.apply(this,r)}catch(t){i.default.error('[okta-signin-widget] "'.concat(e,'" event handler error:'),t)}}}this.Router.prototype.Events.on.call(this,e,t)}},{key:"off",value:function(e,t){this.Router.prototype.Events.off.call(this,e,t)}},{key:"once",value:function(e,t){this.Router.prototype.Events.once.call(this,e,t)}},{key:"stopListening",value:function(e,t){this.Router.prototype.Events.stopListening.call(this,e,t)}},{key:"listenTo",value:function(e,t,n){this.Router.prototype.Events.listenTo.call(this,e,t,n)}},{key:"trigger",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.Router.prototype.Events.trigger.apply(this,[e].concat(n))}}]),n}()};var r=n(2183),o=c(n(7516)),i=c(n(1806)),a=c(n(5143)),s=c(n(5613)),l=c(n(3386)),u=c(n(628));function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=r.key,i=void 0,i=function(e,t){if("object"!==d(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(o,"string"),"symbol"===d(i)?i:String(i)),r)}var o,i}var p=["ready","afterError","afterRender"]},5143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.authClient,a=t.authParams;if(!n){var s=t.issuer,l=t.clientId,c=t.redirectUri,d=t.state,f=t.scopes,p=t.flow,h=t.codeChallenge,m=t.codeChallengeMethod,g=t.recoveryToken;(a=u({issuer:s,clientId:l,redirectUri:c,state:d,scopes:f,flow:p,codeChallenge:h,codeChallengeMethod:m,transformErrorXHR:o.default.transformErrorXHR,recoveryToken:g},a)).issuer||(a.issuer=t.baseUrl+"/oauth2/default"),n=new e(a)}if(!n._oktaUserAgent)throw new r.ConfigError("The passed in authClient should be version 5.4.0 or above.");n._oktaUserAgent.addEnvironment("okta-signin-widget-".concat(i.default.version));return n};var r=n(2183),o=a(n(7516)),i=a(n(5091));function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return s="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},s(e)}function l(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}e.exports=t.default},1305:function(e){
/*! For license information please see authn.js.LICENSE.txt */
self,e.exports=function(){var e={1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},4575:function(e){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},9100:function(e,t,n){var r=n(9489),o=n(7067);function i(t,n,a){return o()?(e.exports=i=Reflect.construct,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=i=function(e,t,n){var o=[null];o.push.apply(o,t);var i=new(Function.bind.apply(e,o));return n&&r(i,n.prototype),i},e.exports.__esModule=!0,e.exports.default=e.exports),i.apply(null,arguments)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},3913:function(e){function t(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},9754:function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2205:function(e,t,n){var r=n(9489);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},430:function(e){e.exports=function(e){return-1!==Function.toString.call(e).indexOf("[native code]")},e.exports.__esModule=!0,e.exports.default=e.exports},7067:function(e){e.exports=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},8585:function(e,t,n){var r=n(8).default,o=n(1506);e.exports=function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return o(e)},e.exports.__esModule=!0,e.exports.default=e.exports},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},8:function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5957:function(e,t,n){var r=n(9754),o=n(9489),i=n(430),a=n(9100);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,t,n){e.exports=n(5666)},9748:function(e,t,n){"use strict";n.d(t,{b:function(){return k}});var r=n(5385),o=n(9123),i=n(1971);function a(e,t){var n={};return Object.assign(n,t),!n.stateToken&&e.stateToken&&(n.stateToken=e.stateToken),n}function s(e,t){return t=a(e,t),(0,r.v_)(e,e.getIssuerOrigin()+"/api/v1/authn",t,{withCredentials:!0})}function l(e){return!!c(e)}function u(e,t,n,o,i){return i=Object.assign({withCredentials:!0},i),(0,r.v_)(e,n,o,i).then((function(e){return t.createTransaction(e)}))}function c(e){return e.options.storageUtil.storage.get(i.STATE_TOKEN_KEY_NAME)}var d=n(5671),f=n(4942),p=n(3193),h=n(4771),m=n(6718);function g(e,t,n,i,s,l){if(Array.isArray(s))return function(r,a){if(!r)throw new o.Z("Must provide a link name");var u=(0,p.sE)(s,{name:r});if(!u)throw new o.Z("No link found for that name");return g(e,t,n,i,u,l)(a)};if(s.hints&&s.hints.allow&&1===s.hints.allow.length)switch(s.hints.allow[0]){case"GET":return function(){return(0,r.U2)(e,s.href,{withCredentials:!0})};case"POST":return function(r){l&&l.isPolling&&(l.isPolling=!1);var c=a(n,r);"MFA_ENROLL"!==n.status&&"FACTOR_ENROLL"!==n.status||Object.assign(c,{factorType:i.factorType,provider:i.provider});var d={},f=c.autoPush;if(void 0!==f){if("function"==typeof f)try{d.autoPush=!!f()}catch(e){return Promise.reject(new o.Z("AutoPush resulted in an error."))}else null!==f&&(d.autoPush=!!f);c=(0,p.CE)(c,"autoPush")}var h=c.rememberDevice;if(void 0!==h){if("function"==typeof h)try{d.rememberDevice=!!h()}catch(e){return Promise.reject(new o.Z("RememberDevice resulted in an error."))}else null!==h&&(d.rememberDevice=!!h);c=(0,p.CE)(c,"rememberDevice")}else c.profile&&void 0!==c.profile.updatePhone&&(c.profile.updatePhone&&(d.updatePhone=!0),c.profile=(0,p.CE)(c.profile,"updatePhone"));var g=s.href+(0,m.UK)(d);return u(e,t,g,c)}}}var v=n(8750),y=n(6573);function b(e,t,n){return function(s){var l,u,c,d;(0,h.hj)(s)?l=s:(0,h.Kn)(s)&&(l=s.delay,u=s.rememberDevice,c=s.autoPush,d=s.transactionCallBack),l||0===l||(l=i.DEFAULT_POLLING_DELAY);var f=(0,p.Rg)(t,"next","poll");n.isPolling=!0;var g=0;return function i(){return n.isPolling?function(){var n={};if("function"==typeof c)try{n.autoPush=!!c()}catch(e){return Promise.reject(new o.Z("AutoPush resulted in an error."))}else null!=c&&(n.autoPush=!!c);if("function"==typeof u)try{n.rememberDevice=!!u()}catch(e){return Promise.reject(new o.Z("RememberDevice resulted in an error."))}else null!=u&&(n.rememberDevice=!!u);var i=f.href+(0,m.UK)(n);return(0,r.v_)(e,i,function(e){return a(e)}(t),{saveAuthnState:!1,withCredentials:!0})}().then((function(t){if(g=0,t.factorResult&&"WAITING"===t.factorResult){if(!n.isPolling)throw new y.Z;return"function"==typeof d&&d(t),(0,v.gw)(l).then(i)}return n.isPolling=!1,e.tx.createTransaction(t)})).catch((function(e){if(e.xhr&&(0===e.xhr.status||429===e.xhr.status)&&g<=4){var t=1e3*Math.pow(2,g);return g++,(0,v.gw)(t).then(i)}throw e})):Promise.reject(new y.Z)}().catch((function(e){throw n.isPolling=!1,e}))}}function _(e,t,n,r,o){if(r=r||n,r=(0,p.d9)(r),Array.isArray(r)){for(var i=[],a=0,s=r.length;a<s;a++)i.push(_(e,t,n,r[a],o));return i}var l=r._embedded||{};for(var u in l)Object.prototype.hasOwnProperty.call(l,u)&&((0,h.Kn)(l[u])||Array.isArray(l[u]))&&(l[u]=_(e,t,n,l[u],o));var c=function(e,t,n,r,o){var i={};for(var a in r._links)if(Object.prototype.hasOwnProperty.call(r._links,a)){var s=r._links[a];if("next"===a&&(a=s.name),s.type)i[a]=s;else if("poll"===a)i.poll=b(e,n,o);else{var l=g(e,t,n,r,s,o);l&&(i[a]=l)}}return i}(e,t,n,r,o);return Object.assign(l,c),r=(0,p.CE)(r,"_embedded","_links"),Object.assign(r,l),r}var w=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(0,d.Z)(this,e),(0,f.Z)(this,"next",void 0),(0,f.Z)(this,"cancel",void 0),(0,f.Z)(this,"skip",void 0),(0,f.Z)(this,"unlock",void 0),(0,f.Z)(this,"changePassword",void 0),(0,f.Z)(this,"resetPassword",void 0),(0,f.Z)(this,"answer",void 0),(0,f.Z)(this,"recovery",void 0),(0,f.Z)(this,"verify",void 0),(0,f.Z)(this,"resend",void 0),(0,f.Z)(this,"activate",void 0),(0,f.Z)(this,"poll",void 0),(0,f.Z)(this,"prev",void 0),(0,f.Z)(this,"data",void 0),(0,f.Z)(this,"stateToken",void 0),(0,f.Z)(this,"sessionToken",void 0),(0,f.Z)(this,"status",void 0),(0,f.Z)(this,"user",void 0),(0,f.Z)(this,"factor",void 0),(0,f.Z)(this,"factors",void 0),(0,f.Z)(this,"policy",void 0),(0,f.Z)(this,"scopes",void 0),(0,f.Z)(this,"target",void 0),(0,f.Z)(this,"authentication",void 0),this.data=void 0,this.status=void 0,r&&(this.data=r,Object.assign(this,_(t,n,r,r,{})),delete this.stateToken,"RECOVERY_CHALLENGE"!==r.status||r._links||(this.cancel=function(){return Promise.resolve(n.createTransaction())}))};function k(e){var t={status:s.bind(null,e),resume:function(n){return function(e,t,n){if(!n||!n.stateToken){var r=c(e);if(!r)return Promise.reject(new o.Z("No transaction to resume"));n={stateToken:r}}return s(e,n).then((function(e){return t.createTransaction(e)}))}(e,t,n)},exists:l.bind(null,e),introspect:function(n){return function(e,t,n){if(!n||!n.stateToken){var i=c(e);if(!i)return Promise.reject(new o.Z("No transaction to evaluate"));n={stateToken:i}}return function(e,t){return t=a(e,t),(0,r.v_)(e,e.getIssuerOrigin()+"/api/v1/authn/introspect",t,{withCredentials:!0})}(e,n).then((function(e){return t.createTransaction(e)}))}(e,t,n)},createTransaction:function(n){return new w(e,t,n)},postToTransaction:function(n,r,o){return u(e,t,n,r,o)}};return t}},3398:function(e,t,n){"use strict";n.d(t,{b:function(){return r.b},t:function(){return o.t}});var r=n(9748),o=n(8284)},8284:function(e,t,n){"use strict";n.d(t,{t:function(){return b}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),d=n(7757),f=n.n(d),p=n(3193),h=n(9123),m=n(415),g=n(4970);function v(e,t){return t=t||{},(0,m.isFingerprintSupported)()?new Promise((function(i,a){var s;(r=document.createElement("iframe")).style.display="none",o=function(t){if(t&&t.data&&t.origin===e.getIssuerOrigin()){try{var n=JSON.parse(t.data)}catch(e){return}if(n)return"FingerprintAvailable"===n.type?i(n.fingerprint):void("FingerprintServiceReady"===n.type&&t.source.postMessage(JSON.stringify({type:"GetFingerprint"}),t.origin))}},(0,g.NH)(window,"message",o),r.src=e.getIssuerOrigin()+"/auth/services/devicefingerprint",document.body.appendChild(r),n=setTimeout((function(){a(new h.Z("Fingerprinting timed out"))}),(null===(s=t)||void 0===s?void 0:s.timeout)||15e3)})).finally((function(){clearTimeout(n),(0,g.ys)(window,"message",o),document.body.contains(r)&&r.parentElement.removeChild(r)})):Promise.reject(new h.Z("Fingerprinting is not supported on this device"));var n,r,o}var y=n(9748);function b(e){return function(e){(0,s.Z)(g,e);var t,n,d,h,m=(d=g,h=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,u.Z)(d);if(h){var n=(0,u.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.Z)(this,e)});function g(){var e;(0,o.Z)(this,g);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=m.call.apply(m,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"tx",void 0),(0,c.Z)((0,a.Z)(e),"authn",void 0),(0,c.Z)((0,a.Z)(e),"fingerprint",void 0),e.authn=e.tx=(0,y.b)((0,a.Z)(e)),e.fingerprint=v.bind(null,(0,a.Z)(e)),e}return(0,i.Z)(g,[{key:"signIn",value:(n=(0,r.Z)(f().mark((function e(t){var n,r=this;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=(0,p.d9)(t||{}),n=function(e){return delete t.sendFingerprint,r.tx.postToTransaction("/api/v1/authn",t,e)},t.sendFingerprint){e.next=4;break}return e.abrupt("return",n());case 4:return e.abrupt("return",this.fingerprint().then((function(e){return n({headers:{"X-Device-Fingerprint":e}})})));case 5:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"signInWithCredentials",value:(t=(0,r.Z)(f().mark((function e(t){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.signIn(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"forgotPassword",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/password",e)}},{key:"unlockAccount",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/unlock",e)}},{key:"verifyRecoveryToken",value:function(e){return this.tx.postToTransaction("/api/v1/authn/recovery/token",e)}}]),g}(e)}},9893:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});var r=n(5671),o=n(4942),i=n(3193),a=n(415),s=n(1971),l=n(4279),u=n.n(l);function c(e){var t=function t(){(0,r.Z)(this,t),(0,o.Z)(this,"options",void 0),(0,o.Z)(this,"emitter",void 0),(0,o.Z)(this,"features",void 0);var n=new e(arguments.length&&(arguments.length<=0?void 0:arguments[0])||{});this.options=(0,i.YY)(n),this.emitter=new(u()),this.features=a};return(0,o.Z)(t,"features",a),(0,o.Z)(t,"constants",s),t.features=t.prototype.features=a,Object.assign(t,{constants:s}),t}},3306:function(e,t,n){"use strict";n.d(t,{a:function(){return r.a},X:function(){return o.X}});var r=n(9893),o=n(5093)},5093:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(5671),o=n(4942);function i(){return function e(t){(0,r.Z)(this,e),(0,o.Z)(this,"devMode",void 0),this.devMode=!!t.devMode}}},4858:function(e,t,n){"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:function(){return c}});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var s in i)i[s]&&(a+="; "+s,!0!==i[s]&&(a+="="+i[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+a}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),a=i.slice(1).join("=");try{var s=decodeURIComponent(i[0]);if(r[s]=t.read(a,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"}),i=o,a=n(9123),s=n(146),l=n(415),u={browserHasLocalStorage:function(){try{var e=this.getLocalStorage();return this.testStorage(e)}catch(e){return!1}},browserHasSessionStorage:function(){try{var e=this.getSessionStorage();return this.testStorage(e)}catch(e){return!1}},testStorageType:function(e){var t=!1;switch(e){case"sessionStorage":t=this.browserHasSessionStorage();break;case"localStorage":t=this.browserHasLocalStorage();break;case"cookie":case"memory":t=!0;break;default:t=!1}return t},getStorageByType:function(e,t){var n;switch(e){case"sessionStorage":n=this.getSessionStorage();break;case"localStorage":n=this.getLocalStorage();break;case"cookie":n=this.getCookieStorage(t);break;case"memory":n=this.getInMemoryStorage();break;default:throw new a.Z("Unrecognized storage option: ".concat(e))}return n},findStorageType:function(e){var t,n;return t=(e=e.slice()).shift(),(n=e.length?e[0]:null)?this.testStorageType(t)?t:((0,s.ZK)("This browser doesn't support ".concat(t,". Switching to ").concat(n,".")),this.findStorageType(e)):t},getLocalStorage:function(){return(0,l.isIE11OrLess)()&&!window.onstorage&&(window.onstorage=function(){}),localStorage},getSessionStorage:function(){return sessionStorage},getCookieStorage:function(e){var t=this,n=e.secure,r=e.sameSite,o=e.sessionCookie;if(void 0===n||void 0===r)throw new a.Z('getCookieStorage: "secure" and "sameSite" options must be provided');var i={getItem:this.storage.get,setItem:function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"2200-01-01T00:00:00.000Z";a=o?null:a,t.storage.set(e,i,a,{secure:n,sameSite:r})},removeItem:function(e){t.storage.delete(e)}};return e.useSeparateCookies?{getItem:function(e){var t=i.getItem(),n={};return Object.keys(t).forEach((function(r){0===r.indexOf(e)&&(n[r.replace("".concat(e,"_"),"")]=JSON.parse(t[r]))})),JSON.stringify(n)},setItem:function(e,t){var n=JSON.parse(this.getItem(e));t=JSON.parse(t),Object.keys(t).forEach((function(r){var o=e+"_"+r,a=JSON.stringify(t[r]);i.setItem(o,a),delete n[r]})),Object.keys(n).forEach((function(t){i.removeItem(e+"_"+t)}))},removeItem:function(e){var t=JSON.parse(this.getItem(e));Object.keys(t).forEach((function(t){i.removeItem(e+"_"+t)}))}}:i},inMemoryStore:{},getInMemoryStorage:function(){var e=this;return{getItem:function(t){return e.inMemoryStore[t]},setItem:function(t,n){e.inMemoryStore[t]=n}}},testStorage:function(e){var t="okta-test-storage";try{return e.setItem(t,t),e.removeItem(t),!0}catch(e){return!1}},storage:{set:function(e,t,n,r){var o=r.sameSite,s=r.secure;if(void 0===s||void 0===o)throw new a.Z('storage.set: "secure" and "sameSite" options must be provided');var l={path:r.path||"/",secure:s,sameSite:o};return Date.parse(n)&&(l.expires=new Date(n)),i.set(e,t,l),this.get(e)},get:function(e){return arguments.length?i.get(e):i.get()},delete:function(e){return i.remove(e,{path:"/"})}}},c=u},1971:function(e,t,n){"use strict";n.r(t),n.d(t,{STATE_TOKEN_KEY_NAME:function(){return r},DEFAULT_POLLING_DELAY:function(){return o},DEFAULT_MAX_CLOCK_SKEW:function(){return i},DEFAULT_CACHE_DURATION:function(){return a},TOKEN_STORAGE_NAME:function(){return s},CACHE_STORAGE_NAME:function(){return l},PKCE_STORAGE_NAME:function(){return u},TRANSACTION_STORAGE_NAME:function(){return c},SHARED_TRANSACTION_STORAGE_NAME:function(){return d},ORIGINAL_URI_STORAGE_NAME:function(){return f},IDX_RESPONSE_STORAGE_NAME:function(){return p},ACCESS_TOKEN_STORAGE_KEY:function(){return h},ID_TOKEN_STORAGE_KEY:function(){return m},REFRESH_TOKEN_STORAGE_KEY:function(){return g},REFERRER_PATH_STORAGE_KEY:function(){return v},MIN_VERIFIER_LENGTH:function(){return y},MAX_VERIFIER_LENGTH:function(){return b},DEFAULT_CODE_CHALLENGE_METHOD:function(){return _},IDX_API_VERSION:function(){return w}});var r="oktaStateToken",o=500,i=300,a=86400,s="okta-token-storage",l="okta-cache-storage",u="okta-pkce-storage",c="okta-transaction-storage",d="okta-shared-transaction-storage",f="okta-original-uri-storage",p="okta-idx-response-storage",h="accessToken",m="idToken",g="refreshToken",v="referrerPath",y=43,b=128,_="S256",w="1.0.0"},1018:function(e,t,n){"use strict";n.d(t,{a:function(){return v},E:function(){return _}});var r=n(5861),o=n(5671),i=n(3144),a=n(4942),s=n(7757),l=n.n(s),u=n(3615),c=n.n(u),d=n(9123),f=n(7088),p=n(3548),h=n(146);function m(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 g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=null,y={updateAuthStatePromise:null,canceledTimes:0},b="authStateChange",_=function(){function e(t){var n=this;if((0,o.Z)(this,e),(0,a.Z)(this,"_sdk",void 0),(0,a.Z)(this,"_pending",void 0),(0,a.Z)(this,"_authState",void 0),(0,a.Z)(this,"_prevAuthState",void 0),(0,a.Z)(this,"_logOptions",void 0),(0,a.Z)(this,"_transformQueue",void 0),!t.emitter)throw new d.Z("Emitter should be initialized before AuthStateManager");this._sdk=t,this._pending=g({},y),this._authState=v,this._logOptions={},this._prevAuthState=null,this._transformQueue=new p.b({quiet:!0}),t.tokenManager.on(f.O3,(function(e,t){n._setLogOptions({event:f.O3,key:e,token:t}),n.updateAuthState()})),t.tokenManager.on(f.FT,(function(e,t){n._setLogOptions({event:f.FT,key:e,token:t}),n.updateAuthState()}))}var t;return(0,i.Z)(e,[{key:"_setLogOptions",value:function(e){this._logOptions=e}},{key:"getAuthState",value:function(){return this._authState}},{key:"getPreviousAuthState",value:function(){return this._prevAuthState}},{key:"updateAuthState",value:(t=(0,r.Z)(l().mark((function e(){var t,n,r,o,i,a,s,u=this;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this._sdk.options,n=t.transformAuthState,r=t.devMode,o=function(e){var t=u._logOptions,n=t.event,r=t.key,o=t.token;(0,h.dr)().group("OKTA-AUTH-JS:updateAuthState: Event:".concat(n," Status:").concat(e)),(0,h.dr)().log(r,o),(0,h.dr)().log("Current authState",u._authState),(0,h.dr)().groupEnd(),u._logOptions={}},i=function(e){var t,n;n=e,(t=u._authState)&&t.isAuthenticated===n.isAuthenticated&&JSON.stringify(t.idToken)===JSON.stringify(n.idToken)&&JSON.stringify(t.accessToken)===JSON.stringify(n.accessToken)&&t.error===n.error?r&&o("unchanged"):(u._prevAuthState=u._authState,u._authState=e,u._sdk.emitter.emit(b,g({},e)),r&&o("emitted"))},a=function e(t){return u._pending.updateAuthStatePromise.then((function(){var n=u._pending.updateAuthStatePromise;return n&&n!==t?e(n):u.getAuthState()}))},!this._pending.updateAuthStatePromise){e.next=11;break}if(!(this._pending.canceledTimes>=10)){e.next=10;break}return r&&o("terminated"),e.abrupt("return",a(this._pending.updateAuthStatePromise));case 10:this._pending.updateAuthStatePromise.cancel();case 11:return s=new(c())((function(e,t,a){a.shouldReject=!1,a((function(){u._pending.updateAuthStatePromise=null,u._pending.canceledTimes=u._pending.canceledTimes+1,r&&o("canceled")}));var l=function(t){s.isCanceled?e():(i(t),e(),u._pending=g({},y))};u._sdk.isAuthenticated().then((function(){if(s.isCanceled)e();else{var t=u._sdk.tokenManager.getTokensSync(),r=t.accessToken,o=t.idToken,i=t.refreshToken,a={accessToken:r,idToken:o,refreshToken:i,isAuthenticated:!(!r||!o)};(n?u._transformQueue.push(n,null,u._sdk,a):Promise.resolve(a)).then((function(e){return l(e)})).catch((function(e){return l({accessToken:r,idToken:o,refreshToken:i,isAuthenticated:!1,error:e})}))}}))})),this._pending.updateAuthStatePromise=s,e.abrupt("return",a(s));case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"subscribe",value:function(e){this._sdk.emitter.on(b,e)}},{key:"unsubscribe",value:function(e){this._sdk.emitter.off(b,e)}}]),e}()},1829:function(e,t,n){"use strict";n.d(t,{W:function(){return ve}});var r=n(885),o=n(907),i=n(181),a=n(5861),s=n(5671),l=n(3144),u=n(4942),c=n(7757),d=n.n(c);Promise.resolve(!1);var f=Promise.resolve(!0),p=Promise.resolve();function h(e,t){return e||(e=0),new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function m(){return Math.random().toString(36).substring(2)}var g=0,v=0;function y(){var e=(new Date).getTime();return e===g?1e3*e+ ++v:(g=e,v=0,1e3*e)}var b={create:function(e){var t={messagesCallback:null,bc:new BroadcastChannel(e),subFns:[]};return t.bc.onmessage=function(e){t.messagesCallback&&t.messagesCallback(e.data)},t},close:function(e){e.bc.close(),e.subFns=[]},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){try{return e.bc.postMessage(t,!1),p}catch(e){return Promise.reject(e)}},canBeUsed:function(){if("undefined"==typeof window)return!1;if("function"==typeof BroadcastChannel){if(BroadcastChannel._pubkey)throw new Error("BroadcastChannel: Do not overwrite window.BroadcastChannel with this module, this is not a polyfill");return!0}return!1},type:"native",averageResponseTime:function(){return 150},microSeconds:y},_=function(){function e(e){this.ttl=e,this.map=new Map,this._to=!1}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.add=function(e){var t=this;this.map.set(e,w()),this._to||(this._to=!0,setTimeout((function(){t._to=!1,function(e){for(var t=w()-e.ttl,n=e.map[Symbol.iterator]();;){var r=n.next().value;if(!r)return;var o=r[0];if(!(r[1]<t))return;e.map.delete(o)}}(t)}),0))},e.prototype.clear=function(){this.map.clear()},e}();function w(){return(new Date).getTime()}function k(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=JSON.parse(JSON.stringify(e));return void 0===t.webWorkerSupport&&(t.webWorkerSupport=!0),t.idb||(t.idb={}),t.idb.ttl||(t.idb.ttl=45e3),t.idb.fallbackInterval||(t.idb.fallbackInterval=150),e.idb&&"function"==typeof e.idb.onclose&&(t.idb.onclose=e.idb.onclose),t.localstorage||(t.localstorage={}),t.localstorage.removeTimeout||(t.localstorage.removeTimeout=6e4),e.methods&&(t.methods=e.methods),t.node||(t.node={}),t.node.ttl||(t.node.ttl=12e4),t.node.maxParallelWrites||(t.node.maxParallelWrites=2048),void 0===t.node.useFastPath&&(t.node.useFastPath=!0),t}var x="messages",S={durability:"relaxed"};function E(){if("undefined"!=typeof indexedDB)return indexedDB;if("undefined"!=typeof window){if(void 0!==window.mozIndexedDB)return window.mozIndexedDB;if(void 0!==window.webkitIndexedDB)return window.webkitIndexedDB;if(void 0!==window.msIndexedDB)return window.msIndexedDB}return!1}function T(e){e.commit&&e.commit()}function O(e){e.closed||C(e).then((function(){return h(e.options.idb.fallbackInterval)})).then((function(){return O(e)}))}function C(e){return e.closed?p:e.messagesCallback?function(e,t){var n=e.transaction(x,"readonly",S),r=n.objectStore(x),o=[],i=IDBKeyRange.bound(t+1,1/0);if(r.getAll){var a=r.getAll(i);return new Promise((function(e,t){a.onerror=function(e){return t(e)},a.onsuccess=function(t){e(t.target.result)}}))}return new Promise((function(e,a){var s=function(){try{return i=IDBKeyRange.bound(t+1,1/0),r.openCursor(i)}catch(e){return r.openCursor()}}();s.onerror=function(e){return a(e)},s.onsuccess=function(r){var i=r.target.result;i?i.value.id<t+1?i.continue(t+1):(o.push(i.value),i.continue()):(T(n),e(o))}}))}(e.db,e.lastCursorId).then((function(t){var n=t.filter((function(e){return!!e})).map((function(t){return t.id>e.lastCursorId&&(e.lastCursorId=t.id),t})).filter((function(t){return function(e,t){return!(e.uuid===t.uuid||t.eMIs.has(e.id)||e.data.time<t.messagesCallbackTime)}(t,e)})).sort((function(e,t){return e.time-t.time}));return n.forEach((function(t){e.messagesCallback&&(e.eMIs.add(t.id),e.messagesCallback(t.data))})),p})):p}var A={create:function(e,t){return t=k(t),function(e){var t="pubkey.broadcast-channel-0-"+e,n=E().open(t);return n.onupgradeneeded=function(e){e.target.result.createObjectStore(x,{keyPath:"id",autoIncrement:!0})},new Promise((function(e,t){n.onerror=function(e){return t(e)},n.onsuccess=function(){e(n.result)}}))}(e).then((function(n){var r={closed:!1,lastCursorId:0,channelName:e,options:t,uuid:m(),eMIs:new _(2*t.idb.ttl),writeBlockPromise:p,messagesCallback:null,readQueuePromises:[],db:n};return n.onclose=function(){r.closed=!0,t.idb.onclose&&t.idb.onclose()},O(r),r}))},close:function(e){e.closed=!0,e.db.close()},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t,C(e)},postMessage:function(e,t){return e.writeBlockPromise=e.writeBlockPromise.then((function(){return function(e,t,n){var r={uuid:t,time:(new Date).getTime(),data:n},o=e.transaction([x],"readwrite",S);return new Promise((function(e,t){o.oncomplete=function(){return e()},o.onerror=function(e){return t(e)},o.objectStore(x).add(r),T(o)}))}(e.db,e.uuid,t)})).then((function(){var t,n;0===Math.floor(11*Math.random()+0)&&(t=e.db,n=e.options.idb.ttl,function(e,t){var n=(new Date).getTime()-t,r=e.transaction(x,"readonly",S),o=r.objectStore(x),i=[];return new Promise((function(e){o.openCursor().onsuccess=function(t){var o=t.target.result;if(o){var a=o.value;if(!(a.time<n))return T(r),void e(i);i.push(a),o.continue()}else e(i)}}))}(t,n).then((function(e){return function(e,t){var n=e.transaction([x],"readwrite",S).objectStore(x);return Promise.all(t.map((function(e){var t=n.delete(e);return new Promise((function(e){t.onsuccess=function(){return e()}}))})))}(t,e.map((function(e){return e.id})))})))})),e.writeBlockPromise},canBeUsed:function(){return!!E()},type:"idb",averageResponseTime:function(e){return 2*e.idb.fallbackInterval},microSeconds:y};function P(){var e;if("undefined"==typeof window)return null;try{e=window.localStorage,e=window["ie8-eventlistener/storage"]||window.localStorage}catch(e){}return e}function R(e){return"pubkey.broadcastChannel-"+e}function M(){var e=P();if(!e)return!1;try{var t="__broadcastchannel_check";e.setItem(t,"works"),e.removeItem(t)}catch(e){return!1}return!0}var I={create:function(e,t){if(t=k(t),!M())throw new Error("BroadcastChannel: localstorage cannot be used");var n=m(),r=new _(t.localstorage.removeTimeout),o={channelName:e,uuid:n,eMIs:r};return o.listener=function(e,t){var i=R(e),a=function(e){var t;e.key===i&&(t=JSON.parse(e.newValue),o.messagesCallback&&t.uuid!==n&&t.token&&!r.has(t.token)&&(t.data.time&&t.data.time<o.messagesCallbackTime||(r.add(t.token),o.messagesCallback(t.data))))};return window.addEventListener("storage",a),a}(e),o},close:function(e){var t;t=e.listener,window.removeEventListener("storage",t)},onMessage:function(e,t,n){e.messagesCallbackTime=n,e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){h().then((function(){var r=R(e.channelName),o={token:m(),time:(new Date).getTime(),data:t,uuid:e.uuid},i=JSON.stringify(o);P().setItem(r,i);var a=document.createEvent("Event");a.initEvent("storage",!0,!0),a.key=r,a.newValue=i,window.dispatchEvent(a),n()}))}))},canBeUsed:M,type:"localstorage",averageResponseTime:function(){var e=navigator.userAgent.toLowerCase();return e.includes("safari")&&!e.includes("chrome")?240:120},microSeconds:y},N=y,j=new Set,L={create:function(e){var t={name:e,messagesCallback:null};return j.add(t),t},close:function(e){j.delete(e)},onMessage:function(e,t){e.messagesCallback=t},postMessage:function(e,t){return new Promise((function(n){return setTimeout((function(){Array.from(j).filter((function(t){return t.name===e.name})).filter((function(t){return t!==e})).filter((function(e){return!!e.messagesCallback})).forEach((function(e){return e.messagesCallback(t)})),n()}),5)}))},canBeUsed:function(){return!0},type:"simulate",averageResponseTime:function(){return 5},microSeconds:N},D=[b,A,I],U=new Set,F=0,B=function(e,t){var n,r,o;this.id=F++,U.add(this),this.name=e,this.options=k(t),this.method=function(e){var t=[].concat(e.methods,D).filter(Boolean);if(e.type){if("simulate"===e.type)return L;var n=t.find((function(t){return t.type===e.type}));if(n)return n;throw new Error("method-type "+e.type+" not found")}e.webWorkerSupport||(t=t.filter((function(e){return"idb"!==e.type})));var r=t.find((function(e){return e.canBeUsed()}));if(r)return r;throw new Error("No useable method found in "+JSON.stringify(D.map((function(e){return e.type}))))}(this.options),this._iL=!1,this._onML=null,this._addEL={message:[],internal:[]},this._uMP=new Set,this._befC=[],this._prepP=null,(o=r=(n=this).method.create(n.name,n.options))&&"function"==typeof o.then?(n._prepP=r,r.then((function(e){n._state=e}))):n._state=r};function V(e,t,n){var r={time:e.method.microSeconds(),type:t,data:n};return(e._prepP?e._prepP:p).then((function(){var t=e.method.postMessage(e._state,r);return e._uMP.add(t),t.catch().then((function(){return e._uMP.delete(t)})),t}))}function q(e){return e._addEL.message.length>0||e._addEL.internal.length>0}function H(e,t,n){e._addEL[t].push(n),function(e){if(!e._iL&&q(e)){var t=function(t){e._addEL[t.type].forEach((function(e){var n=e.time-1e5;t.time>=n&&e.fn(t.data)}))},n=e.method.microSeconds();e._prepP?e._prepP.then((function(){e._iL=!0,e.method.onMessage(e._state,t,n)})):(e._iL=!0,e.method.onMessage(e._state,t,n))}}(e)}function Z(e,t,n){e._addEL[t]=e._addEL[t].filter((function(e){return e!==n})),function(e){if(e._iL&&!q(e)){e._iL=!1;var t=e.method.microSeconds();e.method.onMessage(e._state,null,t)}}(e)}B._pubkey=!0,B.prototype={postMessage:function(e){if(this.closed)throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed "+JSON.stringify(e));return V(this,"message",e)},postInternal:function(e){return V(this,"internal",e)},set onmessage(e){var t={time:this.method.microSeconds(),fn:e};Z(this,"message",this._onML),e&&"function"==typeof e?(this._onML=t,H(this,"message",t)):this._onML=null},addEventListener:function(e,t){H(this,e,{time:this.method.microSeconds(),fn:t})},removeEventListener:function(e,t){Z(this,e,this._addEL[e].find((function(e){return e.fn===t})))},close:function(){var e=this;if(!this.closed){U.delete(this),this.closed=!0;var t=this._prepP?this._prepP:p;return this._onML=null,this._addEL.message=[],t.then((function(){return Promise.all(Array.from(e._uMP))})).then((function(){return Promise.all(e._befC.map((function(e){return e()})))})).then((function(){return e.method.close(e._state)}))}},get type(){return this.method.type},get isClosed(){return this.closed}};var z=n(5643),W=n.n(z),$={add:function(e){if("function"==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope);else{if("function"!=typeof window.addEventListener)return;window.addEventListener("beforeunload",(function(){e()}),!0),window.addEventListener("unload",(function(){e()}),!0)}}},G=n(199),K=n.n(G),Y=W()?K():$,J=new Set,Q=!1;function X(){var e=[];return J.forEach((function(t){e.push(t()),J.delete(t)})),Promise.all(e)}var ee=function(e,t){var n=this;this.broadcastChannel=e,this._options=t,this.isLeader=!1,this.hasLeader=!1,this.isDead=!1,this.token=m(),this._aplQ=p,this._aplQC=0,this._unl=[],this._lstns=[],this._dpL=function(){},this._dpLC=!1;var r=function(e){"leader"===e.context&&("death"===e.action&&(n.hasLeader=!1),"tell"===e.action&&(n.hasLeader=!0))};this.broadcastChannel.addEventListener("internal",r),this._lstns.push(r)};function te(e,t){var n={context:"leader",action:t,token:e.token};return e.broadcastChannel.postInternal(n)}function ne(e,t){if(e._leaderElector)throw new Error("BroadcastChannel already has a leader-elector");t=function(e,t){return e||(e={}),(e=JSON.parse(JSON.stringify(e))).fallbackInterval||(e.fallbackInterval=3e3),e.responseTime||(e.responseTime=t.method.averageResponseTime(t.options)),e}(t,e);var n=new ee(e,t);return e._befC.push((function(){return n.die()})),e._leaderElector=n,n}ee.prototype={applyOnce:function(e){var t=this;if(this.isLeader)return h(0,!0);if(this.isDead)return h(0,!1);if(this._aplQC>1)return this._aplQ;var n=function(){if(t.isLeader)return f;var n,r=!1,o=new Promise((function(e){n=function(){r=!0,e()}})),i=[],a=function(e){"leader"===e.context&&e.token!=t.token&&(i.push(e),"apply"===e.action&&e.token>t.token&&n(),"tell"===e.action&&(n(),t.hasLeader=!0))};t.broadcastChannel.addEventListener("internal",a);var s=e?4*t._options.responseTime:t._options.responseTime;return te(t,"apply").then((function(){return Promise.race([h(s),o.then((function(){return Promise.reject(new Error)}))])})).then((function(){return te(t,"apply")})).then((function(){return Promise.race([h(s),o.then((function(){return Promise.reject(new Error)}))])})).catch((function(){})).then((function(){return t.broadcastChannel.removeEventListener("internal",a),!r&&function(e){e.isLeader=!0,e.hasLeader=!0;var t=function(e){if(Q||(Q=!0,Y.add(X)),"function"!=typeof e)throw new Error("Listener is no function");return J.add(e),{remove:function(){return J.delete(e)},run:function(){return J.delete(e),e()}}}((function(){return e.die()}));e._unl.push(t);var n=function(t){"leader"===t.context&&"apply"===t.action&&te(e,"tell"),"leader"!==t.context||"tell"!==t.action||e._dpLC||(e._dpLC=!0,e._dpL(),te(e,"tell"))};return e.broadcastChannel.addEventListener("internal",n),e._lstns.push(n),te(e,"tell")}(t).then((function(){return!0}))}))};return this._aplQC=this._aplQC+1,this._aplQ=this._aplQ.then((function(){return n()})).then((function(){t._aplQC=t._aplQC-1})),this._aplQ.then((function(){return t.isLeader}))},awaitLeadership:function(){return this._aLP||(this._aLP=(e=this).isLeader?p:new Promise((function(t){var n=!1;function r(){n||(n=!0,e.broadcastChannel.removeEventListener("internal",o),t(!0))}e.applyOnce().then((function(){e.isLeader&&r()})),function t(){return h(e._options.fallbackInterval).then((function(){if(!e.isDead&&!n)return e.isLeader?void r():e.applyOnce(!0).then((function(){e.isLeader?r():t()}))}))}();var o=function(t){"leader"===t.context&&"death"===t.action&&(e.hasLeader=!1,e.applyOnce().then((function(){e.isLeader&&r()})))};e.broadcastChannel.addEventListener("internal",o),e._lstns.push(o)}))),this._aLP;var e},set onduplicate(e){this._dpL=e},die:function(){var e=this;return this._lstns.forEach((function(t){return e.broadcastChannel.removeEventListener("internal",t)})),this._lstns=[],this._unl.forEach((function(e){return e.remove()})),this._unl=[],this.isLeader&&(this.hasLeader=!1,this.isLeader=!1),this.isDead=!0,te(this,"death")}};var re=n(415),oe=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,e),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"channel",void 0),(0,u.Z)(this,"elector",void 0),(0,u.Z)(this,"started",!1),this.options=t,this.onLeaderDuplicate=this.onLeaderDuplicate.bind(this),this.onLeader=this.onLeader.bind(this)}var t,n,r;return(0,l.Z)(e,[{key:"onLeaderDuplicate",value:function(){}},{key:"onLeader",value:(r=(0,a.Z)(d().mark((function e(){var t,n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,null===(t=(n=this.options).onLeader)||void 0===t?void 0:t.call(n);case 2:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"isLeader",value:function(){var e;return!(null===(e=this.elector)||void 0===e||!e.isLeader)}},{key:"hasLeader",value:function(){var e;return!(null===(e=this.elector)||void 0===e||!e.hasLeader)}},{key:"start",value:(n=(0,a.Z)(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.stop();case 2:this.canStart()&&(t=this.options.electionChannelName,this.channel=new B(t),this.elector=ne(this.channel),this.elector.onduplicate=this.onLeaderDuplicate,this.elector.awaitLeadership().then(this.onLeader),this.started=!0);case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=11;break}if(!this.elector){e.next=5;break}return e.next=4,this.elector.die();case 4:this.elector=void 0;case 5:if(!this.channel){e.next=10;break}return this.channel.postInternal=function(){return Promise.resolve()},e.next=9,this.channel.close();case 9:this.channel=void 0;case 10:this.started=!1;case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"requiresLeadership",value:function(){return!1}},{key:"isStarted",value:function(){return this.started}},{key:"canStart",value:function(){return(0,re.isBrowser)()}}]),e}(),ie=n(9123),ae=n(7088),se=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Z)(this,e),(0,u.Z)(this,"tokenManager",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"renewTimeQueue",void 0),(0,u.Z)(this,"started",!1),this.tokenManager=t,this.options=n,this.renewTimeQueue=[],this.onTokenExpiredHandler=this.onTokenExpiredHandler.bind(this)}var t,n;return(0,l.Z)(e,[{key:"shouldThrottleRenew",value:function(){var e=!1;if(this.renewTimeQueue.push(Date.now()),this.renewTimeQueue.length>=10){var t=this.renewTimeQueue.shift();e=this.renewTimeQueue[this.renewTimeQueue.length-1]-t<3e4}return e}},{key:"requiresLeadership",value:function(){return!!this.options.syncStorage&&(0,re.isBrowser)()}},{key:"onTokenExpiredHandler",value:function(e){if(this.options.autoRenew)if(this.shouldThrottleRenew()){var t=new ie.Z("Too many token renew requests");this.tokenManager.emitError(t)}else this.tokenManager.renew(e).catch((function(){}));else this.options.autoRemove&&this.tokenManager.remove(e)}},{key:"canStart",value:function(){return!!this.options.autoRenew||!!this.options.autoRemove}},{key:"start",value:(n=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.canStart()){e.next=5;break}return e.next=3,this.stop();case 3:this.tokenManager.on(ae.$Y,this.onTokenExpiredHandler),this.started=!0;case 5:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this.started&&(this.tokenManager.off(ae.$Y,this.onTokenExpiredHandler),this.renewTimeQueue=[],this.started=!1);case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"isStarted",value:function(){return this.started}}]),e}(),le=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Z)(this,e),(0,u.Z)(this,"tokenManager",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"channel",void 0),(0,u.Z)(this,"started",!1),(0,u.Z)(this,"enablePostMessage",!0),this.tokenManager=t,this.options=n,this.onTokenAddedHandler=this.onTokenAddedHandler.bind(this),this.onTokenRemovedHandler=this.onTokenRemovedHandler.bind(this),this.onTokenRenewedHandler=this.onTokenRenewedHandler.bind(this),this.onSetStorageHandler=this.onSetStorageHandler.bind(this),this.onSyncMessageHandler=this.onSyncMessageHandler.bind(this)}var t,n;return(0,l.Z)(e,[{key:"requiresLeadership",value:function(){return!1}},{key:"isStarted",value:function(){return this.started}},{key:"canStart",value:function(){return!!this.options.syncStorage&&(0,re.isBrowser)()}},{key:"start",value:(n=(0,a.Z)(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.canStart()){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.stop();case 4:t=this.options.syncChannelName,e.prev=5,this.channel=new B(t),e.next=12;break;case 9:throw e.prev=9,e.t0=e.catch(5),new ie.Z("SyncStorageService is not supported in current browser.");case 12:this.tokenManager.on(ae.O3,this.onTokenAddedHandler),this.tokenManager.on(ae.FT,this.onTokenRemovedHandler),this.tokenManager.on(ae.E,this.onTokenRenewedHandler),this.tokenManager.on(ae.zr,this.onSetStorageHandler),this.channel.addEventListener("message",this.onSyncMessageHandler),this.started=!0;case 18:case"end":return e.stop()}}),e,this,[[5,9]])}))),function(){return n.apply(this,arguments)})},{key:"stop",value:(t=(0,a.Z)(d().mark((function e(){var t,n;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=10;break}return this.tokenManager.off(ae.O3,this.onTokenAddedHandler),this.tokenManager.off(ae.FT,this.onTokenRemovedHandler),this.tokenManager.off(ae.E,this.onTokenRenewedHandler),this.tokenManager.off(ae.zr,this.onSetStorageHandler),null===(t=this.channel)||void 0===t||t.removeEventListener("message",this.onSyncMessageHandler),e.next=8,null===(n=this.channel)||void 0===n?void 0:n.close();case 8:this.channel=void 0,this.started=!1;case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"onTokenAddedHandler",value:function(e,t){var n;this.enablePostMessage&&(null===(n=this.channel)||void 0===n||n.postMessage({type:ae.O3,key:e,token:t}))}},{key:"onTokenRemovedHandler",value:function(e,t){var n;this.enablePostMessage&&(null===(n=this.channel)||void 0===n||n.postMessage({type:ae.FT,key:e,token:t}))}},{key:"onTokenRenewedHandler",value:function(e,t,n){var r;this.enablePostMessage&&(null===(r=this.channel)||void 0===r||r.postMessage({type:ae.E,key:e,token:t,oldToken:n}))}},{key:"onSetStorageHandler",value:function(e){var t;null===(t=this.channel)||void 0===t||t.postMessage({type:ae.zr,storage:e})}},{key:"onSyncMessageHandler",value:function(e){switch(this.enablePostMessage=!1,e.type){case ae.zr:this.tokenManager.getStorage().setStorage(e.storage);break;case ae.O3:this.tokenManager.emitAdded(e.key,e.token),this.tokenManager.setExpireEventTimeout(e.key,e.token);break;case ae.FT:this.tokenManager.clearExpireEventTimeout(e.key),this.tokenManager.emitRemoved(e.key,e.token);break;case ae.E:this.tokenManager.emitRenewed(e.key,e.token,e.oldToken)}this.enablePostMessage=!0}}]),e}(),ue=n(3193);function ce(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){(0,u.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return pe(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)?pe(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function pe(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}var he="autoRenew",me="syncStorage",ge="leaderElection",ve=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,s.Z)(this,e),(0,u.Z)(this,"sdk",void 0),(0,u.Z)(this,"options",void 0),(0,u.Z)(this,"services",void 0),(0,u.Z)(this,"started",void 0),this.sdk=t,this.onLeader=this.onLeader.bind(this);var o=t.tokenManager.getOptions(),i=o.autoRenew,a=o.autoRemove,l=o.syncStorage;r.electionChannelName=r.electionChannelName||r.broadcastChannelName,this.options=Object.assign({},e.defaultOptions,{autoRenew:i,autoRemove:a,syncStorage:l},{electionChannelName:"".concat(t.options.clientId,"-election"),syncChannelName:"".concat(t.options.clientId,"-sync")},(0,ue.YY)(r)),this.started=!1,this.services=new Map,e.knownServices.forEach((function(e){var t=n.createService(e);t&&n.services.set(e,t)}))}var t,n,c,f,p;return(0,l.Z)(e,[{key:"onLeader",value:(p=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=3;break}return e.next=3,this.startServices();case 3:case"end":return e.stop()}}),e,this)}))),function(){return p.apply(this,arguments)})},{key:"isLeader",value:function(){var e;return null===(e=this.getService(ge))||void 0===e?void 0:e.isLeader()}},{key:"isLeaderRequired",value:function(){return(e=this.services.values(),function(e){if(Array.isArray(e))return(0,o.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).some((function(e){return e.canStart()&&e.requiresLeadership()}));var e}},{key:"start",value:(f=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.started){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.startServices();case 4:this.started=!0;case 5:case"end":return e.stop()}}),e,this)}))),function(){return f.apply(this,arguments)})},{key:"stop",value:(c=(0,a.Z)(d().mark((function e(){return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.stopServices();case 2:this.started=!1;case 3:case"end":return e.stop()}}),e,this)}))),function(){return c.apply(this,arguments)})},{key:"getService",value:function(e){return this.services.get(e)}},{key:"startServices",value:(n=(0,a.Z)(d().mark((function e(){var t,n,o,i,a;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=fe(this.services.entries()),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=10;break}if(o=(0,r.Z)(n.value,2),i=o[0],a=o[1],!this.canStartService(i,a)){e.next=8;break}return e.next=8,a.start();case 8:e.next=3;break;case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(1),t.e(e.t0);case 15:return e.prev=15,t.f(),e.finish(15);case 18:case"end":return e.stop()}}),e,this,[[1,12,15,18]])}))),function(){return n.apply(this,arguments)})},{key:"stopServices",value:(t=(0,a.Z)(d().mark((function e(){var t,n,r;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=fe(this.services.values()),e.prev=1,t.s();case 3:if((n=t.n()).done){e.next=9;break}return r=n.value,e.next=7,r.stop();case 7:e.next=3;break;case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(1),t.e(e.t0);case 14:return e.prev=14,t.f(),e.finish(14);case 17:case"end":return e.stop()}}),e,this,[[1,11,14,17]])}))),function(){return t.apply(this,arguments)})},{key:"canStartService",value:function(e,t){var n=t.canStart()&&!t.isStarted();return e===ge?n&&(n=this.isLeaderRequired()):t.requiresLeadership()&&n&&(n=this.isLeader()),n}},{key:"createService",value:function(e){var t,n=this.sdk.tokenManager;switch(e){case ge:t=new oe(de(de({},this.options),{},{onLeader:this.onLeader}));break;case he:t=new se(n,de({},this.options));break;case me:t=new le(n,de({},this.options));break;default:throw new Error("Unknown service ".concat(e))}return t}}]),e}();(0,u.Z)(ve,"knownServices",[he,me,ge]),(0,u.Z)(ve,"defaultOptions",{autoRenew:!0,autoRemove:!0,syncStorage:!0})},6599:function(e,t,n){"use strict";n.d(t,{W:function(){return r.W}});var r=n(1829)},1578:function(e,t,n){"use strict";n.d(t,{K:function(){return u}});var r=n(9893),o=n(265),i=n(3334),a=n(5525),s=n(8386),l=n(3980);function u(e,t,n){var u=(0,r.a)(t),c=(0,o.H)(u,e),d=(0,i.A)(c),f=(0,l.Z)(d),p=(0,a.J)(f,n);return(0,s.i)(p)}},3961:function(e,t,n){"use strict";n.r(t),n.d(t,{AuthStateManager:function(){return r.E},INITIAL_AUTH_STATE:function(){return r.a},createCoreOptionsConstructor:function(){return o.n},createOktaAuthCore:function(){return i.K},mixinCore:function(){return a.i},createCoreStorageManager:function(){return s.a},ServiceManager:function(){return d.W}});var r=n(1018),o=n(9133),i=n(1578),a=n(8386),s=n(2647),l=n(8553),u={};for(var c in l)["default","AuthStateManager","INITIAL_AUTH_STATE","createCoreOptionsConstructor","createOktaAuthCore","mixinCore","createCoreStorageManager"].indexOf(c)<0&&(u[c]=function(e){return l[e]}.bind(0,c));n.d(t,u);var d=n(6599)},8386:function(e,t,n){"use strict";n.d(t,{i:function(){return g}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),d=n(7757),f=n.n(d),p=n(5372),h=n(1018),m=n(1829);function g(e){return function(e){(0,s.Z)(b,e);var t,n,d,g,v,y=(g=b,v=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,u.Z)(g);if(v){var n=(0,u.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,l.Z)(this,e)});function b(){var e;(0,o.Z)(this,b);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=y.call.apply(y,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"authStateManager",void 0),(0,c.Z)((0,a.Z)(e),"serviceManager",void 0),e.authStateManager=new h.E((0,a.Z)(e)),e.serviceManager=new m.W((0,a.Z)(e),e.options.services),e}return(0,i.Z)(b,[{key:"start",value:(d=(0,r.Z)(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.serviceManager.start();case 2:if(this.tokenManager.start(),this.token.isLoginRedirect()){e.next=6;break}return e.next=6,this.authStateManager.updateAuthState();case 6:case"end":return e.stop()}}),e,this)}))),function(){return d.apply(this,arguments)})},{key:"stop",value:(n=(0,r.Z)(f().mark((function e(){return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.tokenManager.stop(),e.next=3,this.serviceManager.stop();case 3:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleLoginRedirect",value:(t=(0,r.Z)(f().mark((function e(t,n){var r,o,i;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.options.state,!t){e.next=6;break}this.tokenManager.setTokens(t),n=n||this.getOriginalUri(this.options.state),e.next=25;break;case 6:if(!this.isLoginRedirect()){e.next=24;break}return e.prev=7,e.next=10,(0,p.Tp)(this,{});case 10:return o=e.sent,r=o.state,n=n||this.getOriginalUri(r),e.next=15,this.storeTokensFromRedirect();case 15:e.next=22;break;case 17:return e.prev=17,e.t0=e.catch(7),e.next=21,this.authStateManager.updateAuthState();case 21:throw e.t0;case 22:e.next=25;break;case 24:return e.abrupt("return");case 25:return e.next=27,this.authStateManager.updateAuthState();case 27:if(this.removeOriginalUri(r),!(i=this.options.restoreOriginalUri)){e.next=34;break}return e.next=32,i(this,n);case 32:e.next=35;break;case 34:n&&window.location.replace(n);case 35:case"end":return e.stop()}}),e,this,[[7,17]])}))),function(e,n){return t.apply(this,arguments)})}]),b}(e)}},9133:function(e,t,n){"use strict";n.d(t,{n:function(){return c}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(9453);function c(){return function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e){var t;return(0,r.Z)(this,c),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"services",void 0),(0,l.Z)((0,o.Z)(t),"transformAuthState",void 0),t.services=e.services,t.transformAuthState=e.transformAuthState,t}return c}((0,u.m)())}},2647:function(e,t,n){"use strict";n.d(t,{a:function(){return o}});var r=n(2333);function o(){return(0,r.a)()}},5675:function(){},8553:function(e,t,n){"use strict";n.r(t);var r=n(5675),o={};for(var i in r)"default"!==i&&(o[i]=function(e){return r[e]}.bind(0,i));n.d(t,o)},7987:function(e,t,n){"use strict";n.d(t,{NL:function(){return i},aR:function(){return a},Df:function(){return s},Wy:function(){return l},k8:function(){return u},EL:function(){return c},dX:function(){return d},kQ:function(){return f}});var r=n(9123),o=n(7594);function i(e){return a((0,o.r3)(e))}function a(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function s(e){return e.replace(/-/g,"+").replace(/_/g,"/")}function l(e){var t=s(e);switch(t.length%4){case 0:break;case 2:t+="==";break;case 3:t+="=";break;default:throw new r.Z("Not a valid Base64Url")}var n=(0,o.ty)(t);try{return decodeURIComponent(escape(n))}catch(e){return n}}function u(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++)t[n]=e.charCodeAt(n);return t}function c(e){return(0,o.ty)(s(e))}function d(e){return Uint8Array.from(c(e),(function(e){return e.charCodeAt(0)}))}function f(e){return(0,o.r3)(new Uint8Array(e).reduce((function(e,t){return e+String.fromCharCode(t)}),""))}},7594:function(e,t,n){"use strict";n.d(t,{ty:function(){return r},r3:function(){return o},KP:function(){return i}});var r=function(e){return atob(e)},o=function(e){return btoa(e)},i="undefined"==typeof crypto?null:crypto},9718:function(e,t,n){"use strict";n.r(t),n.d(t,{base64ToBase64Url:function(){return r.aR},base64UrlDecode:function(){return r.EL},base64UrlToBase64:function(){return r.Df},base64UrlToBuffer:function(){return r.dX},base64UrlToString:function(){return r.Wy},bufferToBase64Url:function(){return r.kQ},stringToBase64Url:function(){return r.NL},stringToBuffer:function(){return r.k8},getOidcHash:function(){return o.X},verifyToken:function(){return l.W},atob:function(){return u.ty},btoa:function(){return u.r3},webcrypto:function(){return u.KP}});var r=n(7987),o=n(5698),i=n(6332),a={};for(var s in i)["default","base64ToBase64Url","base64UrlDecode","base64UrlToBase64","base64UrlToBuffer","base64UrlToString","bufferToBase64Url","stringToBase64Url","stringToBuffer","getOidcHash"].indexOf(s)<0&&(a[s]=function(e){return i[e]}.bind(0,s));n.d(t,a);var l=n(3154),u=n(1)},5698:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(7987),o=n(7594);function i(e){var t=(new TextEncoder).encode(e);return o.KP.subtle.digest("SHA-256",t).then((function(e){var t=new Uint8Array(e).slice(0,16),n=String.fromCharCode.apply(null,t);return(0,r.NL)(n)}))}},6332:function(){},3154:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var r=n(3193),o=n(7987),i=n(7594);function a(e,t){t=(0,r.d9)(t);var n={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}};return delete t.use,i.KP.subtle.importKey("jwk",t,n,!0,["verify"]).then((function(t){var r=e.split("."),a=(0,o.k8)(r[0]+"."+r[1]),s=(0,o.EL)(r[2]),l=(0,o.k8)(s);return i.KP.subtle.verify(n,t,l,a)}))}},1:function(e,t,n){"use strict";n.d(t,{ty:function(){return r.ty},r3:function(){return r.r3},KP:function(){return r.KP}});var r=n(7594)},3983:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t,n){var i;(0,r.Z)(this,c);var a=e.errorSummary;return i=u.call(this,a),(0,l.Z)((0,o.Z)(i),"errorSummary",void 0),(0,l.Z)((0,o.Z)(i),"errorCode",void 0),(0,l.Z)((0,o.Z)(i),"errorLink",void 0),(0,l.Z)((0,o.Z)(i),"errorId",void 0),(0,l.Z)((0,o.Z)(i),"errorCauses",void 0),(0,l.Z)((0,o.Z)(i),"xhr",void 0),(0,l.Z)((0,o.Z)(i),"meta",void 0),i.name="AuthApiError",i.errorSummary=e.errorSummary,i.errorCode=e.errorCode,i.errorLink=e.errorLink,i.errorId=e.errorId,i.errorCauses=e.errorCauses,t&&(i.xhr=t),n&&(i.meta=n),i}return c}(n(6245).Z)},6573:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(5671),o=n(136),i=n(2963),a=n(1120),s=function(e){(0,o.Z)(l,e);var t,n,s=(t=l,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,a.Z)(t);if(n){var o=(0,a.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,i.Z)(this,e)});function l(){return(0,r.Z)(this,l),s.call(this,"The poll was stopped by the sdk")}return l}(n(6245).Z)},9123:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;return(0,r.Z)(this,c),n=u.call(this,e),(0,l.Z)((0,o.Z)(n),"errorSummary",void 0),(0,l.Z)((0,o.Z)(n),"errorCode",void 0),(0,l.Z)((0,o.Z)(n),"errorLink",void 0),(0,l.Z)((0,o.Z)(n),"errorId",void 0),(0,l.Z)((0,o.Z)(n),"errorCauses",void 0),(0,l.Z)((0,o.Z)(n),"xhr",void 0),n.name="AuthSdkError",n.errorCode="INTERNAL",n.errorSummary=e,n.errorLink="INTERNAL",n.errorId="INTERNAL",n.errorCauses=[],t&&(n.xhr=t),n}return c}(n(6245).Z)},6245:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(9611);function u(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function c(e,t,n){return c=u()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,l.Z)(o,n.prototype),o},c.apply(null,arguments)}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return c(e,arguments,(0,s.Z)(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,l.Z)(r,e)},d(e)}var f=function(e){(0,i.Z)(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function u(e){var t;return(0,r.Z)(this,u),t=l.call(this,e),Object.setPrototypeOf((0,o.Z)(t),(this instanceof u?this.constructor:void 0).prototype),t}return u}(d(Error))},2886:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e,t){var n;return(0,r.Z)(this,c),n=u.call(this,t),(0,l.Z)((0,o.Z)(n),"errorCode",void 0),(0,l.Z)((0,o.Z)(n),"errorSummary",void 0),(0,l.Z)((0,o.Z)(n),"error",void 0),(0,l.Z)((0,o.Z)(n),"error_description",void 0),n.name="OAuthError",n.errorCode=e,n.errorSummary=t,n.error=e,n.error_description=t,n}return c}(n(6245).Z)},5728:function(e,t,n){"use strict";n.r(t),n.d(t,{isAuthApiError:function(){return c},isOAuthError:function(){return d},AuthApiError:function(){return r.Z},AuthPollStopError:function(){return o.Z},AuthSdkError:function(){return i.Z},OAuthError:function(){return a.Z}});var r=n(3983),o=n(6573),i=n(9123),a=n(2886),s=n(1243),l={};for(var u in s)["default","isAuthApiError","isOAuthError","AuthApiError","AuthPollStopError","AuthSdkError","OAuthError"].indexOf(u)<0&&(l[u]=function(e){return s[e]}.bind(0,u));function c(e){return e instanceof r.Z}function d(e){return e instanceof a.Z}n.d(t,l)},1243:function(){},6736:function(e,t,n){"use strict";n.r(t),n.d(t,{crypto:function(){return r},createBaseOptionsConstructor:function(){return o.X},createOktaAuthBase:function(){return o.a},ACCESS_TOKEN_STORAGE_KEY:function(){return i.ACCESS_TOKEN_STORAGE_KEY},CACHE_STORAGE_NAME:function(){return i.CACHE_STORAGE_NAME},DEFAULT_CACHE_DURATION:function(){return i.DEFAULT_CACHE_DURATION},DEFAULT_CODE_CHALLENGE_METHOD:function(){return i.DEFAULT_CODE_CHALLENGE_METHOD},DEFAULT_MAX_CLOCK_SKEW:function(){return i.DEFAULT_MAX_CLOCK_SKEW},DEFAULT_POLLING_DELAY:function(){return i.DEFAULT_POLLING_DELAY},IDX_API_VERSION:function(){return i.IDX_API_VERSION},IDX_RESPONSE_STORAGE_NAME:function(){return i.IDX_RESPONSE_STORAGE_NAME},ID_TOKEN_STORAGE_KEY:function(){return i.ID_TOKEN_STORAGE_KEY},MAX_VERIFIER_LENGTH:function(){return i.MAX_VERIFIER_LENGTH},MIN_VERIFIER_LENGTH:function(){return i.MIN_VERIFIER_LENGTH},ORIGINAL_URI_STORAGE_NAME:function(){return i.ORIGINAL_URI_STORAGE_NAME},PKCE_STORAGE_NAME:function(){return i.PKCE_STORAGE_NAME},REFERRER_PATH_STORAGE_KEY:function(){return i.REFERRER_PATH_STORAGE_KEY},REFRESH_TOKEN_STORAGE_KEY:function(){return i.REFRESH_TOKEN_STORAGE_KEY},SHARED_TRANSACTION_STORAGE_NAME:function(){return i.SHARED_TRANSACTION_STORAGE_NAME},STATE_TOKEN_KEY_NAME:function(){return i.STATE_TOKEN_KEY_NAME},TOKEN_STORAGE_NAME:function(){return i.TOKEN_STORAGE_NAME},TRANSACTION_STORAGE_NAME:function(){return i.TRANSACTION_STORAGE_NAME},OktaUserAgent:function(){return c.ed},createHttpOptionsConstructor:function(){return c.ZM},get:function(){return c.U2},httpRequest:function(){return c.c3},mixinHttp:function(){return c.Am},post:function(){return c.v_},setRequestHeader:function(){return c.rn},closeSession:function(){return f.RJ},createSessionApi:function(){return f.MG},getSession:function(){return f.Gg},mixinSession:function(){return f.Zg},refreshSession:function(){return f.dx},sessionExists:function(){return f.sH},setCookieAndRedirect:function(){return f.OT},BaseStorageManager:function(){return p.W8},SavedObject:function(){return p._e},createStorageOptionsConstructor:function(){return p.Tp},logServerSideMemoryStorageWarning:function(){return p.Vp},mixinStorage:function(){return p.Ho},PromiseQueue:function(){return h.bo},bind:function(){return h.ak},clone:function(){return h.d9},delay:function(){return h.gw},deprecate:function(){return h.Rn},deprecateWrap:function(){return h.VA},extend:function(){return h.l7},find:function(){return h.sE},genRandomString:function(){return h.uh},getConsole:function(){return h.dr},getLink:function(){return h.Rg},getNativeConsole:function(){return h.sW},isAbsoluteUrl:function(){return h.sD},isFunction:function(){return h.mf},isNumber:function(){return h.hj},isObject:function(){return h.Kn},isPromise:function(){return h.tI},isString:function(){return h.HD},isoToUTCString:function(){return h.ng},omit:function(){return h.CE},removeNils:function(){return h.YY},removeTrailingSlash:function(){return h.Qj},split2:function(){return h.YQ},toAbsoluteUrl:function(){return h.BY},toQueryString:function(){return h.UK},toRelativeUrl:function(){return h.QN},warn:function(){return h.ZK}});var r=n(9718),o=n(3306),i=n(1971),a=n(3961),s={};for(var l in a)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME"].indexOf(l)<0&&(s[l]=function(e){return a[e]}.bind(0,l));n.d(t,s);var u=n(5728);for(var l in s={},u)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME","AuthStateManager","INITIAL_AUTH_STATE","ServiceManager","createCoreOptionsConstructor","createCoreStorageManager","createOktaAuthCore","mixinCore"].indexOf(l)<0&&(s[l]=function(e){return u[e]}.bind(0,l));n.d(t,s);var c=n(4777),d=n(9443);for(var l in s={},d)["default","crypto","createBaseOptionsConstructor","createOktaAuthBase","ACCESS_TOKEN_STORAGE_KEY","CACHE_STORAGE_NAME","DEFAULT_CACHE_DURATION","DEFAULT_CODE_CHALLENGE_METHOD","DEFAULT_MAX_CLOCK_SKEW","DEFAULT_POLLING_DELAY","IDX_API_VERSION","IDX_RESPONSE_STORAGE_NAME","ID_TOKEN_STORAGE_KEY","MAX_VERIFIER_LENGTH","MIN_VERIFIER_LENGTH","ORIGINAL_URI_STORAGE_NAME","PKCE_STORAGE_NAME","REFERRER_PATH_STORAGE_KEY","REFRESH_TOKEN_STORAGE_KEY","SHARED_TRANSACTION_STORAGE_NAME","STATE_TOKEN_KEY_NAME","TOKEN_STORAGE_NAME","TRANSACTION_STORAGE_NAME","AuthStateManager","INITIAL_AUTH_STATE","ServiceManager","createCoreOptionsConstructor","createCoreStorageManager","createOktaAuthCore","mixinCore","AuthApiError","AuthPollStopError","AuthSdkError","OAuthError","isAuthApiError","isOAuthError","OktaUserAgent","createHttpOptionsConstructor","get","httpRequest","mixinHttp","post","setRequestHeader"].indexOf(l)<0&&(s[l]=function(e){return d[e]}.bind(0,l));n.d(t,s);var f=n(8041),p=n(9927),h=n(305)},415:function(e,t,n){"use strict";n.r(t),n.d(t,{isBrowser:function(){return i},isIE11OrLess:function(){return a},getUserAgent:function(){return s},isFingerprintSupported:function(){return l},isPopupPostMessageSupported:function(){return u},isTokenVerifySupported:function(){return c},hasTextEncoder:function(){return d},isPKCESupported:function(){return f},isHTTPS:function(){return p},isLocalhost:function(){return h}});var r=n(7594),o=/windows phone|iemobile|wpdesktop/i;function i(){return"undefined"!=typeof document&&"undefined"!=typeof window}function a(){if(!i())return!1;var e=document.documentMode;return!!e&&e<=11}function s(){return navigator.userAgent}function l(){var e=s();return e&&!o.test(e)}function u(){if(!i())return!1;var e=document.documentMode,t=e&&e<10;return void 0!==window.postMessage&&!t}function c(){return void 0!==r.KP&&null!==r.KP&&void 0!==r.KP.subtle&&"undefined"!=typeof Uint8Array}function d(){return"undefined"!=typeof TextEncoder}function f(){return c()&&d()}function p(){return!!i()&&"https:"===window.location.protocol}function h(){return i()&&"localhost"===window.location.hostname}},287:function(e,t,n){"use strict";n.d(t,{e:function(){return s}});var r=n(5671),o=n(3144),i=n(4942),a=n(415),s=function(){function e(){(0,r.Z)(this,e),(0,i.Z)(this,"environments",void 0),this.environments=["okta-auth-js/".concat("7.0.1")]}return(0,o.Z)(e,[{key:"addEnvironment",value:function(e){this.environments.push(e)}},{key:"getHttpHeader",value:function(){return this.maybeAddNodeEnvironment(),{"X-Okta-User-Agent-Extended":this.environments.join(" ")}}},{key:"getVersion",value:function(){return"7.0.1"}},{key:"maybeAddNodeEnvironment",value:function(){if(!(0,a.isBrowser)()&&process&&process.versions){var e=process.versions.node;this.environments.push("nodejs/".concat(e))}}}]),e}()},2281:function(e,t,n){"use strict";function r(e,t,n){e.options.headers=e.options.headers||{},e.options.headers[t]=n}n.d(t,{r:function(){return r}})},4777:function(e,t,n){"use strict";n.d(t,{rn:function(){return r.r},ed:function(){return o.e},U2:function(){return i.U2},c3:function(){return i.c3},v_:function(){return i.v_},Am:function(){return a.A},ZM:function(){return s.Z}});var r=n(2281),o=n(287),i=n(5385),a=n(3334),s=n(8817)},3334:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var r=n(5671),o=n(3144),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942),c=n(287),d=n(2281),f=n(6718),p=n(5385);function h(e){return function(e){(0,a.Z)(m,e);var t,n,h=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,s.Z)(this,e)});function m(){var e;(0,r.Z)(this,m);for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return e=h.call.apply(h,[this].concat(n)),(0,u.Z)((0,i.Z)(e),"_oktaUserAgent",void 0),(0,u.Z)((0,i.Z)(e),"http",void 0),e._oktaUserAgent=new c.e,e.http={setRequestHeader:d.r.bind(null,(0,i.Z)(e))},e}return(0,o.Z)(m,[{key:"setHeaders",value:function(e){this.options.headers=Object.assign({},this.options.headers,e)}},{key:"getIssuerOrigin",value:function(){return this.options.issuer.split("/oauth2/")[0]}},{key:"webfinger",value:function(e){var t="/.well-known/webfinger"+(0,f.UK)(e);return(0,p.U2)(this,t,{headers:{Accept:"application/jrd+json"}})}}]),m}(e)}},8817:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(3849),c=n(885),d=n(1002),f=n(4098),p=n.n(f);function h(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}var m=/application\/\w*\+?json/,g=function(e,t,r){var o=r.data,i=r.headers||{},a=i["Content-Type"]||i["content-type"]||"";o&&"string"!=typeof o&&(m.test(a)?o=JSON.stringify(o):"application/x-www-form-urlencoded"===a&&(o=Object.entries(o).map((function(e){var t=(0,c.Z)(e,2),n=t[0],r=t[1];return"".concat(n,"=").concat(encodeURIComponent(r))})).join("&")));var s=(n.g.fetch||p())(t,{method:e,headers:r.headers,body:o,credentials:r.withCredentials?"include":"omit"});return s.finally||(s=Promise.resolve(s)),s.then((function(e){var t=!e.ok,n=e.status;return function(e){return e.headers.get("Content-Type")&&e.headers.get("Content-Type").toLowerCase().indexOf("application/json")>=0?e.json().catch((function(e){return{error:e,errorSummary:"Could not parse server response"}})):e.text()}(e).then((function(t){return function(e,t,n){var r,o="object"===(0,d.Z)(t),i={},a=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(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)?h(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(n.headers.entries());try{for(a.s();!(r=a.n()).done;){var s=r.value;i[s[0]]=s[1]}}catch(e){a.e(e)}finally{a.f()}var l={responseText:o?JSON.stringify(t):t,status:e,headers:i};return o&&(l.responseType="json",l.responseJSON=t),l}(n,t,e)})).then((function(e){var n;if(t||null!==(n=e.responseJSON)&&void 0!==n&&n.error)throw e;return e}))}))};function v(){return function(e){(0,i.Z)(c,e);var t,n,u=(t=c,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function c(e){var t;return(0,r.Z)(this,c),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"issuer",void 0),(0,l.Z)((0,o.Z)(t),"transformErrorXHR",void 0),(0,l.Z)((0,o.Z)(t),"headers",void 0),(0,l.Z)((0,o.Z)(t),"httpRequestClient",void 0),(0,l.Z)((0,o.Z)(t),"httpRequestInterceptors",void 0),t.issuer=e.issuer,t.transformErrorXHR=e.transformErrorXHR,t.headers=e.headers,t.httpRequestClient=e.httpRequestClient||g,t.httpRequestInterceptors=e.httpRequestInterceptors,t}return c}((0,u.T)())}},5385:function(e,t,n){"use strict";n.d(t,{c3:function(){return p},U2:function(){return h},v_:function(){return m}});var r=n(1002),o=n(4942),i=n(3193),a=n(4771),s=n(6718),l=n(1971),u=n(2886),c=n(3983);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 f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(t=t||{},e.options.httpRequestInterceptors){var n,s=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return f(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)?f(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(e.options.httpRequestInterceptors);try{for(s.s();!(n=s.n()).done;)(0,n.value)(t)}catch(x){s.e(x)}finally{s.f()}}var p=t.url,h=t.method,m=t.args,g=t.saveAuthnState,v=t.accessToken,y=!0===t.withCredentials,b=e.options.storageUtil.storage,_=e.storageManager.getHttpCache(e.options.cookies);if(t.cacheResponse){var w=_.getStorage()[p];if(w&&Date.now()/1e3<w.expiresAt)return Promise.resolve(w.response)}var k=function(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){(0,o.Z)(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}({Accept:"application/json","Content-Type":"application/json"},e._oktaUserAgent.getHttpHeader());Object.assign(k,e.options.headers,t.headers),k=(0,i.YY)(k),v&&(0,a.HD)(v)&&(k.Authorization="Bearer "+v);var x,S,E={headers:k,data:m||void 0,withCredentials:y};return e.options.httpRequestClient(h,p,E).then((function(n){return(S=n.responseText)&&(0,a.HD)(S)&&(S=JSON.parse(S))&&"object"===(0,r.Z)(S)&&!S.headers&&(Array.isArray(S)?S.forEach((function(e){e.headers=n.headers})):S.headers=n.headers),g&&(S.stateToken||b.delete(l.STATE_TOKEN_KEY_NAME)),S&&S.stateToken&&S.expiresAt&&b.set(l.STATE_TOKEN_KEY_NAME,S.stateToken,S.expiresAt,e.options.cookies),S&&t.cacheResponse&&_.updateStorage(p,{expiresAt:Math.floor(Date.now()/1e3)+l.DEFAULT_CACHE_DURATION,response:S}),S})).catch((function(t){var n=t.responseText||{};if((0,a.HD)(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((0,i.d9)(t))),"E0000011"===(x=n.error&&n.error_description?new u.Z(n.error,n.error_description):new c.Z(n,t)).errorCode&&b.delete(l.STATE_TOKEN_KEY_NAME),x}))}function h(e,t,n){var r={url:t=(0,s.sD)(t)?t:e.getIssuerOrigin()+t,method:"GET"};return Object.assign(r,n),p(e,r)}function m(e,t,n,r){var o={url:t=(0,s.sD)(t)?t:e.getIssuerOrigin()+t,method:"POST",args:n,saveAuthnState:!0};return Object.assign(o,r),p(e,o)}},2427:function(e,t,n){"use strict";n.d(t,{M:function(){return w}});var r=n(5861),o=n(1002),i=n(5671),a=n(3144),s=n(4942),l=n(7757),u=n.n(l),c=n(3193),d=n(9123),f=n(2482),p=n(415),h=function(){function e(t){(0,i.Z)(this,e),(0,s.Z)(this,"localOffset",void 0),this.localOffset=parseInt(t||0)}return(0,a.Z)(e,[{key:"now",value:function(){return(Date.now()+this.localOffset)/1e3}}],[{key:"create",value:function(){return new e(0)}}]),e}(),m=n(7088),g=n(6488),v=n(1971);function y(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,s.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _={autoRenew:!0,autoRemove:!0,syncStorage:!0,clearPendingRemoveTokens:!0,storage:void 0,expireEarlySeconds:30,storageKey:v.TOKEN_STORAGE_NAME},w=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((0,i.Z)(this,e),(0,s.Z)(this,"sdk",void 0),(0,s.Z)(this,"clock",void 0),(0,s.Z)(this,"emitter",void 0),(0,s.Z)(this,"storage",void 0),(0,s.Z)(this,"state",void 0),(0,s.Z)(this,"options",void 0),this.sdk=t,this.emitter=t.emitter,!this.emitter)throw new d.Z("Emitter should be initialized before TokenManager");n=Object.assign({},_,(0,c.YY)(n)),(0,p.isLocalhost)()||(n.expireEarlySeconds=_.expireEarlySeconds),this.options=n;var r=(0,c.YY)({storageKey:n.storageKey,secure:n.secure});"object"===(0,o.Z)(n.storage)?r.storageProvider=n.storage:n.storage&&(r.storageType=n.storage),this.storage=t.storageManager.getTokenStorage(b(b({},r),{},{useSeparateCookies:!0})),this.clock=h.create(),this.state={expireTimeouts:{},renewPromise:null}}var t,n,l;return(0,a.Z)(e,[{key:"on",value:function(e,t,n){n?this.emitter.on(e,t,n):this.emitter.on(e,t)}},{key:"off",value:function(e,t){t?this.emitter.off(e,t):this.emitter.off(e)}},{key:"start",value:function(){this.options.clearPendingRemoveTokens&&this.clearPendingRemoveTokens(),this.setExpireEventTimeoutAll()}},{key:"stop",value:function(){this.clearExpireEventTimeoutAll()}},{key:"getOptions",value:function(){return(0,c.d9)(this.options)}},{key:"getExpireTime",value:function(e){var t=this.options.expireEarlySeconds||0;return e.expiresAt-t}},{key:"hasExpired",value:function(e){return this.getExpireTime(e)<=this.clock.now()}},{key:"emitExpired",value:function(e,t){this.emitter.emit(m.$Y,e,t)}},{key:"emitRenewed",value:function(e,t,n){this.emitter.emit(m.E,e,t,n)}},{key:"emitAdded",value:function(e,t){this.emitter.emit(m.O3,e,t)}},{key:"emitRemoved",value:function(e,t){this.emitter.emit(m.FT,e,t)}},{key:"emitError",value:function(e){this.emitter.emit(m.$I,e)}},{key:"clearExpireEventTimeout",value:function(e){clearTimeout(this.state.expireTimeouts[e]),delete this.state.expireTimeouts[e],this.state.renewPromise=null}},{key:"clearExpireEventTimeoutAll",value:function(){var e=this.state.expireTimeouts;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.clearExpireEventTimeout(t)}},{key:"setExpireEventTimeout",value:function(e,t){var n=this;if(!(0,g.z9)(t)){var r=this.getExpireTime(t),o=1e3*Math.max(r-this.clock.now(),0);this.clearExpireEventTimeout(e);var i=setTimeout((function(){n.emitExpired(e,t)}),o);this.state.expireTimeouts[e]=i}}},{key:"setExpireEventTimeoutAll",value:function(){var e=this.storage.getStorage();for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=e[t];this.setExpireEventTimeout(t,n)}}},{key:"resetExpireEventTimeoutAll",value:function(){this.clearExpireEventTimeoutAll(),this.setExpireEventTimeoutAll()}},{key:"add",value:function(e,t){var n=this.storage.getStorage();(0,f.R)(t),n[e]=t,this.storage.setStorage(n),this.emitSetStorageEvent(),this.emitAdded(e,t),this.setExpireEventTimeout(e,t)}},{key:"getSync",value:function(e){return this.storage.getStorage()[e]}},{key:"get",value:(l=(0,r.Z)(u().mark((function e(t){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getSync(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return l.apply(this,arguments)})},{key:"getTokensSync",value:function(){var e={},t=this.storage.getStorage();return Object.keys(t).forEach((function(n){var r=t[n];(0,g.hv)(r)?e.accessToken=r:(0,g.sI)(r)?e.idToken=r:(0,g.z9)(r)&&(e.refreshToken=r)})),e}},{key:"getTokens",value:(n=(0,r.Z)(u().mark((function e(){return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.getTokensSync());case 1:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"getStorageKeyByType",value:function(e){var t=this.storage.getStorage();return Object.keys(t).filter((function(n){var r=t[n];return(0,g.hv)(r)&&"accessToken"===e||(0,g.sI)(r)&&"idToken"===e||(0,g.z9)(r)&&"refreshToken"===e}))[0]}},{key:"getTokenType",value:function(e){if((0,g.hv)(e))return"accessToken";if((0,g.sI)(e))return"idToken";if((0,g.z9)(e))return"refreshToken";throw new d.Z("Unknown token type")}},{key:"emitSetStorageEvent",value:function(){if((0,p.isIE11OrLess)()){var e=this.storage.getStorage();this.emitter.emit(m.zr,e)}}},{key:"getStorage",value:function(){return this.storage}},{key:"setTokens",value:function(e,t,n,r){var o=this,i=function(e,i){var a=o.getTokenType(i);"accessToken"===a?t&&t(e,i):"idToken"===a?n&&n(e,i):"refreshToken"===a&&r&&r(e,i)},a=function(e,t){o.emitAdded(e,t),o.setExpireEventTimeout(e,t),i(e,t)},s=function(e,t){o.clearExpireEventTimeout(e),o.emitRemoved(e,t),i(e,t)},l=["idToken","accessToken","refreshToken"],u=this.getTokensSync();l.forEach((function(t){var n=e[t];n&&(0,f.R)(n,t)}));var c=l.reduce((function(t,n){var r=e[n];return r&&(t[o.getStorageKeyByType(n)||n]=r),t}),{});this.storage.setStorage(c),this.emitSetStorageEvent(),l.forEach((function(t){var n,r,l,c=e[t],d=u[t],f=o.getStorageKeyByType(t)||t;c&&d?(s(f,d),a(f,c),n=f,r=c,l=d,o.emitRenewed(n,r,l),o.clearExpireEventTimeout(n),o.setExpireEventTimeout(n,r),i(n,r)):c?a(f,c):d&&s(f,d)}))}},{key:"remove",value:function(e){this.clearExpireEventTimeout(e);var t=this.storage.getStorage(),n=t[e];delete t[e],this.storage.setStorage(t),this.emitSetStorageEvent(),this.emitRemoved(e,n)}},{key:"renewToken",value:(t=(0,r.Z)(u().mark((function e(t){var n;return u().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null===(n=this.sdk.token)||void 0===n?void 0:n.renew(t));case 1:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"validateToken",value:function(e){return(0,f.R)(e)}},{key:"renew",value:function(e){var t=this;if(this.state.renewPromise)return this.state.renewPromise;try{var n=this.getSync(e);if(!n)throw new d.Z("The tokenManager has no token for the key: "+e)}catch(e){return Promise.reject(e)}return this.clearExpireEventTimeout(e),this.state.renewPromise=this.sdk.token.renewTokens().then((function(e){return t.setTokens(e),e[t.getTokenType(n)]})).catch((function(n){throw t.remove(e),n.tokenKey=e,t.emitError(n),n})).finally((function(){t.state.renewPromise=null}))}},{key:"clear",value:function(){var e=this,t=this.getTokensSync();this.clearExpireEventTimeoutAll(),this.storage.clearStorage(),this.emitSetStorageEvent(),Object.keys(t).forEach((function(n){e.emitRemoved(n,t[n])}))}},{key:"clearPendingRemoveTokens",value:function(){var e=this,t=this.storage.getStorage(),n={};Object.keys(t).forEach((function(e){t[e].pendingRemove&&(n[e]=t[e],delete t[e])})),this.storage.setStorage(t),this.emitSetStorageEvent(),Object.keys(n).forEach((function(t){e.clearExpireEventTimeout(t),e.emitRemoved(t,n[t])}))}},{key:"updateRefreshToken",value:function(e){var t=this.getStorageKeyByType("refreshToken")||v.REFRESH_TOKEN_STORAGE_KEY,n=this.storage.getStorage();(0,f.R)(e),n[t]=e,this.storage.setStorage(n),this.emitSetStorageEvent()}},{key:"removeRefreshToken",value:function(){var e=this.getStorageKeyByType("refreshToken")||v.REFRESH_TOKEN_STORAGE_KEY;this.remove(e)}},{key:"addPendingRemoveFlags",value:function(){var e=this.getTokensSync();Object.keys(e).forEach((function(t){e[t].pendingRemove=!0})),this.setTokens(e)}}]),e}()},1646:function(e,t,n){"use strict";n.d(t,{P:function(){return f}});var r=n(5671),o=n(3144),i=n(4942),a=n(4319),s=n(146);function l(e){var t=e.getSharedTansactionStorage(),n=t.getStorage();Object.keys(n).forEach((function(e){var t=n[e];Date.now()-t.dateCreated>18e5&&delete n[e]})),t.setStorage(n)}function u(e,t,n){var r=e.getSharedTansactionStorage(),o=r.getStorage();o[t]={dateCreated:Date.now(),transaction:n},r.setStorage(o)}function c(e,t){var n=e.getSharedTansactionStorage().getStorage()[t];return n&&n.transaction&&(0,a.mH)(n.transaction)?n.transaction:null}function d(e,t){var n=e.getSharedTansactionStorage(),r=n.getStorage();delete r[t],n.setStorage(r)}function f(){return function(){function e(t){(0,r.Z)(this,e),(0,i.Z)(this,"options",void 0),(0,i.Z)(this,"storageManager",void 0),(0,i.Z)(this,"enableSharedStorage",void 0),(0,i.Z)(this,"saveLastResponse",void 0),this.storageManager=t.storageManager,this.enableSharedStorage=!1!==t.enableSharedStorage,this.saveLastResponse=!1!==t.saveLastResponse,this.options=t}return(0,o.Z)(e,[{key:"clear",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.storageManager.getTransactionStorage(),n=t.getStorage();if(t.clearStorage(),this.enableSharedStorage&&!1!==e.clearSharedStorage){var r=e.state||(null==n?void 0:n.state);r&&d(this.storageManager,r)}}},{key:"save",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.storageManager.getTransactionStorage(),r=n.getStorage();(0,a.mH)(r)&&!t.muteWarning&&(0,s.ZK)("a saved auth transaction exists in storage. This may indicate another auth flow is already in progress."),n.setStorage(e),this.enableSharedStorage&&e.state&&u(this.storageManager,e.state,e)}},{key:"exists",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{return!!this.load(e)}catch(e){return!1}}},{key:"load",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.enableSharedStorage&&t.state&&(l(this.storageManager),e=c(this.storageManager,t.state),(0,a.mH)(e))?e:(e=this.storageManager.getTransactionStorage().getStorage(),(0,a.mH)(e)?e:null)}}]),e}()}},1237:function(e,t,n){"use strict";n.d(t,{T:function(){return i}});var r=n(9123),o=n(7987);function i(e){var t,n=e.split(".");try{t={header:JSON.parse((0,o.Wy)(n[0])),payload:JSON.parse((0,o.Wy)(n[1])),signature:n[2]}}catch(e){throw new r.Z("Malformed token")}return t}},2206:function(e,t,n){"use strict";n.d(t,{_:function(){return c},R:function(){return d}});var r=n(4942),o=n(4771),i=n(3193),a=n(6718),s=n(9123);function l(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 u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function c(e){if(!e.clientId)throw new s.Z("A clientId must be specified in the OktaAuth constructor to get a token");if((0,o.HD)(e.responseType)&&-1!==e.responseType.indexOf(" "))throw new s.Z("Multiple OAuth responseTypes must be defined as an array");var t={client_id:e.clientId,code_challenge:e.codeChallenge,code_challenge_method:e.codeChallengeMethod,display:e.display,idp:e.idp,idp_scope:e.idpScope,login_hint:e.loginHint,max_age:e.maxAge,nonce:e.nonce,prompt:e.prompt,redirect_uri:e.redirectUri,response_mode:e.responseMode,response_type:e.responseType,sessionToken:e.sessionToken,state:e.state};if(t=(0,i.YY)(t),["idp_scope","response_type"].forEach((function(e){Array.isArray(t[e])&&(t[e]=t[e].join(" "))})),-1!==e.responseType.indexOf("id_token")&&-1===e.scopes.indexOf("openid"))throw new s.Z("openid scope must be specified in the scopes argument when requesting an id_token");return t.scope=e.scopes.join(" "),t}function d(e){var t=c(e);return(0,a.UK)(u(u({},t),e.extraParams&&u({},e.extraParams)))}},2642:function(e,t,n){"use strict";n.d(t,{R0:function(){return r.R},_6:function(){return r._},Dp:function(){return o.D},ti:function(){return o.t},km:function(){return i.k},ES:function(){return i.E}});var r=n(2206),o=n(9231),i=n(52)},9231:function(e,t,n){"use strict";n.d(t,{t:function(){return l},D:function(){return u}});var r=n(885),o=n(9123),i=n(3193),a=n(6718),s=n(5385);function l(e,t,n){!function(e){if(!e.clientId)throw new o.Z("A clientId must be specified in the OktaAuth constructor to get a token");if(!e.redirectUri)throw new o.Z("The redirectUri passed to /authorize must also be passed to /token");if(!e.authorizationCode&&!e.interactionCode)throw new o.Z("An authorization code (returned from /authorize) must be passed to /token");if(!e.codeVerifier)throw new o.Z('The "codeVerifier" (generated and saved by your app) must be passed to /token')}(t);var r=function(e,t){var n=(0,i.YY)({client_id:t.clientId,redirect_uri:t.redirectUri,grant_type:t.interactionCode?"interaction_code":"authorization_code",code_verifier:t.codeVerifier});t.interactionCode?n.interaction_code=t.interactionCode:t.authorizationCode&&(n.code=t.authorizationCode);var r=e.options.clientSecret;return r&&(n.client_secret=r),(0,a.UK)(n).slice(1)}(e,t);return(0,s.c3)(e,{url:n.tokenUrl,method:"POST",args:r,headers:{"Content-Type":"application/x-www-form-urlencoded"}})}function u(e,t,n){return(0,s.c3)(e,{url:n.tokenUrl,method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},args:Object.entries({client_id:t.clientId,grant_type:"refresh_token",scope:n.scopes.join(" "),refresh_token:n.refreshToken}).map((function(e){var t=(0,r.Z)(e,2),n=t[0],o=t[1];return n+"="+encodeURIComponent(o)})).join("&")})}},52:function(e,t,n){"use strict";n.d(t,{E:function(){return a},k:function(){return s}});var r=n(5385),o=n(3193),i=n(9123);function a(e,t){var n=t||e.options.issuer;return(0,r.U2)(e,n+"/.well-known/openid-configuration",{cacheResponse:!0})}function s(e,t,n){var s=e.storageManager.getHttpCache(e.options.cookies);return a(e,t).then((function(t){var a=t.jwks_uri,l=s.getStorage()[a];if(l&&Date.now()/1e3<l.expiresAt){var u=(0,o.sE)(l.response.keys,{kid:n});if(u)return u}return s.clearStorage(a),(0,r.U2)(e,a,{cacheResponse:!0}).then((function(e){var t=(0,o.sE)(e.keys,{kid:n});if(t)return t;throw new i.Z("The key id, "+n+", was not found in the server's keys")}))}))}},8707:function(e,t,n){"use strict";n.d(t,{r:function(){return l}});var r=n(7599),o=n(7756),i=n(3193),a=n(9231),s=n(8676);function l(e,t,n){n=n||(0,r.Fc)(e,t);var l=t=Object.assign({},(0,o.D)(e),(0,i.d9)(t)),u=l.authorizationCode,c=l.interactionCode,d=l.codeVerifier,f=l.clientId,p=l.redirectUri,h=l.scopes,m=l.ignoreSignature,g=l.state,v={clientId:f,redirectUri:p,authorizationCode:u,interactionCode:c,codeVerifier:d};return(0,a.t)(e,v,n).then((function(t){var r=["token"];-1!==h.indexOf("openid")&&r.push("id_token");var o={clientId:f,redirectUri:p,scopes:h,responseType:r,ignoreSignature:m};return(0,s.s)(e,o,t,n).then((function(e){return e.code=u,e.state=g,e}))})).finally((function(){e.transactionManager.clear()}))}},7203:function(e,t,n){"use strict";n.d(t,{o:function(){return y}});var r=n(3548),o=n(1237),i=n(8707),a=n(6844),s=n(7625),l=n(9770),u=n(6803),c=n(5372),d=n(2476),f=n(6268),p=n(781),h=n(6466),m=n(6898),g=n(8221),v=n(1260);function y(e,t){var n=function(e){return r.b.prototype.push.bind(t,e,null)},y=n(u.H.bind(null,e)),b=Object.assign(y,{_setLocation:function(t){e.options.setLocation?e.options.setLocation(t):window.location=t}}),_=n(c.ko.bind(null,e)),w=Object.assign(_,{_getHistory:function(){return window.history},_getLocation:function(){return window.location},_getDocument:function(){return window.document}}),k={prepareTokenParams:m.wu.bind(null,e),exchangeCodeForTokens:i.r.bind(null,e),getWithoutPrompt:s.y.bind(null,e),getWithPopup:l.d.bind(null,e),getWithRedirect:b,parseFromUrl:w,decode:o.T,revoke:h.P.bind(null,e),renew:d.$.bind(null,e),renewTokensWithRefresh:p.R.bind(null,e),renewTokens:f.I.bind(null,e),getUserInfo:function(t,n){return(0,a.b)(e,t,n)},verify:v.W.bind(null,e),isLoginRedirect:g.gM.bind(null,e)};return["getWithoutPrompt","getWithPopup","revoke","renew","renewTokensWithRefresh","renewTokens"].forEach((function(e){k[e]=n(k[e])})),k}},231:function(e,t,n){"use strict";n.d(t,{z:function(){return u},o:function(){return r.o}});var r=n(7203),o=n(9893),i=n(265),a=n(3980),s=n(3334),l=n(5525);function u(e,t,n){var r=(0,o.a)(t),u=(0,i.H)(r,e),c=(0,s.A)(u),d=(0,a.Z)(c);return(0,l.J)(d,n)}},3253:function(e,t,n){"use strict";n.d(t,{L:function(){return u}});var r=n(7599),o=n(4970),i=n(9123),a=n(6898),s=n(2206),l=n(8676);function u(e,t){if(arguments.length>2)return Promise.reject(new i.Z('As of version 3.0, "getToken" takes only a single set of options'));var n=(t=t||{}).popupWindow;return t.popupWindow=void 0,(0,a.wu)(e,t).then((function(a){var u,c;switch(t.sessionToken?Object.assign(a,{prompt:"none",responseMode:"okta_post_message",display:null}):t.idp&&Object.assign(a,{display:"popup"}),c=(0,r.Fc)(e,a),u=(t.codeVerifier?c.tokenUrl:c.authorizeUrl)+(0,s.R)(a),a.sessionToken||null===a.display?"IFRAME":"popup"===a.display?"POPUP":"IMPLICIT"){case"IFRAME":var d=(0,o.iC)(e,t.timeout,a.state),f=(0,o.Rl)(u);return d.then((function(t){return(0,l.s)(e,a,t,c)})).finally((function(){var e;document.body.contains(f)&&(null===(e=f.parentElement)||void 0===e||e.removeChild(f))}));case"POPUP":var p;if("okta_post_message"===a.responseMode){if(!e.features.isPopupPostMessageSupported())throw new i.Z("This browser doesn't have full postMessage support");p=(0,o.iC)(e,t.timeout,a.state)}return n&&n.location.assign(u),new Promise((function(e,t){var r=setInterval((function(){n&&!n.closed||(clearInterval(r),t(new i.Z("Unable to parse OAuth flow response")))}),100);p.then((function(t){clearInterval(r),e(t)})).catch((function(e){clearInterval(r),t(e)}))})).then((function(t){return(0,l.s)(e,a,t,c)})).finally((function(){n&&!n.closed&&n.close()}));default:throw new i.Z("The full page redirect flow is not supported")}}))}},6844:function(e,t,n){"use strict";n.d(t,{b:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(4771),s=n(9123),l=n(2886),u=n(5385),c=n(6488);function d(e,t,n){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)(i().mark((function e(t,n,r){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n){e.next=4;break}return e.next=3,t.tokenManager.getTokens();case 3:n=e.sent.accessToken;case 4:if(r){e.next=8;break}return e.next=7,t.tokenManager.getTokens();case 7:r=e.sent.idToken;case 8:if(n&&(0,c.hv)(n)){e.next=10;break}return e.abrupt("return",Promise.reject(new s.Z("getUserInfo requires an access token object")));case 10:if(r&&(0,c.sI)(r)){e.next=12;break}return e.abrupt("return",Promise.reject(new s.Z("getUserInfo requires an ID token object")));case 12:return e.abrupt("return",(0,u.c3)(t,{url:n.userinfoUrl,method:"GET",accessToken:n.accessToken}).then((function(e){return e.sub===r.claims.sub?e:Promise.reject(new s.Z("getUserInfo request was rejected due to token mismatch"))})).catch((function(e){var t;if(e.xhr&&(401===e.xhr.status||403===e.xhr.status)&&(e.xhr.headers&&(0,a.mf)(e.xhr.headers.get)&&e.xhr.headers.get("WWW-Authenticate")?t=e.xhr.headers.get("WWW-Authenticate"):(0,a.mf)(e.xhr.getResponseHeader)&&(t=e.xhr.getResponseHeader("WWW-Authenticate")),t)){var n=t.match(/error="(.*?)"/)||[],r=t.match(/error_description="(.*?)"/)||[],o=n[1],i=r[1];o&&i&&(e=new l.Z(o,i))}throw e})));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9770:function(e,t,n){"use strict";n.d(t,{d:function(){return s}});var r=n(9123),o=n(3193),i=n(3253),a=n(4970);function s(e,t){if(arguments.length>2)return Promise.reject(new r.Z('As of version 3.0, "getWithPopup" takes only a single set of options'));var n=(0,a.pU)("/",t);return t=(0,o.d9)(t)||{},Object.assign(t,{display:"popup",responseMode:"okta_post_message",popupWindow:n}),(0,i.L)(e,t)}},6803:function(e,t,n){"use strict";n.d(t,{H:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(3193),l=n(6898),u=n(2865),c=n(2206);function d(e,t){return f.apply(this,arguments)}function f(){return f=(0,r.Z)(i().mark((function e(t,n){var r,o,d,f=arguments;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(f.length>2)){e.next=2;break}return e.abrupt("return",Promise.reject(new a.Z('As of version 3.0, "getWithRedirect" takes only a single set of options')));case 2:return n=(0,s.d9)(n)||{},e.next=5,(0,l.wu)(t,n);case 5:r=e.sent,o=(0,u.H)(t,r),d=o.urls.authorizeUrl+(0,c.R)(r),t.transactionManager.save(o),t.token.getWithRedirect._setLocation(d);case 10:case"end":return e.stop()}}),e)}))),f.apply(this,arguments)}},7625:function(e,t,n){"use strict";n.d(t,{y:function(){return a}});var r=n(9123),o=n(3193),i=n(3253);function a(e,t){return arguments.length>2?Promise.reject(new r.Z('As of version 3.0, "getWithoutPrompt" takes only a single set of options')):(t=(0,o.d9)(t)||{},Object.assign(t,{prompt:"none",responseMode:"okta_post_message",display:null}),(0,i.L)(e,t))}},8676:function(e,t,n){"use strict";n.d(t,{s:function(){return p}});var r=n(5861),o=n(7757),i=n.n(o),a=n(3193),s=n(7599),l=n(2886),u=n(9123),c=n(1260),d=n(7756);function f(e,t){if(e.error&&e.error_description)throw new l.Z(e.error,e.error_description);if(e.state!==t.state)throw new u.Z("OAuth flow response state doesn't match request state")}function p(e,t,n,r){return h.apply(this,arguments)}function h(){return(h=(0,r.Z)(i().mark((function e(t,n,r,o){var l,p,h,m,g,v,y,b,_,w,k,x,S,E;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!1===t.options.pkce||!r.code&&!r.interaction_code){e.next=3;break}return e.abrupt("return",t.token.exchangeCodeForTokens(Object.assign({},n,{authorizationCode:r.code,interactionCode:r.interaction_code}),o));case 3:if(n=n||(0,d.D)(t),o=o||(0,s.Fc)(t,n),l=n.responseType||[],Array.isArray(l)||(l=[l]),p=r.scope?r.scope.split(" "):(0,a.d9)(n.scopes),h=n.clientId||t.options.clientId,f(r,n),m={},g=r.expires_in,v=r.token_type,y=r.access_token,b=r.id_token,_=r.refresh_token,w=Math.floor(Date.now()/1e3),y&&(k=t.token.decode(y),m.accessToken={accessToken:y,claims:k.payload,expiresAt:Number(g)+w,tokenType:v,scopes:p,authorizeUrl:o.authorizeUrl,userinfoUrl:o.userinfoUrl}),_&&(m.refreshToken={refreshToken:_,expiresAt:Number(g)+w,scopes:p,tokenUrl:o.tokenUrl,authorizeUrl:o.authorizeUrl,issuer:o.issuer}),!b){e.next=27;break}return x=t.token.decode(b),S={idToken:b,claims:x.payload,expiresAt:x.payload.exp-x.payload.iat+w,scopes:p,authorizeUrl:o.authorizeUrl,issuer:o.issuer,clientId:h},E={clientId:h,issuer:o.issuer,nonce:n.nonce,accessToken:y},void 0!==n.ignoreSignature&&(E.ignoreSignature=n.ignoreSignature),e.next=26,(0,c.W)(t,S,E);case 26:m.idToken=S;case 27:if(-1===l.indexOf("token")||m.accessToken){e.next=29;break}throw new u.Z('Unable to parse OAuth flow response: response type "token" was requested but "access_token" was not returned.');case 29:if(-1===l.indexOf("id_token")||m.idToken){e.next=31;break}throw new u.Z('Unable to parse OAuth flow response: response type "id_token" was requested but "id_token" was not returned.');case 31:return e.abrupt("return",{tokens:m,state:r.state,code:r.code});case 32:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},9443:function(e,t,n){"use strict";n.r(t),n.d(t,{createOktaAuthOAuth:function(){return r.z},createTokenAPI:function(){return r.o},mixinOAuth:function(){return o.J},createOAuthStorageManager:function(){return i.a},buildAuthorizeParams:function(){return a.R0},convertTokenParamsToOAuthParams:function(){return a._6},getKey:function(){return a.km},getWellKnown:function(){return a.ES},postRefreshToken:function(){return a.Dp},postToTokenEndpoint:function(){return a.ti},createOAuthOptionsConstructor:function(){return s.m},TokenManager:function(){return d.M},createTransactionManager:function(){return f.P},addListener:function(){return p.NH},addPostMessageListener:function(){return p.iC},assertPKCESupport:function(){return p.vz},createOAuthMeta:function(){return p.H},generateNonce:function(){return p.PY},generateState:function(){return p.aV},getDefaultTokenParams:function(){return p.Dx},getHashOrSearch:function(){return p.O2},getOAuthBaseUrl:function(){return p.zf},getOAuthDomain:function(){return p.Xp},getOAuthUrls:function(){return p.Fc},hasAuthorizationCode:function(){return p.ZP},hasErrorInUrl:function(){return p.hg},hasInteractionCode:function(){return p.d_},hasTokensInHash:function(){return p.kU},isAuthorizationCodeError:function(){return p.tC},isCodeFlow:function(){return p.Ik},isInteractionRequired:function(){return p.wc},isInteractionRequiredError:function(){return p.Cf},isLoginRedirect:function(){return p.gM},isRedirectUri:function(){return p.Qs},isRefreshTokenError:function(){return p.Yo},isRefreshTokenInvalidError:function(){return p.$E},isSameRefreshToken:function(){return p.q0},loadFrame:function(){return p.Rl},loadPopup:function(){return p.pU},pkce:function(){return p.U5},preparePKCE:function(){return p.mi},prepareTokenParams:function(){return p.wu},removeListener:function(){return p.ys},urlParamsToObject:function(){return p.vL},validateClaims:function(){return p.pj},validateCodeChallengeMethod:function(){return p.br},validateToken:function(){return p.Rp},decodeToken:function(){return h.T},revokeToken:function(){return m.P},renewToken:function(){return g.$},renewTokensWithRefresh:function(){return v.R},renewTokens:function(){return y.I},verifyToken:function(){return b.W},getUserInfo:function(){return _.b},handleOAuthResponse:function(){return w.s},exchangeCodeForTokens:function(){return k.r},getToken:function(){return x.L},getWithoutPrompt:function(){return S.y},getWithPopup:function(){return E.d},getWithRedirect:function(){return T.H},parseFromUrl:function(){return O.ko}});var r=n(231),o=n(5525),i=n(2333),a=n(2642),s=n(3775),l=n(8927),u={};for(var c in l)["default","decodeToken","revokeToken","renewToken","renewTokensWithRefresh","renewTokens","verifyToken","getUserInfo","handleOAuthResponse","exchangeCodeForTokens","getToken","getWithoutPrompt","getWithPopup","getWithRedirect","parseFromUrl","createOktaAuthOAuth","createTokenAPI","mixinOAuth","createOAuthStorageManager","buildAuthorizeParams","convertTokenParamsToOAuthParams","getKey","getWellKnown","postRefreshToken","postToTokenEndpoint","createOAuthOptionsConstructor"].indexOf(c)<0&&(u[c]=function(e){return l[e]}.bind(0,c));n.d(t,u);var d=n(2427),f=n(1646),p=n(8785),h=n(1237),m=n(6466),g=n(2476),v=n(781),y=n(6268),b=n(1260),_=n(6844),w=n(8676),k=n(8707),x=n(3253),S=n(7625),E=n(9770),T=n(6803),O=n(5372)},5525:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{J:function(){return A}});var o=n(5861),i=n(5671),a=n(3144),s=n(7326),l=n(1120);function u(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,l.Z)(e)););return e}function c(){return c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=u(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},c.apply(this,arguments)}var d=n(136),f=n(2963),p=n(4942),h=n(7757),m=n.n(h),g=n(5385),v=n(3548),y=n(9718),b=n(3611),_=n(7203),w=n(2427),k=n(8221),x=n(7599),S=n(1971),E=n(4858),T=["originalUri"];function O(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 C(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(e,t){var n,u=function(e){(0,d.Z)(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,f.Z)(this,e)});function o(){return(0,i.Z)(this,o),r.apply(this,arguments)}return(0,a.Z)(o,[{key:"setOriginalUri",value:function(e,t){E.Z.getSessionStorage().setItem(S.REFERRER_PATH_STORAGE_KEY,e),(t=t||this.options.state)&&this.storageManager.getOriginalUriStorage().setItem(t,e)}},{key:"getOriginalUri",value:function(e){if(e=e||this.options.state){var t=this.storageManager.getOriginalUriStorage().getItem(e);if(t)return t}var n=E.Z.getSessionStorage();return n&&n.getItem(S.REFERRER_PATH_STORAGE_KEY)||void 0}},{key:"removeOriginalUri",value:function(e){if(E.Z.getSessionStorage().removeItem(S.REFERRER_PATH_STORAGE_KEY),e=e||this.options.state){var t=this.storageManager.getOriginalUriStorage();t.removeItem&&t.removeItem(e)}}}]),o}(e);return n=function(e){(0,d.Z)(I,e);var n,u,h,y,S,E,O,A,P,R,M=(P=I,R=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(P);if(R){var n=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,f.Z)(this,e)});function I(){var e;(0,i.Z)(this,I);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e=M.call.apply(M,[this].concat(r)),(0,p.Z)((0,s.Z)(e),"token",void 0),(0,p.Z)((0,s.Z)(e),"tokenManager",void 0),(0,p.Z)((0,s.Z)(e),"transactionManager",void 0),(0,p.Z)((0,s.Z)(e),"pkce",void 0),(0,p.Z)((0,s.Z)(e),"_pending",void 0),(0,p.Z)((0,s.Z)(e),"_tokenQueue",void 0),e.transactionManager=new t(Object.assign({storageManager:e.storageManager},e.options.transactionManager)),e.pkce={DEFAULT_CODE_CHALLENGE_METHOD:b.Z.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:b.Z.generateVerifier,computeChallenge:b.Z.computeChallenge},e._pending={handleLogin:!1},e._tokenQueue=new v.b,e.token=(0,_.o)((0,s.Z)(e),e._tokenQueue),e.tokenManager=new w.M((0,s.Z)(e),e.options.tokenManager),e}return(0,a.Z)(I,[{key:"clearStorage",value:function(){c((0,l.Z)(I.prototype),"clearStorage",this).call(this),this.tokenManager.clear()}},{key:"isAuthenticated",value:(A=(0,o.Z)(m().mark((function e(){var t,n,r,o,i,a,s,l,u,c,d=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=d.length>0&&void 0!==d[0]?d[0]:{},n=this.tokenManager.getOptions(),r=n.autoRenew,o=n.autoRemove,i=t.onExpiredToken?"renew"===t.onExpiredToken:r,a=t.onExpiredToken?"remove"===t.onExpiredToken:o,s=this.tokenManager.getTokensSync(),!(l=s.accessToken)||!this.tokenManager.hasExpired(l)){e.next=19;break}if(l=void 0,!i){e.next=18;break}return e.prev=8,e.next=11,this.tokenManager.renew("accessToken");case 11:l=e.sent,e.next=16;break;case 14:e.prev=14,e.t0=e.catch(8);case 16:e.next=19;break;case 18:a&&this.tokenManager.remove("accessToken");case 19:if(u=this.tokenManager.getTokensSync(),!(c=u.idToken)||!this.tokenManager.hasExpired(c)){e.next=34;break}if(c=void 0,!i){e.next=33;break}return e.prev=23,e.next=26,this.tokenManager.renew("idToken");case 26:c=e.sent,e.next=31;break;case 29:e.prev=29,e.t1=e.catch(23);case 31:e.next=34;break;case 33:a&&this.tokenManager.remove("idToken");case 34:return e.abrupt("return",!(!l||!c));case 35:case"end":return e.stop()}}),e,this,[[8,14],[23,29]])}))),function(){return A.apply(this,arguments)})},{key:"signInWithRedirect",value:(O=(0,o.Z)(m().mark((function e(){var t,n,o,i,a=arguments;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.length>0&&void 0!==a[0]?a[0]:{},n=t.originalUri,o=r(t,T),!this._pending.handleLogin){e.next=4;break}return e.abrupt("return");case 4:return this._pending.handleLogin=!0,e.prev=5,n&&this.setOriginalUri(n),i=Object.assign({scopes:this.options.scopes||["openid","email","profile"]},o),e.next=10,this.token.getWithRedirect(i);case 10:return e.prev=10,this._pending.handleLogin=!1,e.finish(10);case 13:case"end":return e.stop()}}),e,this,[[5,,10,13]])}))),function(){return O.apply(this,arguments)})},{key:"getUser",value:(E=(0,o.Z)(m().mark((function e(){var t,n,r;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.tokenManager.getTokensSync(),n=t.idToken,r=t.accessToken,e.abrupt("return",this.token.getUserInfo(r,n));case 2:case"end":return e.stop()}}),e,this)}))),function(){return E.apply(this,arguments)})},{key:"getIdToken",value:function(){var e=this.tokenManager.getTokensSync().idToken;return e?e.idToken:void 0}},{key:"getAccessToken",value:function(){var e=this.tokenManager.getTokensSync().accessToken;return e?e.accessToken:void 0}},{key:"getRefreshToken",value:function(){var e=this.tokenManager.getTokensSync().refreshToken;return e?e.refreshToken:void 0}},{key:"storeTokensFromRedirect",value:(S=(0,o.Z)(m().mark((function e(){var t,n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.token.parseFromUrl();case 2:t=e.sent,n=t.tokens,this.tokenManager.setTokens(n);case 5:case"end":return e.stop()}}),e,this)}))),function(){return S.apply(this,arguments)})},{key:"isLoginRedirect",value:function(){return(0,k.gM)(this)}},{key:"isPKCE",value:function(){return!!this.options.pkce}},{key:"hasResponseType",value:function(e){return Array.isArray(this.options.responseType)&&this.options.responseType.length?this.options.responseType.indexOf(e)>=0:this.options.responseType===e}},{key:"isAuthorizationCodeFlow",value:function(){return this.hasResponseType("code")}},{key:"invokeApiMethod",value:(y=(0,o.Z)(m().mark((function e(t){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.accessToken){e.next=5;break}return e.next=3,this.tokenManager.getTokens();case 3:n=e.sent.accessToken,t.accessToken=null==n?void 0:n.accessToken;case 5:return e.abrupt("return",(0,g.c3)(this,t));case 6:case"end":return e.stop()}}),e,this)}))),function(e){return y.apply(this,arguments)})},{key:"revokeAccessToken",value:(h=(0,o.Z)(m().mark((function e(t){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=6;break}return e.next=3,this.tokenManager.getTokens();case 3:t=e.sent.accessToken,n=this.tokenManager.getStorageKeyByType("accessToken"),this.tokenManager.remove(n);case 6:if(t){e.next=8;break}return e.abrupt("return",Promise.resolve(null));case 8:return e.abrupt("return",this.token.revoke(t));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return h.apply(this,arguments)})},{key:"revokeRefreshToken",value:(u=(0,o.Z)(m().mark((function e(t){var n;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=6;break}return e.next=3,this.tokenManager.getTokens();case 3:t=e.sent.refreshToken,n=this.tokenManager.getStorageKeyByType("refreshToken"),this.tokenManager.remove(n);case 6:if(t){e.next=8;break}return e.abrupt("return",Promise.resolve(null));case 8:return e.abrupt("return",this.token.revoke(t));case 9:case"end":return e.stop()}}),e,this)}))),function(e){return u.apply(this,arguments)})},{key:"getSignOutRedirectUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.idToken,n=e.postLogoutRedirectUri,r=e.state;if(t||(t=this.tokenManager.getTokensSync().idToken),!t)return"";n||(n=this.options.postLogoutRedirectUri);var o=(0,x.Fc)(this).logoutUrl,i=t.idToken,a=o+"?id_token_hint="+encodeURIComponent(i);return n&&(a+="&post_logout_redirect_uri="+encodeURIComponent(n)),r&&(a+="&state="+encodeURIComponent(r)),a}},{key:"signOut",value:(n=(0,o.Z)(m().mark((function e(t){var n,r,o,i,a,s,l,u;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Object.assign({},t),n=window.location.origin,r=window.location.href,o=t.postLogoutRedirectUri||this.options.postLogoutRedirectUri||n,i=t.accessToken,a=t.refreshToken,s=!1!==t.revokeAccessToken,(l=!1!==t.revokeRefreshToken)&&void 0===a&&(a=this.tokenManager.getTokensSync().refreshToken),s&&void 0===i&&(i=this.tokenManager.getTokensSync().accessToken),t.idToken||(t.idToken=this.tokenManager.getTokensSync().idToken),!l||!a){e.next=14;break}return e.next=14,this.revokeRefreshToken(a);case 14:if(!s||!i){e.next=17;break}return e.next=17,this.revokeAccessToken(i);case 17:if(u=this.getSignOutRedirectUrl(C(C({},t),{},{postLogoutRedirectUri:o}))){e.next=22;break}return e.abrupt("return",this.closeSession().then((function(){o===r?window.location.reload():window.location.assign(o)})));case 22:t.clearTokensBeforeRedirect?this.tokenManager.clear():this.tokenManager.addPendingRemoveFlags(),window.location.assign(u);case 24:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})}]),I}(u),(0,p.Z)(n,"crypto",y),n}},9453:function(e,t,n){"use strict";n.d(t,{m:function(){return m}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(1971),c=n(6718),d=n(415),f=n(8817),p=n(9123);function h(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 m(){return function(e){(0,i.Z)(m,e);var t,n,f=(t=m,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function m(e){var t;return(0,r.Z)(this,m),t=f.call(this,e),(0,l.Z)((0,o.Z)(t),"issuer",void 0),(0,l.Z)((0,o.Z)(t),"authorizeUrl",void 0),(0,l.Z)((0,o.Z)(t),"userinfoUrl",void 0),(0,l.Z)((0,o.Z)(t),"tokenUrl",void 0),(0,l.Z)((0,o.Z)(t),"revokeUrl",void 0),(0,l.Z)((0,o.Z)(t),"logoutUrl",void 0),(0,l.Z)((0,o.Z)(t),"pkce",void 0),(0,l.Z)((0,o.Z)(t),"clientId",void 0),(0,l.Z)((0,o.Z)(t),"redirectUri",void 0),(0,l.Z)((0,o.Z)(t),"responseType",void 0),(0,l.Z)((0,o.Z)(t),"responseMode",void 0),(0,l.Z)((0,o.Z)(t),"state",void 0),(0,l.Z)((0,o.Z)(t),"scopes",void 0),(0,l.Z)((0,o.Z)(t),"ignoreSignature",void 0),(0,l.Z)((0,o.Z)(t),"codeChallenge",void 0),(0,l.Z)((0,o.Z)(t),"codeChallengeMethod",void 0),(0,l.Z)((0,o.Z)(t),"tokenManager",void 0),(0,l.Z)((0,o.Z)(t),"postLogoutRedirectUri",void 0),(0,l.Z)((0,o.Z)(t),"restoreOriginalUri",void 0),(0,l.Z)((0,o.Z)(t),"transactionManager",void 0),(0,l.Z)((0,o.Z)(t),"clientSecret",void 0),(0,l.Z)((0,o.Z)(t),"setLocation",void 0),(0,l.Z)((0,o.Z)(t),"ignoreLifetime",void 0),(0,l.Z)((0,o.Z)(t),"maxClockSkew",void 0),function(e){var t=(e=e||{}).scopes;if(t&&!Array.isArray(t))throw new p.Z('scopes must be a array of strings. Required usage: new OktaAuth({scopes: ["openid", "email"]})');var n=e.issuer;if(!n)throw new p.Z('No issuer passed to constructor. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(!new RegExp("^http?s?://.+").test(n))throw new p.Z('Issuer must be a valid URL. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com/oauth2/{authServerId}"})');if(-1!==n.indexOf("-admin."))throw new p.Z('Issuer URL passed to constructor contains "-admin" in subdomain. Required usage: new OktaAuth({issuer: "https://{yourOktaDomain}.com})')}(e),t.issuer=(0,c.Qj)(e.issuer),t.tokenUrl=(0,c.Qj)(e.tokenUrl),t.authorizeUrl=(0,c.Qj)(e.authorizeUrl),t.userinfoUrl=(0,c.Qj)(e.userinfoUrl),t.revokeUrl=(0,c.Qj)(e.revokeUrl),t.logoutUrl=(0,c.Qj)(e.logoutUrl),t.pkce=!1!==e.pkce,t.clientId=e.clientId,t.redirectUri=e.redirectUri,(0,d.isBrowser)()&&(t.redirectUri=(0,c.BY)(e.redirectUri,window.location.origin)),t.responseType=e.responseType,t.responseMode=e.responseMode,t.state=e.state,t.scopes=e.scopes,t.ignoreSignature=!!e.ignoreSignature,t.codeChallenge=e.codeChallenge,t.codeChallengeMethod=e.codeChallengeMethod,t.tokenManager=e.tokenManager,t.postLogoutRedirectUri=e.postLogoutRedirectUri,t.restoreOriginalUri=e.restoreOriginalUri,t.transactionManager=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({enableSharedStorage:!0},e.transactionManager),t.clientSecret=e.clientSecret,t.setLocation=e.setLocation,t.ignoreLifetime=!!e.ignoreLifetime,e.maxClockSkew||0===e.maxClockSkew?t.maxClockSkew=e.maxClockSkew:t.maxClockSkew=u.DEFAULT_MAX_CLOCK_SKEW,t}return m}((0,f.Z)())}},3775:function(e,t,n){"use strict";n.d(t,{m:function(){return r.m}});var r=n(9453)},5372:function(e,t,n){"use strict";n.d(t,{Tp:function(){return f},ko:function(){return h}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(1969),l=n(9912),u=n(4771),c=n(8676);function d(e){var t=e.options.pkce?"query":"fragment";return e.options.responseMode||t}function f(e,t){t=t||{},(0,u.HD)(t)&&(t={url:t});var n,r=t.url,o=t.responseMode||d(e),i=e.token.parseFromUrl._getLocation();if(!(n="query"===o?r?r.substring(r.indexOf("?")):i.search:r?r.substring(r.indexOf("#")):i.hash))throw new a.Z("Unable to parse a token from the url");return(0,s.v)(n)}function p(e,t){"query"===(t.responseMode||d(e))?function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.hash):r.search=""}(e):function(e){var t=e.token.parseFromUrl._getHistory(),n=e.token.parseFromUrl._getDocument(),r=e.token.parseFromUrl._getLocation();t&&t.replaceState?t.replaceState(null,n.title,r.pathname+r.search):r.hash=""}(e)}function h(e,t){return m.apply(this,arguments)}function m(){return(m=(0,r.Z)(i().mark((function e(t,n){var r,o,s,d;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=n||{},(0,u.HD)(n)&&(n={url:n}),r=f(t,n),o=r.state,s=t.transactionManager.load({state:o})){e.next=9;break}if(!t.options.pkce){e.next=8;break}throw new a.Z("Could not load PKCE codeVerifier from storage. This may indicate the auth flow has already completed or multiple auth flows are executing concurrently.",void 0);case 8:throw new a.Z("Unable to retrieve OAuth redirect params from storage");case 9:return d=s.urls,delete s.urls,n.url||p(t,n),e.abrupt("return",(0,c.s)(t,s,r,d).catch((function(e){throw(0,l.Cf)(e)||t.transactionManager.clear({state:o}),e})).then((function(e){return t.transactionManager.clear({state:o}),e})));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},2476:function(e,t,n){"use strict";n.d(t,{$:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(6488),l=n(7625),u=n(781);function c(){throw new a.Z("Renew must be passed a token with an array of scopes and an accessToken or idToken")}function d(e,t){return(0,s.sI)(e)?t.idToken:(0,s.hv)(e)?t.accessToken:void c()}function f(e,t){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n){var r,o,a,f,p,h,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((0,s.sI)(n)||(0,s.hv)(n)||c(),!(r=t.tokenManager.getTokensSync()).refreshToken){e.next=7;break}return e.next=5,(0,u.R)(t,{scopes:n.scopes},r.refreshToken);case 5:return r=e.sent,e.abrupt("return",d(n,r));case 7:return o=t.options.pkce?"code":(0,s.hv)(n)?"token":"id_token",f=(a=n).scopes,p=a.authorizeUrl,h=a.userinfoUrl,m=a.issuer,e.abrupt("return",(0,l.y)(t,{responseType:o,scopes:f,authorizeUrl:p,userinfoUrl:h,issuer:m}).then((function(e){return d(n,e.tokens)})));case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},6268:function(e,t,n){"use strict";n.d(t,{I:function(){return c}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(7625),l=n(781),u=n(7756);function c(e,t){return d.apply(this,arguments)}function d(){return(d=(0,r.Z)(i().mark((function e(t,n){var r,o,c,d,f,p,h,m,g;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r=t.tokenManager.getTokensSync()).refreshToken){e.next=3;break}return e.abrupt("return",(0,l.R)(t,n||{},r.refreshToken));case 3:if(r.accessToken||r.idToken){e.next=5;break}throw new a.Z("renewTokens() was called but there is no existing token");case 5:if(o=r.accessToken||{},c=r.idToken||{},d=o.scopes||c.scopes){e.next=10;break}throw new a.Z("renewTokens: invalid tokens: could not read scopes");case 10:if(f=o.authorizeUrl||c.authorizeUrl){e.next=13;break}throw new a.Z("renewTokens: invalid tokens: could not read authorizeUrl");case 13:return p=o.userinfoUrl||t.options.userinfoUrl,h=c.issuer||t.options.issuer,n=Object.assign({scopes:d,authorizeUrl:f,userinfoUrl:p,issuer:h},n),t.options.pkce?n.responseType="code":(m=(0,u.D)(t),g=m.responseType,n.responseType=g),e.abrupt("return",(0,s.y)(t,n).then((function(e){return e.tokens})));case 18:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},781:function(e,t,n){"use strict";n.d(t,{R:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(9123),s=n(7599),l=n(6635),u=n(8676),c=n(9231),d=n(9912);function f(e,t,n){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n,r){var o,f,p,h,m,g,v;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=t.options.clientId){e.next=3;break}throw new a.Z("A clientId must be specified in the OktaAuth constructor to renew tokens");case 3:return e.prev=3,f=Object.assign({},n,{clientId:o}),e.next=7,(0,c.D)(t,f,r);case 7:return p=e.sent,h=(0,s.Fc)(t,n),e.next=11,(0,u.s)(t,f,p,h);case 11:return m=e.sent,g=m.tokens,(v=g.refreshToken)&&!(0,l.q)(v,r)&&t.tokenManager.updateRefreshToken(v),e.abrupt("return",g);case 18:throw e.prev=18,e.t0=e.catch(3),(0,d.$E)(e.t0)&&t.tokenManager.removeRefreshToken(),e.t0;case 22:case"end":return e.stop()}}),e,null,[[3,18]])})))).apply(this,arguments)}},6466:function(e,t,n){"use strict";n.d(t,{P:function(){return d}});var r=n(5861),o=n(7757),i=n.n(o),a=n(5385),s=n(6718),l=n(7599),u=n(7594),c=n(9123);function d(e,t){return f.apply(this,arguments)}function f(){return(f=(0,r.Z)(i().mark((function e(t,n){var r,o,d,f,p,h,m;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r="",o="",n&&(r=n.accessToken,o=n.refreshToken),r||o){e.next=5;break}throw new c.Z("A valid access or refresh token object is required");case 5:if(d=t.options.clientId,f=t.options.clientSecret,d){e.next=9;break}throw new c.Z("A clientId must be specified in the OktaAuth constructor to revoke a token");case 9:return p=(0,l.Fc)(t).revokeUrl,h=(0,s.UK)({token_type_hint:o?"refresh_token":"access_token",token:o||r}).slice(1),m=f?(0,u.r3)("".concat(d,":").concat(f)):(0,u.r3)(d),e.abrupt("return",(0,a.v_)(t,p,h,{headers:{"Content-Type":"application/x-www-form-urlencoded",Authorization:"Basic "+m}}));case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},2333:function(e,t,n){"use strict";n.d(t,{a:function(){return d}});var r=n(5671),o=n(3144),i=n(136),a=n(2963),s=n(1120),l=n(5437),u=n(5763),c=n(1971);function d(){return function(e){(0,i.Z)(f,e);var t,n,d=(t=f,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function f(e,t,n){return(0,r.Z)(this,f),d.call(this,e,t,n)}return(0,o.Z)(f,[{key:"getTransactionStorage",value:function(e){e=this.getOptionsForSection("transaction",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.TRANSACTION_STORAGE_NAME;return new u._(t,n)}},{key:"getSharedTansactionStorage",value:function(e){e=this.getOptionsForSection("shared-transaction",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.SHARED_TRANSACTION_STORAGE_NAME;return new u._(t,n)}},{key:"getOriginalUriStorage",value:function(e){e=this.getOptionsForSection("original-uri",e),(0,l.V)(e);var t=this.getStorage(e),n=e.storageKey||c.ORIGINAL_URI_STORAGE_NAME;return new u._(t,n)}}]),f}(l.W)}},6488:function(e,t,n){"use strict";function r(e){return!!(e&&(e.accessToken||e.idToken||e.refreshToken)&&Array.isArray(e.scopes))}function o(e){return e&&e.accessToken}function i(e){return e&&e.idToken}function a(e){return e&&e.refreshToken}n.d(t,{hD:function(){return r},hv:function(){return o},sI:function(){return i},z9:function(){return a}})},7088:function(e,t,n){"use strict";n.d(t,{$Y:function(){return r},E:function(){return o},O3:function(){return i},FT:function(){return a},$I:function(){return s},zr:function(){return l}});var r="expired",o="renewed",i="added",a="removed",s="error",l="set_storage"},4319:function(e,t,n){"use strict";n.d(t,{G5:function(){return i},ZT:function(){return a},sG:function(){return s},rZ:function(){return l},mH:function(){return u}});var r=n(1002);function o(e){return!(!e||"object"!==(0,r.Z)(e)||0===Object.values(e).length)}function i(e){return!(!o(e)||!e.redirectUri&&!e.responseType)}function a(e){return!!i(e)&&!!e.codeVerifier}function s(e){return!!a(e)&&!!e.interactionHandle}function l(e){return!!o(e)&&void 0===Object.values(e).find((function(e){return"string"!=typeof e}))}function u(e){return!(!i(e)&&!l(e))}},7615:function(){},8927:function(e,t,n){"use strict";n.r(t),n.d(t,{isAccessToken:function(){return a.hv},isIDToken:function(){return a.sI},isRefreshToken:function(){return a.z9},isToken:function(){return a.hD},EVENT_ADDED:function(){return s.O3},EVENT_ERROR:function(){return s.$I},EVENT_EXPIRED:function(){return s.$Y},EVENT_REMOVED:function(){return s.FT},EVENT_RENEWED:function(){return s.E},EVENT_SET_STORAGE:function(){return s.zr},isCustomAuthTransactionMeta:function(){return l.rZ},isIdxTransactionMeta:function(){return l.sG},isOAuthTransactionMeta:function(){return l.G5},isPKCETransactionMeta:function(){return l.ZT},isTransactionMeta:function(){return l.mH}});var r=n(9263),o={};for(var i in r)"default"!==i&&(o[i]=function(e){return r[e]}.bind(0,i));n.d(t,o);var a=n(6488),s=n(7088),l=n(4319),u=n(7615);for(var i in o={},u)["default","isAccessToken","isIDToken","isRefreshToken","isToken","EVENT_ADDED","EVENT_ERROR","EVENT_EXPIRED","EVENT_REMOVED","EVENT_RENEWED","EVENT_SET_STORAGE","isCustomAuthTransactionMeta","isIdxTransactionMeta","isOAuthTransactionMeta","isPKCETransactionMeta","isTransactionMeta"].indexOf(i)<0&&(o[i]=function(e){return u[e]}.bind(0,i));n.d(t,o)},9263:function(){},4970:function(e,t,n){"use strict";n.d(t,{NH:function(){return o},ys:function(){return i},Rl:function(){return a},pU:function(){return s},iC:function(){return l}});var r=n(9123);function o(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,n)}function i(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)}function a(e){var t=document.createElement("iframe");return t.style.display="none",t.src=e,document.body.appendChild(t)}function s(e,t){var n=t.popupTitle||"External Identity Provider User Authentication";return window.open(e,n,"toolbar=no, scrollbars=yes, resizable=yes, top=100, left=500, width=600, height=600")}function l(e,t,n){var a,s;return new Promise((function(i,l){a=function(t){if(t.data&&t.data.state===n)return t.origin!==e.getIssuerOrigin()?l(new r.Z("The request does not match client configuration")):void i(t.data)},o(window,"message",a),s=setTimeout((function(){l(new r.Z("OAuth flow timed out"))}),t||12e4)})).finally((function(){clearTimeout(s),i(window,"message",a)}))}},7756:function(e,t,n){"use strict";n.d(t,{D:function(){return a}});var r=n(7599),o=n(415),i=n(3193);function a(e){var t=e.options,n=t.pkce,a=t.clientId,s=t.redirectUri,l=t.responseType,u=t.responseMode,c=t.scopes,d=t.state,f=t.ignoreSignature,p=(0,o.isBrowser)()?window.location.href:void 0;return(0,i.YY)({pkce:n,clientId:a,redirectUri:s||p,responseType:l||["token","id_token"],responseMode:u,state:d||(0,r.aV)(),nonce:(0,r.NH)(),scopes:c||["openid","email"],ignoreSignature:f})}},9912:function(e,t,n){"use strict";n.d(t,{Cf:function(){return o},tC:function(){return i},$E:function(){return a}});var r=n(5728);function o(e){return"OAuthError"===e.name&&"interaction_required"===e.errorCode}function i(e,t){if("AuthApiError"!==t.name)return!1;var n=t.xhr,r=null==n?void 0:n.responseJSON;return e.options.pkce&&"invalid_grant"===(null==r?void 0:r.error)}function a(e){return(0,r.isOAuthError)(e)&&"invalid_grant"===e.errorCode&&"The refresh token is invalid or expired."===e.errorSummary}},8785:function(e,t,n){"use strict";n.d(t,{NH:function(){return r.NH},iC:function(){return r.iC},Rl:function(){return r.Rl},pU:function(){return r.pU},ys:function(){return r.ys},Dx:function(){return o.D},tC:function(){return i.tC},Cf:function(){return i.Cf},$E:function(){return i.$E},O2:function(){return a.O2},ZP:function(){return a.ZP},hg:function(){return a.hg},d_:function(){return a.d_},kU:function(){return a.kU},Ik:function(){return a.Ik},wc:function(){return a.wc},gM:function(){return a.gM},Qs:function(){return a.Qs},PY:function(){return s.NH},aV:function(){return s.aV},zf:function(){return s.zf},Xp:function(){return s.Xp},Fc:function(){return s.Fc},H:function(){return l.H},U5:function(){return u.Z},vz:function(){return c.vz},mi:function(){return c.mi},wu:function(){return c.wu},br:function(){return c.br},Yo:function(){return d.Y},q0:function(){return d.q},vL:function(){return f.v},pj:function(){return p.p},Rp:function(){return h.R}});var r=n(4970),o=n(7756),i=n(9912),a=n(8221),s=n(7599),l=n(2865),u=n(3611),c=n(6898),d=n(6635),f=n(1969),p=n(6003),h=n(2482)},8221:function(e,t,n){"use strict";function r(e){return/((id|access)_token=)/i.test(e)}function o(e){return/(code=)/i.test(e)}function i(e){return/(interaction_code=)/i.test(e)}function a(e){return/(error=)/i.test(e)||/(error_description)/i.test(e)}function s(e,t){var n=t.options;return!(!e||!n.redirectUri)&&0===e.indexOf(n.redirectUri)}function l(e){return e.pkce||"code"===e.responseType||"query"===e.responseMode}function u(e){return l(e)&&"fragment"!==e.responseMode?window.location.search:window.location.hash}function c(e){if(!s(window.location.href,e))return!1;var t=l(e.options),n=u(e.options);return!!a(n)||(t?o(n)||i(n):r(window.location.hash))}function d(e,t){if(!t){if(!c(e))return!1;t=u(e.options)}return/(error=interaction_required)/i.test(t)}n.d(t,{kU:function(){return r},ZP:function(){return o},d_:function(){return i},hg:function(){return a},Qs:function(){return s},Ik:function(){return l},O2:function(){return u},gM:function(){return c},wc:function(){return d}})},7599:function(e,t,n){"use strict";n.d(t,{aV:function(){return a},NH:function(){return s},zf:function(){return u},Xp:function(){return c},Fc:function(){return d}});var r=n(8750),o=n(6718),i=n(9123);function a(){return(0,r.uh)(64)}function s(){return(0,r.uh)(64)}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,o.Qj)(t.issuer)||e.options.issuer}function u(e){var t=l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return t.indexOf("/oauth2")>0?t:t+"/oauth2"}function c(e){return l(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).split("/oauth2")[0]}function d(e,t){if(arguments.length>2)throw new i.Z('As of version 3.0, "getOAuthUrls" takes only a single set of options');t=t||{};var n=(0,o.Qj)(t.authorizeUrl)||e.options.authorizeUrl,r=l(e,t),a=(0,o.Qj)(t.userinfoUrl)||e.options.userinfoUrl,s=(0,o.Qj)(t.tokenUrl)||e.options.tokenUrl,c=(0,o.Qj)(t.logoutUrl)||e.options.logoutUrl,d=(0,o.Qj)(t.revokeUrl)||e.options.revokeUrl,f=u(e,t);return{issuer:r,authorizeUrl:n=n||f+"/v1/authorize",userinfoUrl:a=a||f+"/v1/userinfo",tokenUrl:s=s||f+"/v1/token",revokeUrl:d=d||f+"/v1/revoke",logoutUrl:c=c||f+"/v1/logout"}}},2865:function(e,t,n){"use strict";n.d(t,{H:function(){return s}});var r=n(4942),o=n(7599);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 a(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){(0,r.Z)(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 s(e,t){var n={issuer:e.options.issuer,urls:(0,o.Fc)(e,t),clientId:t.clientId,redirectUri:t.redirectUri,responseType:t.responseType,responseMode:t.responseMode,scopes:t.scopes,state:t.state,nonce:t.nonce,ignoreSignature:t.ignoreSignature};return!1===t.pkce?n:a(a({},n),{},{codeVerifier:t.codeVerifier,codeChallengeMethod:t.codeChallengeMethod,codeChallenge:t.codeChallenge})}},3611:function(e,t,n){"use strict";var r=n(7594),o=n(7987),i=n(1971);function a(e){return("0"+e.toString(16)).substr(-2)}t.Z={DEFAULT_CODE_CHALLENGE_METHOD:i.DEFAULT_CODE_CHALLENGE_METHOD,generateVerifier:function(e){var t,n,o=e||"";return o.length<i.MIN_VERIFIER_LENGTH&&(o+=(t=i.MIN_VERIFIER_LENGTH-o.length,n=new Uint8Array(Math.ceil(t/2)),r.KP.getRandomValues(n),Array.from(n,a).join("").slice(0,t))),encodeURIComponent(o).slice(0,i.MAX_VERIFIER_LENGTH)},computeChallenge:function(e){var t=(new TextEncoder).encode(e);return r.KP.subtle.digest("SHA-256",t).then((function(e){var t=String.fromCharCode.apply(null,new Uint8Array(e));return(0,o.NL)(t)}))}}},6898:function(e,t,n){"use strict";n.d(t,{vz:function(){return h},br:function(){return m},mi:function(){return v},wu:function(){return b}});var r=n(4942),o=n(5861),i=n(7757),a=n.n(i),s=n(52),l=n(9123),u=n(7756),c=n(1971),d=n(3611);function f(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?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(e){if(!e.features.isPKCESupported()){var t="PKCE requires a modern browser with encryption support running in a secure context.";throw e.features.isHTTPS()||(t+="\nThe current page is not being served with HTTPS protocol. PKCE requires secure HTTPS protocol."),e.features.hasTextEncoder()||(t+='\n"TextEncoder" is not defined. To use PKCE, you may need to include a polyfill/shim for this browser.'),new l.Z(t)}}function m(e,t){return g.apply(this,arguments)}function g(){return(g=(0,o.Z)(a().mark((function e(t,n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=n||t.options.codeChallengeMethod||c.DEFAULT_CODE_CHALLENGE_METHOD,e.next=3,(0,s.E)(t);case 3:if(-1!==(e.sent.code_challenge_methods_supported||[]).indexOf(n)){e.next=7;break}throw new l.Z("Invalid code_challenge_method");case 7:return e.abrupt("return",n);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e,t){return y.apply(this,arguments)}function y(){return(y=(0,o.Z)(a().mark((function e(t,n){var r,o,i,s;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(o=(r=n).codeVerifier,i=r.codeChallenge,s=r.codeChallengeMethod,i=i||t.options.codeChallenge){e.next=8;break}return h(t),o=o||d.Z.generateVerifier(),e.next=7,d.Z.computeChallenge(o);case 7:i=e.sent;case 8:return e.next=10,m(t,s);case 10:return s=e.sent,n=p(p({},n),{},{responseType:"code",codeVerifier:o,codeChallenge:i,codeChallengeMethod:s}),e.abrupt("return",n);case 13:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return _.apply(this,arguments)}function _(){return _=(0,o.Z)(a().mark((function e(t){var n,r,o=arguments;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]?o[1]:{},r=(0,u.D)(t),!1!==(n=p(p({},r),n)).pkce){e.next=5;break}return e.abrupt("return",n);case 5:return e.abrupt("return",v(t,n));case 6:case"end":return e.stop()}}),e)}))),_.apply(this,arguments)}},6635:function(e,t,n){"use strict";n.d(t,{q:function(){return o},Y:function(){return i}});var r=n(5728);function o(e,t){return e.refreshToken===t.refreshToken}function i(e){return!(!(0,r.isAuthApiError)(e)||!e.xhr||!e.xhr.responseJSON||"invalid_grant"!==e.xhr.responseJSON.error)}},1969:function(e,t,n){"use strict";function r(e){var t=/\+/g,n=/([^&=]+)=?([^&]*)/g,r=e||"";"#"===r.charAt(0)&&"/"===r.charAt(1)&&(r=r.substring(2)),"#"!==r.charAt(0)&&"?"!==r.charAt(0)||(r=r.substring(1));for(var o,i={};o=n.exec(r);){var a=o[1],s=o[2];i[a]="id_token"===a||"access_token"===a||"code"===a?s:decodeURIComponent(s.replace(t," "))}return i}n.d(t,{v:function(){return r}})},6003:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var r=n(9123);function o(e,t,n){var o=n.clientId,i=n.issuer,a=n.nonce;if(!t||!i||!o)throw new r.Z("The jwt, iss, and aud arguments are all required");if(a&&t.nonce!==a)throw new r.Z("OAuth flow response nonce doesn't match request nonce");var s=Math.floor(Date.now()/1e3);if(t.iss!==i)throw new r.Z("The issuer ["+t.iss+"] does not match ["+i+"]");if(t.aud!==o)throw new r.Z("The audience ["+t.aud+"] does not match ["+o+"]");if(t.iat>t.exp)throw new r.Z("The JWT expired before it was issued");if(!e.options.ignoreLifetime){if(s-e.options.maxClockSkew>t.exp)throw new r.Z("The JWT expired and is no longer valid");if(t.iat>s+e.options.maxClockSkew)throw new r.Z("The JWT was issued in the future")}}},2482:function(e,t,n){"use strict";n.d(t,{R:function(){return i}});var r=n(9123),o=n(6488);function i(e,t){if(!(0,o.sI)(e)&&!(0,o.hv)(e)&&!(0,o.z9)(e))throw new r.Z("Token must be an Object with scopes, expiresAt, and one of: an idToken, accessToken, or refreshToken property");if("accessToken"===t&&!(0,o.hv)(e))throw new r.Z("invalid accessToken");if("idToken"===t&&!(0,o.sI)(e))throw new r.Z("invalid idToken");if("refreshToken"===t&&!(0,o.z9)(e))throw new r.Z("invalid refreshToken")}},1260:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var r=n(5861),o=n(7757),i=n.n(o),a=n(52),s=n(6003),l=n(9123),u=n(1237),c=n(3154),d=n(5698);function f(e,t,n){return p.apply(this,arguments)}function p(){return(p=(0,r.Z)(i().mark((function e(t,n,r){var o,f,p,h,m,g;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n&&n.idToken){e.next=2;break}throw new l.Z("Only idTokens may be verified");case 2:return o=(0,u.T)(n.idToken),f=(null==r?void 0:r.issuer)||t.options.issuer,e.next=6,(0,a.E)(t,f);case 6:if(p=e.sent,h=p.issuer,m=Object.assign({clientId:t.options.clientId,ignoreSignature:t.options.ignoreSignature},r,{issuer:h}),(0,s.p)(t,o.payload,m),1!=m.ignoreSignature&&t.features.isTokenVerifySupported()){e.next=12;break}return e.abrupt("return",n);case 12:return e.next=14,(0,a.k)(t,n.issuer,o.header.kid);case 14:return g=e.sent,e.next=17,c.W(n.idToken,g);case 17:if(e.sent){e.next=20;break}throw new l.Z("The token signature is not valid");case 20:if(!(r&&r.accessToken&&n.claims.at_hash)){e.next=26;break}return e.next=23,d.X(r.accessToken);case 23:if(e.sent===n.claims.at_hash){e.next=26;break}throw new l.Z("Token hash verification failed");case 26:return e.abrupt("return",n);case 27:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},3719:function(e,t,n){"use strict";n.d(t,{sH:function(){return a},Gg:function(){return s},RJ:function(){return l},dx:function(){return u},OT:function(){return c}});var r=n(3193),o=n(6718),i=n(5385);function a(e){return e.session.get().then((function(e){return"ACTIVE"===e.status})).catch((function(){return!1}))}function s(e){return(0,i.U2)(e,"/api/v1/sessions/me",{withCredentials:!0}).then((function(t){var n=(0,r.CE)(t,"_links");return n.refresh=function(){return(0,i.v_)(e,(0,r.Rg)(t,"refresh").href,{},{withCredentials:!0})},n.user=function(){return(0,i.U2)(e,(0,r.Rg)(t,"user").href,{withCredentials:!0})},n})).catch((function(){return{status:"INACTIVE"}}))}function l(e){return(0,i.c3)(e,{url:e.getIssuerOrigin()+"/api/v1/sessions/me",method:"DELETE",withCredentials:!0})}function u(e){return(0,i.v_)(e,"/api/v1/sessions/me/lifecycle/refresh",{},{withCredentials:!0})}function c(e,t,n){n=n||window.location.href,window.location.assign(e.getIssuerOrigin()+"/login/sessionCookieRedirect"+(0,o.UK)({checkAccountSetupComplete:!0,token:t,redirectUrl:n}))}},2815:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(3719);function o(e){return{close:r.RJ.bind(null,e),exists:r.sH.bind(null,e),get:r.Gg.bind(null,e),refresh:r.dx.bind(null,e),setCookieAndRedirect:r.OT.bind(null,e)}}},8041:function(e,t,n){"use strict";n.d(t,{RJ:function(){return r.RJ},Gg:function(){return r.Gg},dx:function(){return r.dx},sH:function(){return r.sH},OT:function(){return r.OT},MG:function(){return o.M},Zg:function(){return i.Z}});var r=n(3719),o=n(2815),i=n(3980)},3980:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(5861),o=n(5671),i=n(3144),a=n(7326),s=n(136),l=n(2963),u=n(1120),c=n(4942),d=n(7757),f=n.n(d),p=n(2815);function h(e){return function(e){(0,s.Z)(h,e);var t,n,d=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,u.Z)(t);if(n){var o=(0,u.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,l.Z)(this,e)});function h(){var e;(0,o.Z)(this,h);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return e=d.call.apply(d,[this].concat(n)),(0,c.Z)((0,a.Z)(e),"session",void 0),e.session=(0,p.M)((0,a.Z)(e)),e}return(0,i.Z)(h,[{key:"closeSession",value:function(){var e=this;return this.session.close().then((0,r.Z)(f().mark((function t(){return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.clearStorage();case 1:case"end":return t.stop()}}),t)})))).catch((function(e){if("AuthApiError"===e.name&&"E0000007"===e.errorCode)return null;throw e}))}}]),h}(e)}},5437:function(e,t,n){"use strict";n.d(t,{V:function(){return c},W:function(){return d}});var r=n(5671),o=n(3144),i=n(4942),a=n(1971),s=n(5763),l=n(415),u=n(146);function c(e){(0,l.isBrowser)()||e.storageProvider||e.storageProvider||(0,u.ZK)("Memory storage can only support simple single user use case on server side, please provide custom storageProvider or storageKey if advanced scenarios need to be supported.")}var d=function(){function e(t,n,o){(0,r.Z)(this,e),(0,i.Z)(this,"storageManagerOptions",void 0),(0,i.Z)(this,"cookieOptions",void 0),(0,i.Z)(this,"storageUtil",void 0),this.storageManagerOptions=t,this.cookieOptions=n,this.storageUtil=o}return(0,o.Z)(e,[{key:"getOptionsForSection",value:function(e,t){return Object.assign({},this.storageManagerOptions[e],t)}},{key:"getStorage",value:function(e){if((e=Object.assign({},this.cookieOptions,e)).storageProvider)return e.storageProvider;var t=e,n=t.storageType,r=t.storageTypes;if("sessionStorage"===n&&(e.sessionCookie=!0),n&&r){var o=r.indexOf(n);o>=0&&(r=r.slice(o),n=void 0)}return n||(n=this.storageUtil.findStorageType(r)),this.storageUtil.getStorageByType(n,e)}},{key:"getTokenStorage",value:function(e){c(e=this.getOptionsForSection("token",e));var t=this.getStorage(e),n=e.storageKey||a.TOKEN_STORAGE_NAME;return new s._(t,n)}},{key:"getHttpCache",value:function(e){e=this.getOptionsForSection("cache",e);var t=this.getStorage(e),n=e.storageKey||a.CACHE_STORAGE_NAME;return new s._(t,n)}}]),e}()},5763:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(5671),o=n(3144),i=n(4942),a=n(9123),s=function(){function e(t,n){if((0,r.Z)(this,e),(0,i.Z)(this,"storageProvider",void 0),(0,i.Z)(this,"storageName",void 0),!t)throw new a.Z('"storage" is required');if("string"!=typeof n||!n.length)throw new a.Z('"storageName" is required');this.storageName=n,this.storageProvider=t}return(0,o.Z)(e,[{key:"getItem",value:function(e){return this.getStorage()[e]}},{key:"setItem",value:function(e,t){return this.updateStorage(e,t)}},{key:"removeItem",value:function(e){return this.clearStorage(e)}},{key:"getStorage",value:function(){var e=this.storageProvider.getItem(this.storageName);e=e||"{}";try{return JSON.parse(e)}catch(e){throw new a.Z("Unable to parse storage string: "+this.storageName)}}},{key:"setStorage",value:function(e){try{var t=e?JSON.stringify(e):"{}";this.storageProvider.setItem(this.storageName,t)}catch(e){throw new a.Z("Unable to set storage: "+this.storageName)}}},{key:"clearStorage",value:function(e){if(e){var t=this.getStorage();delete t[e],this.setStorage(t)}else this.storageProvider.removeItem?this.storageProvider.removeItem(this.storageName):this.setStorage()}},{key:"updateStorage",value:function(e,t){var n=this.getStorage();n[e]=t,this.setStorage(n)}}]),e}()},9927:function(e,t,n){"use strict";n.d(t,{Tp:function(){return r.T},W8:function(){return o.W},Vp:function(){return o.V},Ho:function(){return i.H},_e:function(){return a._}});var r=n(3849),o=n(5437),i=n(265),a=n(5763)},265:function(e,t,n){"use strict";n.d(t,{H:function(){return c}});var r=n(5671),o=n(3144),i=n(7326),a=n(136),s=n(2963),l=n(1120),u=n(4942);function c(e,t){return function(e){(0,a.Z)(f,e);var n,c,d=(n=f,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,l.Z)(n);if(c){var r=(0,l.Z)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,s.Z)(this,e)});function f(){var e;(0,r.Z)(this,f);for(var n=arguments.length,o=new Array(n),a=0;a<n;a++)o[a]=arguments[a];e=d.call.apply(d,[this].concat(o)),(0,u.Z)((0,i.Z)(e),"storageManager",void 0);var s=e.options,l=s.storageManager,c=s.cookies,p=s.storageUtil;return e.storageManager=new t(l,c,p),e}return(0,o.Z)(f,[{key:"clearStorage",value:function(){}}]),f}(e)}},3849:function(e,t,n){"use strict";n.d(t,{T:function(){return g}});var r=n(5671),o=n(7326),i=n(136),a=n(2963),s=n(1120),l=n(4942),u=n(5093),c=n(146),d=n(4858),f={token:{storageTypes:["localStorage","sessionStorage","cookie"]},cache:{storageTypes:["localStorage","sessionStorage","cookie"]},transaction:{storageTypes:["sessionStorage","localStorage","cookie"]},"shared-transaction":{storageTypes:["localStorage"]},"original-uri":{storageTypes:["localStorage"]}},p=n(415);function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(){return function(e){(0,i.Z)(h,e);var t,n,u=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=(0,s.Z)(t);if(n){var o=(0,s.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,a.Z)(this,e)});function h(e){var t;return(0,r.Z)(this,h),t=u.call(this,e),(0,l.Z)((0,o.Z)(t),"cookies",void 0),(0,l.Z)((0,o.Z)(t),"storageUtil",void 0),(0,l.Z)((0,o.Z)(t),"storageManager",void 0),t.cookies=function(){var e=arguments.length>1?arguments[1]:void 0,t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).cookies||{};return void 0===t.secure&&(t.secure=e),void 0===t.sameSite&&(t.sameSite=t.secure?"none":"lax"),t.secure&&!e&&((0,c.ZK)('The current page is not being served with the HTTPS protocol.\nFor security reasons, we strongly recommend using HTTPS.\nIf you cannot use HTTPS, set "cookies.secure" option to false.'),t.secure=!1),"none"!==t.sameSite||t.secure||(t.sameSite="lax"),t}(e,(0,p.isHTTPS)()),t.storageUtil=e.storageUtil||Object.assign({},d.Z,{inMemoryStore:{}}),t.storageManager=m(m({},f),e.storageManager),t}return h}((0,u.X)())}},3548:function(e,t,n){"use strict";n.d(t,{b:function(){return l}});var r=n(5671),o=n(3144),i=n(4942),a=n(4771),s=n(146),l=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{quiet:!1};(0,r.Z)(this,e),(0,i.Z)(this,"queue",void 0),(0,i.Z)(this,"running",void 0),(0,i.Z)(this,"options",void 0),this.queue=[],this.running=!1,this.options=t}return(0,o.Z)(e,[{key:"push",value:function(e,t){for(var n=this,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];return new Promise((function(r,i){n.queue.length>0&&!1!==n.options.quiet&&(0,s.ZK)("Async method is being called but another async method is already running. The new method will be delayed until the previous method completes."),n.queue.push({method:e,thisObject:t,args:o,resolve:r,reject:i}),n.run()}))}},{key:"run",value:function(){var e=this;if(!this.running&&0!==this.queue.length){this.running=!0;var t=this.queue.shift(),n=t.method.apply(t.thisObject,t.args);(0,a.tI)(n)?n.then(t.resolve,t.reject).finally((function(){e.running=!1,e.run()})):(t.resolve(n),this.running=!1,this.run())}}}]),e}()},146:function(e,t,n){"use strict";function r(){return"undefined"!=typeof window?window.console:"undefined"!=typeof console?console:void 0}function o(){var e=r();return e&&e.log?e:{log:function(){},warn:function(){},group:function(){},groupEnd:function(){}}}function i(e){o().warn("[okta-auth-sdk] WARN: "+e)}function a(e){o().warn("[okta-auth-sdk] DEPRECATION: "+e)}function s(e,t){return function(){return a(e),t.apply(null,arguments)}}n.d(t,{sW:function(){return r},dr:function(){return o},ZK:function(){return i},Rn:function(){return a},VA:function(){return s}})},305:function(e,t,n){"use strict";n.d(t,{Rn:function(){return r.Rn},VA:function(){return r.VA},dr:function(){return r.dr},sW:function(){return r.sW},ZK:function(){return r.ZK},gw:function(){return o.gw},uh:function(){return o.uh},ng:function(){return o.ng},YQ:function(){return o.YQ},ak:function(){return i.ak},d9:function(){return i.d9},l7:function(){return i.l7},sE:function(){return i.sE},Rg:function(){return i.Rg},CE:function(){return i.CE},YY:function(){return i.YY},bo:function(){return a.b},mf:function(){return s.mf},hj:function(){return s.hj},Kn:function(){return s.Kn},tI:function(){return s.tI},HD:function(){return s.HD},sD:function(){return l.sD},Qj:function(){return l.Qj},BY:function(){return l.BY},UK:function(){return l.UK},QN:function(){return l.QN}});var r=n(146),o=n(8750),i=n(3193),a=n(3548),s=n(4771),l=n(6718)},8750:function(e,t,n){"use strict";function r(e){var t=e.match(/\d+/g),n=Date.UTC(t[0],t[1]-1,t[2],t[3],t[4],t[5]);return new Date(n).toUTCString()}function o(e){for(var t="abcdefghijklnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n="",r=0,o=t.length;r<e;++r)n+=t[Math.floor(Math.random()*o)];return n}function i(e){return new Promise((function(t){setTimeout(t,e)}))}function a(e,t){var n=e.split(t);return[n[0],n.splice(1,n.length).join(t)]}n.d(t,{ng:function(){return r},uh:function(){return o},gw:function(){return i},YQ:function(){return a}})},3193:function(e,t,n){"use strict";function r(e,t){var n=Array.prototype.slice.call(arguments,2);return function(){var r=Array.prototype.slice.call(arguments);return r=n.concat(r),e.apply(t,r)}}function o(){var e=arguments[0];return[].slice.call(arguments,1).forEach((function(t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&void 0!==t[n]&&(e[n]=t[n])})),e}function i(e){var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=e[n];null!=r&&(t[n]=r)}return t}function a(e){if(e){var t=JSON.stringify(e);if(t)return JSON.parse(t)}return e}function s(e){for(var t={},n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&-1==r.indexOf(i)&&(t[i]=e[i]);return a(t)}function l(e,t){for(var n=e.length;n--;){var r=e[n],o=!0;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&r[i]!==t[i]){o=!1;break}if(o)return r}}function u(e,t,n){if(e&&e._links){var r=a(e._links[t]);return r&&r.name&&n?r.name===n?r:void 0:r}}n.d(t,{ak:function(){return r},l7:function(){return o},YY:function(){return i},d9:function(){return a},CE:function(){return s},sE:function(){return l},Rg:function(){return u}})},4771:function(e,t,n){"use strict";function r(e){return"[object String]"===Object.prototype.toString.call(e)}function o(e){return"[object Object]"===Object.prototype.toString.call(e)}function i(e){return"[object Number]"===Object.prototype.toString.call(e)}function a(e){return!!e&&"[object Function]"==={}.toString.call(e)}function s(e){return e&&e.finally&&"function"==typeof e.finally}n.d(t,{HD:function(){return r},Kn:function(){return o},hj:function(){return i},mf:function(){return a},tI:function(){return s}})},6718:function(e,t,n){"use strict";function r(e){return/^[a-z][a-z0-9+.-]*:/i.test(e)}function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)?e:(t=s(t),"/"===e[0]?"".concat(t).concat(e):"".concat(t,"/").concat(e))}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;return r(e)&&(e=e.substring(t.length)),"/"===e[0]?e:"/".concat(e)}function a(e){var t=[];if(null!==e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&null!==e[n]&&t.push(n+"="+encodeURIComponent(e[n]));return t.length?"?"+t.join("&"):""}function s(e){if(e)return e.replace(/^\s+|\s+$/gm,"").replace(/\/+$/,"")}n.d(t,{sD:function(){return r},BY:function(){return o},QN:function(){return i},UK:function(){return a},Qj:function(){return s}})},3615:function(e,t,n){"use strict";var r=n(4575),o=n(3913),i=n(2205),a=n(8585),s=n(9754);function l(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}var u=function(e){i(u,e);var t,n,l=(t=u,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=s(t);if(n){var o=s(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return a(this,e)});function u(e){var t;return r(this,u),(t=l.call(this,e||"Promise was canceled")).name="CancelError",t}return o(u,[{key:"isCanceled",get:function(){return!0}}]),u}(n(5957)(Error)),c=function(){function e(t){var n=this;r(this,e),this._cancelHandlers=[],this._isPending=!0,this._isCanceled=!1,this._rejectOnCancel=!0,this._promise=new Promise((function(e,r){n._reject=r;var o=function(e){if(!n._isPending)throw new Error("The `onCancel` handler was attached after the promise settled.");n._cancelHandlers.push(e)};return Object.defineProperties(o,{shouldReject:{get:function(){return n._rejectOnCancel},set:function(e){n._rejectOnCancel=e}}}),t((function(t){n._isCanceled&&o.shouldReject||(n._isPending=!1,e(t))}),(function(e){n._isPending=!1,r(e)}),o)}))}return o(e,[{key:"then",value:function(e,t){return this._promise.then(e,t)}},{key:"catch",value:function(e){return this._promise.catch(e)}},{key:"finally",value:function(e){return this._promise.finally(e)}},{key:"cancel",value:function(e){if(this._isPending&&!this._isCanceled){if(this._isCanceled=!0,this._cancelHandlers.length>0)try{var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}(this._cancelHandlers);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(e){n.e(e)}finally{n.f()}}catch(e){return void this._reject(e)}this._rejectOnCancel&&this._reject(new u(e))}}},{key:"isCanceled",get:function(){return this._isCanceled}}],[{key:"fn",value:function(t){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return new e((function(e,n,o){r.push(o),t.apply(void 0,r).then(e,n)}))}}}]),e}();Object.setPrototypeOf(c.prototype,Promise.prototype),e.exports=c,e.exports.CancelError=u},4098:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(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 c(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?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 p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&(t=e)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(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?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,n=h(t=new FileReader),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)},i&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=c(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(r=(n=t.method||this.method||"GET").toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function x(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new w(o,n))},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&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,e.fetch||(e.fetch=x,e.Headers=f,e.Request=b,e.Response=w),t.Headers=f,t.Request=b,t.Response=w,t.fetch=x,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},5643:function(e){e.exports=!1},5666:function(e){var t=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=E(a,n);if(s){if(s===m)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=c(e,t,n);if("normal"===l.type){if(r=n.done?h:f,l.arg===m)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function c(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var d="suspendedStart",f="suspendedYield",p="executing",h="completed",m={};function g(){}function v(){}function y(){}var b={};b[i]=function(){return this};var _=Object.getPrototypeOf,w=_&&_(_(A([])));w&&w!==n&&r.call(w,i)&&(b=w);var k=y.prototype=g.prototype=Object.create(b);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,a,s){var l=c(e[o],e,i);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,a,s)}),(function(e){n("throw",e,a,s)})):t.resolve(d).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,s)}))}s(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function E(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,E(e,n),"throw"===n.method))return m;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return m}var o=c(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function T(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 O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function A(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:P}}function P(){return{value:t,done:!0}}return v.prototype=k.constructor=y,y.constructor=v,v.displayName=l(y,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,l(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},e.awrap=function(e){return{__await:e}},x(S.prototype),S.prototype[a]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},x(k),l(k,s,"Generator"),k[i]=function(){return this},k.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=A,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,m):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},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),O(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:A(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),m}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}},4279:function(e){function t(){}t.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){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t},199:function(){},907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},7326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},5861:function(e,t,n){"use strict";function r(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function s(e){r(a,o,i,s,l,"next",e)}function l(e){r(a,o,i,s,l,"throw",e)}s(void 0)}))}}n.d(t,{Z:function(){return o}})},5671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},3144:function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return o}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},1120:function(e,t,n){"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{Z:function(){return r}})},136:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.Z)(e,t)}},2963:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(1002),o=n(7326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},885:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(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)?(0,r.Z)(e,t):void 0}}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){"use strict";n.r(r),n.d(r,{OktaAuth:function(){return b},createAuthnTransactionAPI:function(){return h.b},mixinAuthn:function(){return h.t}});var e=n(5671),t=n(136),o=n(2963),i=n(1120),a=n(1646),s=n(9133),l=n(2647),u=n(1578),c=n(8284),d=n(6736),f={};for(var p in d)["default","OktaAuth"].indexOf(p)<0&&(f[p]=function(e){return d[e]}.bind(0,p));n.d(r,f);var h=n(3398),m=(0,s.n)(),g=(0,l.a)(),v=(0,a.P)(),y=(0,u.K)(g,m,v),b=function(n){(0,t.Z)(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,i.Z)(r);if(a){var n=(0,i.Z)(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return(0,o.Z)(this,e)});function l(t){return(0,e.Z)(this,l),s.call(this,t)}return l}((0,c.t)(y));r.default=b}(),r}()},8285:function(e,t,n){var r,o,i;o=[e,n(3755)],r=function(e,t){"use strict";var n=r(t);function r(e){return e&&e.__esModule?e:{default:e}}var o="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};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=function(){function e(t){i(this,e),this.resolveOptions(t),this.initSelection()}return a(e,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=r+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,n.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,n.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},928:function(e,t,n){var r,o,i;o=[e,n(8285),n(7359),n(5139)],r=function(e,t,n,r){"use strict";var o=s(t),i=s(n),a=s(r);function s(e){return e&&e.__esModule?e:{default:e}}var l="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};function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var c=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var p=function(e){function t(e,n){u(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return r.resolveOptions(n),r.listenClick(e),r}return f(t,e),c(t,[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===l(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,a.default)(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return h("action",e)}},{key:"defaultTarget",value:function(e){var t=h("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return h("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}]),t}(i.default);function h(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=p},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},7359:function(e){function t(){}t.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){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var i=0,a=r.length;i<a;i++)r[i].fn!==t&&r[i].fn._!==t&&o.push(r[i]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t},7297:function(e,t){var n="undefined"!=typeof self?self:this,r=function(){function e(){this.fetch=!1,this.DOMException=n.DOMException}return e.prototype=n,new e}();!function(e){!function(t){var n="URLSearchParams"in e,r="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],l=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(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 c(e){return"string"!=typeof e&&(e=String(e)),e}function d(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return r&&(t[Symbol.iterator]=function(){return t}),t}function f(e){this.map={},e instanceof f?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 p(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function h(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function m(e){var t=new FileReader,n=h(t);return t.readAsArrayBuffer(e),n}function g(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:n&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=g(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||l(e))?this._bodyArrayBuffer=g(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=p(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?p(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(m)}),this.text=function(){var e,t,n,r=p(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=h(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)},i&&(this.formData=function(){return this.text().then(_)}),this.json=function(){return this.text().then(JSON.parse)},this}f.prototype.append=function(e,t){e=u(e),t=c(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},f.prototype.delete=function(e){delete this.map[u(e)]},f.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},f.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},f.prototype.set=function(e,t){this.map[u(e)]=c(t)},f.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},f.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),d(e)},f.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),d(e)},f.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),d(e)},r&&(f.prototype[Symbol.iterator]=f.prototype.entries);var y=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var n,r,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new f(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new f(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),y.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function _(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(o))}})),t}function w(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new f(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},v.call(b.prototype),v.call(w.prototype),w.prototype.clone=function(){return new w(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},w.error=function(){var e=new w(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];w.redirect=function(e,t){if(-1===k.indexOf(t))throw new RangeError("Invalid status code");return new w(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function x(e,n){return new Promise((function(r,i){var a=new b(e,n);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function l(){s.abort()}s.onload=function(){var e,t,n={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new f,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var o=n.join(":").trim();t.append(r,o)}})),t)};n.url="responseURL"in s?s.responseURL:n.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;r(new w(o,n))},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&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",l),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",l)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}x.polyfill=!0,e.fetch||(e.fetch=x,e.Headers=f,e.Request=b,e.Response=w),t.Headers=f,t.Request=b,t.Response=w,t.fetch=x,Object.defineProperty(t,"__esModule",{value:!0})}({})}(r),r.fetch.ponyfill=!0,delete r.fetch.polyfill;var o=r;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},9545:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},3914:function(e,t,n){var r=n(9545);function o(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,i){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,i)})))}},1883:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},5139:function(e,t,n){var r=n(1883),o=n(3914);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},1271:function(e,t){var n;
/*!
* jQuery JavaScript Library v3.6.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2022-08-26T17:52Z
*/!function(t,n){"use strict";"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(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},u=i.push,c=i.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(e,t,n){var r,o,i=(n=n||b).createElement("script");if(i.text=e,t)for(r in _)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function k(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var x="3.6.1",S=function(e,t){return new S.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=k(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:x,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:i.sort,splice:i.splice},S.extend=S.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,u=!1;for("boolean"==typeof a&&(u=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(u&&r&&(S.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||S.isPlainObject(n)?n:{},o=!1,a[t]=S.extend(u,i,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){w(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(E(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},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:c.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(E(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=i[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var T=
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
function(e){var t,n,r,o,i,a,s,l,u,c,d,f,p,h,m,g,v,y,b,_="sizzle"+1*new Date,w=e.document,k=0,x=0,S=le(),E=le(),T=le(),O=le(),C=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,P=[],R=P.pop,M=P.push,I=P.push,N=P.slice,j=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="[\\x20\\t\\r\\n\\f]",U="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\[[\\x20\\t\\r\\n\\f]*("+U+")(?:"+D+"*([*^$|!~]?=)"+D+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+U+"))|)"+D+"*\\]",B=":("+U+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",V=new RegExp(D+"+","g"),q=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),Z=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),z=new RegExp(D+"|>"),W=new RegExp(B),$=new RegExp("^"+U+"$"),G={ID:new RegExp("^#("+U+")"),CLASS:new RegExp("^\\.("+U+")"),TAG:new RegExp("^("+U+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,X=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=_e((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{I.apply(P=N.call(w.childNodes),w.childNodes),P[w.childNodes.length].nodeType}catch(e){I={apply:P.length?function(e,t){M.apply(e,N.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,u,c,d,h,v,y=t&&t.ownerDocument,w=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return r;if(!o&&(f(t),t=t||p,m)){if(11!==w&&(d=X.exec(e)))if(i=d[1]){if(9===w){if(!(u=t.getElementById(i)))return r;if(u.id===i)return r.push(u),r}else if(y&&(u=y.getElementById(i))&&b(t,u)&&u.id===i)return r.push(u),r}else{if(d[2])return I.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!O[e+" "]&&(!g||!g.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,y=t,1===w&&(z.test(e)||Z.test(e))){for((y=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((c=t.getAttribute("id"))?c=c.replace(re,oe):t.setAttribute("id",c=_)),s=(h=a(e)).length;s--;)h[s]=(c?"#"+c:":scope")+" "+be(h[s]);v=h.join(",")}try{return I.apply(r,y.querySelectorAll(v)),r}catch(t){O(e,!0)}finally{c===_&&t.removeAttribute("id")}}}return l(e.replace(q,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ue(e){return e[_]=!0,e}function ce(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ue((function(t){return t=+t,ue((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:w;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),w!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ce((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ce((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ce((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ce((function(e){return h.appendChild(e).id=_,!p.getElementsByName||!p.getElementsByName(_).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(ce((function(e){var t;h.appendChild(e).innerHTML="<a id='"+_+"'></a><select id='"+_+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),e.querySelectorAll("[id~="+_+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+_+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ce((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ce((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),v.push("!=",B)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.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},C=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==w&&b(w,e)?-1:t==p||t.ownerDocument==w&&b(w,t)?1:c?j(c,e)-j(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:c?j(c,e)-j(c,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==w?-1:s[r]==w?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!O[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){O(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&A.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(C),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return c=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ue,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=S[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+D+"|$)"))&&S(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(V," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!l&&!s,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&y){for(b=(p=(u=(c=(d=(f=g)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&u[1])&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[k,p,b];break}}else if(y&&(b=p=(u=(c=(d=(f=t)[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===k&&u[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++b||(y&&((c=(d=f[_]||(f[_]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[k,b]),f!==t)););return(b-=o)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[_]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ue((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=j(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ue((function(e){var t=[],n=[],r=s(e.replace(q,"$1"));return r[_]?ue((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ue((function(e){return function(t){return se(e,t).length>0}})),contains:ue((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ue((function(e){return $.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?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===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Y.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:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function ye(){}function be(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function _e(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=x++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var u,c,d,f=[k,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(c=(d=t[_]||(t[_]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((u=c[i])&&u[0]===k&&u[1]===s)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function we(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function ke(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),u&&t.push(s)));return a}function xe(e,t,n,r,o,i){return r&&!r[_]&&(r=xe(r)),o&&!o[_]&&(o=xe(o,i)),ue((function(i,a,s,l){var u,c,d,f=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:ke(m,f,e,s,l),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,l),r)for(u=ke(v,p),r(u,[],s,l),c=u.length;c--;)(d=u[c])&&(v[p[c]]=!(g[p[c]]=d));if(i){if(o||e){if(o){for(u=[],c=v.length;c--;)(d=v[c])&&u.push(g[c]=d);o(null,v=[],u,l)}for(c=v.length;c--;)(d=v[c])&&(u=o?j(i,d):f[c])>-1&&(i[u]=!(a[u]=d))}}else v=ke(v===a?v.splice(h,v.length):v),o?o(null,a,v,l):I.apply(a,v)}))}function Se(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,c=_e((function(e){return e===t}),s,!0),d=_e((function(e){return j(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==u)||((t=n).nodeType?c(e,n,r):d(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[_e(we(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[_]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return xe(l>1&&we(f),l>1&&be(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(q,"$1"),n,l<o&&Se(e.slice(l,o)),o<i&&Se(e=e.slice(o)),o<i&&be(e))}f.push(n)}return we(f)}return ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=se.tokenize=function(e,t){var n,o,i,a,s,l,u,c=E[e+" "];if(c)return t?0:c.slice(0);for(s=e,l=[],u=r.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=Z.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(q," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||u[a]&&!(o=u[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):E(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=T[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=Se(t[n]))[_]?o.push(s):i.push(s);s=T(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,c){var d,h,g,v=0,y="0",b=i&&[],_=[],w=u,x=i||o&&r.find.TAG("*",c),S=k+=null==w?1:Math.random()||.1,E=x.length;for(c&&(u=a==p||a||c);y!==E&&null!=(d=x[y]);y++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,a||p,s)){l.push(d);break}c&&(k=S)}n&&((d=!g&&d)&&v--,i&&b.push(d))}if(v+=y,n&&y!==v){for(h=0;g=t[h++];)g(b,_,a,s);if(i){if(v>0)for(;y--;)b[y]||_[y]||(_[y]=R.call(l));_=ke(_)}I.apply(l,_),c&&!i&&_.length>0&&v+t.length>1&&se.uniqueSort(l)}return c&&(k=S,u=w),b};return n?ue(i):i}(i,o)),s.selector=e}return s},l=se.select=function(e,t,n,o){var i,l,u,c,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(u=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(u.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(u=l[i],!r.relative[c=u.type]);)if((d=r.find[c])&&(o=d(u.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&be(l)))return I.apply(n,o),n;break}}return(f||s(e,p))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=_.split("").sort(C).join("")===_,n.detectDuplicates=!!d,f(),n.sortDetached=ce((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ce((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ce((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ce((function(e){return null==e.getAttribute("disabled")}))||de(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);S.find=T,S.expr=T.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=T.uniqueSort,S.text=T.getText,S.isXMLDoc=T.isXML,S.contains=T.contains,S.escapeSelector=T.escape;var O=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&S(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},A=S.expr.match.needsContext;function P(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var R=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function M(e,t,n){return v(t)?S.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?S.grep(e,(function(e){return c.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?S.find.matchesSelector(r,e)?[r]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t<r;t++)if(S.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)S.find(e,o[t],n);return r>1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(M(this,e||[],!1))},not:function(e){return this.pushStack(M(this,e||[],!0))},is:function(e){return!!M(this,"string"==typeof e&&A.test(e)?S(e):e||[],!1).length}});var I,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||I,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:N.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),R.test(r[1])&&S.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=b.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,I=S(b);var j=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function D(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(S.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&S(e);if(!A.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&S.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?S.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?c.call(S(e),this[0]):c.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return O(e,"parentNode")},parentsUntil:function(e,t,n){return O(e,"parentNode",n)},next:function(e){return D(e,"nextSibling")},prev:function(e){return D(e,"previousSibling")},nextAll:function(e){return O(e,"nextSibling")},prevAll:function(e){return O(e,"previousSibling")},nextUntil:function(e,t,n){return O(e,"nextSibling",n)},prevUntil:function(e,t,n){return O(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(P(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,r){var o=S.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=S.filter(r,o)),this.length>1&&(L[e]||S.uniqueSort(o),j.test(e)&&o.reverse()),this.pushStack(o)}}));var U=/[^\x20\t\r\n\f]+/g;function F(e){return e}function B(e){throw e}function V(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return S.each(e.match(U)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},u={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){S.each(n,(function(n,r){v(r)?e.unique&&u.has(r)||i.push(r):r&&r.length&&"string"!==k(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return S.each(arguments,(function(e,t){for(var n;(n=S.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?S.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!r}};return u},S.extend({Deferred:function(e){var t=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(n){S.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,u=function(){var r,u;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");u=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(u)?o?u.call(r,a(i,t,F,o),a(i,t,B,o)):(i++,u.call(r,a(i,t,F,o),a(i,t,B,o),a(i,t,F,t.notifyWith))):(n!==F&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},c=o?u:function(){try{u()}catch(r){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(r,c.stackTrace),e+1>=i&&(n!==B&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?c():(S.Deferred.getStackHook&&(c.stackTrace=S.Deferred.getStackHook()),r.setTimeout(c))}}return S.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:F,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:F)),t[2][3].add(a(0,r,v(n)?n:B))})).promise()},promise:function(e){return null!=e?S.extend(e,o):o}},i={};return S.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=S.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(V(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)V(o[n],a(n),i.reject);return i.promise()}});var q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&q.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){r.setTimeout((function(){throw e}))};var H=S.Deferred();function Z(){b.removeEventListener("DOMContentLoaded",Z),r.removeEventListener("load",Z),S.ready()}S.fn.ready=function(e){return H.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||H.resolveWith(b,[S]))}}),S.ready.then=H.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(S.ready):(b.addEventListener("DOMContentLoaded",Z),r.addEventListener("load",Z));var z=function(e,t,n,r,o,i,a){var s=0,l=e.length,u=null==n;if("object"===k(n))for(s in o=!0,n)z(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(S(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:u?t.call(e):l?t(e[0],n):i},W=/^-ms-/,$=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function K(e){return e.replace(W,"ms-").replace($,G)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function J(){this.expando=S.expando+J.uid++}J.uid=1,J.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[K(t)]=n;else for(r in t)o[K(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(K):(t=K(t))in r?[t]:t.match(U)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||S.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Q=new J,X=new J,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}X.set(e,t,n)}else n=void 0;return n}S.extend({hasData:function(e){return X.hasData(e)||Q.hasData(e)},data:function(e,t,n){return X.access(e,t,n)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),S.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=X.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),ne(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){X.set(this,e)})):z(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=X.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){X.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){X.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,S.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=S.queue(e,t),r=n.length,o=n.shift(),i=S._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){S.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:S.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?S.queue(this[0],e):void 0===t?this:this.each((function(){var n=S.queue(this,e,t);S._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&S.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){S.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=S.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=b.documentElement,se=function(e){return S.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return S.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ue=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===S.css(e,"display")};function ce(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return S.css(e,t,"")},l=s(),u=n&&n[3]||(S.cssNumber[t]?"":"px"),c=e.nodeType&&(S.cssNumber[t]||"px"!==u&&+l)&&oe.exec(S.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;a--;)S.style(e,t,c+u),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),c/=i;c*=2,S.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,o=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=u,r.start=c,r.end=o)),o}var de={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,o=de[r];return o||(t=n.body.appendChild(n.createElement(r)),o=S.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[r]=o,o)}function pe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ue(r)&&(o[i]=fe(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}S.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ue(this)?S(this).show():S(this).hide()}))}});var he,me,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(me=b.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var be={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&P(e,t)?S.merge([e],n):n}function we(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}be.tbody=be.tfoot=be.colgroup=be.caption=be.thead,be.th=be.td,g.option||(be.optgroup=be.option=[1,"<select multiple='multiple'>","</select>"]);var ke=/<|&#?\w+;/;function xe(e,t,n,r,o){for(var i,a,s,l,u,c,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===k(i))S.merge(f,i.nodeType?[i]:i);else if(ke.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(i)||["",""])[1].toLowerCase(),l=be[s]||be._default,a.innerHTML=l[1]+S.htmlPrefilter(i)+l[2],c=l[0];c--;)a=a.lastChild;S.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&S.inArray(i,r)>-1)o&&o.push(i);else if(u=se(i),a=_e(d.appendChild(i),"script"),u&&we(a),n)for(c=0;i=a[c++];)ye.test(i.type||"")&&n.push(i);return d}var Se=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function Te(){return!1}function Oe(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ce(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ce(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Te;else if(!o)return e;return 1===i&&(a=o,o=function(e){return S().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=S.guid++)),e.each((function(){S.event.add(this,t,o,r,n)}))}function Ae(e,t,n){n?(Q.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:S.event.trigger(S.extend(i[0],S.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&S.event.add(e,t,Ee)}S.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,u,c,d,f,p,h,m,g=Q.get(e);if(Y(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&S.find.matchesSelector(ae,o),n.guid||(n.guid=S.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(U)||[""]).length;u--;)p=m=(s=Se.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=S.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=S.event.special[p]||{},c=S.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&S.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,c):f.push(c),S.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,u,c,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(U)||[""]).length;u--;)if(p=m=(s=Se.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=S.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)c=f[i],!o&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||S.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[u],n,r,!0);S.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=S.event.fix(e),u=(Q.get(this,"events")||Object.create(null))[l.type]||[],c=S.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,l)){for(a=S.event.handlers.call(this,l,u),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((S.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?S(o,this).index(u)>-1:S.find(o,this,null,[u]).length),a[o]&&i.push(r);i.length&&s.push({elem:u,handlers:i})}return u=this,l<t.length&&s.push({elem:u,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(S.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&P(t,"input")&&Ae(t,"click",Ee),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&P(t,"input")&&Ae(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&P(t,"input")&&Q.get(t,"click")||P(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:Te,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Te,isPropagationStopped:Te,isImmediatePropagationStopped:Te,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},S.event.addProp),S.each({focus:"focusin",blur:"focusout"},(function(e,t){S.event.special[e]={setup:function(){return Ae(this,e,Oe),!1},trigger:function(){return Ae(this,e),!0},_default:function(t){return Q.get(t.target,e)},delegateType:t}})),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){S.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||S.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),S.fn.extend({on:function(e,t,n,r){return Ce(this,e,t,n,r)},one:function(e,t,n,r){return Ce(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,S(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Te),this.each((function(){S.event.remove(this,e,n,t)}))}});var Pe=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,Me=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ie(e,t){return P(e,"table")&&P(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Ne(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function je(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)S.event.add(t,o,s[o][n]);X.hasData(e)&&(i=X.access(e),a=S.extend({},i),X.set(t,a))}}function De(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ue(e,t,n,r){t=l(t);var o,i,a,s,u,c,d=0,f=e.length,p=f-1,h=t[0],m=v(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&Re.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Ue(i,t,n,r)}));if(f&&(i=(o=xe(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=S.map(_e(o,"script"),Ne)).length;d<f;d++)u=o,d!==p&&(u=S.clone(u,!0,!0),s&&S.merge(a,_e(u,"script"))),n.call(e[d],u,d);if(s)for(c=a[a.length-1].ownerDocument,S.map(a,je),d=0;d<s;d++)u=a[d],ye.test(u.type||"")&&!Q.access(u,"globalEval")&&S.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?S._evalUrl&&!u.noModule&&S._evalUrl(u.src,{nonce:u.nonce||u.getAttribute("nonce")},c):w(u.textContent.replace(Me,""),u,c))}return e}function Fe(e,t,n){for(var r,o=t?S.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||S.cleanData(_e(r)),r.parentNode&&(n&&se(r)&&we(_e(r,"script")),r.parentNode.removeChild(r));return e}S.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(a=_e(s),r=0,o=(i=_e(e)).length;r<o;r++)De(i[r],a[r]);if(t)if(n)for(i=i||_e(e),a=a||_e(s),r=0,o=i.length;r<o;r++)Le(i[r],a[r]);else Le(e,s);return(a=_e(s,"script")).length>0&&we(a,!l&&_e(e,"script")),s},cleanData:function(e){for(var t,n,r,o=S.event.special,i=0;void 0!==(n=e[i]);i++)if(Y(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?S.event.remove(n,r):S.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[X.expando]&&(n[X.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return z(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ue(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Ue(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ue(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return z(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Pe.test(e)&&!be[(ve.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(S.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ue(this,arguments,(function(t){var n=this.parentNode;S.inArray(this,e)<0&&(S.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){S.fn[e]=function(e){for(var n,r=[],o=S(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),S(o[a])[t](n),u.apply(r,n.get());return this.pushStack(r)}}));var Be=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),Ve=/^--/,qe=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},Ze=new RegExp(ie.join("|"),"i"),ze=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function We(e,t,n){var r,o,i,a,s=Ve.test(t),l=e.style;return(n=n||qe(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(ze,"$1")),""!==a||se(e)||(a=S.style(e,t)),!g.pixelBoxStyles()&&Be.test(a)&&Ze.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function $e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(c){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(u).appendChild(c);var e=r.getComputedStyle(c);n="1%"!==e.top,l=12===t(e.marginLeft),c.style.right="60%",a=36===t(e.right),o=36===t(e.width),c.style.position="absolute",i=12===t(c.offsetWidth/3),ae.removeChild(u),c=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,u=b.createElement("div"),c=b.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===c.style.backgroundClip,S.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=b.createElement("table"),t=b.createElement("tr"),n=b.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],Ke=b.createElement("div").style,Ye={};function Je(e){var t=S.cssProps[e]||Ye[e];return t||(e in Ke?e:Ye[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Ke)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Xe={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=S.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=S.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=S.css(e,"border"+ie[a]+"Width",!0,o))):(l+=S.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=S.css(e,"border"+ie[a]+"Width",!0,o):s+=S.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function rt(e,t,n){var r=qe(e),o=(!g.boxSizingReliable()||n)&&"border-box"===S.css(e,"boxSizing",!1,r),i=o,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(Be.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&P(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===S.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===S.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+nt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function ot(e,t,n,r,o){return new ot.prototype.init(e,t,n,r,o)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=K(t),l=Ve.test(t),u=e.style;if(l||(t=Je(s)),a=S.cssHooks[t]||S.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:u[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ce(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(S.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,r){var o,i,a,s=K(t);return Ve.test(t)||(t=Je(s)),(a=S.cssHooks[t]||S.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=We(e,t,r)),"normal"===o&&t in et&&(o=et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),S.each(["height","width"],(function(e,t){S.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(S.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):He(e,Xe,(function(){return rt(e,t,r)}))},set:function(e,n,r){var o,i=qe(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===S.css(e,"boxSizing",!1,i),l=r?nt(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=S.css(e,t)),tt(0,n,l)}}})),S.cssHooks.marginLeft=$e(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),S.each({margin:"",padding:"",border:"Width"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(S.cssHooks[e+t].set=tt)})),S.fn.extend({css:function(e,t){return z(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=qe(e),o=t.length;a<o;a++)i[t[a]]=S.css(e,t[a],!1,r);return i}return void 0!==n?S.style(e,t,n):S.css(e,t)}),e,t,arguments.length>1)}}),S.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(S.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Je(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},S.fx=ot.prototype.init,S.fx.step={};var it,at,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ut(){at&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ut):r.setTimeout(ut,S.fx.interval),S.fx.tick())}function ct(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function dt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ft(e,t,n){for(var r,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function pt(e,t,n){var r,o,i=0,a=pt.prefilters.length,s=S.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=it||ct(),n=Math.max(0,u.startTime+u.duration-t),r=1-(n/u.duration||0),i=0,a=u.tweens.length;i<a;i++)u.tweens[i].run(r);return s.notifyWith(e,[u,r,n]),r<1&&a?n:(a||s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u]),!1)},u=s.promise({elem:e,props:S.extend({},t),opts:S.extend(!0,{specialEasing:{},easing:S.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ct(),duration:n.duration,tweens:[],createTween:function(t,n){var r=S.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(r),r},stop:function(t){var n=0,r=t?u.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)u.tweens[n].run(1);return t?(s.notifyWith(e,[u,1,0]),s.resolveWith(e,[u,t])):s.rejectWith(e,[u,t]),this}}),c=u.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=K(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=S.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(c,u.opts.specialEasing);i<a;i++)if(r=pt.prefilters[i].call(u,e,c,u.opts))return v(r.stop)&&(S._queueHooks(u.elem,u.opts.queue).stop=r.stop.bind(r)),r;return S.map(c,ft,u),v(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),S.fx.timer(S.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}S.Animation=S.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ce(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(U);for(var n,r=0,o=e.length;r<o;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,u,c,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ue(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(a=S._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,S.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],st.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||S.style(e,r)}if((l=!S.isEmptyObject(t))||!S.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=Q.get(e,"display")),"none"===(c=S.css(e,"display"))&&(u?c=u:(pe([e],!0),u=e.style.display||u,c=S.css(e,"display"),pe([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===S.css(e,"float")&&(l||(f.done((function(){h.display=u})),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:u}),i&&(g.hidden=!m),m&&pe([e],!0),f.done((function(){for(r in m||pe([e]),Q.remove(e,"fxshow"),p)S.style(e,r,p[r])}))),l=ft(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),S.speed=function(e,t,n){var r=e&&"object"==typeof e?S.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return S.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in S.fx.speeds?r.duration=S.fx.speeds[r.duration]:r.duration=S.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&S.dequeue(this,r.queue)},r},S.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ue).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=S.isEmptyObject(e),i=S.speed(t,n,r),a=function(){var t=pt(this,S.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=S.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&<.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||S.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=S.timers,a=r?r.length:0;for(n.finish=!0,S.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),S.each(["toggle","show","hide"],(function(e,t){var n=S.fn[t];S.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,r,o)}})),S.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){S.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),S.timers=[],S.fx.tick=function(){var e,t=0,n=S.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||S.fx.stop(),it=void 0},S.fx.timer=function(e){S.timers.push(e),S.fx.start()},S.fx.interval=13,S.fx.start=function(){at||(at=!0,ut())},S.fx.stop=function(){at=null},S.fx.speeds={slow:600,fast:200,_default:400},S.fn.delay=function(e,t){return e=S.fx&&S.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=b.createElement("input"),t=b.createElement("select").appendChild(b.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=b.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ht,mt=S.expr.attrHandle;S.fn.extend({attr:function(e,t){return z(this,S.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?S.prop(e,t,n):(1===i&&S.isXMLDoc(e)||(o=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=S.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&P(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(U);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||S.find.attr;mt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=mt[a],mt[a]=o,o=null!=n(e,t,r)?a:null,mt[a]=i),o}}));var gt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function yt(e){return(e.match(U)||[]).join(" ")}function bt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(U)||[]}S.fn.extend({prop:function(e,t){return z(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&S.isXMLDoc(e)||(t=S.propFix[t]||t,o=S.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){S(this).addClass(e.call(this,t,bt(this)))})):(t=_t(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=yt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){S(this).removeClass(e.call(this,t,bt(this)))})):arguments.length?(t=_t(e)).length?this.each((function(){if(r=bt(this),n=1===this.nodeType&&" "+yt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=yt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,bt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=_t(e),this.each((function(){if(s)for(i=S(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=bt(this))&&Q.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Q.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+yt(bt(n))+" ").indexOf(t)>-1)return!0;return!1}});var wt=/\r/g;S.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,S(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=S.map(o,(function(e){return null==e?"":e+""}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=S.valHooks[o.type]||S.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(wt,""):null==n?"":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,"value");return null!=t?t:yt(S.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!P(n.parentNode,"optgroup"))){if(t=S(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=S.makeArray(t),a=o.length;a--;)((r=o[a]).selected=S.inArray(S.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),S.each(["radio","checkbox"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},g.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var kt=/^(?:focusinfocus|focusoutblur)$/,xt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(e,t,n,o){var i,a,s,l,u,c,d,f,h=[n||b],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!kt.test(m+S.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),u=m.indexOf(":")<0&&"on"+m,(e=e[S.expando]?e:new S.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:S.makeArray(t,[e]),d=S.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!y(n)){for(l=d.delegateType||m,kt.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:d.bindType||m,(c=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&c.apply(a,t),(c=u&&a[u])&&c.apply&&Y(a)&&(e.result=c.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!Y(n)||u&&v(n[m])&&!y(n)&&((s=n[u])&&(n[u]=null),S.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,xt),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,xt),S.event.triggered=void 0,s&&(n[u]=s)),e.result}},simulate:function(e,t,n){var r=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(r,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),g.focusin||S.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var St=r.location,Et={guid:Date.now()},Tt=/\?/;S.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||S.error("Invalid XML: "+(n?S.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Ot=/\[\]$/,Ct=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Pt=/^(?:input|select|textarea|keygen)/i;function Rt(e,t,n,r){var o;if(Array.isArray(t))S.each(t,(function(t,o){n||Ot.test(e)?r(e,o):Rt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==k(t))r(e,t);else for(o in t)Rt(e+"["+o+"]",t[o],n,r)}S.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){o(this.name,this.value)}));else for(n in e)Rt(n,e[n],t,o);return r.join("&")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,"elements");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(":disabled")&&Pt.test(this.nodeName)&&!At.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(Ct,"\r\n")}})):{name:t.name,value:n.replace(Ct,"\r\n")}})).get()}});var Mt=/%20/g,It=/#.*$/,Nt=/([?&])_=[^&]*/,jt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Dt=/^\/\//,Ut={},Ft={},Bt="*/".concat("*"),Vt=b.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(U)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var o={},i=e===Ft;function a(s){var l;return o[s]=!0,S.each(e[s]||[],(function(e,s){var u=s(t,n,r);return"string"!=typeof u||i||o[u]?i?!(l=u):void 0:(t.dataTypes.unshift(u),a(u),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Zt(e,t){var n,r,o=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&S.extend(!0,e,r),e}Vt.href=St.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:St.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(St.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zt(Zt(e,S.ajaxSettings),t):Zt(S.ajaxSettings,e)},ajaxPrefilter:qt(Ut),ajaxTransport:qt(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,u,c,d,f,p=S.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?S(h):S.event,g=S.Deferred(),v=S.Callbacks("once memory"),y=p.statusCode||{},_={},w={},k="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(u){if(!a)for(a={};t=jt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?i:null},setRequestHeader:function(e,t){return null==u&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,_[e]=t),this},overrideMimeType:function(e){return null==u&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)x.always(e[x.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||k;return n&&n.abort(t),E(0,t),this}};if(g.promise(x),p.url=((e||p.url||St.href)+"").replace(Dt,St.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(U)||[""],null==p.crossDomain){l=b.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=Vt.protocol+"//"+Vt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),Ht(Ut,p,t,x),u)return x;for(d in(c=S.event&&p.global)&&0==S.active++&&S.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),o=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Mt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(Tt.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Nt,"$1"),f=(Tt.test(o)?"&":"?")+"_="+Et.guid+++f),p.url=o+f),p.ifModified&&(S.lastModified[o]&&x.setRequestHeader("If-Modified-Since",S.lastModified[o]),S.etag[o]&&x.setRequestHeader("If-None-Match",S.etag[o])),(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]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)x.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,x,p)||u))return x.abort();if(k="abort",v.add(p.complete),x.done(p.success),x.fail(p.error),n=Ht(Ft,p,t,x)){if(x.readyState=1,c&&m.trigger("ajaxSend",[x,p]),u)return x;p.async&&p.timeout>0&&(s=r.setTimeout((function(){x.abort("timeout")}),p.timeout));try{u=!1,n.send(_,E)}catch(e){if(u)throw e;E(-1,e)}}else E(-1,"No Transport");function E(e,t,a,l){var d,f,b,_,w,k=t;u||(u=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",x.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(_=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,x,a)),!d&&S.inArray("script",p.dataTypes)>-1&&S.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),_=function(e,t,n,r){var o,i,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=u[l+" "+i]||u["* "+i]))for(o in u)if((s=o.split(" "))[1]===i&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[o]:!0!==u[o]&&(i=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,_,x,d),d?(p.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(S.lastModified[o]=w),(w=x.getResponseHeader("etag"))&&(S.etag[o]=w)),204===e||"HEAD"===p.type?k="nocontent":304===e?k="notmodified":(k=_.state,f=_.data,d=!(b=_.error))):(b=k,!e&&k||(k="error",e<0&&(e=0))),x.status=e,x.statusText=(t||k)+"",d?g.resolveWith(h,[f,k,x]):g.rejectWith(h,[x,k,b]),x.statusCode(y),y=void 0,c&&m.trigger(d?"ajaxSuccess":"ajaxError",[x,p,d?f:b]),v.fireWith(h,[x,k]),c&&(m.trigger("ajaxComplete",[x,p]),--S.active||S.event.trigger("ajaxStop")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,"json")},getScript:function(e,t){return S.get(e,void 0,t,"script")}}),S.each(["get","post"],(function(e,t){S[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:o,data:n,success:r},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var zt={0:200,1223:204},Wt=S.ajaxSettings.xhr();g.cors=!!Wt&&"withCredentials"in Wt,g.ajax=Wt=!!Wt,S.ajaxTransport((function(e){var t,n;if(g.cors||Wt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(zt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),S.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=S("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),b.head.appendChild(t[0])},abort:function(){n&&n()}}}));var $t,Gt=[],Kt=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||S.expando+"_"+Et.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+o):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||S.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?S(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=(($t=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===$t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,t.head.appendChild(r)):t=b),i=!n&&[],(o=R.exec(e))?[t.createElement(o[1])]:(o=xe([e],t,i),i&&i.length&&S(i).remove(),S.merge([],o.childNodes)));var r,o,i},S.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=yt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&S.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?S("<div>").append(S.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},S.expr.pseudos.animated=function(e){return S.grep(S.timers,(function(t){return e===t.elem})).length},S.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,u=S.css(e,"position"),c=S(e),d={};"static"===u&&(e.style.position="relative"),s=c.offset(),i=S.css(e,"top"),l=S.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(a=(r=c.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):c.css(d)}},S.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){S.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),o.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-S.css(r,"marginTop",!0),left:t.left-o.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===S.css(e,"position");)e=e.offsetParent;return e||ae}))}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;S.fn[e]=function(r){return z(this,(function(e,r,o){var i;if(y(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),S.each(["top","left"],(function(e,t){S.cssHooks[t]=$e(g.pixelPosition,(function(e,n){if(n)return n=We(e,t),Be.test(n)?S(e).position()[t]+"px":n}))})),S.each({Height:"height",Width:"width"},(function(e,t){S.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){S.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return z(this,(function(t,n,o){var i;return y(t)?0===r.indexOf("outer")?t["inner"+e]: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===o?S.css(t,n,s):S.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){S.fn[t]=function(e){return this.on(t,e)}})),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){S.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var Yt=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;S.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||S.guid++,o},S.holdReady=function(e){e?S.readyWait++:S.ready(!0)},S.isArray=Array.isArray,S.parseJSON=JSON.parse,S.nodeName=P,S.isFunction=v,S.isWindow=y,S.camelCase=K,S.type=k,S.now=Date.now,S.isNumeric=function(e){var t=S.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},S.trim=function(e){return null==e?"":(e+"").replace(Yt,"$1")},void 0===(n=function(){return S}.apply(t,[]))||(e.exports=n);var Jt=r.jQuery,Qt=r.$;return S.noConflict=function(e){return r.$===S&&(r.$=Qt),e&&r.jQuery===S&&(r.jQuery=Jt),S},void 0===o&&(r.jQuery=r.$=S),S}))},8177:function(e){
/*!
*
* Copyright 2009-2012 Kris Kowal under the terms of the MIT
* license found at http://github.com/kriskowal/q/raw/master/LICENSE
*
* With parts by Tyler Close
* Copyright 2007-2009 Tyler Close under the terms of the MIT X license found
* at http://www.opensource.org/licenses/mit-license.html
* Forked at ref_send.js version: 2009-05-11
*
* With parts by Mark Miller
* Copyright (C) 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
!function(t){"use strict";"function"==typeof bootstrap?bootstrap("promise",t):e.exports=t()}((function(){"use strict";var e=!1;try{throw new Error}catch(t){e=!!t.stack}var t,n=k(),r=function(){},o=function(){var e={task:void 0,next:null},t=e,n=!1,r=void 0,i=!1,a=[];function s(){for(var t,r;e.next;)t=(e=e.next).task,e.task=void 0,(r=e.domain)&&(e.domain=void 0,r.enter()),l(t,r);for(;a.length;)l(t=a.pop());n=!1}function l(e,t){try{e()}catch(e){if(i)throw t&&t.exit(),setTimeout(s,0),t&&t.enter(),e;setTimeout((function(){throw e}),0)}t&&t.exit()}if(o=function(e){t=t.next={task:e,domain:i&&process.domain,next:null},n||(n=!0,r())},"object"==typeof process&&"[object process]"===process.toString()&&process.nextTick)i=!0,r=function(){process.nextTick(s)};else if("function"==typeof setImmediate)r="undefined"!=typeof window?setImmediate.bind(window,s):function(){setImmediate(s)};else if("undefined"!=typeof MessageChannel){var u=new MessageChannel;u.port1.onmessage=function(){r=c,u.port1.onmessage=s,s()};var c=function(){u.port2.postMessage(0)};r=function(){setTimeout(s,0),c()}}else r=function(){setTimeout(s,0)};return o.runAfter=function(e){a.push(e),n||(n=!0,r())},o}(),i=Function.call;function a(e){return function(){return i.apply(e,arguments)}}var s,l=a(Array.prototype.slice),u=a(Array.prototype.reduce||function(e,t){var n=0,r=this.length;if(1===arguments.length)for(;;){if(n in this){t=this[n++];break}if(++n>=r)throw new TypeError}for(;n<r;n++)n in this&&(t=e(t,this[n],n));return t}),c=a(Array.prototype.indexOf||function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1}),d=a(Array.prototype.map||function(e,t){var n=this,r=[];return u(n,(function(o,i,a){r.push(e.call(t,i,a,n))}),void 0),r}),f=Object.create||function(e){function t(){}return t.prototype=e,new t},p=a(Object.prototype.hasOwnProperty),h=Object.keys||function(e){var t=[];for(var n in e)p(e,n)&&t.push(n);return t},m=a(Object.prototype.toString);function g(e){return"[object StopIteration]"===m(e)||e instanceof s}s="undefined"!=typeof ReturnValue?ReturnValue:function(e){this.value=e};var v="From previous event:";function y(t,n){if(e&&n.stack&&"object"==typeof t&&null!==t&&t.stack&&-1===t.stack.indexOf(v)){for(var r=[],o=n;o;o=o.source)o.stack&&r.unshift(o.stack);r.unshift(t.stack);var i=r.join("\nFrom previous event:\n");t.stack=function(e){for(var t=e.split("\n"),n=[],r=0;r<t.length;++r){var o=t[r];w(o)||b(o)||!o||n.push(o)}return n.join("\n")}(i)}}function b(e){return-1!==e.indexOf("(module.js:")||-1!==e.indexOf("(node.js:")}function _(e){var t=/at .+ \((.+):(\d+):(?:\d+)\)$/.exec(e);if(t)return[t[1],Number(t[2])];var n=/at ([^ ]+):(\d+):(?:\d+)$/.exec(e);if(n)return[n[1],Number(n[2])];var r=/.*@(.+):(\d+)$/.exec(e);return r?[r[1],Number(r[2])]:void 0}function w(e){var r=_(e);if(!r)return!1;var o=r[0],i=r[1];return o===t&&i>=n&&i<=z}function k(){if(e)try{throw new Error}catch(e){var n=e.stack.split("\n"),r=_(n[0].indexOf("@")>0?n[1]:n[2]);if(!r)return;return t=r[0],r[1]}}function x(e){return e instanceof O?e:R(e)?function(e){var t=S();return x.nextTick((function(){try{e.then(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}})),t.promise}(e):F(e)}function S(){var t,n=[],r=[],o=f(S.prototype),i=f(O.prototype);if(i.promiseDispatch=function(e,o,i){var a=l(arguments);n?(n.push(a),"when"===o&&i[1]&&r.push(i[1])):x.nextTick((function(){t.promiseDispatch.apply(t,a)}))},i.valueOf=function(){if(n)return i;var e=A(t);return P(e)&&(t=e),e},i.inspect=function(){return t?t.inspect():{state:"pending"}},x.longStackSupport&&e)try{throw new Error}catch(e){i.stack=e.stack.substring(e.stack.indexOf("\n")+1)}function a(e){t=e,i.source=e,u(n,(function(t,n){x.nextTick((function(){e.promiseDispatch.apply(e,n)}))}),void 0),n=void 0,r=void 0}return o.promise=i,o.resolve=function(e){t||a(x(e))},o.fulfill=function(e){t||a(F(e))},o.reject=function(e){t||a(U(e))},o.notify=function(e){t||u(r,(function(t,n){x.nextTick((function(){n(e)}))}),void 0)},o}function E(e){if("function"!=typeof e)throw new TypeError("resolver must be a function.");var t=S();try{e(t.resolve,t.reject,t.notify)}catch(e){t.reject(e)}return t.promise}function T(e){return E((function(t,n){for(var r=0,o=e.length;r<o;r++)x(e[r]).then(t,n)}))}function O(e,t,n){void 0===t&&(t=function(e){return U(new Error("Promise does not support operation: "+e))}),void 0===n&&(n=function(){return{state:"unknown"}});var r=f(O.prototype);if(r.promiseDispatch=function(n,o,i){var a;try{a=e[o]?e[o].apply(r,i):t.call(r,o,i)}catch(e){a=U(e)}n&&n(a)},r.inspect=n,n){var o=n();"rejected"===o.state&&(r.exception=o.reason),r.valueOf=function(){var e=n();return"pending"===e.state||"rejected"===e.state?r:e.value}}return r}function C(e,t,n,r){return x(e).then(t,n,r)}function A(e){if(P(e)){var t=e.inspect();if("fulfilled"===t.state)return t.value}return e}function P(e){return e instanceof O}function R(e){return(t=e)===Object(t)&&"function"==typeof e.then;var t}x.resolve=x,x.nextTick=o,x.longStackSupport=!1,"object"==typeof process&&process&&process.env&&process.env.Q_DEBUG&&(x.longStackSupport=!0),x.defer=S,S.prototype.makeNodeResolver=function(){var e=this;return function(t,n){t?e.reject(t):arguments.length>2?e.resolve(l(arguments,1)):e.resolve(n)}},x.Promise=E,x.promise=E,E.race=T,E.all=q,E.reject=U,E.resolve=x,x.passByCopy=function(e){return e},O.prototype.passByCopy=function(){return this},x.join=function(e,t){return x(e).join(t)},O.prototype.join=function(e){return x([this,e]).spread((function(e,t){if(e===t)return e;throw new Error("Can't join: not the same: "+e+" "+t)}))},x.race=T,O.prototype.race=function(){return this.then(x.race)},x.makePromise=O,O.prototype.toString=function(){return"[object Promise]"},O.prototype.then=function(e,t,n){var r=this,o=S(),i=!1;return x.nextTick((function(){r.promiseDispatch((function(t){i||(i=!0,o.resolve(function(t){try{return"function"==typeof e?e(t):t}catch(e){return U(e)}}(t)))}),"when",[function(e){i||(i=!0,o.resolve(function(e){if("function"==typeof t){y(e,r);try{return t(e)}catch(e){return U(e)}}return U(e)}(e)))}])})),r.promiseDispatch(void 0,"when",[void 0,function(e){var t,r=!1;try{t=function(e){return"function"==typeof n?n(e):e}(e)}catch(e){if(r=!0,!x.onerror)throw e;x.onerror(e)}r||o.notify(t)}]),o.promise},x.tap=function(e,t){return x(e).tap(t)},O.prototype.tap=function(e){return e=x(e),this.then((function(t){return e.fcall(t).thenResolve(t)}))},x.when=C,O.prototype.thenResolve=function(e){return this.then((function(){return e}))},x.thenResolve=function(e,t){return x(e).thenResolve(t)},O.prototype.thenReject=function(e){return this.then((function(){throw e}))},x.thenReject=function(e,t){return x(e).thenReject(t)},x.nearer=A,x.isPromise=P,x.isPromiseAlike=R,x.isPending=function(e){return P(e)&&"pending"===e.inspect().state},O.prototype.isPending=function(){return"pending"===this.inspect().state},x.isFulfilled=function(e){return!P(e)||"fulfilled"===e.inspect().state},O.prototype.isFulfilled=function(){return"fulfilled"===this.inspect().state},x.isRejected=function(e){return P(e)&&"rejected"===e.inspect().state},O.prototype.isRejected=function(){return"rejected"===this.inspect().state};var M,I=[],N=[],j=[],L=!0;function D(){I.length=0,N.length=0,L||(L=!0)}function U(e){var t=O({when:function(t){return t&&function(e){if(L){var t=c(N,e);-1!==t&&("object"==typeof process&&"function"==typeof process.emit&&x.nextTick.runAfter((function(){var n=c(j,e);-1!==n&&(process.emit("rejectionHandled",I[t],e),j.splice(n,1))})),N.splice(t,1),I.splice(t,1))}}(this),t?t(e):this}},(function(){return this}),(function(){return{state:"rejected",reason:e}}));return function(e,t){L&&("object"==typeof process&&"function"==typeof process.emit&&x.nextTick.runAfter((function(){-1!==c(N,e)&&(process.emit("unhandledRejection",t,e),j.push(e))})),N.push(e),t&&void 0!==t.stack?I.push(t.stack):I.push("(no stack) "+t))}(t,e),t}function F(e){return O({when:function(){return e},get:function(t){return e[t]},set:function(t,n){e[t]=n},delete:function(t){delete e[t]},post:function(t,n){return null==t?e.apply(void 0,n):e[t].apply(e,n)},apply:function(t,n){return e.apply(t,n)},keys:function(){return h(e)}},void 0,(function(){return{state:"fulfilled",value:e}}))}function B(e,t,n){return x(e).spread(t,n)}function V(e,t,n){return x(e).dispatch(t,n)}function q(e){return C(e,(function(e){var t=0,n=S();return u(e,(function(r,o,i){var a;P(o)&&"fulfilled"===(a=o.inspect()).state?e[i]=a.value:(++t,C(o,(function(r){e[i]=r,0==--t&&n.resolve(e)}),n.reject,(function(e){n.notify({index:i,value:e})})))}),void 0),0===t&&n.resolve(e),n.promise}))}function H(e){if(0===e.length)return x.resolve();var t=x.defer(),n=0;return u(e,(function(r,o,i){var a=e[i];n++,C(a,(function(e){t.resolve(e)}),(function(){0===--n&&t.reject(new Error("Can't get fulfillment value from any promise, all promises were rejected."))}),(function(e){t.notify({index:i,value:e})}))}),void 0),t.promise}function Z(e){return C(e,(function(e){return e=d(e,x),C(q(d(e,(function(e){return C(e,r,r)}))),(function(){return e}))}))}x.resetUnhandledRejections=D,x.getUnhandledReasons=function(){return I.slice()},x.stopUnhandledRejectionTracking=function(){D(),L=!1},D(),x.reject=U,x.fulfill=F,x.master=function(e){return O({isDef:function(){}},(function(t,n){return V(e,t,n)}),(function(){return x(e).inspect()}))},x.spread=B,O.prototype.spread=function(e,t){return this.all().then((function(t){return e.apply(void 0,t)}),t)},x.async=function(e){return function(){function t(e,t){var i;if("undefined"==typeof StopIteration){try{i=n[e](t)}catch(e){return U(e)}return i.done?x(i.value):C(i.value,r,o)}try{i=n[e](t)}catch(e){return g(e)?x(e.value):U(e)}return C(i,r,o)}var n=e.apply(this,arguments),r=t.bind(t,"next"),o=t.bind(t,"throw");return r()}},x.spawn=function(e){x.done(x.async(e)())},x.return=function(e){throw new s(e)},x.promised=function(e){return function(){return B([this,q(arguments)],(function(t,n){return e.apply(t,n)}))}},x.dispatch=V,O.prototype.dispatch=function(e,t){var n=this,r=S();return x.nextTick((function(){n.promiseDispatch(r.resolve,e,t)})),r.promise},x.get=function(e,t){return x(e).dispatch("get",[t])},O.prototype.get=function(e){return this.dispatch("get",[e])},x.set=function(e,t,n){return x(e).dispatch("set",[t,n])},O.prototype.set=function(e,t){return this.dispatch("set",[e,t])},x.del=x.delete=function(e,t){return x(e).dispatch("delete",[t])},O.prototype.del=O.prototype.delete=function(e){return this.dispatch("delete",[e])},x.mapply=x.post=function(e,t,n){return x(e).dispatch("post",[t,n])},O.prototype.mapply=O.prototype.post=function(e,t){return this.dispatch("post",[e,t])},x.send=x.mcall=x.invoke=function(e,t){return x(e).dispatch("post",[t,l(arguments,2)])},O.prototype.send=O.prototype.mcall=O.prototype.invoke=function(e){return this.dispatch("post",[e,l(arguments,1)])},x.fapply=function(e,t){return x(e).dispatch("apply",[void 0,t])},O.prototype.fapply=function(e){return this.dispatch("apply",[void 0,e])},x.try=x.fcall=function(e){return x(e).dispatch("apply",[void 0,l(arguments,1)])},O.prototype.fcall=function(){return this.dispatch("apply",[void 0,l(arguments)])},x.fbind=function(e){var t=x(e),n=l(arguments,1);return function(){return t.dispatch("apply",[this,n.concat(l(arguments))])}},O.prototype.fbind=function(){var e=this,t=l(arguments);return function(){return e.dispatch("apply",[this,t.concat(l(arguments))])}},x.keys=function(e){return x(e).dispatch("keys",[])},O.prototype.keys=function(){return this.dispatch("keys",[])},x.all=q,O.prototype.all=function(){return q(this)},x.any=H,O.prototype.any=function(){return H(this)},x.allResolved=(M=Z,function(){return"undefined"!=typeof console&&console.warn,M.apply(M,arguments)}),O.prototype.allResolved=function(){return Z(this)},x.allSettled=function(e){return x(e).allSettled()},O.prototype.allSettled=function(){return this.then((function(e){return q(d(e,(function(e){function t(){return e.inspect()}return(e=x(e)).then(t,t)})))}))},x.fail=x.catch=function(e,t){return x(e).then(void 0,t)},O.prototype.fail=O.prototype.catch=function(e){return this.then(void 0,e)},x.progress=function(e,t){return x(e).then(void 0,void 0,t)},O.prototype.progress=function(e){return this.then(void 0,void 0,e)},x.fin=x.finally=function(e,t){return x(e).finally(t)},O.prototype.fin=O.prototype.finally=function(e){return e=x(e),this.then((function(t){return e.fcall().then((function(){return t}))}),(function(t){return e.fcall().then((function(){throw t}))}))},x.done=function(e,t,n,r){return x(e).done(t,n,r)},O.prototype.done=function(e,t,n){var r=function(e){x.nextTick((function(){if(y(e,o),!x.onerror)throw e;x.onerror(e)}))},o=e||t||n?this.then(e,t,n):this;"object"==typeof process&&process&&process.domain&&(r=process.domain.bind(r)),o.then(void 0,r)},x.timeout=function(e,t,n){return x(e).timeout(t,n)},O.prototype.timeout=function(e,t){var n=S(),r=setTimeout((function(){t&&"string"!=typeof t||((t=new Error(t||"Timed out after "+e+" ms")).code="ETIMEDOUT"),n.reject(t)}),e);return this.then((function(e){clearTimeout(r),n.resolve(e)}),(function(e){clearTimeout(r),n.reject(e)}),n.notify),n.promise},x.delay=function(e,t){return void 0===t&&(t=e,e=void 0),x(e).delay(t)},O.prototype.delay=function(e){return this.then((function(t){var n=S();return setTimeout((function(){n.resolve(t)}),e),n.promise}))},x.nfapply=function(e,t){return x(e).nfapply(t)},O.prototype.nfapply=function(e){var t=S(),n=l(e);return n.push(t.makeNodeResolver()),this.fapply(n).fail(t.reject),t.promise},x.nfcall=function(e){var t=l(arguments,1);return x(e).nfapply(t)},O.prototype.nfcall=function(){var e=l(arguments),t=S();return e.push(t.makeNodeResolver()),this.fapply(e).fail(t.reject),t.promise},x.nfbind=x.denodeify=function(e){var t=l(arguments,1);return function(){var n=t.concat(l(arguments)),r=S();return n.push(r.makeNodeResolver()),x(e).fapply(n).fail(r.reject),r.promise}},O.prototype.nfbind=O.prototype.denodeify=function(){var e=l(arguments);return e.unshift(this),x.denodeify.apply(void 0,e)},x.nbind=function(e,t){var n=l(arguments,2);return function(){var r=n.concat(l(arguments)),o=S();function i(){return e.apply(t,arguments)}return r.push(o.makeNodeResolver()),x(i).fapply(r).fail(o.reject),o.promise}},O.prototype.nbind=function(){var e=l(arguments,0);return e.unshift(this),x.nbind.apply(void 0,e)},x.nmapply=x.npost=function(e,t,n){return x(e).npost(t,n)},O.prototype.nmapply=O.prototype.npost=function(e,t){var n=l(t||[]),r=S();return n.push(r.makeNodeResolver()),this.dispatch("post",[e,n]).fail(r.reject),r.promise},x.nsend=x.nmcall=x.ninvoke=function(e,t){var n=l(arguments,2),r=S();return n.push(r.makeNodeResolver()),x(e).dispatch("post",[t,n]).fail(r.reject),r.promise},O.prototype.nsend=O.prototype.nmcall=O.prototype.ninvoke=function(e){var t=l(arguments,1),n=S();return t.push(n.makeNodeResolver()),this.dispatch("post",[e,t]).fail(n.reject),n.promise},x.nodeify=function(e,t){return x(e).nodeify(t)},O.prototype.nodeify=function(e){if(!e)return this;this.then((function(t){x.nextTick((function(){e(null,t)}))}),(function(t){x.nextTick((function(){e(t)}))}))},x.noConflict=function(){throw new Error("Q.noConflict only works when Q is used as a global")};var z=k();return x}))},3755:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},2292:function(){"use strict";
//Copyright 2014-2015 Google Inc. All rights reserved.
//license that can be found in the LICENSE file or at
//https://developers.google.com/open-source/licenses/bsd
!function(){var e="chrome"in window&&window.navigator.userAgent.indexOf("Edge")<0;if(!("u2f"in window)&&e){var t,n=window.u2f={};n.EXTENSION_ID="kmendfapggjehodndflmmgagdbamhnfd",n.MessageTypes={U2F_REGISTER_REQUEST:"u2f_register_request",U2F_REGISTER_RESPONSE:"u2f_register_response",U2F_SIGN_REQUEST:"u2f_sign_request",U2F_SIGN_RESPONSE:"u2f_sign_response",U2F_GET_API_VERSION_REQUEST:"u2f_get_api_version_request",U2F_GET_API_VERSION_RESPONSE:"u2f_get_api_version_response"},n.ErrorCodes={OK:0,OTHER_ERROR:1,BAD_REQUEST:2,CONFIGURATION_UNSUPPORTED:3,DEVICE_INELIGIBLE:4,TIMEOUT:5},n.U2fRequest,n.U2fResponse,n.Error,n.Transport,n.Transports,n.SignRequest,n.SignResponse,n.RegisterRequest,n.RegisterResponse,n.RegisteredKey,n.GetJsApiVersionResponse,n.getMessagePort=function(e){if("undefined"!=typeof chrome&&chrome.runtime){var t={type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:[]};chrome.runtime.sendMessage(n.EXTENSION_ID,t,(function(){chrome.runtime.lastError?n.getIframePort_(e):n.getChromeRuntimePort_(e)}))}else n.isAndroidChrome_()?n.getAuthenticatorPort_(e):n.isIosChrome_()?n.getIosPort_(e):n.getIframePort_(e)},n.isAndroidChrome_=function(){var e=navigator.userAgent;return-1!=e.indexOf("Chrome")&&-1!=e.indexOf("Android")},n.isIosChrome_=function(){return["iPhone","iPad","iPod"].indexOf(navigator.platform)>-1},n.getChromeRuntimePort_=function(e){var t=chrome.runtime.connect(n.EXTENSION_ID,{includeTlsChannelId:!0});setTimeout((function(){e(new n.WrappedChromeRuntimePort_(t))}),0)},n.getAuthenticatorPort_=function(e){setTimeout((function(){e(new n.WrappedAuthenticatorPort_)}),0)},n.getIosPort_=function(e){setTimeout((function(){e(new n.WrappedIosPort_)}),0)},n.WrappedChromeRuntimePort_=function(e){this.port_=e},n.formatSignRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=[],l=0;l<o.length;l++)s[l]={version:o[l].version,challenge:r,keyHandle:o[l].keyHandle,appId:e};return{type:n.MessageTypes.U2F_SIGN_REQUEST,signRequests:s,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_SIGN_REQUEST,appId:e,challenge:r,registeredKeys:o,timeoutSeconds:i,requestId:a}},n.formatRegisterRequest_=function(e,r,o,i,a){if(void 0===t||t<1.1){for(var s=0;s<o.length;s++)o[s].appId=e;var l=[];for(s=0;s<r.length;s++)l[s]={version:r[s].version,challenge:o[0],keyHandle:r[s].keyHandle,appId:e};return{type:n.MessageTypes.U2F_REGISTER_REQUEST,signRequests:l,registerRequests:o,timeoutSeconds:i,requestId:a}}return{type:n.MessageTypes.U2F_REGISTER_REQUEST,appId:e,registerRequests:o,registeredKeys:r,timeoutSeconds:i,requestId:a}},n.WrappedChromeRuntimePort_.prototype.postMessage=function(e){this.port_.postMessage(e)},n.WrappedChromeRuntimePort_.prototype.addEventListener=function(e,t){var n=e.toLowerCase();"message"!=n&&"onmessage"!=n||this.port_.onMessage.addListener((function(e){t({data:e})}))},n.WrappedAuthenticatorPort_=function(){this.requestId_=-1,this.requestObject_=null},n.WrappedAuthenticatorPort_.prototype.postMessage=function(e){var t=n.WrappedAuthenticatorPort_.INTENT_URL_BASE_+";S.request="+encodeURIComponent(JSON.stringify(e))+";end";document.location=t},n.WrappedAuthenticatorPort_.prototype.getPortType=function(){return"WrappedAuthenticatorPort_"},n.WrappedAuthenticatorPort_.prototype.addEventListener=function(e,t){if("message"==e.toLowerCase()){window.addEventListener("message",this.onRequestUpdate_.bind(this,t),!1)}},n.WrappedAuthenticatorPort_.prototype.onRequestUpdate_=function(e,t){var n=JSON.parse(t.data),r=(n.intentURL,n.errorCode,null);n.hasOwnProperty("data")&&(r=JSON.parse(n.data)),e({data:r})},n.WrappedAuthenticatorPort_.INTENT_URL_BASE_="intent:#Intent;action=com.google.android.apps.authenticator.AUTHENTICATE",n.WrappedIosPort_=function(){},n.WrappedIosPort_.prototype.postMessage=function(e){var t=JSON.stringify(e),n="u2f://auth?"+encodeURI(t);location.replace(n)},n.WrappedIosPort_.prototype.getPortType=function(){return"WrappedIosPort_"},n.WrappedIosPort_.prototype.addEventListener=function(e,t){e.toLowerCase()},n.getIframePort_=function(e){var t="chrome-extension://"+n.EXTENSION_ID,r=document.createElement("iframe");r.src=t+"/u2f-comms.html",r.setAttribute("style","display:none"),document.body.appendChild(r);var o=new MessageChannel,i=function(t){"ready"==t.data&&(o.port1.removeEventListener("message",i),e(o.port1))};o.port1.addEventListener("message",i),o.port1.start(),r.addEventListener("load",(function(){r.contentWindow.postMessage("init",t,[o.port2])}))},n.EXTENSION_TIMEOUT_SEC=30,n.port_=null,n.waitingForPort_=[],n.reqCounter_=0,n.callbackMap_={},n.getPortSingleton_=function(e){n.port_?e(n.port_):(0==n.waitingForPort_.length&&n.getMessagePort((function(e){for(n.port_=e,n.port_.addEventListener("message",n.responseHandler_);n.waitingForPort_.length;)n.waitingForPort_.shift()(n.port_)})),n.waitingForPort_.push(e))},n.responseHandler_=function(e){var t=e.data,r=t.requestId;if(r&&n.callbackMap_[r]){var o=n.callbackMap_[r];delete n.callbackMap_[r],o(t.responseData)}},n.sign=function(e,r,o,i,a){void 0===t?n.getApiVersion((function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendSignRequest(e,r,o,i,a)})):n.sendSignRequest(e,r,o,i,a)},n.sendSignRequest=function(e,t,r,o,i){n.getPortSingleton_((function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatSignRequest_(e,t,r,l,s);a.postMessage(u)}))},n.register=function(e,r,o,i,a){void 0===t?n.getApiVersion((function(s){t=void 0===s.js_api_version?0:s.js_api_version,n.sendRegisterRequest(e,r,o,i,a)})):n.sendRegisterRequest(e,r,o,i,a)},n.sendRegisterRequest=function(e,t,r,o,i){n.getPortSingleton_((function(a){var s=++n.reqCounter_;n.callbackMap_[s]=o;var l=void 0!==i?i:n.EXTENSION_TIMEOUT_SEC,u=n.formatRegisterRequest_(e,r,t,l,s);a.postMessage(u)}))},n.getApiVersion=function(e,t){n.getPortSingleton_((function(r){if(r.getPortType){var o;switch(r.getPortType()){case"WrappedIosPort_":case"WrappedAuthenticatorPort_":o=1.1;break;default:o=0}e({js_api_version:o})}else{var i=++n.reqCounter_;n.callbackMap_[i]=e;var a={type:n.MessageTypes.U2F_GET_API_VERSION_REQUEST,timeoutSeconds:void 0!==t?t:n.EXTENSION_TIMEOUT_SEC,requestId:i};r.postMessage(a)}}))}}}()},3506:function(e,t,n){"use strict";n.r(t);var r=n(1271),o=n.n(r);
/*
* qTip2 - Pretty powerful tooltips - v3.0.3-5-g
* http://qtip2.com
*
* Copyright (c) 2017
* Released under the MIT licenses
* http://jquery.org/license
*
* Date: Wed May 24 2017 01:22 UTC+0000
* Plugins: tips modal viewport svg imagemap ie6
* Styles: core basic css3
*/
!function(e,t,n){o().fn.qtip||function(r){var o,i,a,s,l,u=!0,c=!1,d=null,f="x",p="y",h="width",m="height",g="top",v="left",y="bottom",b="right",_="center",w="flipinvert",k="shift",x={},S="qtip",E="data-hasqtip",T="data-qtip-id",O=["ui-widget","ui-tooltip"],C="."+S,A="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),P=S+"-fixed",R=S+"-default",M=S+"-focus",I=S+"-hover",N=S+"-disabled",j="_replacedByqTip",L="oldtitle",D={ie:function(){var e,n;for(e=4,n=t.createElement("div");(n.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e")&&n.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("_",""))||c};function U(e,t,n,o){this.id=n,this.target=e,this.tooltip=d,this.elements={target:e},this._id=S+"-"+n,this.timers={img:{}},this.options=t,this.plugins={},this.cache={event:{},target:r(),disabled:c,attr:o,onTooltip:c,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=c}function F(e){return e===d||"object"!==r.type(e)}function B(e){return!(r.isFunction(e)||e&&e.attr||e.length||"object"===r.type(e)&&(e.jquery||e.then))}function V(e){var t,n,o,i;return F(e)?c:(F(e.metadata)&&(e.metadata={type:e.metadata}),"content"in e&&(F(t=e.content)||t.jquery||t.done?(n=B(t)?c:t,t=e.content={text:n}):n=t.text,"ajax"in t&&(o=t.ajax,i=o&&o.once!==c,delete t.ajax,t.text=function(e,t){var a=n||r(this).attr(t.options.content.attr)||"Loading...",s=r.ajax(r.extend({},o,{context:t})).then(o.success,d,o.error).then((function(e){return e&&i&&t.set("content.text",e),e}),(function(e,n,r){t.destroyed||0===e.status||t.set("content.text",n+": "+r)}));return i?a:(t.set("content.text",a),s)}),"title"in t&&(r.isPlainObject(t.title)&&(t.button=t.title.button,t.title=t.title.text),B(t.title||c)&&(t.title=c))),"position"in e&&F(e.position)&&(e.position={my:e.position,at:e.position}),"show"in e&&F(e.show)&&(e.show=e.show.jquery?{target:e.show}:e.show===u?{ready:u}:{event:e.show}),"hide"in e&&F(e.hide)&&(e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide}),"style"in e&&F(e.style)&&(e.style={classes:e.style}),r.each(x,(function(){this.sanitize&&this.sanitize(e)})),e)}function q(e,t){for(var n,r=0,o=e,i=t.split(".");o=o[i[r++]];)r<i.length&&(n=o);return[n||e,i.pop()]}function H(e,t){var n,r,o;for(n in this.checks)if(this.checks.hasOwnProperty(n))for(r in this.checks[n])this.checks[n].hasOwnProperty(r)&&(o=new RegExp(r,"i").exec(e))&&(t.push(o),("builtin"===n||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,t))}(i=U.prototype)._when=function(e){return r.when.apply(r,e)},i.render=function(e){if(this.rendered||this.destroyed)return this;var t=this,n=this.options,i=this.cache,a=this.elements,s=n.content.text,l=n.content.title,d=n.content.button,f=n.position,p=[];return r.attr(this.target[0],"aria-describedby",this._id),i.posClass=this._createPosClass((this.position={my:f.my,at:f.at}).my),this.tooltip=a.tooltip=r("<div/>",{id:this._id,class:[S,R,n.style.classes,i.posClass].join(" "),width:n.style.width||"",height:n.style.height||"",tracking:"mouse"===f.target&&f.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":c,"aria-describedby":this._id+"-content","aria-hidden":u}).toggleClass(N,this.disabled).attr(T,this.id).data(S,this).appendTo(f.container).append(a.content=r("<div />",{class:S+"-content",id:this._id+"-content","aria-atomic":u})),this.rendered=-1,this.positioning=u,l&&(this._createTitle(),r.isFunction(l)||p.push(this._updateTitle(l,c))),d&&this._createButton(),r.isFunction(s)||p.push(this._updateContent(s,c)),this.rendered=u,this._setWidget(),r.each(x,(function(e){var n;"render"===this.initialize&&(n=this(t))&&(t.plugins[e]=n)})),this._unassignEvents(),this._assignEvents(),this._when(p).then((function(){t._trigger("render"),t.positioning=c,t.hiddenDuringWait||!n.show.ready&&!e||t.toggle(u,i.event,c),t.hiddenDuringWait=c})),o.api[this.id]=this,this},i.destroy=function(e){if(this.destroyed)return this.target;function t(){if(!this.destroyed){this.destroyed=u;var e,t=this.target,n=t.attr(L);for(e in this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),r.each(this.plugins,(function(){this.destroy&&this.destroy()})),this.timers)this.timers.hasOwnProperty(e)&&clearTimeout(this.timers[e]);t.removeData(S).removeAttr(T).removeAttr(E).removeAttr("aria-describedby"),this.options.suppress&&n&&t.attr("title",n).removeAttr(L),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=d,delete o.api[this.id]}}return e===u&&"hide"!==this.triggering||!this.rendered?t.call(this):(this.tooltip.one("tooltiphidden",r.proxy(t,this)),!this.triggering&&this.hide()),this.target},s=i.checks={builtin:{"^id$":function(e,t,n,i){var a=n===u?o.nextid:n,s=S+"-"+a;a!==c&&a.length>0&&!r("#"+s).length?(this._id=s,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):e[t]=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){if(!n)return this._removeTitle();n&&!this.elements.title&&this._createTitle(),this._updateTitle(n)},"^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 a(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(u)||this.toggle(u))},"^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(R,!!n)},"^events.(render|show|move|hide|focus|blur)$":function(e,t,n){this.rendered&&this.tooltip[(r.isFunction(n)?"":"un")+"bind"]("tooltip"+t,n)},"^(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()}}}},i.get=function(e){if(this.destroyed)return this;var t=q(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var Z=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,z=/^prerender|show\.ready/i;i.set=function(e,t){if(this.destroyed)return this;var n,o=this.rendered,i=c,a=this.options;return"string"==typeof e?(n=e,(e={})[n]=t):e=r.extend({},e),r.each(e,(function(t,n){if(o&&z.test(t))delete e[t];else{var s,l=q(a,t.toLowerCase());s=l[0][l[1]],l[0][l[1]]=n&&n.nodeType?r(n):n,i=Z.test(t)||i,e[t]=[l[0],l[1],n,s]}})),V(a),this.positioning=u,r.each(e,r.proxy(H,this)),this.positioning=c,this.rendered&&this.tooltip[0].offsetWidth>0&&i&&this.reposition("mouse"===a.position.target?d:this.cache.event),this},i._update=function(e,t){var n=this,o=this.cache;return this.rendered&&e?(r.isFunction(e)&&(e=e.call(this.elements.target,o.event,this)||""),r.isFunction(e.then)?(o.waiting=u,e.then((function(e){return o.waiting=c,n._update(e,t)}),d,(function(e){return n._update(e,t)}))):e===c||!e&&""!==e?c:(e.jquery&&e.length>0?t.empty().append(e.css({display:"block",visibility:"visible"})):t.html(e),this._waitForContent(t).then((function(e){n.rendered&&n.tooltip[0].offsetWidth>0&&n.reposition(o.event,!e.length)})))):c},i._waitForContent=function(e){var t=this.cache;return t.waiting=u,(r.fn.imagesLoaded?e.imagesLoaded():(new r.Deferred).resolve([])).done((function(){t.waiting=c})).promise()},i._updateContent=function(e,t){this._update(e,this.elements.content,t)},i._updateTitle=function(e,t){this._update(e,this.elements.title,t)===c&&this._removeTitle(c)},i._createTitle=function(){var e=this.elements,t=this._id+"-title";e.titlebar&&this._removeTitle(),e.titlebar=r("<div />",{class:S+"-titlebar "+(this.options.style.widget?$("header"):"")}).append(e.title=r("<div />",{id:t,class:S+"-title","aria-atomic":u})).insertBefore(e.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",(function(e){r(this).toggleClass("ui-state-active ui-state-focus","down"===e.type.substr(-4))})).delegate(".qtip-close","mouseover mouseout",(function(e){r(this).toggleClass("ui-state-hover","mouseover"===e.type)})),this.options.content.button&&this._createButton()},i._removeTitle=function(e){var t=this.elements;t.title&&(t.titlebar.remove(),t.titlebar=t.title=t.button=d,e!==c&&this.reposition())},i._createPosClass=function(e){return S+"-pos-"+(e||this.options.position.my).abbrev()},i.reposition=function(n,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=u;var i,a,s,l,d=this.cache,f=this.tooltip,p=this.options.position,h=p.target,m=p.my,w=p.at,k=p.viewport,S=p.container,E=p.adjust,T=E.method.split(" "),O=f.outerWidth(c),C=f.outerHeight(c),A=0,P=0,R=f.css("position"),M={left:0,top:0},I=f[0].offsetWidth>0,N=n&&"scroll"===n.type,j=r(e),L=S[0].ownerDocument,U=this.mouse;if(r.isArray(h)&&2===h.length)w={x:v,y:g},M={left:h[0],top:h[1]};else if("mouse"===h)w={x:v,y:g},(!E.mouse||this.options.hide.distance)&&d.origin&&d.origin.pageX?n=d.origin:!n||n&&("resize"===n.type||"scroll"===n.type)?n=d.event:U&&U.pageX&&(n=U),"static"!==R&&(M=S.offset()),L.body.offsetWidth!==(e.innerWidth||L.documentElement.clientWidth)&&(a=r(t.body).offset()),M={left:n.pageX-M.left+(a&&a.left||0),top:n.pageY-M.top+(a&&a.top||0)},E.mouse&&N&&U&&(M.left-=(U.scrollX||0)-j.scrollLeft(),M.top-=(U.scrollY||0)-j.scrollTop());else{if("event"===h?n&&n.target&&"scroll"!==n.type&&"resize"!==n.type?d.target=r(n.target):n.target||(d.target=this.elements.target):"event"!==h&&(d.target=r(h.jquery?h:this.elements.target)),h=d.target,0===(h=r(h).eq(0)).length)return this;h[0]===t||h[0]===e?(A=D.iOS?e.innerWidth:h.width(),P=D.iOS?e.innerHeight:h.height(),h[0]===e&&(M={top:(k||h).scrollTop(),left:(k||h).scrollLeft()})):x.imagemap&&h.is("area")?i=x.imagemap(this,h,w,x.viewport?T:c):x.svg&&h&&h[0].ownerSVGElement?i=x.svg(this,h,w,x.viewport?T:c):(A=h.outerWidth(c),P=h.outerHeight(c),M=h.offset()),i&&(A=i.width,P=i.height,a=i.offset,M=i.position),M=this.reposition.offset(h,M,S),(D.iOS>3.1&&D.iOS<4.1||D.iOS>=4.3&&D.iOS<4.33||!D.iOS&&"fixed"===R)&&(M.left-=j.scrollLeft(),M.top-=j.scrollTop()),(!i||i&&i.adjustable!==c)&&(M.left+=w.x===b?A:w.x===_?A/2:0,M.top+=w.y===y?P:w.y===_?P/2:0)}return M.left+=E.x+(m.x===b?-O:m.x===_?-O/2:0),M.top+=E.y+(m.y===y?-C:m.y===_?-C/2:0),x.viewport?(s=M.adjusted=x.viewport(this,M,p,A,P,O,C),a&&s.left&&(M.left+=a.left),a&&s.top&&(M.top+=a.top),s.my&&(this.position.my=s.my)):M.adjusted={left:0,top:0},d.posClass!==(l=this._createPosClass(this.position.my))&&(d.posClass=l,f.removeClass(d.posClass).addClass(l)),this._trigger("move",[M,k.elem||k],n)?(delete M.adjusted,o===c||!I||isNaN(M.left)||isNaN(M.top)||"mouse"===h||!r.isFunction(p.effect)?f.css(M):r.isFunction(p.effect)&&(p.effect.call(f,this,r.extend({},M)),f.queue((function(e){r(this).css({opacity:"",height:""}),D.ie&&this.style.removeAttribute("filter"),e()}))),this.positioning=c,this):this},i.reposition.offset=function(e,n,o){if(!o[0])return n;var i,a,s,l,u=r(e[0].ownerDocument),c=!!D.ie&&"CSS1Compat"!==t.compatMode,d=o[0];function f(e,t){n.left+=t*e.scrollLeft(),n.top+=t*e.scrollTop()}do{"static"!==(a=r.css(d,"position"))&&("fixed"===a?(s=d.getBoundingClientRect(),f(u,-1)):((s=r(d).position()).left+=parseFloat(r.css(d,"borderLeftWidth"))||0,s.top+=parseFloat(r.css(d,"borderTopWidth"))||0),n.left-=s.left+(parseFloat(r.css(d,"marginLeft"))||0),n.top-=s.top+(parseFloat(r.css(d,"marginTop"))||0),i||"hidden"===(l=r.css(d,"overflow"))||"visible"===l||"BODY"===r.prop(d,"tagName")||(i=r(d)))}while(d=d.offsetParent);return i&&(i[0]!==u[0]||c)&&f(i,1),n};var W=(a=i.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,_).toLowerCase(),this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!t;var n=e.charAt(0);this.precedance="t"===n||"b"===n?p:f}).prototype;function $(e){return O.concat("").join(e?"-"+e+" ":" ")}function G(e,t){if(t>0)return setTimeout(r.proxy(e,this),t);e.call(this)}function K(e){this.tooltip.hasClass(N)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=G.call(this,(function(){this.toggle(u,e)}),this.options.show.delay))}function Y(e){if(!this.tooltip.hasClass(N)&&!this.destroyed){var t=r(e.relatedTarget),n=t.closest(C)[0]===this.tooltip[0],o=t[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==t[0]&&"mouse"===this.options.position.target&&n||this.options.hide.fixed&&/mouse(out|leave|move)/.test(e.type)&&(n||o))try{e.preventDefault(),e.stopImmediatePropagation()}catch(e){}else this.timers.hide=G.call(this,(function(){this.toggle(c,e)}),this.options.hide.delay,this)}}function J(e){!this.tooltip.hasClass(N)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=G.call(this,(function(){this.hide(e)}),this.options.hide.inactive))}function Q(e){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}function X(e,n,i){r(t.body).delegate(e,(n.split?n:n.join("."+S+" "))+"."+S,(function(){var e=o.api[r.attr(this,T)];e&&!e.disabled&&i.apply(e,arguments)}))}function ee(e,n,i){var s,l,f,p,h,m=r(t.body),g=e[0]===t?m:e,v=e.metadata?e.metadata(i.metadata):d,y="html5"===i.metadata.type&&v?v[i.metadata.name]:d,b=e.data(i.metadata.name||"qtipopts");try{b="string"==typeof b?r.parseJSON(b):b}catch(e){}if(l=(p=r.extend(u,{},o.defaults,i,"object"==typeof b?V(b):d,V(y||v))).position,p.id=n,"boolean"==typeof p.content.text){if(f=e.attr(p.content.attr),p.content.attr===c||!f)return c;p.content.text=f}if(l.container.length||(l.container=m),l.target===c&&(l.target=g),p.show.target===c&&(p.show.target=g),p.show.solo===u&&(p.show.solo=l.container.closest("body")),p.hide.target===c&&(p.hide.target=g),p.position.viewport===u&&(p.position.viewport=l.container),l.container=l.container.eq(0),l.at=new a(l.at,u),l.my=new a(l.my),e.data(S))if(p.overwrite)e.qtip("destroy",!0);else if(p.overwrite===c)return c;return e.attr(E,n),p.suppress&&(h=e.attr("title"))&&e.removeAttr("title").attr(L,h).attr("title",""),s=new U(e,p,n,!!f),e.data(S,s),s}W.invert=function(e,t){this[e]=this[e]===v?b:this[e]===b?v:t||this[e]},W.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===p||this.forceY)?[n,t]:[t,n]:[t];return!1!==e?r.join(" "):r},W.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")},W.clone=function(){return new a(this.string(),this.forceY)},i.toggle=function(e,n){var o=this.cache,i=this.options,a=this.tooltip;if(n){if(/over|enter/.test(n.type)&&o.event&&/out|leave/.test(o.event.type)&&i.show.target.add(n.target).length===i.show.target.length&&a.has(n.relatedTarget).length)return this;o.event=r.event.fix(n)}if(this.waiting&&!e&&(this.hiddenDuringWait=u),!this.rendered)return e?this.render(1):this;if(this.destroyed||this.disabled)return this;var s,f,p,h=e?"show":"hide",m=this.options[h],g=this.options.position,v=this.options.content,y=this.tooltip.css("width"),b=this.tooltip.is(":visible"),_=e||1===m.target.length,w=!n||m.target.length<2||o.target[0]===n.target;return(typeof e).search("boolean|number")&&(e=!b),f=(s=!a.is(":animated")&&b===e&&w)?d:!!this._trigger(h,[90]),this.destroyed||(f!==c&&e&&this.focus(n),!f||s||(r.attr(a[0],"aria-hidden",!e),e?(this.mouse&&(o.origin=r.event.fix(this.mouse)),r.isFunction(v.text)&&this._updateContent(v.text,c),r.isFunction(v.title)&&this._updateTitle(v.title,c),!l&&"mouse"===g.target&&g.adjust.mouse&&(r(t).bind("mousemove."+S,this._storeMouse),l=u),y||a.css("width",a.outerWidth(c)),this.reposition(n,arguments[2]),y||a.css("width",""),m.solo&&("string"==typeof m.solo?r(m.solo):r(C,m.solo)).not(a).not(m.target).qtip("hide",new r.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete o.origin,l&&!r(C+'[tracking="true"]:visible',m.solo).not(a).length&&(r(t).unbind("mousemove."+S),l=c),this.blur(n)),p=r.proxy((function(){e?(D.ie&&a[0].style.removeAttribute("filter"),a.css("overflow",""),"string"==typeof m.autofocus&&r(this.options.show.autofocus,a).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):a.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(e?"visible":"hidden")}),this),m.effect===c||_===c?(a[h](),p()):r.isFunction(m.effect)?(a.stop(1,1),m.effect.call(a,this),a.queue("fx",(function(e){p(),e()}))):a.fadeTo(90,e?1:0,p),e&&m.target.trigger("qtip-"+this.id+"-inactive"))),this},i.show=function(e){return this.toggle(u,e)},i.hide=function(e){return this.toggle(c,e)},i.focus=function(e){if(!this.rendered||this.destroyed)return this;var t=r(C),n=this.tooltip,i=parseInt(n[0].style.zIndex,10),a=o.zindex+t.length;return n.hasClass(M)||this._trigger("focus",[a],e)&&(i!==a&&(t.each((function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)})),t.filter("."+M).qtip("blur",e)),n.addClass(M)[0].style.zIndex=a),this},i.blur=function(e){return!this.rendered||this.destroyed||(this.tooltip.removeClass(M),this._trigger("blur",[this.tooltip.css("zIndex")],e)),this},i.disable=function(e){return this.destroyed||("toggle"===e?e=!(this.rendered?this.tooltip.hasClass(N):this.disabled):"boolean"!=typeof e&&(e=u),this.rendered&&this.tooltip.toggleClass(N,e).attr("aria-disabled",e),this.disabled=!!e),this},i.enable=function(){return this.disable(c)},i._createButton=function(){var e=this,t=this.elements,n=t.tooltip,o=this.options.content.button,i="string"==typeof o?o:"Close tooltip";t.button&&t.button.remove(),o.jquery?t.button=o:t.button=r("<a />",{class:"qtip-close "+(this.options.style.widget?"":S+"-icon"),title:i,"aria-label":i}).prepend(r("<span />",{class:"ui-icon ui-icon-close",html:"×"})),t.button.appendTo(t.titlebar||n).attr("role","button").click((function(t){return n.hasClass(N)||e.hide(t),c}))},i._updateButton=function(e){if(!this.rendered)return c;var t=this.elements.button;e?this._createButton():t.remove()},i._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(N);n.removeClass(N),N=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(N,r),n.toggleClass("ui-helper-reset "+$(),e).toggleClass(R,this.options.style.def&&!e),t.content&&t.content.toggleClass($("content"),e),t.titlebar&&t.titlebar.toggleClass($("header"),e),t.button&&t.button.toggleClass(S+"-icon",!e)},i._storeMouse=function(e){return(this.mouse=r.event.fix(e)).type="mousemove",this},i._bind=function(e,t,n,o,i){if(e&&n&&t.length){var a="."+this._id+(o?"-"+o:"");return r(e).bind((t.split?t:t.join(a+" "))+a,r.proxy(n,i||this)),this}},i._unbind=function(e,t){return e&&r(e).unbind("."+this._id+(t?"-"+t:"")),this},i._trigger=function(e,t,n){var o=new r.Event("tooltip"+e);return o.originalEvent=n&&r.extend({},n)||this.cache.event||d,this.triggering=e,this.tooltip.trigger(o,[this].concat(t||[])),this.triggering=c,!o.isDefaultPrevented()},i._bindEvents=function(e,t,n,o,i,a){var s=n.filter(o).add(o.filter(n)),l=[];s.length&&(r.each(t,(function(t,n){var o=r.inArray(n,e);o>-1&&l.push(e.splice(o,1)[0])})),l.length&&(this._bind(s,l,(function(e){(this.rendered&&this.tooltip[0].offsetWidth>0?a:i).call(this,e)})),n=n.not(s),o=o.not(s))),this._bind(n,e,i),this._bind(o,t,a)},i._assignInitialEvents=function(e){var t=this.options,n=t.show.target,o=t.hide.target,i=t.show.event?r.trim(""+t.show.event).split(" "):[],a=t.hide.event?r.trim(""+t.hide.event).split(" "):[];function s(e){if(this.disabled||this.destroyed)return c;this.cache.event=e&&r.event.fix(e),this.cache.target=e&&r(e.target),clearTimeout(this.timers.show),this.timers.show=G.call(this,(function(){this.render("object"==typeof e||t.show.ready)}),t.prerender?0:t.show.delay)}this._bind(this.elements.target,["remove","removeqtip"],(function(){this.destroy(!0)}),"destroy"),/mouse(over|enter)/i.test(t.show.event)&&!/mouse(out|leave)/i.test(t.hide.event)&&a.push("mouseleave"),this._bind(n,"mousemove",(function(e){this._storeMouse(e),this.cache.onTarget=u})),this._bindEvents(i,a,n,o,s,(function(){if(!this.timers)return c;clearTimeout(this.timers.show)})),(t.show.ready||t.prerender)&&s.call(this,e)},i._assignEvents=function(){var n=this,i=this.options,a=i.position,s=this.tooltip,l=i.show.target,u=i.hide.target,d=a.container,f=a.viewport,p=r(t),h=r(e),m=i.show.event?r.trim(""+i.show.event).split(" "):[],g=i.hide.event?r.trim(""+i.hide.event).split(" "):[];r.each(i.events,(function(e,t){n._bind(s,"toggle"===e?["tooltipshow","tooltiphide"]:["tooltip"+e],t,null,s)})),/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(p,["mouseout","blur"],(function(e){/select|option/.test(e.target.nodeName)||e.relatedTarget||this.hide(e)})),i.hide.fixed?u=u.add(s.addClass(P)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(u,"mouseleave",(function(){clearTimeout(this.timers.show)})),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(d.closest("html"),["mousedown","touchstart"],(function(e){var t=r(e.target),n=this.rendered&&!this.tooltip.hasClass(N)&&this.tooltip[0].offsetWidth>0,o=t.parents(C).filter(this.tooltip[0]).length>0;t[0]===this.target[0]||t[0]===this.tooltip[0]||o||this.target.has(t[0]).length||!n||this.hide(e)})),"number"==typeof i.hide.inactive&&(this._bind(l,"qtip-"+this.id+"-inactive",J,"inactive"),this._bind(u.add(s),o.inactiveEvents,J)),this._bindEvents(m,g,l,u,K,Y),this._bind(l.add(s),"mousemove",(function(e){if("number"==typeof i.hide.distance){var t=this.cache.origin||{},n=this.options.hide.distance,r=Math.abs;(r(e.pageX-t.pageX)>=n||r(e.pageY-t.pageY)>=n)&&this.hide(e)}this._storeMouse(e)})),"mouse"===a.target&&a.adjust.mouse&&(i.hide.event&&this._bind(l,["mouseenter","mouseleave"],(function(e){if(!this.cache)return c;this.cache.onTarget="mouseenter"===e.type})),this._bind(p,"mousemove",(function(e){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(N)&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}))),(a.adjust.resize||f.length)&&this._bind(r.event.special.resize?f:h,"resize",Q),a.adjust.scroll&&this._bind(h.add(a.container),"scroll",Q)},i._unassignEvents=function(){var n=this.options,o=n.show.target,i=n.hide.target,a=r.grep([this.elements.target[0],this.rendered&&this.tooltip[0],n.position.container[0],n.position.viewport[0],n.position.container.closest("html")[0],e,t],(function(e){return"object"==typeof e}));o&&o.toArray&&(a=a.concat(o.toArray())),i&&i.toArray&&(a=a.concat(i.toArray())),this._unbind(a)._unbind(a,"destroy")._unbind(a,"inactive")},r((function(){X(C,["mouseenter","mouseleave"],(function(e){var t="mouseenter"===e.type,n=r(e.currentTarget),o=r(e.relatedTarget||e.target),i=this.options;t?(this.focus(e),n.hasClass(P)&&!n.hasClass(N)&&clearTimeout(this.timers.hide)):"mouse"===i.position.target&&i.position.adjust.mouse&&i.hide.event&&i.show.target&&!o.closest(i.show.target[0]).length&&this.hide(e),n.toggleClass(I,t)})),X("["+T+"]",A,J)})),o=r.fn.qtip=function(e,t,i){var a=(""+e).toLowerCase(),s=d,l=r.makeArray(arguments).slice(1),f=l[l.length-1],p=this[0]?r.data(this[0],S):d;return!arguments.length&&p||"api"===a?p:"string"==typeof e?(this.each((function(){var e=r.data(this,S);if(!e)return u;if(f&&f.timeStamp&&(e.cache.event=f),!t||"option"!==a&&"options"!==a)e[a]&&e[a].apply(e,l);else{if(i===n&&!r.isPlainObject(t))return s=e.get(t),c;e.set(t,i)}})),s!==d?s:this):"object"!=typeof e&&arguments.length?void 0:(p=V(r.extend(u,{},e)),this.each((function(e){var t,n;if(n=!(n=r.isArray(p.id)?p.id[e]:p.id)||n===c||n.length<1||o.api[n]?o.nextid++:n,(t=ee(r(this),n,p))===c)return u;o.api[n]=t,r.each(x,(function(){"initialize"===this.initialize&&this(t)})),t._assignInitialEvents(f)})))},r.qtip=U,o.api={},r.each({attr:function(e,t){if(this.length){var n=this[0],o="title",i=r.data(n,"qtip");if(e===o&&i&&i.options&&"object"==typeof i&&"object"==typeof i.options&&i.options.suppress)return arguments.length<2?r.attr(n,L):(i&&i.options.content.attr===o&&i.cache.attr&&i.set("content.text",t),this.attr(L,t))}return r.fn["attr"+j].apply(this,arguments)},clone:function(e){var t=r.fn["clone"+j].apply(this,arguments);return e||t.filter("["+L+"]").attr("title",(function(){return r.attr(this,L)})).removeAttr(L),t}},(function(e,t){if(!t||r.fn[e+j])return u;var n=r.fn[e+j]=r.fn[e];r.fn[e]=function(){return t.apply(this,arguments)||n.apply(this,arguments)}})),r.ui||(r["cleanData"+j]=r.cleanData,r.cleanData=function(e){for(var t,n=0;(t=r(e[n])).length;n++)if(t.attr(E))try{t.triggerHandler("removeqtip")}catch(e){}r["cleanData"+j].apply(this,arguments)}),o.version="3.0.3-5-g",o.nextid=0,o.inactiveEvents=A,o.zindex=15e3,o.defaults={prerender:c,id:c,overwrite:u,suppress:u,content:{text:u,attr:"title",title:c,button:c},position:{my:"top left",at:"bottom right",target:c,container:c,viewport:c,adjust:{x:0,y:0,mouse:u,scroll:u,resize:u,method:"flipinvert flipinvert"},effect:function(e,t){r(this).animate(t,{duration:200,queue:c})}},show:{target:c,event:"mouseenter",effect:u,delay:90,solo:c,ready:c,autofocus:c},hide:{target:c,event:"mouseleave",effect:u,delay:0,fixed:c,inactive:c,leave:"window",distance:c},style:{classes:"",widget:c,width:c,height:c,def:u},events:{render:d,move:d,show:d,hide:d,toggle:d,visible:d,hidden:d,focus:d,blur:d}};var te,ne,re,oe,ie,ae="margin",se="border",le="color",ue="background-color",ce="transparent",de=" !important",fe=!!t.createElement("canvas").getContext,pe=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i;function he(e){return e.charAt(0).toUpperCase()+e.slice(1)}var me,ge={},ve=["Webkit","O","Moz","ms"];function ye(e,t){var r,o,i=t.charAt(0).toUpperCase()+t.slice(1),a=(t+" "+ve.join(i+" ")+i).split(" "),s=0;if(ge[t])return e.css(ge[t]);for(;r=a[s++];)if((o=e.css(r))!==n)return ge[t]=r,o}function be(e,t){return Math.ceil(parseFloat(ye(e,t)))}function _e(e,t){this._ns="tip",this.options=t,this.offset=t.offset,this.size=[t.width,t.height],this.qtip=e,this.init(e)}fe?(oe=e.devicePixelRatio||1,ie=(me=t.createElement("canvas").getContext("2d")).backingStorePixelRatio||me.webkitBackingStorePixelRatio||me.mozBackingStorePixelRatio||me.msBackingStorePixelRatio||me.oBackingStorePixelRatio||1,re=oe/ie):ne=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'},r.extend(_e.prototype,{init:function(e){var t,n;n=this.element=e.elements.tip=r("<div />",{class:S+"-tip"}).prependTo(e.tooltip),fe?((t=r("<canvas />").appendTo(this.element)[0].getContext("2d")).lineJoin="miter",t.miterLimit=1e5,t.save()):(t=ne("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(t+t),e._bind(r("*",n).add(n),["click","mousedown"],(function(e){e.stopPropagation()}),this._ns)),e._bind(e.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===g||e.y===_&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(u))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===c||t===c?e=c:e===u?e=new a(t.string()):e.string||((e=new a(e)).fixed=u),e},_parseWidth:function(e,t,n){var r=this.qtip.elements,o=se+he(t)+"Width";return(n?be(n,o):be(r.content,o)||be(this._useTitle(e)&&r.titlebar||r.content,o)||be(r.tooltip,o))||0},_parseRadius:function(e){var t=this.qtip.elements,n=se+he(e.y)+he(e.x)+"Radius";return D.ie<9?0:be(this._useTitle(e)&&t.titlebar||t.content,n)||be(t.tooltip,n)||0},_invalidColour:function(e,t,n){var r=e.css(t);return!r||n&&r===e.css(n)||pe.test(r)?c:r},_parseColours:function(e){var t=this.qtip.elements,n=this.element.css("cssText",""),o=se+he(e[e.precedance])+he(le),i=this._useTitle(e)&&t.titlebar||t.content,a=this._invalidColour,s=[];return s[0]=a(n,ue)||a(i,ue)||a(t.content,ue)||a(t.tooltip,ue)||n.css(ue),s[1]=a(n,o,le)||a(i,o,le)||a(t.content,o,le)||a(t.tooltip,o,le)||t.tooltip.css(o),r("*",n).add(n).css("cssText",ue+":"+ce+de+";"+se+":0"+de+";"),s},_calculateSize:function(e){var t,n,r=e.precedance===p,o=this.options.width,i=this.options.height,a="c"===e.abbrev(),s=(r?o:i)*(a?.5:1),l=Math.pow,u=Math.round,c=Math.sqrt(l(s,2)+l(i,2)),d=[this.border/s*c,this.border/i*c];return d[2]=Math.sqrt(l(d[0],2)-l(this.border,2)),d[3]=Math.sqrt(l(d[1],2)-l(this.border,2)),n=[u((t=(c+d[2]+d[3]+(a?0:d[0]))/c)*o),u(t*i)],r?n:n.reverse()},_calculateTip:function(e,t,n){n=n||1;var r=(t=t||this.size)[0]*n,o=t[1]*n,i=Math.ceil(r/2),a=Math.ceil(o/2),s={br:[0,0,r,o,r,0],bl:[0,0,r,0,0,o],tr:[0,o,r,0,r,o],tl:[0,0,0,o,r,o],tc:[0,o,i,0,r,o],bc:[0,0,r,0,i,o],rc:[0,0,r,a,0,o],lc:[r,0,r,o,0,a]};return s.lt=s.br,s.rt=s.bl,s.lb=s.tr,s.rb=s.tl,s[e.abbrev()]},_drawCoords:function(e,t){e.beginPath(),e.moveTo(t[0],t[1]),e.lineTo(t[2],t[3]),e.lineTo(t[4],t[5]),e.closePath()},create:function(){var e=this.corner=(fe||D.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 o,i,s,l,d,w,k,x,S=this.qtip.elements,E=this.element,T=E.children(),O=this.options,C=this.size,A=O.mimic,P=Math.round;t||(t=this.qtip.cache.corner||this.corner),A===c?A=t:((A=new a(A)).precedance=t.precedance,"inherit"===A.x?A.x=t.x:"inherit"===A.y?A.y=t.y:A.x===A.y&&(A[t.precedance]=t[t.precedance])),i=A.precedance,t.precedance===f?this._swapDimensions():this._resetDimensions(),(o=this.color=this._parseColours(t))[1]!==ce?(x=this.border=this._parseWidth(t,t[t.precedance]),O.border&&x<1&&!pe.test(o[1])&&(o[0]=o[1]),this.border=x=O.border!==u?O.border:x):this.border=x=0,k=this.size=this._calculateSize(t),E.css({width:k[0],height:k[1],lineHeight:k[1]+"px"}),w=t.precedance===p?[P(A.x===v?x:A.x===b?k[0]-C[0]-x:(k[0]-C[0])/2),P(A.y===g?k[1]-C[1]:0)]:[P(A.x===v?k[0]-C[0]:0),P(A.y===g?x:A.y===y?k[1]-C[1]-x:(k[1]-C[1])/2)],fe?((s=T[0].getContext("2d")).restore(),s.save(),s.clearRect(0,0,6e3,6e3),l=this._calculateTip(A,C,re),d=this._calculateTip(A,this.size,re),T.attr(h,k[0]*re).attr(m,k[1]*re),T.css(h,k[0]).css(m,k[1]),this._drawCoords(s,d),s.fillStyle=o[1],s.fill(),s.translate(w[0]*re,w[1]*re),this._drawCoords(s,l),s.fillStyle=o[0],s.fill()):(l="m"+(l=this._calculateTip(A))[0]+","+l[1]+" l"+l[2]+","+l[3]+" "+l[4]+","+l[5]+" xe",w[2]=x&&/^(r|b)/i.test(t.string())?8===D.ie?2:1:0,T.css({coordsize:k[0]+x+" "+k[1]+x,antialias:""+(A.string().indexOf(_)>-1),left:w[0]-w[2]*Number(i===f),top:w[1]-w[2]*Number(i===p),width:k[0]+x,height:k[1]+x}).each((function(e){var t=r(this);t[t.prop?"prop":"attr"]({coordsize:k[0]+x+" "+k[1]+x,path:l,fillcolor:o[0],filled:!!e,stroked:!e}).toggle(!(!x&&!e)),!e&&t.html(ne("stroke",'weight="'+2*x+'px" color="'+o[1]+'" miterlimit="1000" joinstyle="miter"'))}))),e.opera&&setTimeout((function(){S.tip.css({display:"inline-block",visibility:"visible"})}),1),n!==c&&this.calculate(t,k)},calculate:function(e,t){if(!this.enabled)return c;var n,o,i=this,a=this.qtip.elements,s=this.element,l=this.options.offset,u={};return e=e||this.corner,n=e.precedance,t=t||this._calculateSize(e),o=[e.x,e.y],n===f&&o.reverse(),r.each(o,(function(r,o){var s,c,d;o===_?(u[s=n===p?v:g]="50%",u[ae+"-"+s]=-Math.round(t[n===p?0:1]/2)+l):(s=i._parseWidth(e,o,a.tooltip),c=i._parseWidth(e,o,a.content),d=i._parseRadius(e),u[o]=Math.max(-i.border,r?c:l+(d>s?d:-s)))})),u[e[n]]-=t[n===f?0:1],s.css({margin:"",top:"",bottom:"",left:"",right:""}).css(u),u},reposition:function(e,t,r){if(this.enabled){var o,i,a=t.cache,s=this.corner.clone(),l=r.adjusted,d=t.options.position.adjust.method.split(" "),h=d[0],m=d[1]||d[0],w={left:c,top:c,x:0,y:0},x={};this.corner.fixed!==u&&(S(h,f,p,v,b),S(m,p,f,g,y),s.string()===a.corner.string()&&a.cornerTop===l.top&&a.cornerLeft===l.left||this.update(s,c)),(o=this.calculate(s)).right!==n&&(o.left=-o.right),o.bottom!==n&&(o.top=-o.bottom),o.user=this.offset,w.left=h===k&&!!l.left,w.left&&E(f,v,b),w.top=m===k&&!!l.top,w.top&&E(p,g,y),this.element.css(x).toggle(!(w.x&&w.y||s.x===_&&w.y||s.y===_&&w.x)),r.left-=o.left.charAt?o.user:h!==k||w.top||!w.left&&!w.top?o.left+this.border:0,r.top-=o.top.charAt?o.user:m!==k||w.left||!w.left&&!w.top?o.top+this.border:0,a.cornerLeft=l.left,a.cornerTop=l.top,a.corner=s.clone()}function S(e,t,n,r,o){e===k&&s.precedance===t&&l[r]&&s[n]!==_?s.precedance=s.precedance===f?p:f:e!==k&&l[r]&&(s[t]=s[t]===_?l[r]>0?r:o:s[t]===r?o:r)}function E(e,t,a){s[e]===_?x[ae+"-"+t]=w[e]=o[ae+"-"+t]-l[t]:(i=o[a]!==n?[l[t],-o[t]]:[-l[t],o[t]],(w[e]=Math.max(i[0],i[1]))>i[0]&&(r[t]-=l[t],w[t]=c),x[o[a]!==n?a:t]=w[e])}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),(te=x.tip=function(e){return new _e(e,e.options.style.tip)}).initialize="render",te.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=u)}},s.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()}},r.extend(u,o.defaults,{style:{tip:{corner:u,mimic:c,width:6,height:6,border:u,offset:0}}});var we,ke,xe="qtip-modal",Se="."+xe;function Ee(e,t){this.options=t,this._ns="-modal",this.qtip=e,this.init(e)}ke=new(ke=function(){var e,n,o,i=this,a={};function s(e){if(r.expr[":"].focusable)return r.expr[":"].focusable;var t,n,o,i=!isNaN(r.attr(e,"tabindex")),a=e.nodeName&&e.nodeName.toLowerCase();return"area"===a?(n=(t=e.parentNode).name,!(!e.href||!n||"map"!==t.nodeName.toLowerCase())&&!!(o=r("img[usemap=#"+n+"]")[0])&&o.is(":visible")):/input|select|textarea|button|object/.test(a)?!e.disabled:"a"===a&&e.href||i}function l(e){a.length<1&&e.length?e.not("body").blur():a.first().focus()}function f(t){if(o.is(":visible")){var n=r(t.target),i=e.tooltip,a=n.closest(C);(a.length<1?c:parseInt(a[0].style.zIndex,10)>parseInt(i[0].style.zIndex,10))||n.closest(C)[0]===i[0]||l(n)}}r.extend(i,{init:function(){return o=i.elem=r("<div />",{id:"qtip-overlay",html:"<div></div>",mousedown:function(){return c}}).hide(),r(t.body).bind("focusin"+Se,f),r(t).bind("keydown"+Se,(function(t){e&&e.options.show.modal.escape&&27===t.keyCode&&e.hide(t)})),o.bind("click"+Se,(function(t){e&&e.options.show.modal.blur&&e.hide(t)})),i},update:function(t){e=t,a=t.options.show.modal.stealfocus!==c?t.tooltip.find("*").filter((function(){return s(this)})):[]},toggle:function(a,s,f){var p=a.tooltip,h=a.options.show.modal,m=h.effect,g=s?"show":"hide",v=o.is(":visible"),y=r(Se).filter(":visible:not(:animated)").not(p);return i.update(a),s&&h.stealfocus!==c&&l(r(":focus")),o.toggleClass("blurs",h.blur),s&&o.appendTo(t.body),o.is(":animated")&&v===s&&n!==c||!s&&y.length||(o.stop(u,c),r.isFunction(m)?m.call(o,s):m===c?o[g]():o.fadeTo(parseInt(f,10)||90,s?1:0,(function(){s||o.hide()})),s||o.queue((function(e){o.css({left:"",top:""}),r(Se).length||o.detach(),e()})),n=s,e.destroyed&&(e=d)),i}}),i.init()}),r.extend(Ee.prototype,{init:function(e){var t=e.tooltip;if(!this.options.on)return this;e.elements.overlay=ke.elem,t.addClass(xe).css("z-index",o.modal_zindex+r(Se).length),e._bind(t,["tooltipshow","tooltiphide"],(function(e,n,o){var i=e.originalEvent;if(e.target===t[0])if(i&&"tooltiphide"===e.type&&/mouse(leave|enter)/.test(i.type)&&r(i.relatedTarget).closest(ke.elem[0]).length)try{e.preventDefault()}catch(e){}else(!i||i&&"tooltipsolo"!==i.type)&&this.toggle(e,"tooltipshow"===e.type,o)}),this._ns,this),e._bind(t,"tooltipfocus",(function(e,n){if(!e.isDefaultPrevented()&&e.target===t[0]){var i=r(Se),a=o.modal_zindex+i.length,s=parseInt(t[0].style.zIndex,10);ke.elem[0].style.zIndex=a-1,i.each((function(){this.style.zIndex>s&&(this.style.zIndex-=1)})),i.filter("."+M).qtip("blur",e.originalEvent),t.addClass(M)[0].style.zIndex=a,ke.update(n);try{e.preventDefault()}catch(e){}}}),this._ns,this),e._bind(t,"tooltiphide",(function(e){e.target===t[0]&&r(Se).filter(":visible").not(t).last().qtip("focus",e)}),this._ns,this)},toggle:function(e,t,n){if(e&&e.isDefaultPrevented())return this;ke.toggle(this.qtip,!!t,n)},destroy:function(){this.qtip.tooltip.removeClass(xe),this.qtip._unbind(this.qtip.tooltip,this._ns),ke.toggle(this.qtip,c),delete this.qtip.elements.overlay}}),(we=x.modal=function(e){return new Ee(e,e.options.show.modal)}).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=u))},o.modal_zindex=o.zindex-200,we.initialize="render",s.modal={"^show.modal.(on|blur)$":function(){this.destroy(),this.init(),this.qtip.elems.overlay.toggle(this.qtip.tooltip[0].offsetWidth>0)}},r.extend(u,o.defaults,{show:{modal:{on:c,effect:u,blur:u,stealfocus:u,escape:u}}}),x.viewport=function(n,r,o,i,a,s,l){var u,d,x,S,E,T,O,C,A=o.target,P=n.elements.tooltip,R=o.my,M=o.at,I=o.adjust,N=I.method.split(" "),j=N[0],L=N[1]||N[0],D=o.viewport,U=o.container,F={left:0,top:0};if(!D.jquery||A[0]===e||A[0]===t.body||"none"===I.method)return F;function B(e,t,n,o,i,a,s,l,u){var c=r[i],f=R[e],p=M[e],m=n===k,g=f===i?u:f===a?-u:-u/2,v=p===i?l:p===a?-l:-l/2,y=O[i]+C[i]-(S?0:x[i]),b=y-c,A=c+u-(s===h?E:T)-y,P=g-(R.precedance===e||f===R[t]?v:0)-(p===_?l/2:0);return m?(P=(f===i?1:-1)*g,r[i]+=b>0?b:A>0?-A:0,r[i]=Math.max(-x[i]+C[i],c-P,Math.min(Math.max(-x[i]+C[i]+(s===h?E:T),c+P),r[i],"center"===f?c-g:1e9))):(o*=n===w?2:0,b>0&&(f!==i||A>0)?(r[i]-=P+o,d.invert(e,i)):A>0&&(f!==a||b>0)&&(r[i]-=(f===_?-P:P)+o,d.invert(e,a)),r[i]<O[i]&&-r[i]>A&&(r[i]=c,d=R.clone())),r[i]-c}return x=U.offset()||F,S="static"===U.css("position"),u="fixed"===P.css("position"),E=D[0]===e?D.width():D.outerWidth(c),T=D[0]===e?D.height():D.outerHeight(c),O={left:u?0:D.scrollLeft(),top:u?0:D.scrollTop()},C=D.offset()||F,"shift"===j&&"shift"===L||(d=R.clone()),F={left:"none"!==j?B(f,p,j,I.x,v,b,h,i,s):0,top:"none"!==L?B(p,f,L,I.y,g,y,m,a,l):0,my:d}},x.polys={polygon:function(e,t){var n,r,o,i={width:0,height:0,position:{top:1e10,right:0,bottom:0,left:1e10},adjustable:c},a=0,s=[],l=1,u=1,d=0,f=0;for(a=e.length;a--;)(n=[parseInt(e[--a],10),parseInt(e[a+1],10)])[0]>i.position.right&&(i.position.right=n[0]),n[0]<i.position.left&&(i.position.left=n[0]),n[1]>i.position.bottom&&(i.position.bottom=n[1]),n[1]<i.position.top&&(i.position.top=n[1]),s.push(n);if(r=i.width=Math.abs(i.position.right-i.position.left),o=i.height=Math.abs(i.position.bottom-i.position.top),"c"===t.abbrev())i.position={left:i.position.left+i.width/2,top:i.position.top+i.height/2};else{for(;r>0&&o>0&&l>0&&u>0;)for(r=Math.floor(r/2),o=Math.floor(o/2),t.x===v?l=r:t.x===b?l=i.width-r:l+=Math.floor(r/2),t.y===g?u=o:t.y===y?u=i.height-o:u+=Math.floor(o/2),a=s.length;a--&&!(s.length<2);)d=s[a][0]-i.position.left,f=s[a][1]-i.position.top,(t.x===v&&d>=l||t.x===b&&d<=l||t.x===_&&(d<l||d>i.width-l)||t.y===g&&f>=u||t.y===y&&f<=u||t.y===_&&(f<u||f>i.height-u))&&s.splice(a,1);i.position={left:s[0][0],top:s[0][1]}}return i},rect:function(e,t,n,r){return{width:Math.abs(n-e),height:Math.abs(r-t),position:{left:Math.min(e,n),top:Math.min(t,r)}}},_angles:{tc:1.5,tr:7/4,tl:5/4,bc:.5,br:1/4,bl:3/4,rc:2,lc:1,c:0},ellipse:function(e,t,n,r,o){var i=x.polys._angles[o.abbrev()],a=0===i?0:n*Math.cos(i*Math.PI),s=r*Math.sin(i*Math.PI);return{width:2*n-Math.abs(a),height:2*r-Math.abs(s),position:{left:e+a,top:t+s},adjustable:c}},circle:function(e,t,n,r){return x.polys.ellipse(e,t,n,n,r)}},x.svg=function(e,n,o){for(var i,a,s,l,u,d,f,p,h,m=n[0],g=r(m.ownerSVGElement),v=m.ownerDocument,y=(parseInt(n.css("stroke-width"),10)||0)/2;!m.getBBox;)m=m.parentNode;if(!m.getBBox||!m.parentNode)return c;switch(m.nodeName){case"ellipse":case"circle":p=x.polys.ellipse(m.cx.baseVal.value,m.cy.baseVal.value,(m.rx||m.r).baseVal.value+y,(m.ry||m.r).baseVal.value+y,o);break;case"line":case"polygon":case"polyline":for(p=[],d=-1,l=(f=m.points||[{x:m.x1.baseVal.value,y:m.y1.baseVal.value},{x:m.x2.baseVal.value,y:m.y2.baseVal.value}]).numberOfItems||f.length;++d<l;)u=f.getItem?f.getItem(d):f[d],p.push.apply(p,[u.x,u.y]);p=x.polys.polygon(p,o);break;default:p={width:(p=m.getBBox()).width,height:p.height,position:{left:p.x,top:p.y}}}return h=p.position,(g=g[0]).createSVGPoint&&(a=m.getScreenCTM(),(f=g.createSVGPoint()).x=h.left,f.y=h.top,s=f.matrixTransform(a),h.left=s.x,h.top=s.y),v!==t&&"mouse"!==e.position.target&&(i=r((v.defaultView||v.parentWindow).frameElement).offset())&&(h.left+=i.left,h.top+=i.top),v=r(v),h.left+=v.scrollLeft(),h.top+=v.scrollTop(),p},x.imagemap=function(e,t,n){t.jquery||(t=r(t));var o,i,a,s,l,u=(t.attr("shape")||"rect").toLowerCase().replace("poly","polygon"),d=r('img[usemap="#'+t.parent("map").attr("name")+'"]'),f=r.trim(t.attr("coords")).replace(/,$/,"").split(",");if(!d.length)return c;if("polygon"===u)s=x.polys.polygon(f,n);else{if(!x.polys[u])return c;for(a=-1,l=f.length,i=[];++a<l;)i.push(parseInt(f[a],10));s=x.polys[u].apply(this,i.concat(n))}return(o=d.offset()).left+=Math.ceil((d.outerWidth(c)-d.width())/2),o.top+=Math.ceil((d.outerHeight(c)-d.height())/2),s.position.left+=o.left,s.position.top+=o.top,s};var Te='<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>';function Oe(e){this._ns="ie6",this.qtip=e,this.init(e)}r.extend(Oe.prototype,{_scroll:function(){var t=this.qtip.elements.overlay;t&&(t[0].style.top=r(e).scrollTop()+"px")},init:function(n){var o=n.tooltip;r("select, object").length<1&&(this.bgiframe=n.elements.bgiframe=r(Te).appendTo(o),n._bind(o,"tooltipmove",this.adjustBGIFrame,this._ns,this)),this.redrawContainer=r("<div/>",{id:S+"-rcontainer"}).appendTo(t.body),n.elements.overlay&&n.elements.overlay.addClass("qtipmodal-ie6fix")&&(n._bind(e,["scroll","resize"],this._scroll,this._ns,this),n._bind(o,["tooltipshow"],this._scroll,this._ns,this)),this.redraw()},adjustBGIFrame:function(){var e,t,n=this.qtip.tooltip,r={height:n.outerHeight(c),width:n.outerWidth(c)},o=this.qtip.plugins.tip,i=this.qtip.elements.tip;t={left:-(t=parseInt(n.css("borderLeftWidth"),10)||0),top:-t},o&&i&&(t[(e="x"===o.corner.precedance?[h,v]:[m,g])[1]]-=i[e[0]]()),this.bgiframe.css(t).css(r)},redraw:function(){if(this.qtip.rendered<1||this.drawing)return this;var e,t,n,r,o=this.qtip.tooltip,i=this.qtip.options.style,a=this.qtip.options.position.container;return this.qtip.drawing=1,i.height&&o.css(m,i.height),i.width?o.css(h,i.width):(o.css(h,"").appendTo(this.redrawContainer),(t=o.width())%2<1&&(t+=1),e=((n=o.css("maxWidth")||"")+(r=o.css("minWidth")||"")).indexOf("%")>-1?a.width()/100:0,t=(n=(n.indexOf("%")>-1?e:1*parseInt(n,10))||t)+(r=(r.indexOf("%")>-1?e:1*parseInt(r,10))||0)?Math.min(Math.max(t,r),n):t,o.css(h,Math.round(t)).appendTo(a)),this.drawing=0,this},destroy:function(){this.bgiframe&&this.bgiframe.remove(),this.qtip._unbind([e,this.qtip.tooltip],this._ns)}}),(x.ie6=function(e){return 6===D.ie?new Oe(e):c}).initialize="render",s.ie6={"^content|style$":function(){this.redraw()}}}(o())}(window,document)},7451:function(e){"use strict";e.exports=JSON.parse('{"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"}')},7579:function(e){"use strict";e.exports=JSON.parse('{"signout":"Sign Out","signin":"Sign In","signup":"Sign Up","remember":"Remember me","rememberDevice":"Trust this device","rememberDevice.timebased":"Do not challenge me on this device for the next {0}","rememberDevice.devicebased":"Do not challenge me on this device again","autoPush":"Send push automatically","unlockaccount":"Unlock account?","haveaccount":"Already have an account?","needhelp":"Need help signing in?","forgotpassword":"Forgot password?","help":"Help","retry":"Retry","iphone":"iPhone","android":"Android","goback":"Back to sign in","closeWindow":"You can close this window","country.label":"Country","country.option.label":"{0} ({1})","phone.extention.label":"Extension","select.default_value":"Select an option","select.filter.no_match":"No results found for \\"{0}\\"","sensitive.input.show":"Show","sensitive.input.hide":"Hide","processing.alt.text":"Processing...","skip.to.main.content":"Skip to main content","minutes.oneMinute":"minute","minutes":"{0} minutes","hours":"{0} hours","days":"{0} days","error.config":"There was a configuration error","error.required.authParams":"Missing parameters for the configured authentication scheme - \\"OAUTH2\\"","error.required.baseUrl":"\\"baseUrl\\" is a required widget parameter","error.required.success":"A success handler is required","error.required.el":"\\"el\\" is a required widget parameter","error.invalid.colors.brand":"\\"colors.brand\\" must be in six-digit hex format","error.unsupported.browser":"Unsupported browser","error.unsupported.cors":"Unsupported browser - missing CORS support","error.unsupported.localStorage":"Unsupported browser - missing localStorage support","error.enabled.cors":"There was an error sending the request - have you enabled CORS?","error.expired.session":"Your session has expired. Please try to sign in again.","error.mfa.only.expired.session":"Unable to authenticate at this time.","error.auth.lockedOut":"Your account is locked. Please contact your administrator.","error.oauth.idToken":"There was a problem generating the id_token for the user. Please try again.","error.network.connection":"Unable to connect to the server. Please check your network connection.","error.username.required":"Please enter a username","error.password.required":"Please enter a password","error.mfa.required":"The current sign on policy requires this client to redirect for re-authentication or MFA. Please contact your administrator.","error.unsupported.response":"There was an unsupported response from server.","error.jit_failure":"Unable to sign in, please try another sign in method.","error.unsynced.clock":"Unable to sign in. Please check that your device\'s clock is accurate and try again.","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.","errors.E0000207":"The username and/or the password you entered is incorrect. Please try 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.","oform.error.webfinger":"Unable to determine user identification method. Please contact your administrator for assistance.","oform.selectInput.country":"{0} selected","model.validation.field.blank":"This field cannot be left blank","model.validation.field.wrong.type":"This field is of the wrong type","model.validation.field.invalid":"This field has an invalid value","model.validation.field.value.not.allowed":"This field value is not allowed","model.validation.field.array.minItems":"This array does not have enough items","model.validation.field.array.maxItems":"This array contains too many items","model.validation.field.array.unique":"This array can only have unique values","model.validation.field.string.minLength":"This field cannot be less than the minimum required characters","model.validation.field.string.maxLength":"This field cannot exceed the maximum allowed characters","model.validation.field.invalid.format.email":"This value is not a valid email address","model.validation.field.invalid.format.uri":"This value is not a valid URI","model.validation.field.invalid.format.ipv4":"This value is not a valid IPv4 address","model.validation.field.invalid.format.hostname":"This value is not a valid hostname","model.validation.field.username":"Please check your username","schema.validation.field.value.must.string":"Value must be a string","schema.validation.field.value.must.number":"Value must be a number","schema.validation.field.value.must.integer":"Value must be an integer","schema.validation.field.value.must.object":"Value must be an object","universal-directory.profiles.attribute.source.oktamastered":"Inherit from Okta","universal-directory.profiles.attribute.source.override":"Override profile source","universal-directory.profiles.attribute.form.union.disable.display":"Combine values across groups","universal-directory.profiles.attribute.source.inherit":"Inherit from profile source","universal-directory.profiles.attribute.enduser.permission.readonly":"Read Only","universal-directory.profiles.attribute.enduser.permission.hide":"Hide","universal-directory.profiles.attribute.enduser.permission.readwrite":"Read-Write","universal-directory.profiles.attribute.form.union.enable.display":"Use Group Priority","factor.totpSoft.oktaVerify":"Okta Verify","factor.totpSoft.googleAuthenticator":"Google Authenticator","factor.totpSoft.description":"Enter single-use code from the mobile app.","factor.totpHard.rsaSecurId":"RSA SecurID","factor.totpHard.symantecVip":"Symantec VIP","factor.totpHard.description":"Enter a single-use code from a hardware token.","factor.totpHard.yubikey":"YubiKey","factor.totpHard.yubikey.description":"Insert your YubiKey and tap it to get a verification code.","factor.totpHard.yubikey.placeholder":"Click here, then tap your YubiKey","factor.oktaVerifyPush":"Okta Verify","factor.push.description":"Use a push notification sent to the mobile app.","factor.duo":"Duo Security","factor.duo.description":"Use Push Notification, SMS, or Voice call to authenticate.","factor.sms":"SMS Authentication","factor.sms.description":"Enter a single-use code sent to your mobile phone.","factor.sms.time.warning":"Haven\'t received an SMS? To try again, click <span style=\\"font-weight:bold\\">Re-send code</span>.","factor.call":"Voice Call Authentication","factor.call.description":"Use a phone to authenticate by following voice instructions.","factor.call.time.warning":"Haven\'t received a voice call? To try again, click <span style=\\"font-weight:bold\\">Redial</span>.","factor.securityQuestion":"Security Question","factor.securityQuestion.description":"Use the answer to a security question to authenticate.","factor.windowsHello":"Windows Hello","factor.windowsHello.signin.description":"Sign in to Okta using Windows Hello.","factor.windowsHello.signin.description.generic":"Sign in using Windows Hello.","factor.windowsHello.signin.description.specific":"Sign in to {0} using Windows Hello.","factor.u2f":"Security Key (U2F)","factor.u2f.description":"Use a Universal 2nd Factor (U2F) security key to sign on to Okta.","factor.u2f.description.generic":"Use a Universal 2nd Factor (U2F) security key to sign in.","factor.u2f.description.specific":"Use a Universal 2nd Factor (U2F) security key to sign in to {0}.","factor.email":"Email Authentication","factor.email.description":"Enter a verification code sent to your email.","factor.password":"Password","factor.customFactor.description":"Redirect to a third party MFA provider to sign in to Okta.","factor.customFactor.description.generic":"Redirect to a third party MFA provider to sign in.","factor.customFactor.description.specific":"Redirect to a third party MFA provider to sign in to {0}.","factor.webauthn.biometric":"Security Key or Biometric Authenticator","factor.webauthn.biometric.description":"Use a security key (USB or bluetooth) or a biometric authenticator (Windows Hello, Touch ID, etc.)","factor.hotp.description":"Enter a single-use code from an authenticator.","mfa.challenge.verify":"Verify","mfa.challenge.answer.placeholder":"Answer","mfa.challenge.answer.tooltip":"Answer","mfa.challenge.answer.showAnswer":"Show","mfa.challenge.answer.hideAnswer":"Hide","mfa.challenge.enterCode.placeholder":"Enter Code","mfa.challenge.enterCode.tooltip":"Enter Code","mfa.challenge.password.placeholder":"Password","mfa.backToFactors":"Back to factor list","mfa.enroll":"Enroll","mfa.setupOptions":"Setup Options","mfa.country":"Country/region","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 QR Code","mfa.altQrCode":"QR code","mfa.noAccessToEmail":"Can\'t access email","password.reset":"Reset Password","password.oldPassword.placeholder":"Old password","password.oldPassword.tooltip":"Old password","password.newPassword.placeholder":"New password","password.newPassword.tooltip":"New password","password.confirmPassword.placeholder":"Repeat password","password.confirmPassword.tooltip":"Repeat password","password.error.match":"New passwords must match","password.enroll.error.match":"Passwords must match","recovery.sms.hint":"SMS can only be used if a mobile phone number has been configured.","recovery.mobile.hint":"{0} can only be used if a mobile phone number has been configured.","recovery.sms":"SMS","recovery.call":"Voice Call","recovery.smsOrCall":"SMS or Voice Call","verify.choices.description":"Verify with one of the following factors.","email.button.send":"Send me the code","email.button.resend":"Send again","email.code.label":"Verification code","email.code.not.received":"Haven\'t received an email?","email.enroll.title":"Set up Email Authentication","email.enroll.description":"Send a verification code to your registered email.","email.enroll.enterCode":"Enter code","email.link.terminal.msg":"To finish signing in, return to the screen where you requested the email link.","email.mfa.title":"Verify with Email Authentication","email.mfa.description":"Send a verification code to {0}.","email.mfa.email.sent.description":"A verification code was sent to {0}. Check your email and enter the code below.","email.mfa.email.sent.description.sentText":"A verification code was sent to","email.mfa.email.sent.description.emailCodeText":"Check your email and enter the code below.","enroll.choices.title":"Set up multifactor authentication","enroll.choices.description":"Your company requires multifactor authentication to add an additional layer of security when signing in to your Okta account","enroll.choices.description.generic":"Your company requires multifactor authentication to add an additional layer of security when signing in to your account","enroll.choices.description.specific":"Your company requires multifactor authentication to add an additional layer of security when signing in to your {0} account","enroll.choices.description.gracePeriod.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>{0} day(s)</b>.","enroll.choices.description.gracePeriod.oneDay.bold":"Your company recommends setting up additional factors for authentication. Set up will be required in: <b>less than 1 day</b>.","enroll.choices.optional":"You can configure any additional optional factor or click finish","enroll.choices.list.setup":"Setup required","enroll.choices.list.enrolled":"Enrolled factors","enroll.choices.list.optional":"Additional optional factors","enroll.choices.setup":"Setup","enroll.choices.setup.another":"Set up another","enroll.choices.submit.finish":"Finish","enroll.choices.submit.configure":"Configure factor","enroll.choices.submit.next":"Configure next factor","enroll.choices.cardinality.setup":"({0} set up)","enroll.choices.cardinality.setup.remaining":"({0} of {1} set up)","enroll.choices.setup.skip":"Skip set up","enroll.securityQuestion.setup":"Setup secret question authentication","security.disliked_food":"What is the food you least liked as a child?","security.name_of_first_plush_toy":"What is the name of your first stuffed animal?","security.first_award":"What did you earn your first medal or award for?","security.favorite_security_question":"What is your favorite security question?","security.favorite_toy":"What is the toy/stuffed animal you liked the most as a kid?","security.first_computer_game":"What was the first computer game you played?","security.favorite_movie_quote":"What is your favorite movie quote?","security.first_sports_team_mascot":"What was the mascot of the first sports team you played on?","security.first_music_purchase":"What music album or song did you first purchase?","security.favorite_art_piece":"What is your favorite piece of art?","security.grandmother_favorite_desert":"What was your grandmother\'s favorite dessert?","security.first_thing_cooked":"What was the first thing you learned to cook?","security.childhood_dream_job":"What was your dream job as a child?","security.first_kiss_location":"Where did you have your first kiss?","security.place_where_significant_other_was_met":"Where did you meet your spouse/significant other?","security.favorite_vacation_location":"Where did you go for your favorite vacation?","security.new_years_two_thousand":"Where were you on New Year\'s Eve in the year 2000?","security.favorite_speaker_actor":"Who is your favorite speaker/orator?","security.favorite_book_movie_character":"Who is your favorite book/movie character?","security.favorite_sports_player":"Who is your favorite sports player?","enroll.password.setup":"Select a password","save.password":"Save password","enroll.sms.setup":"Receive a code via SMS to authenticate","enroll.sms.try_again":"The number you entered seems invalid. If the number is correct, please try again.","enroll.call.setup":"Follow phone call instructions to authenticate","enroll.onprem.username.placeholder":"Enter {0} username","enroll.onprem.username.tooltip":"Enter {0} username","enroll.onprem.passcode.placeholder":"Enter {0} passcode","enroll.onprem.passcode.tooltip":"Enter {0} passcode","enroll.symantecVip.subtitle":"Enter Credential ID and two consecutive generated codes","enroll.symantecVip.credentialId.placeholder":"Enter credential ID","enroll.symantecVip.credentialId.tooltip":"Enter credential ID","enroll.symantecVip.passcode1.placeholder":"Security code 1","enroll.symantecVip.passcode1.tooltip":"Security code 1","enroll.symantecVip.passcode2.placeholder":"Security code 2","enroll.symantecVip.passcode2.tooltip":"Security code 2","enroll.yubikey.title":"Setup YubiKey","enroll.yubikey.subtitle":"Insert your YubiKey into a USB port and tap it to generate a verification code","enroll.totp.title":"Setup {0}","enroll.totp.selectDevice":"Select your device type","enroll.totp.downloadApp":"Download <a href=\\"{0}\\" class=\\"inline-link\\">{1} from the {2}</a> onto your mobile device.","enroll.hotp.restricted":"Contact your administrator to continue enrollment.","enroll.duo.title":"Setup Duo Security","enroll.windowsHello.title":"Enroll Windows Hello","enroll.windowsHello.subtitle":"Click below to enroll Windows Hello as a second form of authentication","enroll.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","enroll.windowsHello.save":"Enroll Windows Hello","enroll.windowsHello.error.notWindows":"Windows Hello can only be used on Windows Edge with Windows 10. Contact your admin for assistance.","enroll.windowsHello.error.notConfiguredHtml":"Windows Hello is not configured. Select the <b>Start</b> button, then select <b>Settings</b> - <b>Accounts</b> - <b>Sign-in</b> to configure Windows Hello.","verify.windowsHello.subtitle":"Verify your identity with Windows Hello","verify.windowsHello.subtitle.loading":"Please wait while Windows Hello is loading...","verify.windowsHello.subtitle.signingIn":"Signing in to Okta...","verify.windowsHello.subtitle.signingIn.generic":"Signing in...","verify.windowsHello.subtitle.signingIn.specific":"Signing in to {0}...","verify.windowsHello.save":"Verify with Windows Hello","verify.windowsHello.error.notFound":"Your Windows Hello enrollment does not match our records. Contact your administrator for assistance.","verify.windowsHello.error.notFound.selectAnother":"Your Windows Hello enrollment does not match our records. Select another factor or contact your administrator for assistance.","enroll.u2f.title":"Setup Security Key (U2F)","enroll.u2f.save":"Register Security Key","enroll.u2f.general2":"Make sure you have a Security Key. If already inserted, remove it now.<br>If you have a Bluetooth Security Key, turn on your computer\'s Bluetooth.","enroll.u2f.general3":"Click the button below to register","enroll.u2f.instructions":"Insert your Security Key into a USB port on this computer. If it has a button or gold disk, tap it.","enroll.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, press the button.","u2f.error.factorNotSupported":"Security Key (U2F) is not supported on this browser. Select another factor or contact your admin for assistance.","u2f.error.factorNotSupported.oneFactor":"Security Key (U2F) is not supported on this browser. Contact your admin for assistance.","u2f.error.other":"An unknown error has occured. Try again or select another factor.","u2f.error.other.oneFactor":"An unknown error has occured. Try again or contact your admin for assistance.","u2f.error.badRequest":"There was an error with the U2F request. Try again or select another factor.","u2f.error.badRequest.oneFactor":"There was an error with the U2F request. Try again or contact your admin for assistance.","u2f.error.unsupported":"The security key is unsupported. Select another factor.","u2f.error.unsupported.oneFactor":"The security key is unsupported. Contact your admin for assistance.","u2f.error.timeout":"You have timed out of the authentication period. Please try again.","verify.u2f.instructions":"Insert your Security Key. If it has a button or gold disk, tap it.","verify.u2f.instructionsBluetooth":"If you are using a Bluetooth Security Key, turn on your computer\'s Bluetooth and press the button.","verify.u2f.retry":"Retry","enroll.customFactor.subtitle":"Clicking below will redirect to MFA enrollment with {0}","enroll.customFactor.save":"Enroll","verify.customFactor.subtitle":"Clicking below will redirect to verification with {0}","verify.customFactor.subtitle.redirect":"Redirecting to {0}...","enroll.webauthn.biometric.title":"Set up security key or biometric authenticator","enroll.webauthn.save":"Enroll","enroll.webauthn.biometric.instructions":"Your browser will prompt to register a security key or biometric authenticator (Windows Hello, Touch ID, etc.). Follow the instructions to complete enrollment.","enroll.webauthn.biometric.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select \'<b>Cancel</b>\' in the prompt before continuing.","verify.webauthn.biometric.instructions":"Your browser or device will prompt you to verify with a security key or biometric authenticator. Follow the instructions to complete authentication.","webauthn.biometric.error.factorNotSupported":"Security key or biometric authenticator is not supported on this browser. Select another factor or contact your admin for assistance.","webauthn.biometric.error.factorNotSupported.oneFactor":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","enroll.webauthn.instructions.noSupportForBiometric":"Note: Some browsers may not support biometric authenticators.","authfactor.webauthn.error":"You are currently unable to use a Security key or biometric authenticator. Try again.","enroll.totp.enterCode":"Enter code displayed from the application","enroll.totp.setupApp":"Launch {0} on your mobile device and select “Add an account”. Scan the QR code to continue.","enroll.totp.setupGoogleAuthApp":"Launch {0}, tap the \\"+\\" icon, then select \\"Scan barcode\\".","enroll.totp.cannotScan":"Can\'t scan?","enroll.totp.aria.cannotScan":"Setup without scanning a QR code.","enroll.totp.refreshBarcode":"Refresh code","enroll.totp.cannotScanBarcode":"Can\'t scan QR Code?","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.sharedSecretInstructions.aria.secretKey":"setup key {0}","enroll.totp.enrollViaEmail.title":"Activation email sent!","enroll.totp.enrollViaEmail.msg":"Open the email from your mobile device.","enroll.totp.enrollViaSms.title":"SMS sent!","enroll.totp.enrollViaSms.msg":"View the SMS on your mobile device.","recoveryChallenge.sms.title":"Enter verification code sent via SMS","recoveryChallenge.call.title":"Enter verification code received via Voice Call","mfa.factors.dropdown.title":"Select an authentication factor","mfa.factors.dropdown.sr.text":"Select Authentication Factor - {0} Factor Selected","mfa.duoSecurity.push":"Push — {0}","mfa.duoSecurity.sms":"SMS — {0}","mfa.duoSecurity.call":"Call — {0}","mfa.switch":"Switch Factor","mfa.challenge.title":"Enter your {0} passcode","mfa.challenge.orEnterCode":"Or enter code","mfa.challenge.totp.subtitle.multiple":"Enter code from any registered {0} device.","mfa.emailVerification.checkEmail":"To finish signing in, click the link in your email.","mfa.emailVerification.title":"Sign in using a link sent to your email.","mfa.emailVerification.subtitle":"Emails will be sent to {0}","mfa.emailVerification.otc.finish":"To finish signing in, enter the code which was emailed to you.","oktaverify.send":"Send Push","oktaverify.resend":"Re-send Push","oktaverify.sent":"Push sent!","oktaverify.rejected":"You have chosen to reject this login.","oktaverify.rejected.upgradeRequired.ios":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on the App Store, then try again.","oktaverify.rejected.upgradeRequired.android":"Verification failed because your Okta Verify version is no longer supported. To sign in, please update Okta Verify on Google Play, then try again.","oktaverify.timeout":"Your push notification has expired.","oktaverify.warning":"Haven\'t received a push notification yet? Try opening the Okta Verify App on your phone.","oktaverify.numberchallenge.instruction":"On your phone, tap <span class=\\"challenge-number\\">{0}</span> on Okta Verify prompt to continue.","oktaverify.numberchallenge.explain":"This extra step helps us make sure it\'s really you signing in.","primaryauth.title":"Sign In","primaryauth.username.placeholder":"Username","primaryauth.username.tooltip":"Username","primaryauth.password.placeholder":"Password","primaryauth.password.tooltip":"Password","primaryauth.submit":"Sign In","primaryauth.newUser.tooltip":"This is the first time you are connecting to {0} from this browser","primaryauth.newUser.tooltip.close":"Close","oktaVerify.description":"To access this resource, your organization requires you to sign in with Okta FastPass.","oktaVerify.appDescription":"To access {0}, your organization requires you to sign in with Okta FastPass.","oktaVerify.button":"Sign in with Okta FastPass","signinWithWebAuthn.button":"Sign in with security key or biometrics","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.reset.revokeSessions":"Sign me out of all other devices.","password.complexity.length":"at least {0} characters","password.complexity.list.element":", {0}","password.complexity.lowercase":"a lowercase letter","password.complexity.uppercase":"an uppercase letter","password.complexity.number":"a number","password.complexity.symbol":"a symbol","password.complexity.no_username":"no parts of your username","password.complexity.no_first_name":"does not include your first name","password.complexity.no_last_name":"does not include your last name","password.complexity.requirements.header":"Password requirements:","password.complexity.length.description":"At least {0} characters","password.complexity.lowercase.description":"A lowercase letter","password.complexity.uppercase.description":"An uppercase letter","password.complexity.number.description":"A number","password.complexity.symbol.description":"A symbol","password.complexity.no_username.description":"No parts of your username","password.complexity.no_first_name.description":"Does not include your first name","password.complexity.no_last_name.description":"Does not include your last name","password.complexity.history.description":"Your password cannot be any of your last {0} passwords","password.complexity.minAgeMinutes.description":"At least {0} minute(s) must have elapsed since you last changed your password","password.complexity.minAgeHours.description":"At least {0} hour(s) must have elapsed since you last changed your password","password.complexity.minAgeDays.description":"At least {0} day(s) must have elapsed since you last changed your password","password.expired.submit":"Change Password","password.expired.title":"Your Okta password has expired","password.expired.title.generic":"Your password has expired","password.expired.title.specific":"Your {0} password has expired","password.expiring.later":"Remind me later","password.expiring.title":"Your password will expire in {0} days","password.expiring.today":"Your password will expire later today","password.expiring.soon":"Your password is expiring soon","password.expiring.subtitle":"When password expires you may be locked out of Okta Mobile, mobile email, and other services.","password.expiring.subtitle.generic":"When password expires you will be locked out of your account.","password.expiring.subtitle.specific":"When password expires you will be locked out of your {0} account.","password.expired.custom.submit":"Go to {0}","password.expired.custom.subtitle":"This password is set on another website. Click the button below to go there and set a new password.","hcaptcha.footer.label":"This site is protected by hCaptcha and its <$1>Privacy Policy</$1> and <$2>Terms of Service</$2> apply.","account.unlock.title":"Unlock account","account.unlock.email.or.username.placeholder":"Email or username","account.unlock.email.or.username.tooltip":"Email or username","account.unlock.sendText":"Send SMS","account.unlock.voiceCall":"Voice Call","account.unlock.sendEmail":"Send Email","account.unlock.emailSent.title":"Email sent!","account.unlock.emailSent.desc":"Email has been sent to {0} with instructions on unlocking your account.","account.unlock.question.title":"Answer Unlock Account Challenge","account.unlock.question.submit":"Unlock Account","account.unlock.unlocked.title":"Account successfully unlocked!","account.unlock.unlocked.desc":"You can log in using your existing username and password.","account.unlock.code.notReceived":"Didn\'t receive a code? Unlock via email","account.unlock.noFactorsEnabled":"No unlock options available. Please contact your administrator.","contact.support":"If you didn\'t provide a secondary email address or don\'t have access to email, please contact your administrator at {0}","customauth.sign.in.with.label":"Sign in with {0}","socialauth.divider.text":"OR","socialauth.facebook.label":"Sign in with Facebook","socialauth.google.label":"Sign in with Google","socialauth.linkedin.label":"Sign in with LinkedIn","socialauth.microsoft.label":"Sign in with Microsoft","socialauth.apple.label":"Sign in with Apple","socialauth.github.label":"Sign in with GitHub","socialauth.gitlab.label":"Sign in with GitLab","socialauth.yahoo.label":"Sign in with Yahoo","socialauth.line.label":"Sign in with LINE","socialauth.paypal.label":"Sign in with PayPal","socialauth.paypal_sandbox.label":"Sign in with PayPal Sandbox","socialauth.salesforce.label":"Sign in with Salesforce","socialauth.amazon.label":"Sign in with Amazon","socialauth.yahoojp.label":"Sign in with Yahoo Japan","socialauth.discord.label":"Sign in with Discord","socialauth.adobe.label":"Sign in with Adobe","socialauth.orcid.label":"Sign in with ORCiD","socialauth.spotify.label":"Sign in with Spotify","socialauth.xero.label":"Sign in with Xero","socialauth.quickbooks.label":"Sign in with Quickbooks","socialauth.popup.title":"External Identity Provider User Authentication","authbutton.divider.text":"or","registration.signup.label":"Don\'t have an account?","registration.signup.text":"Sign up","registration.complete.title":"Verification email sent","registration.complete.confirm.text":"To finish signing in, check your email.","registration.form.title":"Create Account","registration.form.submit":"Register","registration.passwordComplexity.minLength":"At least {0} character(s)","registration.passwordComplexity.minLower":"At least {0} lowercase letter(s)","registration.passwordComplexity.minUpper":"At least {0} uppercase letter(s)","registration.passwordComplexity.minNumber":"At least {0} number(s)","registration.passwordComplexity.minSymbol":"At least {0} symbol(s)","registration.passwordComplexity.excludeUsername":"Does not contain part of username","registration.passwordComplexity.excludeAttribute":"Does not contain \'{0}\'","registration.required.fields.label":"* indicates required field","registration.default.callbackhook.error":"We could not process your registration at this time. Please try again later.","registration.error.userName.invalidEmail":"Invalid email address","registration.error.password.passwordRequirementsNotMet":"Password requirements were not met","registration.error.userName.notUniqueWithinOrg":"An account with that {0} already exists","registration.error.notUniqueWithinOrg.Email":"A user with this Email already exists","registration.error.notUniqueWithinOrg.custom":"A user with this {0} already exists","registration.error.invalidLoginEmail.Email":"\'Email\' must be in the form of an email address","registration.error.invalidLoginEmail.custom":"\'{0}\' must be in the form of an email address","registration.error.doesNotMatchPattern.Email":"Provided value for property \'Email\' does not match required pattern","registration.error.doesNotMatchPattern.custom":"Provided value for property \'{0}\' does not match required pattern","registration.error.generic":"There was an error creating your account. Please try registering again.","registration.error.request.not.completed":"Your request could not be completed. Try again later.","registration.model.validation.field.string.too.short":"Please enter something at least {0} characters long","registration.model.validation.field.string.too.long":"Please enter something shorter than {0} characters","piv.card":"PIV Card","piv.card.insert":"Please insert your PIV card and select the user certificate.","piv.card.error":"Certificate authentication failed. Contact your admin.","piv.card.error.empty":"No certificate selected. Choose a certificate and try again.","piv.card.error.invalid":"Certificate validation failed. Choose another certificate and try again.","piv.cac.card":"Sign in with PIV / CAC card","piv.cac.title":"PIV / CAC card","piv.cac.card.insert":"Please insert your PIV / CAC card and select the user certificate.","piv.cac.error":"There was an error signing in. Click the button below to try again.","unsupported.oneDrive.title":"Your OneDrive version is not supported","unsupported.oneDrive.desc":"Upgrade now by installing the OneDrive for Business Next Generation Sync Client to login to Okta","unsupported.oneDrive.action":"Learn how to upgrade","unsupported.cookies.title":"Cookies are required","unsupported.cookies.desc":"Cookies are disabled on your browser. Please enable Cookies and refresh this page.","unsupported.cookies.action":"Refresh","deviceTrust.sso.text":"Sign in to access company resources","deviceTrust.sso.subtitle.2":"Your company uses Okta Mobile to get you approved to access this app.","deviceTrust.sso.button":"Sign in with Okta Mobile","deviceTrust.sso.expire.title":"Oops let\'s get you back on track","deviceTrust.sso.redirectText":"Verifying your identity","deviceTrust.sso.expire.subtitle":"Unfortunately the steps required to sign in took longer than expected and your attempt timed out.","deviceTrust.sso.expire.button":"Sign in using Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.title":"Get Okta Mobile","deviceTrust.universalLink.fallback.getOktaMobile.subtitle":"Go to the {0}AppStore{1}, {0}search{1} for {0}Okta Mobile{1} and tap on {0}GET{1} Okta Mobile. Once installed, sign in to Okta Mobile and follow the instructions to secure your device.","core.auth.factor.signedNonce.error.invalidDevice":"Your device or account was invalidated. If this is unexpected, contact your administrator for help.","core.auth.factor.signedNonce.error":"Your device or account was invalidated. Re-enroll your account on Okta Verify and try again.","user.fail.verifyIdentity":"Couldn’t verify your identity","loopback.polling.cancel.link":"Cancel and take me to sign in","loopback.polling.cancel.link.with.form.error":"Take me to sign in","customUri.subtitle":"Launching Okta Verify...","customUri.content":"<div class=\\"skinny-content\\"> If nothing prompts from the browser, <a href=\\"#\\" id=\\"launch-ov\\" class=\\"link\\">click here</a> to launch Okta Verify, or make sure Okta Verify is installed.</div>","customUri.title":"Click \\"Open Okta Verify\\" on the browser prompt","customUri.required.content.prompt":"Didn’t get a prompt?","customUri.required.content.download.title":"Don’t have Okta Verify?","customUri.required.content.download.linkText":"Download here","customUri.required.content.button":"Launch Okta Verify","universalLink.title":"Sign in with Okta FastPass","universalLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","appLink.title":"Sign in with Okta FastPass","appLink.content":"If Okta Verify did not open automatically, tap Open Okta Verify.","oktaVerify.open.button":"Open Okta Verify","oktaVerify.reopen.button":"Reopen Okta Verify","consent.required.text":"<b>{0}</b> would like to access:","consent.required.description":"By clicking Allow Access, you allow the actions listed above.","consent.required.termsOfService":"Terms of Service","consent.required.privacyPolicy":"Privacy Policy","consent.required.consentButton":"Allow Access","consent.required.cancelButton":"Don\'t Allow","granular.consent.scopes.title":"<$1>{0}</$1> <$2>wants to access your account</$2>","granular.consent.scopes.description":"Allowing access will share","admin.consent.group.user.group":"User and groups","admin.consent.group.resource.policy":"Resource and policies","admin.consent.group.hook":"Hooks","admin.consent.group.system":"System","polling.title":"There are too many users trying to sign in right now. We will automatically retry in {0} seconds.","poll.form.title":"Unable to complete your request","poll.form.message":"We will automatically retry in <$1>{0}</$1> seconds.","cert.authentication.title":"Certificate authentication","common.logo.alt":"aria logo","oie.authenticator.enroll.error.fail":"Unable to enroll authenticator. Try again.","oie.authenticator.verify.error.fail":"Unable to verify authenticator. Try again.","oie.configuration.error":"Something went wrong. Potential misconfiguration detected. Please contact support.","oie.auth.logo.aria.label":"Authenticator logo","oie.form.field.optional":"Optional","oie.password.label":"Password","oie.password.newPasswordLabel":"New password","oie.password.authenticator.description":"Choose a password for your account","oie.password.challenge.title":"Verify with your password","oie.password.enroll.title":"Set up password","oie.password.passwordLabel":"Enter password","oie.password.confirmPasswordLabel":"Re-enter password","oie.password.reset.verification":"Verify with one of the following security methods to reset your password.","idx.password.expiring.message":"When your password expires you will be locked out of your Okta account.","oie.password.incorrect.message":"Password is incorrect","oie.selfservice.reset.password.not.allowed":"Reset password is not allowed at this time. Please contact support for assistance.","password.common":"This password was found in a list of commonly used passwords. Please try another password.","idx.recovery.completed":"You can now sign in with your existing username and new password.","oie.phone.label":"Phone","oie.phone.authenticator.description":"Verify with a code sent to your phone","oie.phone.enroll.sms.label":"SMS","oie.phone.enroll.voice.label":"Voice call","oie.phone.enroll.title":"Set up phone authentication","oie.phone.enroll.call.subtitle":"Enter your phone number to receive a verification code via voice call.","oie.phone.enroll.sms.subtitle":"Enter your phone number to receive a verification code via SMS.","oie.phone.sms.primaryButton":"Receive a code via SMS","oie.phone.sms.secondaryButton":"Receive an SMS instead","oie.phone.call.primaryButton":"Receive a code via voice call","oie.phone.call.secondaryButton":"Receive a voice call instead","oie.phone.verify.sms.resendText":"Haven\'t received an SMS?","oie.phone.verify.sms.codeSentText":"A code was sent to","oie.phone.verify.sms.sendText":"Send a code via SMS to","oie.phone.verify.call.sendText":"Send a code via voice call to","oie.phone.verify.call.resendText":"Haven\'t received a call?","oie.phone.verify.call.resendLinkText":"Call again","oie.phone.verify.sms.resendLinkText":"Send again","oie.phone.verify.enterCodeText":"Enter the code below to verify.","oie.phone.verify.title":"Verify with your phone","oie.phone.alternate.title":"your phone","oie.phone.carrier.charges":"Carrier messaging charges may apply","oie.phone.invalid":"Invalid Phone Number.","oie.email.label":"Email","oie.email.authenticator.description":"Verify with a link or code sent to your email","oie.email.mfa.title":"Verify with your email","oie.email.challenge.mfa.title":"Get a verification email","oie.email.verify.primaryButton":"Send me an email","oie.email.verify.subtitle.text.with.email":"Send a verification email to <$1>{0}</$1> by clicking on \\"Send me an email\\".","oie.email.verify.subtitle.text.without.email":"Send a verification email by clicking on \\"Send me an email\\".","oie.email.verify.alternate.magicLinkToEmailAddress":"We sent an email to <$1>{0}</$1>. ","oie.email.verify.alternate.magicLinkToYourEmail":"We sent you a verification email. ","oie.email.verify.alternate.instructions":"Click the verification link in your email to continue or enter the code below.","oie.email.verify.alternate.show.verificationCode.text":"Enter a verification code instead","oie.email.verify.alternate.verificationCode.instructions":"Enter the verification code in the text box.","oie.email.enroll.subtitle":"Please check your email and enter the code below.","oie.email.return.link.expired.title":"Verify with your email","oie.profile.additional.title":"Additional Profile information","oie.profile.additional.secondemail.subtitle":"Use a second email to <$1> recover your account </$1> in case you become locked out. This email must be verified after setup.","oie.webauthn.label":"Security Key or Biometric Authenticator","oie.webauthn.description":"Use a security key or a biometric authenticator to sign in","oie.enroll.webauthn.title":"Set up security key or biometric authenticator","oie.enroll.webauthn.instructions":"You will be prompted to register a security key or biometric authenticator (Windows Hello, Touch ID, Face ID, etc.). Follow the instructions to complete set up.","oie.enroll.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to setup this authenticator.","oie.enroll.webauthn.instructions.edge":"Note: If you are enrolling a security key and Windows Hello or PIN is enabled, you will need to select \'Cancel\' in the prompt before continuing.","oie.enroll.webauthn.save":"Set up","oie.webauthn.error.not.supported":"Security key or biometric authenticator is not supported on this browser. Contact your admin for assistance.","oie.verify.webauth.title":"Verify with Security Key or Biometric Authenticator","oie.verify.webauthn.instructions":"You will be prompted to use a security key or biometric verification (Windows Hello, Touch ID, etc.). Follow the instructions to complete verification.","oie.verify.webauthn.uv.required.instructions":"Biometric verification or a PIN is required to sign in with this authenticator.","oie.verify.webauthn.cant.verify":"Can\'t verify?","oie.verify.webauthn.cant.verify.biometric.authenticator.title":"Are you trying to use a biometric authenticator?","oie.verify.webauthn.cant.verify.biometric.authenticator.description1":"Biometric authenticators (fingerprint, face recognition, PIN) will only work on the same device on which they were set up.","oie.verify.webauthn.cant.verify.biometric.authenticator.description2":"If available, set up another security method on the device you used to set up your biometric authenticator.","oie.verify.webauthn.cant.verify.security.key.title":"Are you trying to use a security key?","oie.verify.webauthn.cant.verify.security.key.description":"If you have set up a security key, insert it in a USB port when prompted by the browser and tap on the button or gold disk. Security keys can work on multiple devices.","oie.verify.webauthn.cant.verify.enrollment.step1":"Open your Okta Dashboard (e.g. yourcompany.okta.com) on the device you used to setup your security key or biometric authenticator","oie.verify.webauthn.cant.verify.enrollment.step2":"Go to Settings > Security Methods","oie.verify.webauthn.cant.verify.enrollment.step3":"On Okta Verify, click \\"Set up\\"","oie.verify.webauthn.cant.verify.enrollment.step4":"Scan the QR code using Okta Verify and follow instructions to finish enrolling your account","oie.enroll.webauthn.rk.link":"If you haven\'t set up your security key or biometric authentication, you can complete the process after you sign in using <a href=\\"#\\" class=\\"setup-webauthn-residentkey-link\\">this link</a>.","oie.security.question.label":"Security Question","oie.security.question.enroll.title":"Set up security question","oie.security.question.challenge.title":"Verify with your Security Question","oie.security.question.questionKey.label":"Choose a security question","oie.security.question.createQuestion.label":"Create my own security question","oie.security.question.authenticator.description":"Choose a security question and answer that will be used for signing in","securityQuestion.answer.tooShort.arg":"The security question answer must be at least {0} characters in length","oie.okta_verify.label":"Okta Verify","oie.okta_verify.authenticator.description":"Okta Verify is an authenticator app, installed on your phone, used to prove your identity","oie.enroll.okta_verify.setup.title":"Set up Okta Verify","oie.enroll.okta_verify.setup.email.title":"Check your email","oie.enroll.okta_verify.setup.sms.title":"Check your text messages","oie.enroll.okta_verify.select.channel.description":"Which option do you want to try?","oie.enroll.okta_verify.select.channel.qrcode.label":"Scan a QR code","oie.enroll.okta_verify.select.channel.email.label":"Email me a setup link","oie.enroll.okta_verify.select.channel.sms.label":"Text me a setup link","oie.enroll.okta_verify.select.channel.title":"More options","oie.enroll.okta_verify.channel.email.label":"Email","oie.enroll.okta_verify.enroll.channel.email.title":"Set up Okta Verify via email link","oie.enroll.okta_verify.enroll.channel.sms.title":"Set up Okta Verify via SMS","oie.enroll.okta_verify.channel.email.description":"Make sure you can access the email on your mobile device.","oie.enroll.okta_verify.channel.sms.description":"Make sure you can access the text on your mobile device.","oie.enroll.okta_verify.qrcode.step1":"On your mobile device, download the Okta Verify app from the App Store (iPhone and iPad) or Google Play (Android devices).","oie.enroll.okta_verify.qrcode.step2":"Open the app and follow the instructions to add your account","oie.enroll.okta_verify.qrcode.step3":"When prompted, tap Scan a QR code, then scan the QR code below:","oie.enroll.okta_verify.qrcode.cannotScan":"Can\'t scan?","oie.enroll.okta_verify.switch.channel.link.text":"Or <a href=\\"#\\" class=\\"switch-channel-link\\">try a different way</a> to set up Okta Verify.","oie.enroll.okta_verify.email.info":"We sent an email to <span class=\\"strong\\">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.","oie.enroll.okta_verify.email.notReceived":"Haven’t received an email? Check your spam folder or <a href=\\"#\\" class=\\"resend-link\\">send again</a>","oie.enroll.okta_verify.sms.info":"We sent an SMS to <span class=\\"strong\\">{0}</span> with an Okta Verify setup link. To continue, open the link on your mobile device.","oie.enroll.okta_verify.sms.notReceived":"Haven’t received an SMS? <a href=\\"#\\" class=\\"resend-link\\">Send again</a>","oie.enroll.okta_verify.setupLink":"Send me the setup link","oie.okta_verify.totp.title":"Enter a code","oie.okta_verify.totp.enterCodeText":"Enter code from Okta Verify app","oie.okta_verify.push.title":"Get a push notification","oie.okta_verify.push.sent":"Push notification sent","oie.okta_verify.push.resend":"Resend push notification","oie.okta_verify.sendPushButton":"Send push","oie.okta_verify.signed_nonce.label":"Use Okta FastPass","oie.okta_verify.enroll.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.non_fips_compliant_enrollment_device_incompatible":"The device used to set up Okta Verify does not meet your organization’s security requirements because it is not FIPS compliant. Contact your administrator for help.","oie.authenticator.app.non_fips_compliant_enrollment_app_update_required":"The Okta Verify version on the device used does not meet your organization’s security requirements. To add your account, update Okta Verify to the latest version, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.app.method.push.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.app.method.push.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.app.method.push.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.app.method.push.enroll.enable.biometrics":"Your organization requires biometrics. To proceed, ensure your device supports biometrics, then add your account and enable biometrics when prompted.","oie.authenticator.app.method.push.enroll.enable.biometrics.title":"Enable biometrics to add an account in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.title":"Enable biometrics in Okta Verify","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.totp.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.mobile":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date and biometrics are enabled for your account in Okta Verify, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.desktop":"Your response was received, but your organization requires biometrics. Make sure your device supports biometrics, Okta Verify is up-to-date, biometrics are enabled for your account in Okta Verify and your device\'s biometric sensors are accessible, then try again.","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.title":"Biometrics needed for Okta Verify","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics. Make sure you meet the following requirements, then try again:","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point2":"Okta Verify is up-to-date","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point3":"In Okta Verify, biometrics are enabled for your account","oie.authenticator.oktaverify.method.fastpass.verify.enable.biometrics.point4":"Your device\'s biometric sensors are accessible","oie.google_authenticator.label":"Google Authenticator","oie.google_authenticator.authenticator.description":"Enter a temporary code generated from the Google Authenticator app.","oie.enroll.google_authenticator.setup.title":"Set up Google Authenticator","oie.enroll.google_authenticator.scanBarcode.title":"Scan barcode","oie.enroll.google_authenticator.scanBarcode.description":"Launch Google Authenticator, tap the \\"+\\" icon, then select \\"Scan barcode\\".","oie.enroll.google_authenticator.scanBarcode.cannotScan":"Can\'t scan?","oie.enroll.google_authenticator.cannotScanBarcode.title":"Can\'t scan barcode?","oie.enroll.google_authenticator.manualSetupInstructions":"To set up manually enter your Okta Account username and then input the following in the Secret Key Field","oie.enroll.google_authenticator.enterCode.title":"Enter code displayed from application","oie.verify.google_authenticator.otp.title":"Verify with Google Authenticator","oie.verify.google_authenticator.otp.description":"Enter the temporary code generated in your Google Authenticator app","oie.google_authenticator.otp.enterCodeText":"Enter code","oie.verify.custom_otp.title":"Verify with {0}","oie.verify.custom_otp.description":"Enter the code generated on your authenticator and verify.","oie.custom_otp.description":"Enter a temporary code generated from an authenticator device.","oie.custom_otp.authenticator.default.vendorName":"Custom OTP Authenticator","oie.custom_otp.verify.passcode.label":"Enter code","oie.verify.custom_app.title":"Verify with {0}","oie.custom_app.push.sent":"Push notification sent","oie.custom_app.push.resend":"Resend push notification","oie.custom_app.push.warning":"Haven\'t received a push notification yet? Try opening {0} on your phone.","oie.authenticator.custom_app.method.push.verify.enable.biometrics":"Your response was received, but your organization requires biometrics—like a fingerprint or facial scan—for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.title":"Enable biometrics in {0}","oie.authenticator.custom_app.method.push.verify.enable.biometrics.description":"Your response was received, but your organization requires biometrics—like a fingerprint or facial scan—for access. Make sure your device meets the following requirements, then try again:","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point1":"Your device supports biometrics","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point2":"{0} is up-to-date","oie.authenticator.custom_app.method.push.verify.enable.biometrics.point3":"In {0}, biometrics are enabled for your account","oie.custom_app.sendPushButton":"Send push","oie.custom_app.push.title":"Get a push notification","oie.on_prem.authenticator.description":"Verify by entering a code generated by {0}.","oie.on_prem.authenticator.default.vendorName":"Custom On-prem Authenticator","oie.on_prem.enroll.title":"Set up {0}","oie.on_prem.verify.title":"Verify with {0}","oie.numberchallenge.warning":"Haven\'t received a push notification yet? Try opening the Okta Verify app on your device, or <$1>resend the push notification</$1>.","oie.numberchallenge.instruction":"On your mobile device, open the Okta Verify prompt, then tap <$1>{0}</$1> in Okta Verify to continue.","oie.numberchallenge.force.upgrade.title":"Update Okta Verify","oie.authenticator.app.method.push.force.upgrade.number_challenge":"Your response was received, but your Okta Verify version is no longer supported by your organization. To verify your identity with push notifications, update Okta Verify to the latest version, then try again.","oie.rsa.authenticator.description":"Verify by entering a code generated by RSA SecurID","oie.duo.authenticator.description":"Verify your identity using Duo Security.","oie.duo.enroll.title":"Set up Duo Security","oie.duo.verify.title":"Verify with Duo Security","oie.duo.iFrameError":"Error loading Duo. Try again or contact your admin for assistance.","oie.authenticator.duo.error":"We were unable to verify with Duo. Try again.","oie.idp.authenticator.description":"Redirect to verify with {0}.","oie.idp.enroll.title":"Set up {0}","oie.idp.enroll.description":"You will be redirected to enroll in {0}","oie.idp.challenge.title":"Verify with {0}","oie.idp.challenge.description":"You will be redirected to verify with {0}","idx.identity.provider.auth.error":"There was a problem signing you into your identity provider. Please contact your administrator for help.","oie.symantecVip.authenticator.description":"Verify by entering a temporary code from the {0} app.","oie.symantecVip.enroll.title":"Set up {0}","oie.symantecVip.enroll.description":"From the {0} app, enter your credential ID and two consecutive generated codes","oie.symantecVip.challenge.title":"Verify with {0}","oie.symantecVip.challenge.description":"Enter the generated security code from the {0} app.","oie.symantecVip.verify.passcode.label":"Enter security code","oie.yubikey.label":"YubiKey Authenticator","oie.yubikey.authenticator.description":"Verify your identity using YubiKey","oie.yubikey.enroll.title":"Set up YubiKey","oie.yubikey.challenge.title":"Verify with YubiKey","oie.yubikey.description":"Insert the YubiKey into a USB port and tap it to generate a verification code.","oie.yubikey.passcode.label":"Insert then tap your YubiKey","oie.custom.app.authenticator.title":"Get a push notification","oie.custom.app.authenticator.description":"{0} is an authenticator app, installed on your phone, used to prove your identity","oie.smartcard.authenticator.description":"Use a physical smart card, such as PIV or CAC, to sign in","oie.select.authenticators.enroll.title":"Set up security methods","oie.select.authenticators.enroll.subtitle":"Security methods help protect your account by ensuring only you have access.","oie.select.authenticators.enroll.subtitle.custom":"Security methods help protect your {0} account by ensuring only you have access.","oie.setup.required":"Set up required","oie.setup.optional":"Set up optional","oie.optional.authenticator.button.title":"Set up later","oie.verify.authenticator.button.text":"Select","oie.enroll.authenticator.button.text":"Set up","oie.enroll.authenticator.usage.text.access.recovery":"Used for access or recovery","oie.enroll.authenticator.usage.text.recovery":"Used for recovery","oie.enroll.authenticator.usage.text.access":"Used for access","oie.select.authenticators.verify.title":"Verify it\'s you with a security method","oie.select.authenticators.verify.subtitle":"Select from the following options","oie.success.text.signingIn":"Signing in","oie.success.text.signingIn.with.ellipsis":"Signing in...","oie.success.text.signingIn.with.appName":"Signing in to {0}","oie.success.text.signingIn.with.appName.and.identifier":"Signing in to {0} as {1}","oie.go.back":"Go back","oie.enroll.switch.authenticator":"Return to authenticator list","oie.enroll.skip.setup":"Skip set up","oie.enroll.skip.profile":"Skip Profile","oie.verification.switch.authenticator":"Verify with something else","oie.remember":"Keep me signed in","oie.try.again":"Try again","enroll.title.oda":"Download Okta Verify","enroll.title.oda.with.account":"Additional setup required to use Okta FastPass","enroll.title.oda.without.account":"Set up an Okta Verify account","enroll.title.mdm":"Additional setup required","enroll.subtitle.fastpass":"On this device, do you already have an Okta Verify account for {0}?","enroll.option.noaccount.fastpass":"No, I don’t have an account","enroll.option.account.fastpass":"Yes, I already have an account","enroll.explanation.p1":"To sign in using Okta Verify, you will need to set up Okta Verify on this device.","enroll.explanation.p2":"In the app, follow the instructions to add an organizational account. When prompted, choose <span class=\\"semi-strong\\">Sign In</span>, then enter the <span class=\\"semi-strong\\">sign-in URL</span>:","enroll.oda.android.step1":"On Google Play, download the Okta Verify app.","enroll.oda.step1":"Open Okta Verify and follow the steps to add your account.","enroll.oda.step2":"When prompted, choose Sign In, then enter the sign-in URL:","enroll.oda.step3":"Download the Okta Verify app.","enroll.oda.step6":"Finish setting up your account in Okta Verify, then try accessing this app again.","enroll.oda.with.account.explanation":"Okta FastPass is a security method that can sign you in without needing your username.","enroll.oda.with.account.subtitile1":"Already have Okta FastPass enabled for your account?","enroll.oda.with.account.subtitile2":"Need to set up Okta FastPass for your account?","enroll.oda.with.account.step1":"Make sure your Okta Verify is up-to-date, then try signing in again.","enroll.oda.with.account.step2":"If your device has a work profile, make sure you are signing in from the same profile that Okta Verify is installed in.","enroll.oda.with.account.step3":"On certain browsers and applications, Okta FastPass is not supported.","enroll.oda.with.account.step4":"On this device, open the Okta Verify app.","enroll.oda.with.account.step5":"On the list of accounts, tap your account for {0}.","enroll.oda.with.account.step6":"Under the “Okta FastPass” section, tap Setup, then follow the instructions.","enroll.oda.with.account.step7":"After your setup is complete, return here to try signing in again.","enroll.oda.without.account.explanation":"To sign in with Okta FastPass, you’ll need to set up Okta Verify on this device.","enroll.oda.without.account.step1":"If you don’t have Okta Verify installed, <a href=\\"{0}\\" target=\\"_blank\\" class=\\"download-ov-link\\" id=\\"download-ov\\">download the app.</a>","enroll.oda.without.account.step4":"Finish setting up your account in Okta Verify, then try signing in again.","enroll.appleStore":"the App Store","enroll.googleStore":"Google Play","enroll.copy.ios":"Apple®, App Store, and the Apple logo are trademarks of Apple Inc.","enroll.copy.android":"Google Play and the Google Play logo are trademarks of Google LLC.","enroll.explanation.mdm":"To access this app, your device needs to meet your organization\'s security requirements. Follow the instructions below to continue.","enroll.oda.org.copyLink":"Copy sign-in URL to clipboard","enroll.oda.org.copyLink.success":"Sign-in URL copied.","enroll.mdm.copyLink":"Copy link to clipboard","enroll.mdm.copyLink.success":"Link copied.","enroll.mdm.step.copyLink":"Tap the Copy Link button below.","enroll.mdm.step.pasteLink":"On this device, open your browser, then paste the copied link into the address bar.","enroll.mdm.step.followInstructions":"Follow the instructions in your browser to set up <$1>{0}</$1>.","enroll.mdm.step.relogin":"Logout and re-login and then try accessing the app again.","oie.safe.mode.title":"Authenticator set up unavailable","idx.error.server.safe.mode.enrollment.unavailable":"Set up is temporarily unavailable due to server maintenance. Try again later.","oie.primaryauth.submit":"Sign in","oie.registration.form.title":"Sign up","oie.registration.form.submit":"Sign Up","oie.registration.form.update.submit":"Submit","oie.registration.form.customize.label":"{0}","oie.registration.form.customize.buttonLabel":"{0}","oie.user.profile.lastname":"Last name","oie.user.profile.firstname":"First name","oie.user.profile.primary.email":"Email","oie.user.profile.secondary.email":"Secondary email","oie.user.profile.middleName":"Middle name","oie.user.profile.honorificPrefix":"Honorific prefix","oie.user.profile.honorificSuffix":"Honorific suffix","oie.user.profile.primaryEmail":"Primary email","oie.user.profile.title":"Title","oie.user.profile.displayName":"Display name","oie.user.profile.nickName":"Nickname","oie.user.profile.profileUrl":"Profile URL","oie.user.profile.mobilePhone":"Mobile phone","oie.user.profile.primaryPhone":"Primary phone","oie.user.profile.streetAddress":"Street address","oie.user.profile.city":"City","oie.user.profile.state":"State","oie.user.profile.zipCode":"ZIP Code","oie.user.profile.postalCode":"Postal code","oie.user.profile.countryCode":"Country code","oie.user.profile.postalAddress":"Postal address","oie.user.profile.preferredLanguage":"Preferred language","oie.user.profile.locale":"Locale","oie.user.profile.timezone":"Time zone","oie.user.profile.userType":"User type","oie.user.profile.employeeNumber":"Employee number","oie.user.profile.costCenter":"Cost center","oie.user.profile.organization":"Organization","oie.user.profile.division":"Division","oie.user.profile.department":"Department","oie.user.profile.managerId":"Manager ID","oie.user.profile.manager":"Manager","oie.selfservice.unlock_user.landing.to.app.success.message":"Account successfully unlocked! Verify your account with a security method to continue.","oie.selfservice.unlock_user.landing.to.app.signing.in.message":"Account successfully unlocked!","oie.selfservice.unlock_user.success.message":"You can log in using your existing username and password.","oie.selfservice.unlock_user.failed.message":"We are unable to unlock your account at this time, please contact your administrator","oie.selfservice.user.unlock.not.allowed":"Self Service Unlock is not allowed at this time. Please contact support for assistance.","idx.session.expired":"You have been logged out due to inactivity. Refresh or return to the sign in screen.","oie.registration.is.not.enabled":"Sign up is not enabled for this organization.","oie.forgot.password.is.not.enabled":"Forgot password is not enabled for this organization.","idx.return.error":"Could not process this email link. Return to the screen where you requested it.","idx.return.stale":"This email link is out of date. Return to the screen where you requested it.","idx.invalid.forgot.password.token":"Your reset password token is no longer valid.","idx.invalid.reset.password.token":"Your reset password token is no longer valid. Contact your administrator to obtain a new token.","idx.reset.password.activating.user":"Reset password cannot be performed while the user is activating. Contact your administrator to obtain a new token.","tagsNotAllowed":"The field must not contain HTML tags","api.authn.error.PASSCODE_INVALID":"Invalid code. Try again.","oie.feature.disabled":"The requested feature is not enabled in this environment.","authfactor.challenge.suspended_factor":"This factor is suspended for your account due to too many failed attempts","oie.post.password.update.auth.failure.error":"Your password has been updated but there was a problem signing you in. Please try again or contact your administrator.","oie.assurance.unsatisfiable":"Unable to login to \\"{0}\\" at this time. For assistance, please contact your administrator.","errors.E0000150":"You have reached the limit of sms requests, please try again later.","errors.E0000151":"You have reached the limit of call requests, please try again later.","oie.invalid.recovery.token":"The recovery token is invalid.","oie.consent.scopes.admin.title":"would like to access:","oie.consent.scopes.enduser.title":"would like to:","oie.consent.scopes.granular.title":"<$1>{0}</$1> <$2>wants to access</$2>","oie.consent.scopes.granular.description":"Allowing access will share","oie.consent.enduser.accept.label":"Yes, it\'s me","oie.consent.enduser.deny.label":"No, it\'s not me","oie.consent.enduser.title":"Did you just try to sign in?","oie.consent.enduser.email.allow.title":"Success! Return to the original tab or window","oie.consent.enduser.email.allow.description":"To continue, please return to the original browser tab or window you used to verify.","oie.consent.enduser.deny.description":"Close this window anytime.","oie.return.to.original.tab":"Close this window anytime.","idx.operation.cancelled.by.user":"Operation cancelled by user.","idx.transferred.to.new.tab":"Flow continued in a new tab.","idx.return.link.expired":"This email link has expired. To resend it, return to the screen where you requested it.","idx.return.link.otponly.your.verification.code":"Your verification code","idx.return.link.otponly.enter.code.on.page":"Enter this code on the {0} page.","idx.return.link.otponly.enter.code.on.page.sign.in":"sign-in","idx.return.link.otponly.enter.code.on.page.password.reset":"password reset","idx.return.link.otponly.enter.code.on.page.account.unlock":"account unlock","idx.return.link.otponly.enter.code.on.page.registration":"sign up","idx.return.link.otponly.request":"Request from:","idx.return.link.otponly.warning.text":"If you didn’t request this code, you can ignore this message. Your account is safe and can only be accessed with this code.","idx.enter.otp.in.original.tab":"Enter the OTP in your original authentication location.","idx.return.link.otponly.app":"{0}","idx.return.link.otponly.browser.on.os":"{0} on {1}","geolocation.formatting.all":"{0}, {1}, {2}","geolocation.formatting.partial":"{0}, {1}","consent.scopes.email.label":"View your email address.","consent.scopes.profile.label":"View your profile information.","consent.scopes.phone.label":"View your phone number.","consent.scopes.address.label":"View your address.","consent.scopes.offlineAccess.label":"Keep you signed in to the app.","consent.scopes.onlineAccess.label":"Keep you signed in to the app.","consent.scopes.deviceSSO.label":"Request device secret.","consent.scopes.openid.desc":"Signals that a request is an OpenID request.","consent.scopes.profile.desc":"The exact data varies based on what profile information you have provided, such as: name, time zone, picture, or birthday.","consent.scopes.email.desc":"This allows the app to view your email address.","consent.scopes.address.desc":"This allows the app to view your address, such as: street address, city, state, and zip code.","consent.scopes.phone.desc":"This allows the app to view your phone number.","consent.scopes.offlineAccess.desc":"This keeps you signed in to the app, even when you are not using it.","consent.scopes.onlineAccess.desc":"This allows the app to access your data only when you are logged in to the application.","consent.scopes.deviceSSO.desc":"This allows you to single sign on between native client applications on your device.","consent.scopes.okta.users.manage.desc":"Allows the app to create new users and to manage all users\'\' profile and credentials information.","consent.scopes.okta.users.manage.self.desc":"Allows the app to manage the signed-in user\'\'s profile and credentials.","consent.scopes.okta.users.read.desc":"Allows the app to read the existing users\'\' profiles and credentials.","consent.scopes.okta.users.read.self.desc":"Allows the app to read the signed-in user\'\'s profile and credentials.","consent.scopes.okta.linkedObjects.manage.desc":"Allows the app to manage linked object definitions in your Okta organization.","consent.scopes.okta.linkedObjects.read.desc":"Allows the app to read linked object definitions in your Okta organization.","consent.scopes.okta.myAccount.manage.desc":"Allows the end-user to manage their account profile.","consent.scopes.okta.myAccount.read.desc":"Allows the end-user to read their account profile.","consent.scopes.okta.riskEvents.manage.desc":"Allows the app to publish risk events to your Okta organization.","consent.scopes.okta.clients.manage.desc":"Allows the app to manage clients in your Okta organization.","consent.scopes.okta.clients.read.desc":"Allows the app to read information about clients in your Okta organization.","consent.scopes.okta.clients.register.desc":"Allows the app to create new clients in your Okta organization.","consent.scopes.okta.authorizationServers.manage.desc":"Allows the app to create and manage Authorization Servers in your Okta organization.","consent.scopes.okta.authorizationServers.read.desc":"Allows the app to read information about Authorization Servers in your Okta organization.","consent.scopes.okta.groups.manage.desc":"Allows the app to manage existing groups in your Okta organization.","consent.scopes.okta.groups.read.desc":"Allows the app to read information about groups and their members in your Okta organization.","consent.scopes.okta.groups.register.desc":"Allows the app to create new groups in your Okta organization.","consent.scopes.okta.events.read.desc":"Allows the app to read information about deprecated Events v1 API entries in your Okta organization.","consent.scopes.okta.logs.read.desc":"Allows the app to read information about System Log entries in your Okta organization.","consent.scopes.okta.inlineHooks.manage.desc":"Allows the app to create and manage Inline Hooks in your Okta organization.","consent.scopes.okta.inlineHooks.read.desc":"Allows the app to read information about Inline Hooks in your Okta organization.","consent.scopes.okta.eventHooks.manage.desc":"Allows the app to create and manage Event Hooks in your Okta organization.","consent.scopes.okta.eventHooks.read.desc":"Allows the app to read information about Event Hooks in your Okta organization.","consent.scopes.okta.apps.manage.desc":"Allows the app to create and manage Apps in your Okta organization.","consent.scopes.okta.apps.read.desc":"Allows the app to read information about Apps in your Okta organization.","consent.scopes.okta.schemas.manage.desc":"Allows the app to create and manage Schemas in your Okta organization.","consent.scopes.okta.schemas.read.desc":"Allows the app to read information about Schemas in your Okta organization.","consent.scopes.okta.idps.manage.desc":"Allows the app to create and manage Identity Providers in your Okta organization.","consent.scopes.okta.idps.read.desc":"Allows the app to read information about Identity Providers in your Okta organization.","consent.scopes.okta.roles.manage.desc":"Allows the app to manage administrative role assignments for users in your Okta organization.","consent.scopes.okta.roles.read.desc":"Allows the app to read administrative role assignments for users in your Okta organization.","consent.scopes.okta.policies.manage.desc":"Allows the app to manage policies in your Okta organization.","consent.scopes.okta.policies.read.desc":"Allows the app to read information about policies in your Okta organization.","consent.scopes.okta.orgs.manage.desc":"Allows the app to manage organization-specific details for your Okta organization.","consent.scopes.okta.orgs.read.desc":"Allows the app to read organization-specific details about your Okta organization.","consent.scopes.okta.captchas.manage.desc":"Allows the app to create and manage CAPTCHAs in your Okta organization.","consent.scopes.okta.captchas.read.desc":"Allows the app to read information about CAPTCHAs in your Okta organization.","consent.scopes.okta.sessions.manage.desc":"Allows the app to manage all sessions in your Okta organization.","consent.scopes.okta.sessions.read.desc":"Allows the app to read all sessions in your Okta organization.","consent.scopes.okta.trustedOrigins.manage.desc":"Allows the app to manage all Trusted Origins in your Okta organization.","consent.scopes.okta.trustedOrigins.read.desc":"Allows the app to read all Trusted Origins in your Okta organization.","consent.scopes.okta.templates.manage.desc":"Allows the app to manage all custom templates in your Okta organization.","consent.scopes.okta.templates.read.desc":"Allows the app to read all custom templates in your Okta organization.","consent.scopes.okta.factors.manage.desc":"Allows the app to manage all admin operations for org factors (e.g. activate, deactivate, read).","consent.scopes.okta.factors.read.desc":"Allows the app to read org factors information.","consent.scopes.okta.authenticators.manage.desc":"Allows the app to manage all security methods (e.g. enrollments, reset).","consent.scopes.okta.authenticators.read.desc":"Allows the app to read org security method information.","consent.scopes.okta.authenticators.manage.self.desc":"Allows the app to manage users own security methods (e.g. enrollments, reset).","consent.scopes.idSnapshot.read.desc":"Allows the app to read your identity snapshot attestation.","consent.scopes.idSnapshot.manage.desc":"Allows the app to create and manage your identity snapshot attestation.","logo.for.the.app.alt.text":"Logo for the app","device.code.activate.title":"Activate your device","device.code.activate.subtitle":"Follow the instructions on your device to get an activation code","device.code.activate.label":"Activation Code","device.code.activated.success.title":"Device activated","device.code.activated.error.title":"Device not activated","idx.device.activated":"Follow the instructions on your device for next steps","idx.device.not.activated.consent.denied":"Your device cannot be activated because you did not allow access","idx.device.not.activated.internal.error":"Your device cannot be activated because of an internal error","idx.invalid.device.code":"Invalid code. Try again.","idx.operation.cancelled.on.other.device":"Access denied on other device.","idx.expired.activation.token":"Your account activation link is no longer valid. Request a new activation email below.","idx.missing.activation.token":"This can happen if you have already activated your account, or if the URL you are trying to use is invalid. Contact your administrator for further assistance.","idx.activating.inactive.user":"Your account has been temporarily suspended. Contact your administrator for further assistance.","idx.request.activation.email":"New activation link requested. If your information matches our records, you will receive a new activation link in your inbox soon.","oie.activation.request.email.title.expire":"Activation link has expired","oie.activation.request.email.title.invalid":"Activation link no longer valid","oie.activation.request.email.title.suspended":"Account suspended","oie.activation.request.email.title.submitted":"Request submitted","oie.activation.request.email.button":"Request activation email","oie.browser.error.NotAllowedError":"The operation either timed out or was not allowed.","authfactor.challenge.soft_token.invalid_passcode":"Your code doesn\'t match our records. Please try again.","authfactor.challenge.soft_token.used_passcode":"Each code can only be used once. Please wait for a new code and try again.","oie.tooManyRequests":"Too many attempts. Try again later.","E0000010":"Server is unable to respond at the moment.","idx.error.registration.unavailable":"Registration is currently unavailable.","idx.error.user.not.assigned.to.app":"User is not assigned to this application.","idx.error.code.user_not_assigned":"You are not allowed to access this app. To request access, contact an admin."}')},5091:function(e){"use strict";e.exports=JSON.parse('{"defaultLanguage":"en","version":"7.2.1","supportedLanguages":["en","cs","da","de","el","es","fi","fr","hu","id","in","it","ja","ko","ms","nb","nl-NL","ok-PL","pl","pt-BR","ro","ru","sv","th","tr","uk","vi","zh-CN","zh-TW"]}')}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n(9584)}()}));
//# sourceMappingURL=okta-sign-in.classic.min.js.map